Netmond V2. Interface directive


Interface directive create and describe second level subobject in a Netmond hierarchy. It corresponds to a network interface or a group of network interfaces. This is child of Object.

Monitoring of this Interface subobject is made by special SNMP polling method Method Router and by standard SNMP traps Trap Generic bound to parent Object.
During monitoring process Interface status checked (UP, DOWN, TESTING, NONE) and a number of counters values are saved to internal variables.

Built-in saving method Save Interface, report all Interface status changes and counters values to a plain text file.

You may configure custom saving methods for Interface.

Interface directive can be used only inside Object definition block. Directive syntax is:

Interface ( "name" | index ) [ {
[ Description "description" ]
[ DataDir "datadir" ]
[ Bandwidth kbps ]
[ Save ( Interface | "name" ) [ "arguments" ] ] ...
} ]
Enable object network interface monitoring and define parameters, and saving methods.
name
Full port name as described in device internal configuration.
index
Port SNMP index. Expected, this index do not changing.
Some devices do not support interface names and this is only way to specify interface to monitor.
description
Short one-line interface description. For Cisco devices such a description can be automatically taken from device via SNMP and saved to $ciscoIfDescr variable.
directory
Alternative data saving directory in Netmond hierarchy. Default dirname is its "name" or interface index with prefix, like "Interface12". Slashes replaced by underscores.
kbps
Assigned interface speed, kbits per second. $ifSpeed SNMP variable value used by default.

See also:
Interface internal variables
Network interfaces statistic accumulation example

© 1998-2002, Rinet Software