Cactid processes climbing and gaps in graphs
Moderators: Developers, Moderators
Hi,
The only non-standard script in my data input is Advanced Ping v 1.3
Could it be this? I knew there was a problem with the smokeping template as there was a monster thread on it but this was was deemed as fixed....
perhaps I will disable the graphs that use this and see if things improve! - I'll let you know if they do,
Thanks,
Lard
The only non-standard script in my data input is Advanced Ping v 1.3
Could it be this? I knew there was a problem with the smokeping template as there was a monster thread on it but this was was deemed as fixed....
perhaps I will disable the graphs that use this and see if things improve! - I'll let you know if they do,
Thanks,
Lard
---- lard007skype ----
Hi,
I completely removed the advanced ping template, data sources and script but unfortunately am still getting the following script server error:
12/01/2005 10:23:13 AM - SYSTEM STATS: Time:12.9215 Method:cactid Processes:1 Threads:10 Hosts:178 HostsPerProcess:178 DataSources:8810 RRDsProcessed:1035
12/01/2005 10:23:07 AM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
12/01/2005 10:23:06 AM - CACTID: Poller[0] Host[49] DS[5464] WARNING: Result from SNMP not valid. Partial Result: ...
12/01/2005 10:23:06 AM - CACTID: Poller[0] Host[80] DS[2379] WARNING: Result from SNMP not valid. Partial Result: ...
12/01/2005 10:23:05 AM - CACTID: Poller[0] Host[49] DS[5436] WARNING: Result from SNMP not valid. Partial Result: ...
12/01/2005 10:23:02 AM - CACTID: Poller[0] Host[3] DS[27] WARNING: Result from SNMP not valid. Partial Result: ...
12/01/2005 10:23:02 AM - CACTID: Poller[0] Host[3] DS[26] WARNING: Result from SNMP not valid. Partial Result: ...
I've just realised (bit slow today) that this would explain the gaps in my graphing as the polling seems to stop once the php error kicks in - any more info required for this?
Looking at the input methods this was the only script server script?
Thanks,
Lard
Edit> Whoops - clearing the poller cache would be a good idea! - I'll update if a while and see if this solves it
I completely removed the advanced ping template, data sources and script but unfortunately am still getting the following script server error:
12/01/2005 10:23:13 AM - SYSTEM STATS: Time:12.9215 Method:cactid Processes:1 Threads:10 Hosts:178 HostsPerProcess:178 DataSources:8810 RRDsProcessed:1035
12/01/2005 10:23:07 AM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
12/01/2005 10:23:06 AM - CACTID: Poller[0] Host[49] DS[5464] WARNING: Result from SNMP not valid. Partial Result: ...
12/01/2005 10:23:06 AM - CACTID: Poller[0] Host[80] DS[2379] WARNING: Result from SNMP not valid. Partial Result: ...
12/01/2005 10:23:05 AM - CACTID: Poller[0] Host[49] DS[5436] WARNING: Result from SNMP not valid. Partial Result: ...
12/01/2005 10:23:02 AM - CACTID: Poller[0] Host[3] DS[27] WARNING: Result from SNMP not valid. Partial Result: ...
12/01/2005 10:23:02 AM - CACTID: Poller[0] Host[3] DS[26] WARNING: Result from SNMP not valid. Partial Result: ...
I've just realised (bit slow today) that this would explain the gaps in my graphing as the polling seems to stop once the php error kicks in - any more info required for this?
Looking at the input methods this was the only script server script?
Thanks,
Lard
Edit> Whoops - clearing the poller cache would be a good idea! - I'll update if a while and see if this solves it
---- lard007skype ----
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please post a few lines from your poller cache for "Action: 2". Also, from the Cacti directory, please run:
php scripts/ss_fping.php <hostname> <ping_count> ICMP
Post the output.
Also, please try running the script_server in debug mode. From the cacti directory:
php script_server.php
<path_cacti>/scripts/ss_fping.php ss_fping <hostname> <ping_count> ICMP
quit
You should get output and no warnings.
TheWitness
php scripts/ss_fping.php <hostname> <ping_count> ICMP
Post the output.
Also, please try running the script_server in debug mode. From the cacti directory:
php script_server.php
<path_cacti>/scripts/ss_fping.php ss_fping <hostname> <ping_count> ICMP
quit
You should get output and no warnings.
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?
Hello,
The action 2 output from the poller cache:
Data Source: rmc-nt11 - Used Space - D: Label:Swap Serial Number c
RRD: E:\Apache2\htdocs\cacti\rra\rmcnt11_hdd_total_29.rrd
Action: 2, Script: E:\Apache2\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk hhhhhhh 3 1:161:500:rmc:::MD5::[None] get used 2
Data Source: rmc-nt11 - Used Space - D: Label:Swap Serial Number c
RRD: E:\Apache2\htdocs\cacti\rra\rmcnt11_hdd_total_29.rrd
Action: 2, Script: E:\Apache2\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk hjhhhhhhhh 3 1:161:500:rmc:::MD5::[None] get total 2
Data Source: rmc-nt11 - Used Space - E: Label:Apps Serial Number 9
RRD: E:\Apache2\htdocs\cacti\rra\rmcnt11_hdd_total_30.rrd
Action: 2, Script: E:\Apache2\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk hhhhhhhhhhh 3 1:161:500:rmc:::MD5::[None] get used 3
the output of the ss_fping:
E:\Apache2\htdocs\cacti>php scripts/ss_fping.php www.cacti.net 5 ICMP
min:86.4200 avg:86.8240 max:87.5700 dev:0.4356 loss:0.0000
The poller in debug showed the following - I think this is me doing something daft!
E:\Apache2\htdocs\cacti>php script_server.php e:\apache2\htdocs\cacti\scripts\ss
_fping.php ss_fping www.cacti.net 5 ICMP
12/01/2005 11:30:14 AM - PHPSVR: Poller[0] ERROR: The PHP Script Server MUST be
started using the full path to the file and in lower case. This is a PHP Bug!!!
Thanks,
Lard
The action 2 output from the poller cache:
Data Source: rmc-nt11 - Used Space - D: Label:Swap Serial Number c
RRD: E:\Apache2\htdocs\cacti\rra\rmcnt11_hdd_total_29.rrd
Action: 2, Script: E:\Apache2\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk hhhhhhh 3 1:161:500:rmc:::MD5::[None] get used 2
Data Source: rmc-nt11 - Used Space - D: Label:Swap Serial Number c
RRD: E:\Apache2\htdocs\cacti\rra\rmcnt11_hdd_total_29.rrd
Action: 2, Script: E:\Apache2\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk hjhhhhhhhh 3 1:161:500:rmc:::MD5::[None] get total 2
Data Source: rmc-nt11 - Used Space - E: Label:Apps Serial Number 9
RRD: E:\Apache2\htdocs\cacti\rra\rmcnt11_hdd_total_30.rrd
Action: 2, Script: E:\Apache2\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk hhhhhhhhhhh 3 1:161:500:rmc:::MD5::[None] get used 3
the output of the ss_fping:
E:\Apache2\htdocs\cacti>php scripts/ss_fping.php www.cacti.net 5 ICMP
min:86.4200 avg:86.8240 max:87.5700 dev:0.4356 loss:0.0000
The poller in debug showed the following - I think this is me doing something daft!
E:\Apache2\htdocs\cacti>php script_server.php e:\apache2\htdocs\cacti\scripts\ss
_fping.php ss_fping www.cacti.net 5 ICMP
12/01/2005 11:30:14 AM - PHPSVR: Poller[0] ERROR: The PHP Script Server MUST be
started using the full path to the file and in lower case. This is a PHP Bug!!!
Thanks,
Lard
Last edited by lard on Fri Nov 02, 2007 6:24 pm, edited 1 time in total.
---- lard007skype ----
Got it this timelard wrote:Hello,
The action 2 output from the poller cache:
the output of the ss_fping:
E:\Apache2\htdocs\cacti>php scripts/ss_fping.php www.cacti.net 5 ICMP
min:86.4200 avg:86.8240 max:87.5700 dev:0.4356 loss:0.0000
The poller in debug showed the following - I think this is me doing something daft!
E:\Apache2\htdocs\cacti>php script_server.php e:\apache2\htdocs\cacti\scripts\ss
_fping.php ss_fping www.cacti.net 5 ICMP
12/01/2005 11:30:14 AM - PHPSVR: Poller[0] ERROR: The PHP Script Server MUST be
started using the full path to the file and in lower case. This is a PHP Bug!!!
Thanks,
Lard
E:\Apache2\htdocs\cacti>php e:\apache2\htdocs\cacti\script_server.php
PHP Script Server has Started - Parent is cmd
^C
E:\Apache2\htdocs\cacti>php e:\apache2\htdocs\cacti\script_server.php
PHP Script Server has Started - Parent is cmd
E:/apache2/htdocs/cacti/scripts/ss_fping.php ss_fping www.cacti.net 5 ICMP
min:86.2200 avg:86.6940 max:87.4600 dev:0.4709 loss:0.0000
quit
PHP Script Server Shutdown request received, exiting
E:\Apache2\htdocs\cacti>
Thanks,
Lard
Last edited by lard on Fri Nov 02, 2007 6:24 pm, edited 1 time in total.
---- lard007skype ----
Thought this may of been relevant - managed to recreate the "input expected" error by accidently sending a blank carraige return when running the script_server in debug:
E:\Apache2\htdocs\cacti>php e:\apache2\htdocs\cacti\script_server.php
PHP Script Server has Started - Parent is cmd
E:/apache2/htdocs/cacti/scripts/ss_fping.php ss_fping www.cacti.net 5 ICMP
min:86.3700 avg:86.8660 max:87.3700 dev:0.3365 loss:0.0000
ERROR: Input Expected, Script Server Terminating
May or may not be relevant,
Thanks,
Lard
E:\Apache2\htdocs\cacti>php e:\apache2\htdocs\cacti\script_server.php
PHP Script Server has Started - Parent is cmd
E:/apache2/htdocs/cacti/scripts/ss_fping.php ss_fping www.cacti.net 5 ICMP
min:86.3700 avg:86.8660 max:87.3700 dev:0.3365 loss:0.0000
ERROR: Input Expected, Script Server Terminating
May or may not be relevant,
Thanks,
Lard
---- lard007skype ----
Nuts
12/02/2005 10:33:20 AM - SYSTEM STATS: Time:20.3300 Method:cactid Processes:1 Threads:10 Hosts:178 HostsPerProcess:178 DataSources:8809 RRDsProcessed:1662
12/02/2005 10:33:12 AM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
12/02/2005 10:33:10 AM - CACTID: Poller[0] Host[120] DS[2889] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:09 AM - CACTID: Poller[0] Host[116] DS[2870] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:09 AM - CACTID: Poller[0] Host[115] DS[2866] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:09 AM - CACTID: Poller[0] Host[49] DS[5474] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:09 AM - CACTID: Poller[0] Host[49] DS[5471] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:09 AM - CACTID: Poller[0] Host[49] DS[5336] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:08 AM - CACTID: Poller[0] Host[95] DS[2540] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:08 AM - CACTID: Poller[0] Host[96] DS[2544] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:07 AM - CACTID: Poller[0] Host[49] DS[5464] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:07 AM - CACTID: Poller[0] Host[80] DS[2379] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:06 AM - CACTID: Poller[0] Host[49] DS[5436] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:05 AM - CACTID: Poller[0] Host[3] DS[27] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:05 AM - CACTID: Poller[0] Host[3] DS[26] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:28:39 AM - SYSTEM STATS: Time:39.1822 Method:cactid Processes:1 Threads:10 Hosts:178 HostsPerProcess:178 DataSources:8809 RRDsProcessed:4336
I have also set the user for the php-win scheduled task to system but no joy - I'll have a rethink!
Thanks,
Lard
12/02/2005 10:33:20 AM - SYSTEM STATS: Time:20.3300 Method:cactid Processes:1 Threads:10 Hosts:178 HostsPerProcess:178 DataSources:8809 RRDsProcessed:1662
12/02/2005 10:33:12 AM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
12/02/2005 10:33:10 AM - CACTID: Poller[0] Host[120] DS[2889] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:09 AM - CACTID: Poller[0] Host[116] DS[2870] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:09 AM - CACTID: Poller[0] Host[115] DS[2866] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:09 AM - CACTID: Poller[0] Host[49] DS[5474] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:09 AM - CACTID: Poller[0] Host[49] DS[5471] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:09 AM - CACTID: Poller[0] Host[49] DS[5336] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:08 AM - CACTID: Poller[0] Host[95] DS[2540] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:08 AM - CACTID: Poller[0] Host[96] DS[2544] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:07 AM - CACTID: Poller[0] Host[49] DS[5464] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:07 AM - CACTID: Poller[0] Host[80] DS[2379] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:06 AM - CACTID: Poller[0] Host[49] DS[5436] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:05 AM - CACTID: Poller[0] Host[3] DS[27] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:33:05 AM - CACTID: Poller[0] Host[3] DS[26] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 10:28:39 AM - SYSTEM STATS: Time:39.1822 Method:cactid Processes:1 Threads:10 Hosts:178 HostsPerProcess:178 DataSources:8809 RRDsProcessed:4336
I have also set the user for the php-win scheduled task to system but no joy - I'll have a rethink!
Thanks,
Lard
---- lard007skype ----
Unfortunately the error is still coming into the log and stopping the polling process:
12/02/2005 12:08:15 PM - SYSTEM STATS: Time:15.0621 Method:cactid Processes:1 Threads:10 Hosts:178 HostsPerProcess:178 DataSources:8809 RRDsProcessed:1160
12/02/2005 12:08:11 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
Any suggestions appreciated!
Thanks,
Lard
12/02/2005 12:08:15 PM - SYSTEM STATS: Time:15.0621 Method:cactid Processes:1 Threads:10 Hosts:178 HostsPerProcess:178 DataSources:8809 RRDsProcessed:1160
12/02/2005 12:08:11 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
Any suggestions appreciated!
Thanks,
Lard
---- lard007skype ----
damn - as I changed the user for the scheduled task to SYSTEM I now cannot kill the hung processeslard wrote:Unfortunately the error is still coming into the log and stopping the polling process:
12/02/2005 12:08:15 PM - SYSTEM STATS: Time:15.0621 Method:cactid Processes:1 Threads:10 Hosts:178 HostsPerProcess:178 DataSources:8809 RRDsProcessed:1160
12/02/2005 12:08:11 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
Also have a couple of hung cactid.exe processes
Any suggestions appreciated!
Thanks,
Lard
---- lard007skype ----
An update - I have determined that the only scripts being used are the host CPU e.t.c. for the cacti server itself...I have disabled this host to see if this resolves the issue and stops the polling process hanging...though I was under the impression the the host templates were for unix only?
Anyway - update to follow,
Cheers,
Lard
Anyway - update to follow,
Cheers,
Lard
---- lard007skype ----
Now this is strange...I now no longer have any graphs generated by scripts that I can see yet I am still getting:
12/02/2005 02:58:16 PM - SYSTEM STATS: Time:15.7790 Method:cactid Processes:1 Threads:10 Hosts:176 HostsPerProcess:176 DataSources:8787 RRDsProcessed:1146 (<-should be 4000+)
12/02/2005 02:58:11 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
12/02/2005 02:58:09 PM - CACTID: Poller[0] Host[116] DS[2870] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 02:58:09 PM - CACTID: Poller[0] Host[115] DS[2866] WARNING: Result from SNMP not valid. Partial Result: ...
I'll have to think of something else to stop the poller bombing out halfway through...
Lard
12/02/2005 02:58:16 PM - SYSTEM STATS: Time:15.7790 Method:cactid Processes:1 Threads:10 Hosts:176 HostsPerProcess:176 DataSources:8787 RRDsProcessed:1146 (<-should be 4000+)
12/02/2005 02:58:11 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
12/02/2005 02:58:09 PM - CACTID: Poller[0] Host[116] DS[2870] WARNING: Result from SNMP not valid. Partial Result: ...
12/02/2005 02:58:09 PM - CACTID: Poller[0] Host[115] DS[2866] WARNING: Result from SNMP not valid. Partial Result: ...
I'll have to think of something else to stop the poller bombing out halfway through...
Lard
---- lard007skype ----
Hello,
Update is that I have managed to remove all graphs that are generated from the script server..however, this still does not seem to fix the issue (though the php server error has now gone)
I am receiving the following in the logs when the graphs have gaps - probably because the logs show the poller taking 5 minutes to complete!
12/05/2005 03:42:57 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
12/05/2005 03:38:11 PM - CACTID: Poller[0] Host[131] DS[2941] WARNING: Result from SNMP not valid. Partial Result: ...
12/05/2005 03:38:11 PM - CACTID: Poller[0] Host[49] DS[5466] WARNING: Result from SNMP not valid. Partial Result: ...
Any hints on this error message - anyone come across it before?
Thanks,
Lard
Update is that I have managed to remove all graphs that are generated from the script server..however, this still does not seem to fix the issue (though the php server error has now gone)
I am receiving the following in the logs when the graphs have gaps - probably because the logs show the poller taking 5 minutes to complete!
12/05/2005 03:42:57 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
12/05/2005 03:38:11 PM - CACTID: Poller[0] Host[131] DS[2941] WARNING: Result from SNMP not valid. Partial Result: ...
12/05/2005 03:38:11 PM - CACTID: Poller[0] Host[49] DS[5466] WARNING: Result from SNMP not valid. Partial Result: ...
Any hints on this error message - anyone come across it before?
Thanks,
Lard
---- lard007skype ----
If you turn the logging level to debug, you will see exactly why those SNMP queries are failing. Most likely the OID is invalid.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 1 guest