poller ping error

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
navjotthen
Posts: 22
Joined: Mon Sep 01, 2008 5:48 pm

poller ping error

Post by navjotthen »

HI my poller is running fine. Everything is ok i can see the graphs working but i am getting this attached error.any ideas what this means?
Attachments
Doc1.doc
(30.5 KiB) Downloaded 251 times
navjotthen
Posts: 22
Joined: Mon Sep 01, 2008 5:48 pm

any idea

Post by navjotthen »

Still getting these errors any idea what they are????????????????



09/17/2008 10:43:02 AM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
09/16/2008 09:27:41 AM - AUTH LOGIN: User 'admin' Authenticated
09/15/2008 11:43:18 AM - SYSTEM STATS: Time:18.3664 Method:cmd.php Processes:10 Threads:N/A Hosts:3 HostsPerProcess:1 DataSources:5 RRDsProcessed:5
09/15/2008 11:43:14 AM - CMDPHP: Poller[0] Host[5] DS[19] WARNING: Result from CMD not valid. Partial Result:
09/15/2008 11:43:07 AM - CMDPHP: Poller[0] Host[5] DS[18] WARNING: Result from CMD not valid. Partial Result:
09/15/2008 11:43:00 AM - POLLER: Poller[0] WARNING: Poller[0] Host[5] Ping Time was not numeric
09/15/2008 11:43:00 AM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
09/15/2008 11:43:00 AM - POLLER: Poller[0] WARNING: Poller[0] Host[4] Ping Time was not numeric
09/15/2008 11:43:00 AM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
09/15/2008 11:38:18 AM - SYSTEM STATS: Time:18.4096 Method:cmd.php Processes:10 Threads:N/A Hosts:3 HostsPerProcess:1 DataSources:5 RRDsProcessed:5
09/15/2008 11:38:14 AM - CMDPHP: Poller[0] Host[5] DS[19] WARNING: Result from CMD not valid. Partial Result:
09/15/2008 11:38:07 AM - CMDPHP: Poller[0] Host[5] DS[18] WARNING: Result from CMD not valid. Partial Result:
09/15/2008 11:38:00 AM - POLLER: Poller[0] WARNING: Poller[0] Host[5] Ping Time was not numeric
09/15/2008 11:38:00 AM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
09/15/2008 11:38:00 AM - POLLER: Poller[0] WARNING: Poller[0] Host[4] Ping Time was not numeric
09/15/2008 11:38:00 AM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
09/15/2008 11:33:18 AM - SYSTEM STATS: Time:18.4067 Method:cmd.php Processes:10 Threads:N/A Hosts:3 HostsPerProcess:1 DataSources:5 RRDsProcessed:5
09/15/2008 11:33:14 AM - CMDPHP: Poller[0] Host[5] DS[19] WARNING: Result from CMD not valid. Partial Result:
09/15/2008 11:33:07 AM - CMDPHP: Poller[0] Host[5] DS[18] WARNING: Result from CMD not valid. Partial Result:
09/15/2008 11:33:00 AM - POLLER: Poller[0] WARNING: Poller[0] Host[5] Ping Time was not numeric
09/15/2008 11:33:00 AM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
09/15/2008 11:33:00 AM - POLLER: Poller[0] WARNING: Poller[0] Host[4] Ping Time was not numeric
09/15/2008 11:33:00 AM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

The clue is in the log file from Cacti. You need to enable socket support in php.

Have a look in your php.ini file, and remove the ";" from php_sockets. Pinging from within Cacti requires this.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
navjotthen
Posts: 22
Joined: Mon Sep 01, 2008 5:48 pm

Post by navjotthen »

Hi mate, Thanks for your advise i found out that
extension=php_sockets was commented so have changed that, Now log files are showing like this...



Log File [Total Lines: 32 - All Items Shown]

09/18/2008 09:33:01 AM - SYSTEM STATS: Time:1.3729 Method:cmd.php Processes:10 Threads:N/A Hosts:3 HostsPerProcess:1 DataSources:3 RRDsProcessed:0
09/18/2008 09:33:00 AM - CMDPHP: Poller[0] Time: 0.4119 s, Theads: N/A, Hosts: 1
09/18/2008 09:33:00 AM - CMDPHP: Poller[0] Host[4] PING: TCP ping timed out
09/18/2008 09:33:00 AM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
09/18/2008 09:33:00 AM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
09/18/2008 09:33:00 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
09/18/2008 09:28:01 AM - SYSTEM STATS: Time:1.3570 Method:cmd.php Processes:10 Threads:N/A Hosts:3 HostsPerProcess:1 DataSources:3 RRDsProcessed:0
09/18/2008 09:28:00 AM - CMDPHP: Poller[0] Time: 0.3995 s, Theads: N/A, Hosts: 1
09/18/2008 09:28:00 AM - CMDPHP: Poller[0] Host[4] PING: TCP ping timed out
09/18/2008 09:28:00 AM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
09/18/2008 09:28:00 AM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
09/18/2008 09:28:00 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
09/18/2008 09:23:01 AM - SYSTEM STATS: Time:1.3760 Method:cmd.php Processes:10 Threads:N/A Hosts:3 HostsPerProcess:1 DataSources:3 RRDsProcessed:0
09/18/2008 09:23:00 AM - CMDPHP: Poller[0] Time: 0.4130 s, Theads: N/A, Hosts: 1
09/18/2008 09:23:00 AM - CMDPHP: Poller[0] Host[4] PING: TCP ping timed out
09/18/2008 09:23:00 AM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
09/18/2008 09:23:00 AM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
09/18/2008 09:23:00 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
09/18/2008 09:18:01 AM - SYSTEM STATS: Time:1.3680 Method:cmd.php Processes:10 Threads:N/A Hosts:3 HostsPerProcess:1 DataSources:3 RRDsProcessed:0
09/18/2008 09:18:00 AM - CMDPHP: Poller[0] Time: 0.4057 s, Theads: N/A, Hosts: 1
09/18/2008 09:18:00 AM - CMDPHP: Poller[0] Host[4] PING: TCP ping timed out
09/18/2008 09:18:00 AM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
09/18/2008 09:18:00 AM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
09/18/2008 09:18:00 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
09/18/2008 09:13:01 AM - SYSTEM STATS: Time:1.3779 Method:cmd.php Processes:10 Threads:N/A Hosts:3 HostsPerProcess:1 DataSources:3 RRDsProcessed:0
09/18/2008 09:13:00 AM - CMDPHP: Poller[0] Time: 0.3993 s, Theads: N/A, Hosts: 1
09/18/2008 09:13:00 AM - CMDPHP: Poller[0] Host[4] ERROR: HOST EVENT: Host is DOWN Message: TCP ping timed out
09/18/2008 09:13:00 AM - CMDPHP: Poller[0] Host[4] PING: TCP ping timed out
09/18/2008 09:13:00 AM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
09/18/2008 09:13:00 AM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
09/18/2008 09:13:00 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
09/18/2008 09:08:58 AM - WEBUI: Cacti Log Cleared from Web Management Interface
navjotthen
Posts: 22
Joined: Mon Sep 01, 2008 5:48 pm

graphs not displaying sub titles.

Post by navjotthen »

Hi Mate another thing even though my graph shows me data but it does not actually shows my titles. I have already read through all the forums to see if something helps but no success as yet.
Interesting thing it is not showing me any error, is there a way i can generate or debug the graph so i can get it to generate a error.

Please see the attached screenshot and assist.
Attachments
graph.doc
(960.05 KiB) Downloaded 265 times
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Can you change the TCP ping to ICMP or UDP via SNMP ? What devices are you polling ? If they are firewalls, its likely that PING has been denied.

I can't see the screenshot, as I'm using a Blackberry. However, if you can't see any titles, check the FONT path in settings. This is likely to be where your issue lies.

Regds
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
navjotthen
Posts: 22
Joined: Mon Sep 01, 2008 5:48 pm

Post by navjotthen »

Hi Mate,

i dont use any of SNMP(it is the way i have configured it), i use UDp pings.. I am trying to pool some rrd files(BAT files) to get the memory usage for the server....
navjotthen
Posts: 22
Joined: Mon Sep 01, 2008 5:48 pm

Post by navjotthen »

another thing font path in setting says OK file found...

I have tried creating a graph via command promt and that works i can see all the headings etc...
navjotthen
Posts: 22
Joined: Mon Sep 01, 2008 5:48 pm

Post by navjotthen »

Hi mate do you think new version of rrdtool is causing the issue. As we also have another server which is old version of rrdtool and it works fine with same settings....

Note: the server which has old version of rrdtool, i can easily add graph templates and it displays my graph... so basically that leaves me clueless on this new server..i can not see any error logs either
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Why use batch files for memory when there are already scripts which use snmp, wmi, etc?

2) If you don't want to use tcp pings, why not switch cacti to use udp instead? Your logs show its using TCP.

3) If you think the rrdtool version might be a problem, I'd suggest using rrdtool 1.2.26 W32 build (not cygwin anymore) or better. I suppose you could try using the old version from the old server too if you wanted.

4) In cacti's devices, does any show as up?
navjotthen
Posts: 22
Joined: Mon Sep 01, 2008 5:48 pm

Post by navjotthen »

Apologise was out of town....

OK now i have changed all the versions similar to the server i know where everything works fine...

Apache httpd 2.055
MySQL 5.0.37
PHP 5.1.2
RRDTool 1.2.12 (win32 version)
Cacti 0.8.7

Now i can see the fonts on the graph but i cannot see any data instead i see -1#j which to me it refers that the numbers are real small or something any ideas.....

Earlier my graphs where displaying data but not the fonts...but now its vice-versa...

reason i use scripts to collect info is because that is the way the syetem has beeen designed in this enviournment.... like i said before it works fine on one of the server....
Attachments
aas.doc
(113 KiB) Downloaded 169 times
navjotthen
Posts: 22
Joined: Mon Sep 01, 2008 5:48 pm

Post by navjotthen »

Just to test with same configuration i have used cygwin version aswell but that did not work neither...
infact instead of .1#j now i get NaN so not sure what that means...Please advise any steps i could follow and see where is it breaking down...
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) I recommend you update the version you're using. The latest PHP, cacti 0.8.7b, and RRDTool 1.2.12 Win32 does NOT work with cacti. You must use 1.2.15 or later for the Win32 build -- otherwise you must use the Cygwin builds.

2) Have you put cacti in debugging logging mode, waiting for a polling cycle and then looked through it? Does cacti receive data from the device? Does 'rrdtool update' run?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests