Befehle Nagios

posted in: Allgemein | 0

snmpwalk -v2c -c pfeneread 172.16.64.1>/tmp/172.16.64.1.txt
cd /usr/lib/nagios/plugins/
./check_snmp -v 2c -H 10.255.0.11 -C pfeneread -o .1.3.6.1.2.1.25.4.2.1.2.5448
./check_snmp -v 2c -H 172.16.64.1 -C pfeneread -o ifOperStatus
./check_snmp 172.16.64.1 -C public -o ifOperStatus.1 -r 1 -m RFC1213-MIB
sh /usr/local/nagios/bin/asterisk_call.sh
/etc/init.d/asterisk start