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}

design/snmpdaemon/dvg_snmp.pl.txt · Last modified: 2012/07/18 10:51 by Ueli Heuer
Back to top
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0