Serprest - STC - SNMP Tables Compare
STC is a free MS-DOS command line tool to get and compare, side by side, SNMP tables entries from different computers
The output is always in XML format which is by default associated with a XSL script. So it can be processed later or immediately viewed with a WEB browser
The tool can be downloaded from
here.
Note: The target computer must have SNMP service installed and running
After unpacking them you must open a command DOS shell and run it.
Try stc -help to see what option you have.
Some Examples:
- stc -ip 127.0.0.1 devices
This will get the devices table from local computer and show the XML result in the scren
- stc -ip 127.0.0.1 -of devices.xml devices
The same as above but the output will be stored in the devices.xml file
You can open this file with a web browser and if the browser have XSL support it will be showed in the HTML format
- stc -ip 127.0.0.1 -net 192.168.7.0/24 -net 192.168.20.0/24 -of apps.xml apps
Get the installed applications table from local computer and from the computer in the networks 192.168.7.0/24 and 192.168.20.0/24
- stc -f address.txt -of proc.xml -t 10 -r 4 process
Get the running processes table from computer/networks listed in address.txt file.
Each line of address.txt file must be in the format:
a.b.c.d
hostname
a.b.c.d/m
In this example the STC will try 4 times and wait 10 seconds for each try before give up on each computer
- stc -update
This must be used only for update the description XML files of SNMP tables.
It is only important if you want run stc with local option
stc -net 10.20.2.0/22 -local apps
- stc -ip listables
Will list all defined SNMP tables supported by the table resolver
The first column gives the name of table, which can be used
The second gives the URL to see the details of table
Output Format
The output of STC is a valid XML file. The format of XML is defined by this
XSD
Input Format
The default table resolver already gives some SNMP tables. But if you need to define a new table, that must be a valid XML file according this
XSD
After define the SNMP table save it under a file named .tablename.xml and ru stc with something like this:
stc -net 10.1.1.11.0/25 -local tablename
Or if you prefer send us the new table and we'll include it in the our table resolver