Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support
It is currently Wed Oct 22, 2014 8:44 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: WARNING: Result from SNMP not valid. Partial Result: U
PostPosted: Tue Dec 22, 2009 8:37 am 
Offline

Joined: Tue Dec 22, 2009 7:02 am
Posts: 2
Location: brasil
CMDPHP: Poller[0] Host[2] DS[55] WARNING: Result from SNMP not valid. Partial Result: U

it gives this error?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 04, 2010 9:12 am 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
Usually, this means that the given host does not respond to that very OID you want to query. Use snmpwalk against that host to verify
R.

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 03, 2010 7:14 am 
Offline

Joined: Mon Jul 20, 2009 11:32 pm
Posts: 16
I have the same problem

"WARNING: Result from SNMP not valid. Partial Result: U"


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 03, 2010 7:30 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
Run the following:

Code:
snmpget -c <your_community> -v 1 <your_host> <your_oid>


If you don't get a response, it's the Agent on the remote host does not support the measure. This is not a cacti issue, it's a training issue.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Re: WARNING: Result from SNMP not valid. Partial Result: U
PostPosted: Fri Oct 22, 2010 7:00 am 
Offline

Joined: Fri Oct 22, 2010 6:06 am
Posts: 3
I am getting results fine from the client via snmpwalk and snmpget.

This looks like more of an issue that I am using the "extend" feature of the client. Not sure, but your posts are not helpful.


Top
 Profile  
 
 Post subject: Re: WARNING: Result from SNMP not valid. Partial Result: U
PostPosted: Sat Oct 23, 2010 2:54 am 
Offline

Joined: Sun Oct 03, 2004 2:14 am
Posts: 21
Im also having this issue, when poller.php is used i get the following error, for all CPUs on the server im polling, except CPO12-15
Code:
10/23/2010 09:45:02 AM - CMDPHP: Poller[0] Host[2] DS[193] WARNING: Result from SERVER not valid. Partial Result: U


DS 193 is CPU11 on the server.

If i do a snmpwalk i get:
Code:
overvakning scripts # snmpwalk -v 2c -c xxxx smaug .1.3.6.1.2.1.25.3.3.1
HOST-RESOURCES-MIB::hrProcessorFrwID.768 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.769 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.770 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.771 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.772 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.773 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.774 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.775 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.776 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.777 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.778 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.779 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.780 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.781 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.782 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.783 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorLoad.768 = INTEGER: 17
HOST-RESOURCES-MIB::hrProcessorLoad.769 = INTEGER: 4
HOST-RESOURCES-MIB::hrProcessorLoad.770 = INTEGER: 2
HOST-RESOURCES-MIB::hrProcessorLoad.771 = INTEGER: 2
HOST-RESOURCES-MIB::hrProcessorLoad.772 = INTEGER: 2
HOST-RESOURCES-MIB::hrProcessorLoad.773 = INTEGER: 2
HOST-RESOURCES-MIB::hrProcessorLoad.774 = INTEGER: 3
HOST-RESOURCES-MIB::hrProcessorLoad.775 = INTEGER: 1
HOST-RESOURCES-MIB::hrProcessorLoad.776 = INTEGER: 5
HOST-RESOURCES-MIB::hrProcessorLoad.777 = INTEGER: 3
HOST-RESOURCES-MIB::hrProcessorLoad.778 = INTEGER: 2
HOST-RESOURCES-MIB::hrProcessorLoad.779 = INTEGER: 2
HOST-RESOURCES-MIB::hrProcessorLoad.780 = INTEGER: 1
HOST-RESOURCES-MIB::hrProcessorLoad.781 = INTEGER: 2
HOST-RESOURCES-MIB::hrProcessorLoad.782 = INTEGER: 3
HOST-RESOURCES-MIB::hrProcessorLoad.783 = INTEGER: 1


when i run the ss_host_cpu.php script as root i get:

Code:
php /var/www/localhost/htdocs/cacti/scripts/ss_host_cpu.php 192.168.9.5 2 2:161:500:1:10:public:::::: get usage 0
17
overvakning scripts # php /var/www/localhost/htdocs/cacti/scripts/ss_host_cpu.php 192.168.9.5 2 2:161:500:1:10:public:::::: get usage 1
4
overvakning scripts # php /var/www/localhost/htdocs/cacti/scripts/ss_host_cpu.php 192.168.9.5 2 2:161:500:1:10:public:::::: get usage 2
4
overvakning scripts # php /var/www/localhost/htdocs/cacti/scripts/ss_host_cpu.php 192.168.9.5 2 2:161:500:1:10:public:::::: get usage 10
3
overvakning scripts # php /var/www/localhost/htdocs/cacti/scripts/ss_host_cpu.php 192.168.9.5 2 2:161:500:1:10:public:::::: get usage 11
3


i have even tried to run the poller.php as root, but no effect...

Regards


Top
 Profile  
 
 Post subject: Re: WARNING: Result from SNMP not valid. Partial Result: U
PostPosted: Tue Oct 26, 2010 8:21 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
Test using the Script Server test procedure as described in the main cacti documentation at http://docs.cacti.net. Use your poller cache entries to determine the test syntax.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Re: WARNING: Result from SNMP not valid. Partial Result: U
PostPosted: Tue Oct 26, 2010 11:37 pm 
Offline

Joined: Sun Oct 03, 2004 2:14 am
Posts: 21
I did as you suggested The Witness, and got the following reults:

Code:
php script_server.php
PHP Script Server has Started - Parent is cmd
/var/www/localhost/htdocs/cacti/scripts/ss_host_cpu.php ss_host_cpu 192.168.9.5 2 2:161:500:1:10:public:::::: get usage 0
38
/var/www/localhost/htdocs/cacti/scripts/ss_host_cpu.php ss_host_cpu 192.168.9.5 2 2:161:500:1:10:public:::::: get usage 1
8
/var/www/localhost/htdocs/cacti/scripts/ss_host_cpu.php ss_host_cpu 192.168.9.5 2 2:161:500:1:10:public:::::: get usage 2
9
/var/www/localhost/htdocs/cacti/scripts/ss_host_cpu.php ss_host_cpu 192.168.9.5 2 2:161:500:1:10:public:::::: get usage 10
5
/var/www/localhost/htdocs/cacti/scripts/ss_host_cpu.php ss_host_cpu 192.168.9.5 2 2:161:500:1:10:public:::::: get usage 11
3


i ran php script_server.php as root.

Regards

Devil


Top
 Profile  
 
 Post subject: Re: WARNING: Result from SNMP not valid. Partial Result: U
PostPosted: Wed Oct 27, 2010 6:18 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
Should be working then. Perform RRDtool info command on the rrdfiles and see if there are any clues. What are the timestamps on these files?

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Re: WARNING: Result from SNMP not valid. Partial Result: U
PostPosted: Thu Oct 28, 2010 11:27 pm 
Offline

Joined: Sun Oct 03, 2004 2:14 am
Posts: 21
Hello,

i have now done the rrdtool info on one of the cpu rrds and get the following:
Code:
rrdtool info /var/www/localhost/htdocs/cacti/rra/smaug_cpu_183.rrd
filename = "/var/www/localhost/htdocs/cacti/rra/smaug_cpu_183.rrd"
rrd_version = "0003"
step = 60
last_update = 1288326241
header_size = 2276
ds[cpu].index = 0
ds[cpu].type = "GAUGE"
ds[cpu].minimal_heartbeat = 120
ds[cpu].min = 0.0000000000e+00
ds[cpu].max = 1.0000000000e+02
ds[cpu].last_ds = "U"
ds[cpu].value = NaN
ds[cpu].unknown_sec = 1
rra[0].cf = "AVERAGE"
rra[0].rows = 500
rra[0].cur_row = 379
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 600
rra[1].cur_row = 41
rra[1].pdp_per_row = 1
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 700
rra[2].cur_row = 650
rra[2].pdp_per_row = 6
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 0.0000000000e+00
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[3].cf = "AVERAGE"
rra[3].rows = 775
rra[3].cur_row = 700
rra[3].pdp_per_row = 24
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 0.0000000000e+00
rra[3].cdp_prep[0].unknown_datapoints = 0
rra[4].cf = "AVERAGE"
rra[4].rows = 797
rra[4].cur_row = 693
rra[4].pdp_per_row = 288
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = 0.0000000000e+00
rra[4].cdp_prep[0].unknown_datapoints = 264
rra[5].cf = "MAX"
rra[5].rows = 500
rra[5].cur_row = 418
rra[5].pdp_per_row = 1
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = NaN
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[6].cf = "MAX"
rra[6].rows = 600
rra[6].cur_row = 70
rra[6].pdp_per_row = 1
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 0
rra[7].cf = "MAX"
rra[7].rows = 700
rra[7].cur_row = 232
rra[7].pdp_per_row = 6
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = -inf
rra[7].cdp_prep[0].unknown_datapoints = 0
rra[8].cf = "MAX"
rra[8].rows = 775
rra[8].cur_row = 616
rra[8].pdp_per_row = 24
rra[8].xff = 5.0000000000e-01
rra[8].cdp_prep[0].value = -inf
rra[8].cdp_prep[0].unknown_datapoints = 0
rra[9].cf = "MAX"
rra[9].rows = 797
rra[9].cur_row = 393
rra[9].pdp_per_row = 288
rra[9].xff = 5.0000000000e-01
rra[9].cdp_prep[0].value = -inf
rra[9].cdp_prep[0].unknown_datapoints = 264


and the time stamp is very current; the local time was 06:25 when i did the command:

Code:
overvakning cacti # ls -al /var/www/localhost/htdocs/cacti/rra/smaug_cpu_183.rrd
-rw-r--r-- 1 apache apache 56228 Oct 29 06:24 /var/www/localhost/htdocs/cacti/rra/smaug_cpu_183.rrd



And i still get the error message in the logs, and as a result no graphs.

Regards
Devil


Top
 Profile  
 
 Post subject: Re: WARNING: Result from SNMP not valid. Partial Result: U
PostPosted: Tue Nov 09, 2010 8:17 pm 
Offline

Joined: Tue Nov 09, 2010 8:05 pm
Posts: 2
And i still get the error message in the logs, and as a result no graphs.Should be working then. Perform RRDtool info command on the rrdfiles and see if there are any clues. What are the timestamps on these files?I am getting results fine from the client via snmpwalk and snmpget.
This looks like more of an issue that I am using the "extend" feature of the client. Not sure, but your posts are not helpful.

_________________
Chanel
Christian Louboutin
Chanel Watches


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group