Difference between revisions of "Snmp"
From Linuxintro
imported>ThorstenStaerk |
imported>ThorstenStaerk |
||
Line 7: | Line 7: | ||
http://127.0.0.1/nagios | http://127.0.0.1/nagios | ||
log in as nagiosadmin:nagiosadmin | log in as nagiosadmin:nagiosadmin | ||
+ | /etc/init.d/snmptrapd | ||
+ | tail -f /var/log/net-snmpd.log | ||
+ | snmptrap -v 2c -c public localhost "" NET-SNMP-EXAMPLES-MIB::netSnmpExampleHeartbeatNotification netSnmpExampleHeartbeatRate i 42 | ||
= See also = | = See also = | ||
* http://nagios.sourceforge.net/docs/3_0/quickstart-opensuse.html | * http://nagios.sourceforge.net/docs/3_0/quickstart-opensuse.html | ||
* http://net-snmp.sourceforge.net/wiki/index.php/TUT:snmptrap | * http://net-snmp.sourceforge.net/wiki/index.php/TUT:snmptrap |
Revision as of 16:26, 4 April 2014
Trying to build an SNMP prototype
SUSE Linux:
yast -i nagios apache2 /etc/init.d/nagios start http://127.0.0.1/nagios
log in as nagiosadmin:nagiosadmin
/etc/init.d/snmptrapd tail -f /var/log/net-snmpd.log snmptrap -v 2c -c public localhost "" NET-SNMP-EXAMPLES-MIB::netSnmpExampleHeartbeatNotification netSnmpExampleHeartbeatRate i 42