cactid error - WARNING: Result from SCRIPT not valid.
Moderators: Developers, Moderators
cactid error - WARNING: Result from SCRIPT not valid.
New install of 0.8.6h cacti on RHEL 4.
Compiled the 0.8.6g cactid wihout errors, currently in /usr/local/bin/cactid and cactid.conf.
Changed the "Settings" "Poller" to cactid. I don't get any graphs. In the cacti.log I get the following errors:
10/16/2006 12:34:45 PM - CACTID: Poller[0] Host[1] ERROR: Empty result [127.0.0.1]: 'perl /var/www/html/cacti/scripts/linux_memory.pl MemFree:'
10/16/2006 12:34:45 PM - CACTID: Poller[0] Host[1] DS[3] WARNING: Result from SCRIPT not valid. Partial Result: ...
10/16/2006 12:34:45 PM - CACTID: Poller[0] Host[1] ERROR: Empty result [127.0.0.1]: 'perl /var/www/html/cacti/scripts/linux_memory.pl SwapFree:'
10/16/2006 12:34:45 PM - CACTID: Poller[0] Host[1] DS[4] WARNING: Result from SCRIPT not valid. Partial Result: ...
10/16/2006 12:34:45 PM - CACTID: Poller[0] Host[1] ERROR: Empty result [127.0.0.1]: 'perl /var/www/html/cacti/scripts/loadavg_multi.pl'
10/16/2006 12:34:45 PM - CACTID: Poller[0] Host[1] DS[5] WARNING: Result from SCRIPT not valid. Partial Result: ...
10/16/2006 12:34:45 PM - CACTID: Poller[0] Host[1] ERROR: Empty result [127.0.0.1]: 'perl /var/www/html/cacti/scripts/unix_processes.pl'
10/16/2006 12:34:45 PM - CACTID: Poller[0] Host[1] DS[7] WARNING: Result from SCRIPT not valid. Partial Result: ...
10/16/2006 12:34:45 PM - CACTID: Poller[0] Host[1] ERROR: Empty result [127.0.0.1]: 'perl /var/www/html/cacti/scripts/unix_users.pl '
10/16/2006 12:34:45 PM - CACTID: Poller[0] Host[1] DS[6] WARNING: Result from SCRIPT not valid. Partial Result: ...
I get basiclly the same errors if I try and run the cactid from a command line.
Compiled the 0.8.6g cactid wihout errors, currently in /usr/local/bin/cactid and cactid.conf.
Changed the "Settings" "Poller" to cactid. I don't get any graphs. In the cacti.log I get the following errors:
10/16/2006 12:34:45 PM - CACTID: Poller[0] Host[1] ERROR: Empty result [127.0.0.1]: 'perl /var/www/html/cacti/scripts/linux_memory.pl MemFree:'
10/16/2006 12:34:45 PM - CACTID: Poller[0] Host[1] DS[3] WARNING: Result from SCRIPT not valid. Partial Result: ...
10/16/2006 12:34:45 PM - CACTID: Poller[0] Host[1] ERROR: Empty result [127.0.0.1]: 'perl /var/www/html/cacti/scripts/linux_memory.pl SwapFree:'
10/16/2006 12:34:45 PM - CACTID: Poller[0] Host[1] DS[4] WARNING: Result from SCRIPT not valid. Partial Result: ...
10/16/2006 12:34:45 PM - CACTID: Poller[0] Host[1] ERROR: Empty result [127.0.0.1]: 'perl /var/www/html/cacti/scripts/loadavg_multi.pl'
10/16/2006 12:34:45 PM - CACTID: Poller[0] Host[1] DS[5] WARNING: Result from SCRIPT not valid. Partial Result: ...
10/16/2006 12:34:45 PM - CACTID: Poller[0] Host[1] ERROR: Empty result [127.0.0.1]: 'perl /var/www/html/cacti/scripts/unix_processes.pl'
10/16/2006 12:34:45 PM - CACTID: Poller[0] Host[1] DS[7] WARNING: Result from SCRIPT not valid. Partial Result: ...
10/16/2006 12:34:45 PM - CACTID: Poller[0] Host[1] ERROR: Empty result [127.0.0.1]: 'perl /var/www/html/cacti/scripts/unix_users.pl '
10/16/2006 12:34:45 PM - CACTID: Poller[0] Host[1] DS[6] WARNING: Result from SCRIPT not valid. Partial Result: ...
I get basiclly the same errors if I try and run the cactid from a command line.
same same,
I am getting the following errors.
when i copy the line from the log file and paste it directly into a shell, it runs and returns a number.
I'm running the latest versions of cacti/cactid on suse sles 9.
all other scripts run fine. I'm wondering if it's something to do with the amount of '\' to drive perfmon ?
Is there a way to see the whole result returned. I think the U is from the check_nt plugin executable displaying the Usage info.
I have different amount of '\' in each one to see if i can get it to work.
Ahh eureka !! It works under cmd.php. mmm so it's cactid.
any ideas ?
H
when i copy the line from the log file and paste it directly into a shell, it runs and returns a number.
I'm running the latest versions of cacti/cactid on suse sles 9.
all other scripts run fine. I'm wondering if it's something to do with the amount of '\' to drive perfmon ?
Is there a way to see the whole result returned. I think the U is from the check_nt plugin executable displaying the Usage info.
I have different amount of '\' in each one to see if i can get it to work.
Ahh eureka !! It works under cmd.php. mmm so it's cactid.
any ideas ?
H
20061020 11:40:05 - CACTID: Poller[0] Host[16] DS[224] SCRIPT: /usr/bin/perl /opt/nagios/cacti/scripts/nt_perfmon.pl 10.1.0.71 "\\\\Terminal Services\\Active Sessions", output: U
20061020 11:40:05 - CACTID: Poller[0] Host[16] DS[224] WARNING: Result from SCRIPT not valid. Partial Result: ...
20061020 11:40:05 - CACTID: Poller[0] Host[16] DS[223] SCRIPT: /usr/bin/perl /opt/nagios/cacti/scripts/nt_perfmon.pl 10.1.0.71 "\\\\PhysicalDisk(_Total)\\\\Current Disk Queue Length", output: U
20061020 11:40:05 - CACTID: Poller[0] Host[16] DS[223] WARNING: Result from SCRIPT not valid. Partial Result: ...
20061020 11:40:05 - CACTID: Poller[0] Host[16] DS[221] SCRIPT: /usr/bin/perl /opt/nagios/cacti/scripts/nt_perfmon.pl 10.1.0.71 "\\Memory\Page Faults/sec", output: U
20061020 11:40:05 - CACTID: Poller[0] Host[16] DS[221] WARNING: Result from SCRIPT not valid. Partial Result: ...
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Those extra back slashes should not be required.
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Yea, here is the issue, I modify back slashes to forward slashes in the first 2 locations, but your agrument is in the 4'th option, so, unless I can get access to your box, I will not be able to trouble shoot this. It is likely something else.
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?
I have the same the same issue (i believe).... just upgraded to cacti & cactid to Version 0.8.6i.... seems to involve the nt_perfmon.pl script
From the logs -
11/20/2006 08:20:03 PM - CACTID: Poller[0] Host[35] DS[1399] SCRIPT: /usr/bin/perl /var/www/html/cacti-0.8.6i/scripts/nt_perfmon.pl 10.50.200.100 "\\Memory\Page Faults/sec", output: U
From the command line:
[cactiuser@shark log]$ /usr/bin/perl /var/www/html/cacti-0.8.6i/scripts/nt_perfmon.pl 10.50.200.100 "\\Memory\Page Faults/sec"
Result ------
93
I can easily give you access if need be.
Thanks,
Jason
From the logs -
11/20/2006 08:20:03 PM - CACTID: Poller[0] Host[35] DS[1399] SCRIPT: /usr/bin/perl /var/www/html/cacti-0.8.6i/scripts/nt_perfmon.pl 10.50.200.100 "\\Memory\Page Faults/sec", output: U
From the command line:
[cactiuser@shark log]$ /usr/bin/perl /var/www/html/cacti-0.8.6i/scripts/nt_perfmon.pl 10.50.200.100 "\\Memory\Page Faults/sec"
Result ------
93
I can easily give you access if need be.
Thanks,
Jason
Access is not available. perhaps if you guide me to the subroutine that does the massaging, i can update cactid.c myself (i've already played with it to do the date format).TheWitness wrote:Yea, here is the issue, I modify back slashes to forward slashes in the first 2 locations, but your agrument is in the 4'th option, so, unless I can get access to your box, I will not be able to trouble shoot this. It is likely something else.
TheWitness
sorry for late response. i seem to have missed the email with your response.
also if you are modifying the back slashes to forward slashes should we just change the input to be forward slashes ?
H
"The difference between theory and practice, is that in theory, there is no difference between theory and practice."
"The first 90% of a project takes 90% of the time, the last 10% takes the other 90% of the time" - Murphy's Law
"The first 90% of a project takes 90% of the time, the last 10% takes the other 90% of the time" - Murphy's Law
Who is online
Users browsing this forum: No registered users and 1 guest