A C D G I M O P R S T U

A

Alarm - class snmpmonitor.Alarm.
 
Alarm() - Constructor for class snmpmonitor.Alarm
 
alarmMessage(String) - Static method in class snmpmonitor.Alarm
 

C

Check - class snmpmonitor.Check.
 
check() - Method in class snmpmonitor.Check
Run the actual check.
Check(int) - Constructor for class snmpmonitor.Check
Create a check that does not depend on an SNMP peer.
Check(Peer, int) - Constructor for class snmpmonitor.Check
Create a check for a given SNMP peer agent and with a given interval.
Check(String, int) - Constructor for class snmpmonitor.Check
Create a check with a given name that does not depend on an SNMP peer.
Check(String, Peer, int) - Constructor for class snmpmonitor.Check
Create a check of a given name for a given SNMP peer agent and with a given interval.

D

Debug - class snmpmonitor.Debug.
 
Debug() - Constructor for class snmpmonitor.Debug
 
debugMessage(String) - Static method in class snmpmonitor.Debug
 

G

getHost() - Method in class snmpmonitor.Peer
Return the hostname of this peer.
getInterval() - Method in class snmpmonitor.Options
Get the interval.
getInterval() - Method in class snmpmonitor.Check
Return the interval used for this check.
getName() - Method in class snmpmonitor.Check
Return the name of this check.
getNextDate() - Method in class snmpmonitor.Check
Get the date when this check has to be run the next time, based on the time when this check was called last time and the interval.
getPeer() - Method in class snmpmonitor.Check
Return the SNMP peer of this check.
getPeers() - Method in class snmpmonitor.Options
Get an array of the SNMP peers.
getSnmpConnection() - Method in class snmpmonitor.Peer
Return the JMGMT SnmpConnection object of this peer.
getSnmpPeer() - Method in class snmpmonitor.Peer
Return the JMGMT SnmpPeer object of this peer.
getThreshold(String) - Method in class snmpmonitor.Options
Get threshold (-t name=value) of type long for the attribute "name".

I

init() - Method in class snmpmonitor.Check
Initialize this check.

M

monitor() - Method in class snmpmonitor.SnmpMonitor
The main loop.

O

Options - class snmpmonitor.Options.
 
Options(String) - Constructor for class snmpmonitor.Options
Create an Options object based on a single string that represents an arguments vector.
Options(String[]) - Constructor for class snmpmonitor.Options
Create an Options object based on the arguments vector.

P

parse(String[]) - Method in class snmpmonitor.Options
TODO
Peer - class snmpmonitor.Peer.
 
Peer(String, int, String, int, int) - Constructor for class snmpmonitor.Peer
Create an SNMP peer with a given set of parameters.

R

registerCheck(Check) - Method in class snmpmonitor.SnmpMonitor
Register a check object.
retrieveLong(String) - Method in class snmpmonitor.Peer
Retrieve a single object specified by an instance OID from this peer.
retrieveObjectTable(String) - Method in class snmpmonitor.Peer
Retrieve a subtree of a given OID from this peer.

S

setName(String) - Method in class snmpmonitor.Check
Set the name of this check.
setThreshold(String, long) - Method in class snmpmonitor.Options
Set threshold long value for a given threshold name.
setThresholdDefault(String, long) - Method in class snmpmonitor.Options
Set threshold long value for a given threshold name if it is not yet set.
SnmpMonitor - class snmpmonitor.SnmpMonitor.
 
SnmpMonitor() - Constructor for class snmpmonitor.SnmpMonitor
Create a new monitor object.
synchronizedDebugMessage(String) - Static method in class snmpmonitor.Debug
 

T

toString() - Method in class snmpmonitor.Peer
Return a string representing this peer.

U

update() - Method in class snmpmonitor.Check
Update the time of the last check run.

A C D G I M O P R S T U