Cisco Snmp: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
| Zeile 1: | Zeile 1: | ||
| − | = | + | =Temperatur= |
*snmpwalk -v2c -c public 192.168.240.100 1.3.6.1.4.1.9.9.13.1.3.1.3 | *snmpwalk -v2c -c public 192.168.240.100 1.3.6.1.4.1.9.9.13.1.3.1.3 | ||
iso.3.6.1.4.1.9.9.13.1.3.1.3.1005 = Gauge32: 50 | iso.3.6.1.4.1.9.9.13.1.3.1.3.1005 = Gauge32: 50 | ||
| + | |||
| + | =Nagios oder Icinga= | ||
| + | <pre> | ||
| + | define command{ | ||
| + | command_name check_cisco | ||
| + | command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -w $ARG1$ -c $ARG3$ -o $ARG4$ | ||
| + | } | ||
| + | |||
| + | define host { | ||
| + | host_name gigabit | ||
| + | address 192.168.240.100 | ||
| + | use generic-host | ||
| + | } | ||
| + | |||
| + | |||
| + | define service{ | ||
| + | use generic-service | ||
| + | host_name gigabit | ||
| + | service_description gigabit-temp | ||
| + | check_command check_cisco!sysadm!85!90!1.3.6.1.4.1.9.2.1.56.0 | ||
| + | } | ||
| + | </pre> | ||
=Links= | =Links= | ||
*http://support.ipmonitor.com/mibs/CISCO-ENVMON-MIB/tree.aspx | *http://support.ipmonitor.com/mibs/CISCO-ENVMON-MIB/tree.aspx | ||
*http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15215-collect-cpu-util-snmp.html | *http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15215-collect-cpu-util-snmp.html | ||
Version vom 15. Juni 2016, 14:40 Uhr
Temperatur
- snmpwalk -v2c -c public 192.168.240.100 1.3.6.1.4.1.9.9.13.1.3.1.3
iso.3.6.1.4.1.9.9.13.1.3.1.3.1005 = Gauge32: 50
Nagios oder Icinga
define command{
command_name check_cisco
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -w $ARG1$ -c $ARG3$ -o $ARG4$
}
define host {
host_name gigabit
address 192.168.240.100
use generic-host
}
define service{
use generic-service
host_name gigabit
service_description gigabit-temp
check_command check_cisco!sysadm!85!90!1.3.6.1.4.1.9.2.1.56.0
}