|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Multimedia Questions about media applications, codecs (DVD, music, video, pdf) configuration (usage, bugs) |
![]() |
|
|
|
LinkBack | Thread Tools | Display Modes |
|
|||||||
|
well, i summury what i do :
"trapsnmp for Switch HP procurve" yast -i snmp snmptt /etc/snmp/snmptrapd.conf Quote:
Quote:
cp /usr/src/snmptt_1.2/snmptt /usr/sbin/ chmod +x /usr/sbin/ cp /usr/src/snmptt_1.2/snmptthandler /usr/sbin/ chmod +x /usr/sbin/snmptthandler cp /usr/src/snmptt_1.2/snmptt.ini /etc/snmp/ standlone mode add this line to "snmptrapd.conf" traphandle default /usr/sbin/snmptt after Quote:
--snmptt.ini-- Quote:
after i compile hp mibs: they say ( This means that for each "MIB" in the first column, the "DEPENDENT MIBs" listed in the second column must be compiled first before the "MIB" can be compiled.) hpicfLinktest.mib (HP-ICF-LINKTEST) rfc2578.mib (SNMPv2-SMI) rfc2579.mib (SNMPv2-TC) rfc2819.mib (RMON-MIB) hpicfOid.mib (HP-ICF-OID) cp rfc2578.mib rfc2579.mib rfc2819.mib hpicfOid.mib /usr/share/snmp/mibs/ ex: Quote:
i add in my snmptt.ini Quote:
after : i go to localhost.cfg for configure : Quote:
after # /etc/init.d/nagios restart Running configuration check...done. Stopping nagios: done. Starting nagios: done. # /etc/init.d/snmptrapd restart Shutting down snmptrapd: done Starting snmptrapd: done # /etc/init.d/snmpd restart Shutting down snmpd: done Starting snmpd done when i tested with: snmpwalk -v 1 -c test localhost => ok snmpwalk -v 1 -c test Myswitch => ok but i don't have traps.... thks for your help |
|
|||
|
hello,
it's ok |
|
|||
|
hello
in my services i've "Service is not scheduled to be checked.." thks for help |
|
|||
|
hello,
i don't know really if all running correctly, when i go to "services detail" on nagios , i see my service TRAP with " Service is not scheduled to be checked" .. thanks for your help if you want we can talk more quicly on msn or other |
|
||||
|
Quote:
You need to add your snmp trap command in here; > -rw-rw-r-- 1 nagios nagios 7722 juin 15 15:27 commands.cfg Then in the service change it to the name you called it in the file above > check_command check-host-alive Can you also use wireshark of aother packet capture to see the snmp trap is leaving the host and also on the machine that is running nagios to see it arrive ok. -- Cheers Malcolm °¿° (Linux Counter #276890) SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.23-0.1-default up 5 days 7:54, 2 users, load average: 0.86, 0.25, 0.08 GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14 |
|
|||
|
hello , i've that in commands.cfg
Quote:
|
|
|||
|
and i've this trapsnmp which arrive
Quote:
|
|
||||
|
Quote:
So this is where you need to add a new (define) command to send the trap and then call that command from your service. Have you looked at http://exchange.nagios.org/ -- Cheers Malcolm °¿° (Linux Counter #276890) SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.23-0.1-default up 9 days 22:43, 2 users, load average: 0.04, 0.06, 0.07 GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14 |
|
||||
|
Quote:
You might also look at SEC - simple event correlator http://kodu.neti.ee/~risto/sec/ I've used this in the past to monitor logs for events and then send an appropriate event. -- Cheers Malcolm °¿° (Linux Counter #276890) SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.23-0.1-default up 9 days 22:51, 2 users, load average: 0.14, 0.10, 0.08 GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14 |
![]() |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|