I have been monitoring a 3Com Ethernet Switch via SNMP with Cacti for more than a year without a problem. It worked great.
I have configured it to display an input/output graph for each one of the 24 ports.
However, two months ago, it suddently stopped graphing the switch. I haven't made any change neither on Cacti, the OS or the Switch.
It still graphs other devices.
If somebody knows how to further troubleshoot this issue or what might be happening, please let me know.
Thanks in advance.
I am using Cacti version 0.8.8 under Linux CentOS 6.2 x64.
Some debug output to help troubleshoot :
I have checked the Cacti Log file on the Cacti Utilities Menu and found these warnings :
But they started MUCH before the problem happened so I don't think they're related to it.07/02/2013 03:40:01 PM - CMDPHP: Poller[0] Host[0] DS[60] WARNING: Result from CMD not valid. Partial Result: U
07/02/2013 03:35:01 PM - CMDPHP: Poller[0] Host[0] DS[60] WARNING: Result from CMD not valid. Partial Result: U
07/02/2013 03:30:01 PM - CMDPHP: Poller[0] Host[0] DS[60] WARNING: Result from CMD not valid. Partial Result: U
07/02/2013 03:25:01 PM - CMDPHP: Poller[0] Host[0] DS[60] WARNING: Result from CMD not valid. Partial Result: U
07/02/2013 03:20:02 PM - CMDPHP: Poller[0] Host[0] DS[60] WARNING: Result from CMD not valid. Partial Result: U
07/02/2013 03:15:02 PM - CMDPHP: Poller[0] Host[0] DS[60] WARNING: Result from CMD not valid. Partial Result: U
When I manually run php poller.php the output is something like this :
I have tried to rebuild the poller cache and when I select the 3Com Switch under the "device" dropdown menu, it doesn't show anything. So I guess it isn't getting any data from it.PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /var/www/cacti/include/global_constants.php on line 165
PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /var/www/cacti/include/global_constants.php on line 165
PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /var/www/cacti/include/global_constants.php on line 166
PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /var/www/cacti/include/global_constants.php on line 166
OK u:0.00 s:0.00 r:0.00
OK u:0.00 s:0.00 r:0.00
OK u:0.00 s:0.00 r:0.00
OK u:0.00 s:0.00 r:0.00
OK u:0.00 s:0.00 r:0.00
OK u:0.00 s:0.00 r:0.02
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.04
I have checked the rra folder and found that the rrd files for the switch were last updated in March :
Management -> Devices : Management -> Graph Management :...
-rw-r--r--. 1 cacti cacti 94816 Mar 26 17:00 3com_switch_3824_lan_gigabit__traffic_in_10.rrd
-rw-r--r--. 1 cacti cacti 94816 Mar 26 17:00 3com_switch_3824_lan_gigabit__traffic_in_11.rrd
-rw-r--r--. 1 cacti cacti 94816 Mar 26 17:00 3com_switch_3824_lan_gigabit__traffic_in_12.rrd
-rw-r--r--. 1 cacti cacti 94816 Mar 26 17:00 3com_switch_3824_lan_gigabit__traffic_in_13.rrd
-rw-r--r--. 1 cacti cacti 94816 Mar 26 17:00 3com_switch_3824_lan_gigabit__traffic_in_14.rrd
-rw-r--r--. 1 cacti cacti 94816 Mar 26 17:00 3com_switch_3824_lan_gigabit__traffic_in_15.rrd
-rw-r--r--. 1 cacti cacti 94816 Mar 26 17:00 3com_switch_3824_lan_gigabit__traffic_in_16.rrd
...