Netmond V2. Configuration directives

This is consolidated table of Netmond configuration directives. Here is short description for each directive and parameter. Detailed descriptions are in additional pages referred by corresponding links.


Global level context

Parameters:

RootDir "path"
Base working directory for Netmond.
TimeFmt "format"
Format string for date & time reporting.
Polling seconds
Global polling interval, seconds. Objects without explicit 'Polling' definition use this value.
Timeout seconds
Global timeout interval, seconds. Objects and methods without explicit 'Timeout' definition use this value.
Retries counter
Global retry count. Objects and methods without explicit 'Retries' definition use this value.
Saving seconds
Global saving interval, seconds. Objects without explicit 'Saving' definition use this value.

Directives:

Port number { statements }
Enable NetState service listening specified TCP port.
Trap ( Deny | SourceCheck )
Deny SNMP traps. Switch up source-addr matching against agent-addr.
Trap "name" { statements }
Specific SNMP trap declaration.
Method "name" { statements }
Polling method declaration.
Save "name" { statements }
Saving method declaration.
Object "name" { statements }
Object declaration.

NetState service context

Port number {
Timeout seconds
Timeout for client's requests.
Permit "regex"
Authorized client's addresses enumeration.
Deny "regex"
Not authorized client's addresses enumeration.
}
Enable NetState service listening specified TCP port.

SNMP trap context

Trap "name" {
Enterprise oid
Enterprise OID of this trap (1.3.6.1...).
Specific number
Specific-number in this Enterprise.
Community "string"
SNMP community for this trap.
}
Specific SNMP trap declaration.

Polling method context

Method "name" {
Address "address"
Remote side address. Parent object address used by default.
( TCP | UDP ) Port number
Remote side TCP or UDP port to talk to.
LocalPort number [ number ]
Local side port or ports range to use as a source ports for TCP/UDP packets.
ChatScript { Send "string" [ Expect "regex" ] }
Interaction chat script for TCP and UDP methods.
ICMP
Use ICMP-echo protocol in this method.
Size bytes
ICMP-echo packet size.
Send packets [ Expect packets ]
Number of ICMP-echo packets to send / to receive.
Timeout seconds
Timeout for this method.
Retries counter
The number of retries.
}
Polling method declaration.

Saving method context

Save "name" {
( File | Pipe | Exec ) "file"
Write data to plain text file, to pipe or execute external process.
Data "format"
Format for periodic unconditional data saving.
State "format"
Format for conditional data saving when parent object state changed.
When "evaluate" seconds [ "format" ]
Format for conditional data saving when specified expression evaluated as TRUE during specified time period.
}
Saving method declaration.

Object context

Object "name" {
Parameters:
Address "address"
Network address of this object.
Description "comments"
Object short description.
Polling seconds
Polling interval for this object.
Timeout seconds
Timeout for this object.
Retries counter
Number of retries for this object.
DataDir "path"
Directory name for data saving.
Saving seconds
Data saving interval for this object.

Directives:
Trap ( Generic | "name" )
Use SNMP trap for this object.
Method ( Ping | Router | SNMP | DNS | Radius | Tacacs | "name" )
Use polling method for this object.
Save ( Router | "name" )
Use saving method for this object.
Service "name" { statements }
Service declaration for this object.
Interface ( "name" | index ) [ { statements } ]
Network interface declaration for this object.
BGP number [ { statements } ]
BGP ASN declaration for this object.
Env Temp [ { statements } ]
Thermal probe declaration for this object.
}
Object declaration.

Object's service context

Object "name" {
Address "address"
Service "name" {
Parameters:
Description "comments"
This service short description.
DataDir "path"
Directory for data saving for this service.

Directives:
Trap "name"
Use SNMP trap for this service.
Method ( SNMP | DNS | Radius | Tacacs | "name" )
Use polling method for this service.
Save "name"
Use saving method for this service.
}
Service declaration for this object.
}

Object's network interface context

Object "name" {
Address "address"
Method Router
Interface ( "name" | index ) [ {
Parameters:
Description "comments"
This network interface short description.
Bandwidth kbps
Assigned interface speed.
DataDir "path"
Data saving directory for this interface.

Directives:
Save ( Interface | "name" )
Use saving method for this interface.
} ]
Network interface declaration for this object.
}

Object's BGP context

Object "name" {
Address "address"
Method Router
BGP number [ {
Parameters:
Description "comments"
This autonomous system short description.
DataDir "path"
Data saving directory for this interface.

Directives:
Peer "address"
This AS BGP peers enumeration.
Save ( BGP | "name" )
Use saving methods for this BGP AS.
} ]
BGP AS declaration for this object.
}

Object's thermal probe context.

Object "name" {
Address "address"
Method Router
Env Temp [ {
Parameters:
Description "comments"
Probes short description.
DataDir "path"
Data saving directory for this probes set.

Directives:
Temp "name"
Thermal probes enumeration.
Save ( Temp | "name" )
Use saving method for this probes set.
} ]
Thermal probe declaration for this object.
}

See also:
Built-in variables
Configuration examples

© 1998-2002, Rinet Software