View previous topic :: View next topic |
Author |
Message |
HakanH
Joined: 06 Feb 2007 Posts: 19
|
Posted: Wed Aug 17, 2016 5:00 am Post subject: %mibnameshort% shows 1.3.6.1.2.1.1.3.0 instead of sysUpTime |
|
|
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 |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
KS-Soft
Joined: 03 Apr 2002 Posts: 12802 Location: USA
|
Posted: Wed Aug 17, 2016 8:50 am Post subject: |
|
|
I think you are using invalid variable name.
Should be %MibNameShort%
Regards
Alex |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
HakanH
Joined: 06 Feb 2007 Posts: 19
|
Posted: Wed Aug 17, 2016 9:28 am Post subject: |
|
|
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: | 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: | 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. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
KS-Soft
Joined: 03 Apr 2002 Posts: 12802 Location: USA
|
Posted: Wed Aug 17, 2016 1:05 pm Post subject: |
|
|
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 |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
HakanH
Joined: 06 Feb 2007 Posts: 19
|
Posted: Thu Aug 18, 2016 2:06 am Post subject: |
|
|
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 |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
KS-Soft
Joined: 03 Apr 2002 Posts: 12802 Location: USA
|
Posted: Thu Aug 18, 2016 5:24 am Post subject: |
|
|
You are welcome
Regards
Alex |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|