abaout snmp get
it is a good feature:
Starting from version 9.18 HostMonitor allows you to use expressions like
TotalTraffic1 = [1.3.6.1.2.1.2.2.1.10.1] + [1.3.6.1.2.1.2.2.1.16.1]
In such case HostMonitor will retrieve 2 counters (1.3.6.1.2.1.2.2.1.10.1 - total number of octets received on interface #1; 1.3.6.1.2.1.2.2.1.16.1 - total number of octets transmitted out of interface #1) calculate sum of these counters and check result.
When you are using this expression, %MIBNAME%, %MIBNAMESHORT% and %PATH% variables will be set to TotalTraffic1 (name of the variable specified in this expression); while %OBJECT% variable will be set to [1.3.6.1.2.1.2.2.1.10.1] + [1.3.6.1.2.1.2.2.1.16.1]
now :
val=[1.3.6.1.4.1.3375.2.2.5.4.3.1.11.22.122.104.117.97.110.122.104.97.110.103.106.105.95.57.57.57.56.95.122.111.111.108.1.4.10.0.116.28.9998]-[1.3.6.1.4.1.3375.2.2.5.4.3.1.11.22.122.104.117.97.110.122.104.97.110.103.106.105.95.57.57.57.56.95.122.111.111.108.1.4.10.0.116.29.9998]
hostmoniter can work ok,
but
val2=
([1.3.6.1.4.1.3375.2.2.5.4.3.1.11.22.122.104.117.97.110.122.104.97.110.103.106.105.95.57.57.57.56.95.122.111.111.108.1.4.10.0.116.28.9998]-[1.3.6.1.4.1.3375.2.2.5.4.3.1.11.22.122.104.117.97.110.122.104.97.110.103.106.105.95.57.57.57.56.95.122.111.111.108.1.4.10.0.116.29.9998]-10)
and ([1.3.6.1.4.1.3375.2.2.5.4.3.1.11.22.122.104.117.97.110.122.104.97.110.103.106.105.95.57.57.57.56.95.122.111.111.108.1.4.10.0.116.28.9998]-20)
does not work, just because i can not fill in so many character ,
how many character does hostmoniter support when fill in the oid?
i also do not kwow why F5 device's oid is so long
infact it is a simple express
it is just :val2=([oid1]-[oid2]-10)and ([oid1]-20)
how many character does hostmoniter support when fill in
512how many character does hostmoniter support when fill in the oid?
Also, you may use variables
------------------
Also you may use folder-level variables instead of expression. In such case variable should be specified using Folder Properties dialog and it should contain valid expression.
For example you may use [1.3.6.1.2.1.2.2.1.10.1]+[1.3.6.1.2.1.2.2.1.16.1] string for %fvar_totaltraffic1% folder variable and then just type %fvar_totaltraffic1% when setup SNMP Get test item. In such case %MIBNAME%, %MIBNAMESHORT% and %PATH% variables will be set to totaltraffic1 while %OBJECT% variable will be set to [1.3.6.1.2.1.2.2.1.10.1]+[1.3.6.1.2.1.2.2.1.16.1]
------------------
Regards
Alex
How to specify folder-level variable? Select folder, click "Folder properties" button, select "Variables" tab and specify variable.
http://www.ks-soft.net/hostmon.eng/mfra ... FolderTree
Regards
Alex
http://www.ks-soft.net/hostmon.eng/mfra ... FolderTree
Regards
Alex