Hi, I have a brand new install of Cacti 0.8.6h and Cactid 0.8.6g. I am having some trouble getting cactid to poll correctly. I haven't added any devices so right now it is just monitoring the defaults on localhost.
When poller runs in debug mode, I get what you see below. I've also attached debug output from <cactihome>/log/cacti.log.
Can anybody offer any suggestions? I am runnin debian stable (sarge).
Thanks
Dan
archive:~$ /usr/bin/php /var/www/cacti/poller.php
02/03/2006 01:21:02 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/cactid/bin/cactid, ARGS: 0 1]
CACTID: Host[1] ERROR: Empty result [127.0.0.1]: 'perl /var/www/cacti-0.8.6h/scripts/linux_memory.pl MemFree:'
CACTID: Host[1] DS[3] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] ERROR: Empty result [127.0.0.1]: 'perl /var/www/cacti-0.8.6h/scripts/linux_memory.pl SwapFree:'
CACTID: Host[1] DS[4] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] ERROR: Empty result [127.0.0.1]: 'perl /var/www/cacti-0.8.6h/scripts/loadavg_multi.pl'
CACTID: Host[1] DS[5] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] ERROR: Empty result [127.0.0.1]: 'perl /var/www/cacti-0.8.6h/scripts/unix_processes.pl'
CACTID: Host[1] DS[7] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] ERROR: Empty result [127.0.0.1]: 'perl /var/www/cacti-0.8.6h/scripts/unix_users.pl'
CACTID: Host[1] DS[6] WARNING: Result from SCRIPT not valid. Partial Result: ...
No log handling enabled - turning on stderr logging
read_config_store open failure on /var/lib/snmp/cactid.conf
read_config_store open failure on /var/lib/snmp/cactid.conf
read_config_store open failure on /var/lib/snmp/cactid.conf
02/03/2006 01:21:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.12/bin/rrdtool update /var/www/cacti-0.8.6h/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1138990862:U
02/03/2006 01:21:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.12/bin/rrdtool update /var/www/cacti-0.8.6h/rra/localhost_mem_swap_4.rrd --template mem_swap 1138990862:U
02/03/2006 01:21:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.12/bin/rrdtool update /var/www/cacti-0.8.6h/rra/localhost_load_1min_5.rrd --template 1138990862:U
02/03/2006 01:21:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.12/bin/rrdtool update /var/www/cacti-0.8.6h/rra/localhost_proc_7.rrd --template proc 1138990862:U
02/03/2006 01:21:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.12/bin/rrdtool update /var/www/cacti-0.8.6h/rra/localhost_users_6.rrd --template users 1138990862:U
02/03/2006 01:21:03 PM - SYSTEM STATS: Time:1.0284 Method:cactid Processes:1 Threads:1 Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
OK u:0.01 s:0.00 r:0.01
OK u:0.01 s:0.00 r:0.01
ERROR: Not enough arguments
OK u:0.01 s:0.00 r:0.01
OK u:0.01 s:0.00 r:0.01
Cactid problems
Moderators: Developers, Moderators
Cactid problems
- Attachments
-
- cactid-debug.txt
- Output from /log/cacti.log
- (16.09 KiB) Downloaded 94 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You must edit your Data Input Methods that include "perl" and change to the full path of the perl application. If it were windows, it would likely be "c:/perl/perl.exe".
Once you have made that change, you need to "clear" your poller cache.
TheWitness
Once you have made that change, you need to "clear" your poller cache.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Your welcome.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 1 guest