KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

SNMP Errors After Upgrade

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
michaeln



Joined: 27 May 2011
Posts: 5
Location: San Francisco, CA

PostPosted: Fri May 27, 2011 5:49 am    Post subject: SNMP Errors After Upgrade Reply with quote

We've been using Hostmonitor 4.70 for quite some time and have been reluctant to upgrade to 8.8 out of fear and ignorance. Last night, we gave it a try but a few of our tests were mysteriously not working, particularly some SNMP tests.

snmpd.conf

pass .1.3.6.1.4.1.2021.302 /home/hostmon/bin/incoming

# snmpget -v1 -chostmon1 localhost .1.3.6.1.4.1.2021.302
UCD-SNMP-MIB::ucdavis.252 = INTEGER: 41

While this works on 4.70, when this test is run on the newest Hostmonitor, I get "SNMP: No value returned". Other SNMP tests, like the standard disk space checks, work just fine.


Last edited by michaeln on Fri May 27, 2011 10:30 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Fri May 27, 2011 9:09 am    Post subject: SNMP Errors After Upgrade Reply with quote

Could you please check Automatically append the single instance sub-identifier (".0") option, located on Misc page of Options dialog ?
If it is marked, please unmark it and try to refresh test.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
michaeln



Joined: 27 May 2011
Posts: 5
Location: San Francisco, CA

PostPosted: Fri May 27, 2011 10:23 am    Post subject: Reply with quote

No, that did not fix things. I actually read that in previous threads and tried that before posting here but it did not work. I also tried appending a .0 at the end as well to the OID, which also did not help. Any other suggestions?
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Sat May 28, 2011 11:05 am    Post subject: Reply with quote

I cannot find description of this OID (1.3.6.1.4.1.2021.302)
http://www.oidview.com/mibs/2021/UCD-SNMP-MIB.html
Could you please provide MIB file that describes this OID?

I assume OID is incorrect (e.g. this is not a counter but a table so you should add index of the element). When you request incorrect OID using SNMP GET request, some SNMP agents may return nearest correct counter (just like in response to GET NEXT request).

Old HostMonitor uses Windows API and may accept such response. New HostMonitor uses our own code (there are several bugs in Windows API related to SNMP protocol) and it requires correct OID. If agent returns different than requested OID, HostMonitor does not accept it.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
michaeln



Joined: 27 May 2011
Posts: 5
Location: San Francisco, CA

PostPosted: Mon May 30, 2011 5:58 pm    Post subject: Reply with quote

Just so everyone knows, you were correct in that the agent was not returning the same OID that was requested. The old client apparently did not care that this was the case, but once we fixed them so that they matched, this worked perfectly again. Thanks so much!
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Mon May 30, 2011 6:24 pm    Post subject: Reply with quote

You are welcome

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index