pandorafms/pandora_server/util/pandora_snmp.README
slerena 474d273e25 2007-06-25 Sancho Lerena <slerena@artica.es>
This should be definitive commit for Beta1

        * General cleanup of unused or old stuff.

        * bin/PandoraFMS/Config.pm: Now uses errorlog for each perl
        error. Now render database bad connect string in connection phase
        (useful to debug startup errors by blank spaces).

        * util/pandora_checkdep.pl: Small perl script to check all
        dependencies.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@541 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-25 12:05:52 +00:00

18 lines
939 B
Plaintext
Executable File

Some example traps from Linux
==============================
http://www.hn.edu.cn/book/NetWork/NetworkingBookshelf_2ndEd/snmp/
GenericTrap 0 - Coldstart, 1 - Warmup, 2 - Linkdown, 3 - Linkup .... 6 - User defined
snmptrap -v 1 -c public 192.168.5.2 1.3.6.1.2.1.2.2.1.1 192.168.5.2 6 666 1233433
snmptrap -v 1 -c public 192.168.5.2 1.3.6.1.2.1.2.2.1.1 192.168.5.2 6 666 1233433 .1.3.6.1.2.1.2.2.1.1.6 i 234234234
snmptrap -v 1 -c public 192.168.5.2 .1.3.6.1.4.1.2789.2005 192.168.5.2 6 666 1233433 .1.3.6.1.4.1.2789.2005.1 s "Alcachofa"
snmptrapd -f -t -On -n -a -Lf logfile.txt -p pidfile -F "%02.2m/%02.2l/%y %02.2h:%02.2j:%02.2k %B %N %w %W %q %v \n"
Logfile format (sample)
08/18/2005 03:01:14 192.168.5.2 .1.3.6.1.2.1.2.2.1.1 6 Enterprise Specific .666 .1.3.6.1.2.1.2.2.1.1.6 = INTEGER: 234234234
08/18/2005 03:02:37 192.168.5.2 .1.3.6.1.4.1.2789.2005 6 Enterprise Specific .666 .1.3.6.1.4.1.2789.2005.1 = STRING: "Alcachofa"