Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


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

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
cleaner



Joined: 28 Feb 2005
Posts: 36

PostPosted: Thu Jan 12, 2006 12:21 pm    Post subject: WARNING: Result from SNMP not valid. Partial Result: ... Reply with quote

Just updated to the latest build and now some of my hosts are comming back with that error message. In the debug log the only thing the oid returns is U. It seems that some of the snmp stuff is screwed up. Anyone see this before?


01/12/2006 11:15:49 AM - SYSTEM STATS: Time:46.9295 Method:cactid Processes:3 Threads:4 Hosts:58 HostsPerProcess:20 DataSources:913 RRDsProcessed:647
01/12/2006 11:15:43 AM - CACTID: Poller[0] Host[36] DS[382] WARNING: Result from SNMP not valid. Partial Result: ...
01/12/2006 11:15:43 AM - CACTID: Poller[0] Host[36] DS[383] WARNING: Result from SNMP not valid. Partial Result: ...
01/12/2006 11:15:43 AM - CACTID: Poller[0] Host[36] DS[381] WARNING: Result from SNMP not valid. Partial Result: ...
01/12/2006 11:15:37 AM - CACTID: Poller[0] Host[66] DS[682] WARNING: Result from SNMP not valid. Partial Result: ...
01/12/2006 11:15:37 AM - CACTID: Poller[0] Host[66] DS[683] WARNING: Result from SNMP not valid. Partial Result: ...
01/12/2006 11:15:37 AM - CACTID: Poller[0] Host[66] DS[681] WARNING: Result from SNMP not valid. Partial Result: ...
01/12/2006 11:15:25 AM - CACTID: Poller[0] Host[62] DS[635] WARNING: Result from SNMP not valid. Partial Result: ...
01/12/2006 11:15:25 AM - CACTID: Poller[0] Host[62] DS[634] WARNING: Result from SNMP not valid. Partial Result: ...
01/12/2006 11:15:17 AM - CACTID: Poller[0] Host[32] DS[321] WARNING: Result from SNMP not valid. Partial Result: ...
01/12/2006 11:15:17 AM - CACTID: Poller[0] Host[32] DS[320] WARNING: Result from SNMP not valid. Partial Result: ...
01/12/2006 11:15:12 AM - CACTID: Poller[0] Host[34] DS[342] WARNING: Result from SNMP not valid. Partial Result: ...
01/12/2006 11:15:12 AM - CACTID: Poller[0] Host[34] DS[347] WARNING: Result from SNMP not valid. Partial Result: ...
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12604
Location: Muenster, Germany

PostPosted: Thu Jan 12, 2006 2:36 pm    Post subject: Reply with quote

Please switch Logging Level to DEBUG and post again. Is it always the same OID that fails?
Reinhard
Back to top
cleaner



Joined: 28 Feb 2005
Posts: 36

PostPosted: Thu Jan 12, 2006 4:35 pm    Post subject: Reply with quote

Heres a couple, let me know if you need more info.


01/12/2006 03:20:18 PM - CACTID: Poller[0] Host[32] DS[329] SNMP: v2: 172.16.1.33, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.33554436, value: 5
01/12/2006 03:20:18 PM - CACTID: Poller[0] Host[32] DS[329] SNMP: v2: 172.16.1.33, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.33554436, value: 41
01/12/2006 03:20:18 PM - CACTID: Poller[0] Host[32] DS[320] WARNING: Result from SNMP not valid. Partial Result: ...
01/12/2006 03:20:18 PM - CACTID: Poller[0] Host[32] DS[320] SNMP: v2: 172.16.1.33, dsname: users, oid: .1.3.6.1.2.1.25.1.5.0, value: U
01/12/2006 03:20:18 PM - CACTID: Poller[0] Host[32] DS[321] WARNING: Result from SNMP not valid. Partial Result: ...
01/12/2006 03:20:18 PM - CACTID: Poller[0] Host[32] DS[321] SNMP: v2: 172.16.1.33, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, value: U

01/12/2006 03:20:38 PM - CACTID: Poller[0] Host[36] DS[396] SNMP: v1: 172.16.1.150, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, value: 1174069237
01/12/2006 03:20:38 PM - CACTID: Poller[0] Host[36] DS[381] WARNING: Result from SNMP not valid. Partial Result: ...
01/12/2006 03:20:38 PM - CACTID: Poller[0] Host[36] DS[381] SNMP: v1: 172.16.1.150, dsname: load_1min, oid: .1.3.6.1.4.1.2021.10.1.3.1, value: U
01/12/2006 03:20:38 PM - CACTID: Poller[0] Host[36] DS[383] WARNING: Result from SNMP not valid. Partial Result: ...
01/12/2006 03:20:38 PM - CACTID: Poller[0] Host[36] DS[383] SNMP: v1: 172.16.1.150, dsname: load_5min, oid: .1.3.6.1.4.1.2021.10.1.3.2, value: U
01/12/2006 03:20:38 PM - CACTID: Poller[0] Host[36] DS[382] WARNING: Result from SNMP not valid. Partial Result: ...
01/12/2006 03:20:38 PM - CACTID: Poller[0] Host[36] DS[382] SNMP: v1: 172.16.1.150, dsname: load_15min, oid: .1.3.6.1.4.1.2021.10.1.3.3, value: U
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12604
Location: Muenster, Germany

PostPosted: Fri Jan 13, 2006 1:58 pm    Post subject: Reply with quote

Thanks for posting this. Please try to snmpwalk against those host/OIDs from command line. And please have a couple of runs with cmd.php instead of cactid and notice, whether there's any difference.
Reinhard
Back to top
paulbeard206
Cacti User


Joined: 30 Jul 2005
Posts: 106

PostPosted: Sat Jan 14, 2006 12:53 am    Post subject: same problem here Reply with quote

Quote:
CACTID: Host[10] RECACHE: Processing 2 items in the auto reindex cache for 'x.y.z'
CACTID: Host[10] DS[197] SNMP: v2: x.y.z, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 1820209723
CACTID: Host[10] DS[198] SNMP: v2: x.y.z, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, value: 2835125215
CACTID: Host[10] DS[197] SNMP: v2: x.y.z, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value: 2833986485
CACTID: Host[10] DS[198] SNMP: v2: x.y.z, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, value: 1813841732
CACTID: Host[10] DS[60] WARNING: Result from SNMP not valid. Partial Result: ...
CACTID: Host[10] DS[60] SNMP: v2: x.y.z, dsname: load_1min, oid: .1.3.6.1.4.1.2021.10.1.3.1, value: U
CACTID: Host[10] DS[62] WARNING: Result from SNMP not valid. Partial Result: ...
CACTID: Host[10] DS[62] SNMP: v2: x.y.z, dsname: load_5min, oid: .1.3.6.1.4.1.2021.10.1.3.2, value: U
CACTID: Host[10] DS[61] WARNING: Result from SNMP not valid. Partial Result: ...
CACTID: Host[10] DS[61] SNMP: v2: x.y.z, dsname: load_15min, oid: .1.3.6.1.4.1.2021.10.1.3.3, value: U
CACTID: Host[10] DS[201] SNMP: v2: x.y.z, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, value: U


I have flushed the cache a few times while trying to figure this out.

poller.php is getting the data though. I am going to switch and let it run that way overnight.

Any ideas what causes this? I am running the latest release of cacti (h) and cactid (f) on freeBSD 6.0-STABLE.
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12604
Location: Muenster, Germany

PostPosted: Sat Jan 14, 2006 4:30 am    Post subject: Reply with quote

As to cactid, there are some issues. But I'm not sure that they do relate to your problem. Personally, I'd like to recommend at least the f1 release. cactid-0.8.6g was released lately. It appears that problem do occur with CPU and User info. As I asked before, please snmpwalk against those from cli and post your findings. This would be of importance for further debugging
Reinhard
Back to top
paulbeard206
Cacti User


Joined: 30 Jul 2005
Posts: 106

PostPosted: Fri Feb 17, 2006 12:10 am    Post subject: per your request Reply with quote

lvm wrote:
As to cactid, there are some issues. But I'm not sure that they do relate to your problem. Personally, I'd like to recommend at least the f1 release. cactid-0.8.6g was released lately. It appears that problem do occur with CPU and User info. As I asked before, please snmpwalk against those from cli and post your findings. This would be of importance for further debugging
Reinhard


Code:
[/usr/home/paul]# snmpwalk white .1.3.6.1.4.1.2021.10.1.3
UCD-SNMP-MIB::laLoad.1 = STRING: 1.13
UCD-SNMP-MIB::laLoad.2 = STRING: 1.64
UCD-SNMP-MIB::laLoad.3 = STRING: 1.55
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12604
Location: Muenster, Germany

PostPosted: Mon Feb 20, 2006 12:56 pm    Post subject: Reply with quote

Sorry for having been imprecise. But you log shows
Code:
CACTID: Host[10] DS[60] SNMP: v2: x.y.z, dsname: load_1min, oid: .1.3.6.1.4.1.2021.10.1.3.1, value: U
So you configured your target system for SNMP V2. To check this, your snmpwalk must contain -v 2c.
Reinhard
Back to top
jpimentel



Joined: 18 Jan 2006
Posts: 38

PostPosted: Mon Feb 20, 2006 2:30 pm    Post subject: Reply with quote

Just glanced at the title of the post. I had the same error in my logs when I hade datasources assigned to none. When I removed them I stopped seeing the error. I did not have time to read entire post, so ignore if it has already been tried.
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Tue Feb 21, 2006 2:25 pm    Post subject: Reply with quote

How do you find those?

I've deleted lots of graphs - saving the data sources for fear of losing data used by other graphs (since I'm not as up on how cacti uses its resource files as I ought to be)... and I get LOTS of these messages in my log file (though, since everything generally works, I don't pay much attention).
Back to top
didjou



Joined: 13 Mar 2006
Posts: 1

PostPosted: Mon Mar 13, 2006 10:18 am    Post subject: Reply with quote

I have this problem too,

It's seems to be in the result of my router :

qos-box:/ # snmpwalk -v1 -c public 10.0.0.138 .1.3.6.1.2.1.2.2.1.10.102
interfaces.ifTable.ifEntry.ifInOctets.102 = Counter32: 84831244

There are no problems ... but cacti seems to detect the space (between "Counter32:" and "84831244". According to function.php (validate_result())
a space or ":" or "!" is concidered like an error ...

i do an explode(" ",$output) when i detect a space ... all goes fine now
Back to top
networkfupa



Joined: 21 Oct 2008
Posts: 26

PostPosted: Wed Oct 22, 2008 2:35 pm    Post subject: Reply with quote

didjou wrote:
I have this problem too,

It's seems to be in the result of my router :

qos-box:/ # snmpwalk -v1 -c public 10.0.0.138 .1.3.6.1.2.1.2.2.1.10.102
interfaces.ifTable.ifEntry.ifInOctets.102 = Counter32: 84831244

There are no problems ... but cacti seems to detect the space (between "Counter32:" and "84831244". According to function.php (validate_result())
a space or ":" or "!" is concidered like an error ...

i do an explode(" ",$output) when i detect a space ... all goes fine now


Where did you make this change to the code?
Back to top
GeneralMandible



Joined: 21 Nov 2008
Posts: 2
Location: Belgrade, MT

PostPosted: Fri Nov 21, 2008 11:54 am    Post subject: Reply with quote

networkfupa wrote:
Where did you make this change to the code?

Ditto!
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12604
Location: Muenster, Germany

PostPosted: Sat Nov 22, 2008 5:54 am    Post subject: Reply with quote

This is a very old post. This bug has since long been fixed. Of course, there may be a different issue by now
Reinhard
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group