config.cfg 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. #-- Main Section:
  2. ## ! Do not change nor delete the Main-Section name ([Main]) !
  3. ## ! Do not use quotation marks, neither for keys nor for values !
  4. [Main]
  5. ## The title addendum to PingPanel on top of the site and in the browser window title.
  6. ## Pay attention to the length when using on smartphones.
  7. TitleAdd =
  8. ## Port the Webserver listen on:
  9. ListenPort = 8888
  10. ## Address the Webserver is bound on:
  11. ListenAddr = 0.0.0.0
  12. ## Normally, PingPanel stops the ping rounds, i.e. all pings, when no Web-client is connected to the server,
  13. ## and restarts the ping cycles when the next web-client connects.
  14. ## If you want the pings to run continuously even when no clients are connected, set this parameter to 'True'.
  15. ## Default value is 'False'
  16. PingForever = False
  17. ## Using secure HTTPS conections:
  18. ## Using HTTPS, comment out the following three parameters.
  19. ## Of course, the file names are freely choosable here, relative to the current directory.
  20. #UseHTTPS = true
  21. #CertFile = server.crt
  22. #KeyFile = server.key
  23. ## Location of the 'fping' command, without any quotation marks (defaults to: fping)
  24. fpingCommand = fping
  25. #-- fping related parameters (see https://fping.org/fping.8.html):
  26. ## Fping-interval:
  27. ##- from manpage - The minimum amount of time (in milliseconds) between sending a ping packet to any target
  28. ##- from manpage - (default is 10, minimum is 1).
  29. ## Increasing this value has a major impact on the runtime of a single ping round when a high number of hosts are pinged.
  30. ## PingPanel default is 2.
  31. Fping-interval = 2
  32. ## Fping-period:
  33. ##- from manpage - This parameter sets the time in milliseconds that fping waits between successive
  34. ##- from manpage - packets to an individual target. Default is 1000 and minimum is 10.
  35. ## PingPanel default is 100.
  36. Fping-period = 100
  37. ## Fping-size:
  38. ##- from manpage - Number of bytes of ping data to send. The minimum size (normally 12) allows room for the data
  39. ##- from manpage - that fping needs to do its work (sequence number, timestamp). The reported received data size includes the
  40. ##- from manpage - IP header (normally 20 bytes) and ICMP header (8 bytes), so the minimum total size is 40 bytes.
  41. ##- from manpage - Default is 56, as in ping. Maximum is the theoretical maximum IP datagram size (64K), though most systems
  42. ##- from manpage - limit this to a smaller, system-dependent number.
  43. ## PingPanel default is fping default 56.
  44. #Fping-size = 56
  45. #-- End fping related params
  46. ## LoopInterval:
  47. ## The time that the program sleeps (in seconds) between ping runs (default is 3).
  48. ## Since the ping is executed asynchronously, this LoopInterval is the waiting time between two completed
  49. ## consecutive ping subprocesses. The time required by the ping subprocess itself depends on the number of hosts
  50. ## and the fping parameters defined above. Tip: fiddle around with the shown fping command (argument PingPanel -v)
  51. ## within the Linux 'time' command to find the optimal value for your needs.
  52. LoopInterval = 3
  53. ## FlashThreshold:
  54. ## Number of ping rounds for which a host does not respond until the status light changes from flashing red to permanently red.
  55. FlashThreshold = 3
  56. ## DurationBarSpan:
  57. ## At the top of each host box there is a time bar that shows how long the current status already lasts,
  58. ## the "Duration Bar". This time bar is relative to a specified time span, the "DurationBarSpan".
  59. ## If a device is in the same state for longer than the specified DurationBarSpan time, the bar disappears.
  60. ## It is reactivated to its full length when the device has changed its status.
  61. ## For ex. if set to 3600 (1 hr), after 50 minutes in same state the length of the bar would be around 16% of the full length.
  62. ## The minimum is 1 (only change is signalled) and the maximum is 5184000 (=60 days). Default is 3600 seconds, that is 1 hour.
  63. ## The unit is seconds.
  64. DurationBarSpan = 3600
  65. #-- User specified sections follow
  66. ## ( -- Since v0.9.20, the following sections can be moved to a separate sections.cfg file -- )
  67. ## The following sections consist of a section name followed by IP-Addresses with an associated comment.
  68. ## The section name must be in square brackets and is case-sensitive. At least one section name must exist.
  69. ## IP-Addresses can be in IPv4 or in IPv6 format and are delimited by an equal-sign (=) from comment.
  70. ## Everything after the equal-sign is considered a comment. HTML-Tags are allowed in comment, but be careful
  71. ## not to overload the page.
  72. ## The comment can be omitted.
  73. ## Leading and trailing whitespace is removed from comment and IP-Address by the program.
  74. [LOCAL]
  75. 192.168.1.1 = One
  76. 192.168.1.2 = Two
  77. 192.168.1.3 = Three
  78. 192.168.1.4 = Four
  79. 192.168.1.7 = Seven
  80. 192.168.1.8 = Eight
  81. 192.168.1.9 =
  82. 192.168.1.10 = Router Number Ten
  83. 192.168.1.11 = Switch Number Eleven
  84. [Zum Fröhlichen Zehnernetz]
  85. 10.0.0.1 = happy 1
  86. 10.0.0.2 = happy 2
  87. 10.0.0.3 = happy 3
  88. 10.0.0.4 = happy 4
  89. 10.0.0.5 = happy 5
  90. 10.0.1.100 =
  91. [REMOTE]
  92. 212.51.140.225 = <span style="color: yellow">ZweierNet.ch</span>
  93. 2a02:168:6229::10 = <span style="color: blue">ZweierNet.ch IPv6</span>
  94. 8.8.8.8 = The Quad Eight
  95. 2001:4860:4860::8888 = Quad Eight IPv6
  96. 9.9.9.9 = The Nines
  97. 2620:fe::9 = The Nines IPv6
  98. 1.1.1.1 = The One and One and One and One
  99. 2606:4700:4700::1111 = The Ones IPv6