Regarding SNMP Trap

Ranjeet Kumar ranjeetk at aztecsoft.com
Thu Dec 28 06:46:04 CET 2006


Dmitriy,



Below is answers of your questions: -



1. Show your snmptrapd.conf.

      traphandle default /usr/sbin/snmptthandler



2. Check your snmptt.ini file in

[Exec] section.

exec_enable = 1

pre_exec_enable = 1

unknown_trap_exec =



3. Can you execute
/usr/share/nagios2/plugins/eventhandlers/submit_check_result

manualy?

      Yes I can execute the manually.



4. submit_check_result must use nsca for transport.

Is your nsca can take result? Switch on debug in nsca.conf.

      I am not using nsca. I don't think it is required because same
server is acting as snmptrap server as well as nagios monitoring server.
Is it really required?



5. nagios must have properly configured host and service for
interpretate getted trap.

      I have not started working on this as exec statement is not
working.

For me it's work.



Also, see: http://nagios.org/faqs/viewfaq.php?faq_id=29
<http://nagios.org/faqs/viewfaq.php?faq_id=29&expand=false&showdesc=true
> &expand=false&showdesc=true

http://www.snmptt.org/docs/snmptt.shtml

http://www.samag.com/documents/s=9559/sam0503g/



WBR

--

Dmitriy Kirhlarov

OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow,
Russia P:+7 495 105 7247 ext.208 F:+7 495 105 7246
E:DmitriyKirhlarov at oilspace.com Building Successful Supply Chains - One
Solution At A Time. www.oilspace.com







Thanks,

Ranjeet






The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.

www.aztecsoft.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20061228/2bacec9f/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list