I'm having trouble with my integration of
Cacti with Groundwork - well actually just install of
Cacti, but the kind folks on the
Cacti forum told me to ask here (
http://forums.cacti.net/post-173763.html), so here I go:
I installed
cacti according to the info above. I haven't added any hosts yet - I only have the default localhost checks running. These aren't generating any lines on the graphs - all the counters show up as NaN. When I look at debug output in the logs I see messages like:
Code:
09/23/2009 12:00:01 PM - POLLER: Poller[0] WARNING: Poller[0] Host[1] Ping Time was not numeric
09/23/2009 12:00:01 PM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
and
Code:
CMDPHP: Poller[0] Host[1] DS[3] WARNING: Result from CMD not valid. Partial Result: U
However, when I run the
cacti scripts directly from command line I get results returned fine.
Someone on the
Cacti forum suggested that snmp wasn't turned on, however I can snmpwalk localhost successfully. Perhaps they meant that the SNMP extension for PHP isn't there - although looking at the config string from phpinfo() it looks to be compiled in by the presence of "--with-snmp=/usr/local/groundwork/common".
Anyone got any ideas about what might be going wrong here?