Sunday, February 05, 2012
Search Minimize
Print  
Archive Minimize
Print  
Knowledgebase Minimize
Aug27

Written by:tswebadmin
8/27/2009 11:25 AM 

 

The best way to query for certain counters and values from the Travsys gateway is to use the SNMP interface.

This is an open standard for management.

There are many SNMP management tools available that can be used.
Please find attached a very simple command line utility to perform an SNMP query.

To query the proper parameter you need the so called objected. This is a dot separated string.

If you want to query for the X25 line status from the X25 object in the Travsys gateway, you must use following object id:

1.3.6.1.4.1.5906.1.1.2.1.4.2.1

The last 1 indicates the X25 object instance. If there are more X25 objects in one gateway please use the correct index (1 offset!).

The result value is an integer with following possible values:
0=ONLINE
4=OFFLINE

There are also so called MIB's that use friendly names instead of numbers.
In that case the above numeric string would translate to:

Org.dod.internet.private.enterprise.travsys.comms.cspnt.csobjects.x25obj.statistics.linestatus.instanceid

With the proper SNMP management tools you can read in these MIB's for easier management. The Travsys gateway comes with the MIB's for all its components.

If you want to use the attached program use following on the command line:

snmputil get [ipadress gateway] public .[Objectid]

so if the ip address is 192.168.0.35 and we want to query for the x25 linestatus from the first x25 object we get:

snmputil get 192.168.0.35 public .1.3.6.1.4.1.5906.1.1.2.1.4.2.1

Tags:
Copyright 2009 by Travsys BV Terms Of UsePrivacy Statement