%mibnameshort% shows 1.3.6.1.2.1.1.3.0 instead of sysUpTime

When you post information about some problem, please include the following details: - OS version (e.g. Windows 2000 Professional SP3); HostMonitor version; problem description.
Post Reply
HakanH
Posts: 19
Joined: Tue Feb 06, 2007 3:47 am

%mibnameshort% shows 1.3.6.1.2.1.1.3.0 instead of sysUpTime

Post by HakanH »

Hi,

I have SNMP tests that check uptime and I use %mibnameshort% in the NamePattern.
In 9.x (I’m not sure when it changed) %mibnameshort% showed “sysUpTime� .
In 10.20 and 10.30 %mibnameshort% shows “1.3.6.1.2.1.1.3.0� which is the same as %object%.

Is this a bug?

Regards
Hakan
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I think you are using invalid variable name.
Should be %MibNameShort%

Regards
Alex
HakanH
Posts: 19
Joined: Tue Feb 06, 2007 3:47 am

Post by HakanH »

I mixed up the variable here in the forum first but I have used %mibnameshort% in my tests all the time.

If I export an old test that is OK it looks like this:

Code: Select all

Method      = SNMP
;--- Common properties ---
;DestFolder = Root\Switches\
RMAgent     = Folder-specific-agent
Title       = MMASW10 (10.19.254.32) SNMP sysUpTime
Comment     = SNMP Get sysUpTime from 10.19.254.32
RelatedURL  = 
NamePattern = MMASW10 (%Host%) SNMP %mibnameshort%
If I edit the the title without doing any actual change the title gets updated and the export looks like this:

Code: Select all

Method      = SNMP
;--- Common properties ---
;DestFolder = Root\Switches\
RMAgent     = Folder-specific-agent
Title       = MMASW10 (10.19.254.32) SNMP 1.3.6.1.2.1.1.3.0
Comment     = SNMP Get 1.3.6.1.2.1.1.3.0 from 10.19.254.33
RelatedURL  = 
NamePattern = MMASW10 (%Host%) SNMP %mibnameshort%
I want my test name to end with "sysUpTime" as before but it doesn't do that.
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

May be somebody removed mibdata.lst and mibtree.lst files?
Can you start MIB Browser? Do you see .iso.org.dod.internet.mgmt.mib-2.system.sysUpTime counter?

Windows?
Service Pack?
Are you using HostMonitor GUI or Remote Control Console (RCC) started on remote system? RCC started on local (HostMonitor) system?

Regards
Alex
HakanH
Posts: 19
Joined: Tue Feb 06, 2007 3:47 am

Post by HakanH »

That solved my problem.

The MIB Browser didn't show .iso.org.dod.internet.mgmt.mib-2.system.sysUpTime .

Mibdata.lst and mibtree.lst was only some KB in size. When I restored to older and larger versions of mibdata.lst and mibtree.lst it works again.

I use RCC, sometimes from Hostmonitor programs folder but most of the times from another location. Now I have learned that I need Mibdata.lst and mibtree.lst at this other location also.

Thanks
Hakan
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You are welcome

Regards
Alex
Post Reply