Re: [Nagios-users] enable SNMP trap handling in Nagios
On 11/05/2011 2:46 AM, khurram aziz wrote: Hi, i am using Nagios 3.2.3 want to enable SNMP Trap Handling so that I can check uptime of my servers ( snmp service has already been enabled on the servers). can sum1 help me with the configuration. If it is for Windows servers you can use the check_wmi_plus plugin from Nagios Exchange to check against uptime http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-WMI-Plus/details -- Smartmon System Monitoring http://www.smartmon.com.au www.smartmon.com.au http://www.smartmon.com.au -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] enable SNMP trap handling in Nagios
Hello: Going back to the original question of the thread, if you want to enable trap handling in Nagios you should look at nagtap and snmptt. http://www.nagtrap.org/doku.php/en:start http://www.nagtrap.org/doku.php/en:starthttp://snmptt.sourceforge.net/ http://snmptt.sourceforge.net/BR Marco Tirado On Wed, May 11, 2011 at 9:35 AM, Matthew Jurgens nagiosus...@edcint.co.nzwrote: On 11/05/2011 2:46 AM, khurram aziz wrote: Hi, i am using Nagios 3.2.3 want to enable SNMP Trap Handling so that I can check uptime of my servers ( snmp service has already been enabled on the servers). can sum1 help me with the configuration. If it is for Windows servers you can use the check_wmi_plus plugin from Nagios Exchange to check against uptime http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-WMI-Plus/details -- Smartmon System Monitoring http://www.smartmon.com.au www.smartmon.com.au -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ Nagios-users mailing list Nagios-users@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 -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] enable SNMP trap handling in Nagios
I'll second that. The documentation's a bit sparse for nagtrap, and overwhelming at times for snmptt, but you'll eventually get there. Installed both last night without too much hassle. Cheers, Phil -- Phil Randal | Infrastructure Engineer NHS Herefordshire Herefordshire Council | Deputy Chief Executive's Office | I.C.T. Services Division Thorn Office Centre, Rotherwas, Hereford, HR2 6JT Tel: 01432 260160 From: Marco Tirado [mailto:marco.tir...@gmail.com] Sent: 11 May 2011 08:50 To: nagiosus...@edcint.co.nz; Nagios Users List Subject: Re: [Nagios-users] enable SNMP trap handling in Nagios Hello: Going back to the original question of the thread, if you want to enable trap handling in Nagios you should look at nagtap and snmptt. http://www.nagtrap.org/doku.php/en:start http://snmptt.sourceforge.net/ BR Marco Tirado On Wed, May 11, 2011 at 9:35 AM, Matthew Jurgens nagiosus...@edcint.co.nzmailto:nagiosus...@edcint.co.nz wrote: On 11/05/2011 2:46 AM, khurram aziz wrote: Hi, i am using Nagios 3.2.3 want to enable SNMP Trap Handling so that I can check uptime of my servers ( snmp service has already been enabled on the servers). can sum1 help me with the configuration. If it is for Windows servers you can use the check_wmi_plus plugin from Nagios Exchange to check against uptime http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-WMI-Plus/details -- Smartmon System Monitoringhttp://www.smartmon.com.au www.smartmon.com.auhttp://www.smartmon.com.au -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ Nagios-users mailing list Nagios-users@lists.sourceforge.netmailto:Nagios-users@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 Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Herefordshire Council. You should be aware that Herefordshire Council monitors its email service. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it. -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] enable SNMP trap handling in Nagios
We have posted the instructions for Nagios trap integration on our site. We also have several dozen snmptt config files for traps as well as the MIBs (Cisco for now, other vendors if folks ask for them). These are free for anyone who wants them. You can get them by going to www.mkadvantage.com. Once you get there, select Tools then MKA PE/Groundwork/Nagios then the Trap configs. The MIBs page is there as well. If everyone finds these beneficial, please let me know and we will continue to populate these pages with more configs as time goes by. If anyone still has trouble with trap integration, please reach out to us on our contact us link. Thanks, Chris Schaft MKAdvantage ch...@mkadvantage.com From: Randal, Phil [mailto:pran...@herefordshire.gov.uk] Sent: Wednesday, May 11, 2011 8:11 AM To: Nagios Users List Subject: Re: [Nagios-users] enable SNMP trap handling in Nagios I'll second that. The documentation's a bit sparse for nagtrap, and overwhelming at times for snmptt, but you'll eventually get there. Installed both last night without too much hassle. Cheers, Phil -- Phil Randal | Infrastructure Engineer NHS Herefordshire Herefordshire Council | Deputy Chief Executive's Office | I.C.T. Services Division Thorn Office Centre, Rotherwas, Hereford, HR2 6JT Tel: 01432 260160 From: Marco Tirado [mailto:marco.tir...@gmail.com] Sent: 11 May 2011 08:50 To: nagiosus...@edcint.co.nz; Nagios Users List Subject: Re: [Nagios-users] enable SNMP trap handling in Nagios Hello: Going back to the original question of the thread, if you want to enable trap handling in Nagios you should look at nagtap and snmptt. http://www.nagtrap.org/doku.php/en:start http://snmptt.sourceforge.net/ BR Marco Tirado On Wed, May 11, 2011 at 9:35 AM, Matthew Jurgens nagiosus...@edcint.co.nz wrote: On 11/05/2011 2:46 AM, khurram aziz wrote: Hi, i am using Nagios 3.2.3 want to enable SNMP Trap Handling so that I can check uptime of my servers ( snmp service has already been enabled on the servers). can sum1 help me with the configuration. If it is for Windows servers you can use the check_wmi_plus plugin from Nagios Exchange to check against uptime http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/C heck-WMI-Plus/details -- Smartmon System Monitoring http://www.smartmon.com.au www.smartmon.com.au -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ Nagios-users mailing list Nagios-users@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 Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Herefordshire Council. You should be aware that Herefordshire Council monitors its email service. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it. -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay___ Nagios-users mailing list Nagios-users@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
[Nagios-users] enable SNMP trap handling in Nagios
Hi, i am using Nagios 3.2.3 want to enable SNMP Trap Handling so that I can check uptime of my servers ( snmp service has already been enabled on the servers). can sum1 help me with the configuration. Khurram Aziz Khalid-- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] enable SNMP trap handling in Nagios
On 5/10/11 9:46 AM, khurram aziz wrote: Hi, i am using Nagios 3.2.3 want to enable SNMP Trap Handling so that I can check uptime of my servers ( snmp service has already been enabled on the servers). can sum1 help me with the configuration. Well, first off you don't need snmp traps to check uptime. $ /usr/local/nagios/libexec/check_snmp -H localhost -o .1.3.6.1.2.1.1.3.0 -C xx SNMP OK - Timeticks: (362041566) 41 days, 21:40:15.66 | $ If all you want to see is an uptime counter, add a service that does that. Replace localhost with $HOSTADDRESS$, and replace xx with your snmp community. Unfortunately, check_snmp doesn't seem to support having warning or critical thresholds, so unless snmpd is down, that will always return ok. You can use snmpget to get the raw timeticks: $ snmpget -Ovt -v2c -c x localhost .1.3.6.1.2.1.1.3.0 36207797 $ If you want a critical alert every time a box has rebooted, write a shell script that calls that snmpget command, passing in the host address and snmp community via the command line. Of course, that will throw an Unknown while the box is actually down (snmp can't tell if the host is down, or if you've passed the wrong snmp community.) If what you really want is to know when your box is down, use check_ssh: $ /usr/local/nagios/libexec/check_ssh localhost SSH OK - OpenSSH_5.1p1 FreeBSD-20080901 (protocol 2.0) $ That will throw a critical any time it can't connect, or if it can connect but the ssh version string isn't found. If you still want to use snmp traps, here's a link to some lovely documentation: http://snmptt.sourceforge.net/docs/snmptt.shtml There's even a section on integrating with Nagios, though I suggest you get some coffee and a snack and read the whole page. -- Mike Lindsey -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] enable SNMP trap handling in Nagios
If you do need to alert on uptime, I wrote a pretty simple Perl script you could use. It's nothing fancy, but then that has the added benefit of being easy to modify! :) We set ours to alert on a couple hundred days of uptime for our Solaris boxes, but you can set warning and critical thresholds to suit your needs. https://sites.google.com/site/parishnetworks/home/technology/nagios From: khurram aziz [mailto:khurramazizkha...@yahoo.com] Sent: Tuesday, May 10, 2011 12:47 PM To: nagios mailinglist Subject: [Nagios-users] enable SNMP trap handling in Nagios Hi, i am using Nagios 3.2.3 want to enable SNMP Trap Handling so that I can check uptime of my servers ( snmp service has already been enabled on the servers). can sum1 help me with the configuration. Khurram Aziz Khalid -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay___ Nagios-users mailing list Nagios-users@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