CMDPHP: Poller[0] Host[2] DS[24] WARNING: Result from SNMP n

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

Moderators: Developers, Moderators

Post Reply
vpnnav
Posts: 16
Joined: Thu May 15, 2008 6:23 pm

CMDPHP: Poller[0] Host[2] DS[24] WARNING: Result from SNMP n

Post by vpnnav »

Hi !
please let me know how i fix my problem . I have just install Cacti but i have not see graph even for my localhost and my pc in lan support SNMP.
my poller log :
05/15/2008 01:52:30 PM - CMDPHP: Poller[0] Host[2] DS[24] WARNING: Result from SNMP not valid. Partial Result:
05/15/2008 01:52:28 PM - CMDPHP: Poller[0] Host[2] DS[24] WARNING: Result from SNMP not valid. Partial Result:
05/15/2008 01:52:26 PM - CMDPHP: Poller[0] Host[2] DS[22] WARNING: Result from SNMP not valid. Partial Result:
05/15/2008 01:52:24 PM - CMDPHP: Poller[0] Host[2] DS[22] WARNING: Result from SNMP not valid. Partial Result:
05/15/2008 01:52:22 PM - CMDPHP: Poller[0] Host[2] DS[21] WARNING: Result from SNMP not valid. Partial Result:
05/15/2008 01:52:20 PM - CMDPHP: Poller[0] Host[2] DS[23] WARNING: Result from SNMP not valid. Partial Result:
05/15/2008 01:52:20 PM - CMDPHP: Poller[0] Host[2] DS[21] WARNING: Result from SNMP not valid. Partial Result:
05/15/2008 01:52:18 PM - CMDPHP: Poller[0] Host[2] DS[20] WARNING: Result from SNMP not valid. Partial Result:
05/15/2008 01:52:16 PM - CMDPHP: Poller[0] Host[2] DS[20] WARNING: Result from SNMP not valid. Partial Result:
05/15/2008 01:52:14 PM - CMDPHP: Poller[0] Host[2] DS[19] WARNING: Result from SNMP not valid. Partial Result:
05/15/2008 01:52:12 PM - CMDPHP: Poller[0] Host[2] DS[18] WARNING: Result from SNMP not valid. Partial Result:
05/15/2008 01:52:10 PM - CMDPHP: Poller[0] Host[2] DS[17] WARNING: Result from SNMP not valid. Partial Result:
05/15/2008 01:52:08 PM - CMDPHP: Poller[0] Host[2] DS[16] WARNING: Result from SNMP not valid. Partial Result:
Althought i choose exactly RRDTOOL version in configuration setting But i don't understand Technical Support said that "
ERROR: Installed RRDTool version does not match configured version.
Please visit the Configuration Settings and select the correct RRDTool Utility Version."
Please give me advices to deal with it !
thanks you so much
Kro
Posts: 38
Joined: Thu Mar 27, 2008 11:39 am

Post by Kro »

Have a look on rrdtool version installed on your system: rrdtool -v

Check if it match with your settings.
vpnnav
Posts: 16
Joined: Thu May 15, 2008 6:23 pm

Post by vpnnav »

Kro wrote:Have a look on rrdtool version installed on your system: rrdtool -v

Check if it match with your settings.
[root@Agent cacti-0.8.7b]# rrdtool -v
RRDtool 1.2.23 Copyright 1997-2007 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Jul 10 2007 21:51:31

Usage: rrdtool [options] command command_options

Valid commands: create, update, updatev, graph, dump, restore,
last, lastupdate, first, info, fetch, tune,
resize, xport

RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)

For more information read the RRD manpages

I thinks it match to setting .However i confuse how differences
between install RRDtool from " yum install rrdtool" and "tar zxvf rrdtool....." can affect to my problem .Because i used "yum "?
Please let me know !
vpnnav
Posts: 16
Joined: Thu May 15, 2008 6:23 pm

Post by vpnnav »

hi
I have just problem when i re-install rrdtool by " tar zxvf rrdtool-1.2.27.tar.gz"
in Tech Support cacti :

ERROR: Installed RRDTool version does not match configured version.
Please visit the Configuration Settings and select the correct RRDTool Utility Version.

and so on :in Cacti log file
05/16/2008 01:14:04 AM - SYSTEM STATS: Time:2.5314 Method:cmd.php Processes:5 Threads:N/A Hosts:3 HostsPerProcess:1 DataSources:17 RRDsProcessed:0
05/16/2008 01:13:02 AM - SYSTEM STATS: Time:1.4729 Method:cmd.php Processes:5 Threads:N/A Hosts:3 HostsPerProcess:1 DataSources:17 RRDsProcessed:0
05/16/2008 01:12:02 AM - SYSTEM STATS: Time:1.4201 Method:cmd.php Processes:5 Threads:N/A Hosts:3 HostsPerProcess:1 DataSources:17 RRDsProcessed:0
05/16/2008 01:11:03 AM - SYSTEM STATS: Time:1.5325 Method:cmd.php Processes:5 Threads:N/A Hosts:3 HostsPerProcess:1 DataSources:17 RRDsProcessed:0
05/16/2008 01:10:32 AM - SYSTEM STATS: Time:30.7157 Method:cmd.php Processes:5 Threads:N/A Hosts:3 HostsPerProcess:1 DataSources:17 RRDsProcessed:17
05/16/2008 01:10:31 AM - CMDPHP: Poller[0] Host[6] DS[45] WARNING: Result from SNMP not valid. Partial Result:
05/16/2008 01:10:29 AM - CMDPHP: Poller[0] Host[6] DS[44] WARNING: Result from SNMP not valid. Partial Result:
05/16/2008 01:10:27 AM - CMDPHP: Poller[0] Host[6] DS[43] WARNING: Result from SNMP not valid. Partial Result:
05/16/2008 01:10:25 AM - CMDPHP: Poller[0] Host[6] DS[42] WARNING: Result from SNMP not valid. Partial Result:
05/16/2008 01:10:23 AM - CMDPHP: Poller[0] Host[6] DS[41] WARNING: Result from SNMP not valid. Partial Result:
05/16/2008 01:10:21 AM - CMDPHP: Poller[0] Host[6] DS[40] WARNING: Result from SNMP not valid. Partial Result:
05/16/2008 01:10:19 AM - CMDPHP: Poller[0] Host[6] DS[39] WARNING: Result from SNMP not valid. Partial Result:
Please help me ! I need it run soon .
Thanks alot
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The logs don't show any problem with rrdtool. In fact, the STATS say, that some files were updated. Perhaps we'bve got a problem with detecting rrdtool correctly for the tech support page.
The error you've got is related to SNMP. There are some OIDs that do not report data. This is normally not a cacti problem. To debug, please see 2nd link of my sig
Reinhard
vpnnav
Posts: 16
Joined: Thu May 15, 2008 6:23 pm

Post by vpnnav »

Hey i re-install all of it .However i have a problem with poller. it's not play as set in crontab .
*/1 * * * * php ..........
It doesn't run anything untill i type #php poller.php in CLI .
What i can do to run poller in schedule ?
thanks !
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please clarify, which crontab you're using
- /etc/crontab
- /etc/crond./cacti
- crontab of user "root"
- crontab of user "cactiuser"
Reinhard
vpnnav
Posts: 16
Joined: Thu May 15, 2008 6:23 pm

Post by vpnnav »

gandalf wrote:Please clarify, which crontab you're using
- /etc/crontab
- /etc/crond./cacti
- crontab of user "root"
- crontab of user "cactiuser"
Reinhard
Hi gandalf !
I used just one crontab :/etc/crontab (crontab of user "cactiuse")
in /etc/crontab : */2 * * * * cactiuser php /var/www/html/cacti/poller.php > /dev/null > 2 &1
But polling is not create and i have to make poller.php by manual
have any ideas
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please change
*/2 * * * * cactiuser php /var/www/html/cacti/poller.php > /dev/null 2 &1
to
*/2 * * * * cactiuser php /var/www/html/cacti/poller.php > /var/www/html/cacti/log/poller.log 2>&1
(no blank between 2 and &)
Reinhard
justanitguy
Posts: 1
Joined: Fri Jan 14, 2011 4:58 pm

Re: CMDPHP: Poller[0] Host[2] DS[24] WARNING: Result from SN

Post by justanitguy »

Being a Cacti nube I struggled with this for several days. This is an SNMP error (as clearly described above) but not being a SNMP wizard, the detailed debugging was not any fun; and unnecessary for my purposes.

My first "problem" was using cat and tail to look at the log, not Cacti. When using Cacti to look at the log, it has a link to the datasource which takes you directly to the offending host and datasource which is then easily cross referenced with a graph. This little tidbit would have saved me TONS of unnecessary debugging.

In my case, I was polling stack ports on stack-able switches (Cisco 3750's). I don't care about the stack port stats since I can gather pertinent info from the ethernet interfaces. Since I don't care about those stats, I deleted the associated graphs and datasources. Now my log is clean.

If you do care about the stats for whatever datasource is showing up in your log, see the SNMP debugging help above.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests