I've installed Cacti using BSOD2600's installer - running version 1.2.20 here under Windows 10. I was able to configure it properly, had some stock ICMP ping statistics graphs not being properly displayed - so I switched to Advanced Ping Template v1.3.
The problem I have is that Advanced Ping Template 1.3 stopped giving appropriate readouts and the RRD file is being filled with zeroes instead. This also affects graphs - they do not show anything. Strange thing is that it worked for almost a week and seemed to break down only after I started adding additional SNMP graphs to the devices.
The SNMP part works fine though and I'm able to retrieve and visualise things like traffic statistics.
As far as my underunderstanding goes, the problem lies somewhere in the ss_fping.php script:
1. I've noticed that no parameters are passed inside the ss_fping.php, whereas I suppose they should be:
Code: Select all
2022-07-05 15:02:04 - PHPSVR DEBUG: PID[10788] CTR[0] RESPONSE:'min:0.0000 avg:0.0000 max:0.0000 dev:0.0000 loss:0.0000'
2022-07-05 15:02:04 - PHPSVR DEBUG: PID[10788] CTR[0] INC: 'ss_fping.php' FUNC: 'ss_fping' PARMS: ''
2022-07-05 15:02:04 - POLLER: Poller[Main Poller] PID[9396] Device[SWI Nasielsk] STATUS: Device '10.10.203.1' is UP.
2022-07-05 15:02:04 - PING Device[SWI Nasielsk] PING: ICMP Ping Success (0 ms)
2022-07-05 15:02:04 - POLLER: Poller[Main Poller] PID[9396] PHP Script Server Started Properly
2022-07-05 15:02:04 - PHPSVR PHP Script Server has Started - Parent is cmd
2022-07-05 15:02:04 - PHPSVR DEBUG: FILENM: C:\Apache24\htdocs\cacti\script_server.php
2022-07-05 15:02:04 - PHPSVR DEBUG: DIRNAM: c:/apache24/htdocs/cacti
2022-07-05 15:02:04 - PHPSVR DEBUG: GETCWD: c:/apache24/htdocs/cacti
2022-07-05 15:02:04 - PHPSVR DEBUG: SERVER: cmd PARENT:
2022-07-05 15:02:04 - POLLER: Poller[Main Poller] PID[5316] Processing Poller Output with 40000 maximum items to be processed
2022-07-05 15:02:03 - POLLER: Poller[Main Poller] PID[9396] Forcing poller to 1
2022-07-05 15:02:03 - POLLER: Poller[Main Poller] PID[7796] NOTE: There are no items in your poller for this polling cycle!
2022-07-05 15:02:03 - POLLER: Poller[Main Poller] PID[7796] Forcing poller to 1
2022-07-05 15:02:03 - POLLER: Poller[Main Poller] PID[5316] Processing Poller Output with 40000 maximum items to be processed
2022-07-05 15:02:02 - POLLER: Poller[Main Poller] PID[5316] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q "c:/apache24/htdocs/cacti/cmd.php" --poller=1 --first=30 --last=30 --mibs]
2022-07-05 15:02:02 - POLLER: Poller[Main Poller] PID[5316] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q "c:/apache24/htdocs/cacti/cmd.php" --poller=1 --first=0 --last=0 --mibs]
2022-07-05 15:02:02 - POLLER: Poller[Main Poller] PID[5316] NOTE: Poller Int: '60', Scheduled Task Int: '60', Time Since Last: '60.65', Max Runtime '58', Poller Runs: '1'
2022-07-05 15:01:43 - WEBUI NOTE: Cacti Log file C:/Apache24/htdocs/cacti/log/cacti.log, Removed by user admin
2022-07-05 15:01:43 - WEBUI NOTE: Cacti Log Cleared from Web Management Interface.
Code: Select all
C:\Apache24\htdocs\cacti\scripts>php ss_fping.php 10.10.203.1 20 ICMP
min:0.0000 avg:0.1500 max:2.0000 dev:0.4770 loss:0.0000
Thanks in advance.