dvg_snmp.pl
Variable $HOSTS
Variable | Description |
---|---|
$HOSTS{$host_id}{'name'} | Name des Hosts |
$HOSTS{$host_id}{'status'} | Status von diesem Host {'up','down','unknown','noresponse','restart'} |
$HOSTS{$host_id}{'devices'} | Anzahl der Devices von diesem Host |
$HOSTS{$host_id}{'action'} | Status des Hosts {'stop','run','start','restart','deleted'} |
$HOSTS{$host_id}{'uptime'} | last uptime counter |
$HOSTS{$host_id}{'checked'} | last time this host was checked |
$HOSTS{$host_id}{'session'} | the nonblocking SNMP Session for this host |
Variable $SESSIONS
All Hosts are additional checked for uptime. This is done as Session/Device_id == 0
All sessions-objects are stored $SESSIONS{$host_id}{$device_id}