Switch to cactid no new graphs.

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
clockwork
Posts: 22
Joined: Fri Feb 23, 2007 1:04 am

Switch to cactid no new graphs.

Post by clockwork »

So after my switch to cactid on solaris I have a small problem, whenever I add a webserver and attempt to use the "Apache Statistics" based graphs the graphs dont get created.

Running cactid for the host produces this:

Code: Select all

cacti@01:/opt/cacti$ ./cactid -f=68 -l=68
CACTID: Using cactid config file [/etc/cactid.conf]
CACTID: Version 0.8.6i starting
CACTID: Host[68] SNMP Result: Host responded to SNMP
CACTID: Host[68] DS[2932] SCRIPT: /usr/bin/perl /opt/cacti/scripts/ws_apachestats.pl~ 10.6.8.24, output: apache_total_hits:850 apache_total_kbytes:30398 apache_busy_workers:1 apache_idle_workers:511
CACTID: Host[68] DS[2933] SCRIPT: /usr/bin/perl /opt/cacti/scripts/ws_apachestats.pl~ 10.6.8.24, output: apache_total_hits:851 apache_total_kbytes:30399 apache_busy_workers:1 apache_idle_workers:511
No log handling enabled - turning on stderr logging
Creating directory: /var/net-snmp
Failed to create the persistent directory for /var/net-snmp/cactid.conf
read_config_store open failure on /var/net-snmp/cactid.conf
Creating directory: /var/net-snmp
Failed to create the persistent directory for /var/net-snmp/.conf
read_config_store open failure on /var/net-snmp/.conf
Creating directory: /var/net-snmp
Failed to create the persistent directory for /var/net-snmp/.conf
read_config_store open failure on /var/net-snmp/.conf
CACTID: Time: 1.2316 s, Threads: 6, Hosts: 2
Now looking at the logfile there are two things of interest:

Code: Select all

05/08/2007 06:40:24 PM - CACTID: Poller[0] Time: 23.1072 s, Threads: 6, Hosts: 53
05/08/2007 06:40:26 PM - CMDPHP: Poller[0] ERROR: There are no RRA's assigned to local_data_id
: 2931.
05/08/2007 06:40:26 PM - CMDPHP: Poller[0] ERROR: There are no RRA's assigned to local_data_id
: 2933.
05/08/2007 06:40:26 PM - CMDPHP: Poller[0] ERROR: There are no RRA's assigned to local_data_id
: 2932.
05/08/2007 06:40:26 PM - SYSTEM STATS: Time:25.5665 Method:cactid Processes:1 Threads:6 Hosts:
53 HostsPerProcess:53 DataSources:2418 RRDsProcessed:1325
And this:

Code: Select all

05/08/2007 06:40:21 PM - CACTID: Poller[0] Host[68] DS[2932] WARNING: Result from SCRIPT not v
alid. Partial Result: ...
05/08/2007 06:40:21 PM - CACTID: Poller[0] Host[68] DS[2932] SCRIPT: /usr/bin/perl /opt/cacti/
scripts/ws_apachestats.pl~ 10.6.8.24, output: U
05/08/2007 06:40:21 PM - CACTID: Poller[0] Host[68] DS[2933] WARNING: Result from SCRIPT not v
alid. Partial Result: ...
05/08/2007 06:40:21 PM - CACTID: Poller[0] Host[68] DS[2933] SCRIPT: /usr/bin/perl /opt/cacti/
scripts/ws_apachestats.pl~ 10.6.8.24, output: U
05/08/2007 06:40:21 PM - CACTID: Poller[0] Host[68] DS[2931] WARNING: Result from SCRIPT not v
alid. Partial Result: ...
05/08/2007 06:40:21 PM - CACTID: Poller[0] Host[68] DS[2931] SCRIPT: /usr/bin/perl /opt/cacti/
scripts/ws_apachestats.pl~ 10.6.8.24, output: U
Does anyone have any ideas ? This seems very strange to me.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests