From mysqlstudent at gmail.com Mon Jul 1 04:54:27 2013 From: mysqlstudent at gmail.com (Alex) Date: Sun, 30 Jun 2013 22:54:27 -0400 Subject: Disabling a host from all checks Message-ID: Hi, I have a nagios-3.4.4 system on fc17 that's working properly. I physically removed a server without scheduling downtime or indicating to nagios to disable all checks. Now that the server has been removed, I'm receiving these constant alerts saying the host is down and "connection refused" on all services. How can I remove this host from nagios checks without having to edit the configuration file and removing all references to the hostname in all of them? I'm hoping there's an easier way. If it was possible, I'd put the host back into production, let nagios check all the services, then mark the system to not check this host, but I can't. Any ideas greatly appreciated. Thanks, Alex ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 From tnelsonp at comcast.net Mon Jul 1 06:08:22 2013 From: tnelsonp at comcast.net (tnelsonp at comcast.net) Date: Mon, 1 Jul 2013 04:08:22 +0000 (UTC) Subject: Disabling a host from all checks In-Reply-To: References: Message-ID: <1768913028.128708.1372651702948.JavaMail.root@sz0027a.westchester.pa.mail.comcast.net> Alex, I recently had to do the same on one of my Nagios systems (v3.5.0 on a Centos 6.4 host). From the Nagios Admin web page (xx.xx.xx.xx/nagios), select Hosts, select the host that was removed. On the right side of the page is a list of Host Commands where you can 'Disable active checks of this host' and 'Disable notifications for this host'. The same can be performed for services and checks, but I am not sure if they are needed once you disable active checks. I didn't go that far when I removed the host. Regards ----- Original Message ----- From: "Alex" To: "Nagios Users List" Sent: Sunday, June 30, 2013 10:54:27 PM Subject: [Nagios-users] Disabling a host from all checks Hi, I have a nagios-3.4.4 system on fc17 that's working properly. I physically removed a server without scheduling downtime or indicating to nagios to disable all checks. Now that the server has been removed, I'm receiving these constant alerts saying the host is down and "connection refused" on all services. How can I remove this host from nagios checks without having to edit the configuration file and removing all references to the hostname in all of them? I'm hoping there's an easier way. If it was possible, I'd put the host back into production, let nagios check all the services, then mark the system to not check this host, but I can't. Any ideas greatly appreciated. Thanks, Alex ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev -------------- 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 From sandeepvreddy at outlook.com Mon Jul 1 06:39:54 2013 From: sandeepvreddy at outlook.com (Sandeep L) Date: Mon, 1 Jul 2013 10:09:54 +0530 Subject: Disabling a host from all checks In-Reply-To: <1768913028.128708.1372651702948.JavaMail.root@sz0027a.westchester.pa.mail.comcast.net> References: , <1768913028.128708.1372651702948.JavaMail.root@sz0027a.westchester.pa.mail.comcast.net> Message-ID: Remove configuration file related to that server and restart Nagios. For example if you removed host1 remove all configurations and configuration file(host1.cfg) file and restart nagios, this should solve your problem. Thanks,Sandeep. Date: Mon, 1 Jul 2013 04:08:22 +0000 From: tnelsonp at comcast.net To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Disabling a host from all checks Alex, I recently had to do the same on one of my Nagios systems (v3.5.0 on a Centos 6.4 host). From the Nagios Admin web page (xx.xx.xx.xx/nagios), select Hosts, select the host that was removed. On the right side of the page is a list of Host Commands where you can 'Disable active checks of this host' and 'Disable notifications for this host'. The same can be performed for services and checks, but I am not sure if they are needed once you disable active checks. I didn't go that far when I removed the host. Regards From: "Alex" To: "Nagios Users List" Sent: Sunday, June 30, 2013 10:54:27 PM Subject: [Nagios-users] Disabling a host from all checks Hi, I have a nagios-3.4.4 system on fc17 that's working properly. I physically removed a server without scheduling downtime or indicating to nagios to disable all checks. Now that the server has been removed, I'm receiving these constant alerts saying the host is down and "connection refused" on all services. How can I remove this host from nagios checks without having to edit the configuration file and removing all references to the hostname in all of them? I'm hoping there's an easier way. If it was possible, I'd put the host back into production, let nagios check all the services, then mark the system to not check this host, but I can't. Any ideas greatly appreciated. Thanks, Alex ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev -------------- 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 From mh+nagios-users at zugschlus.de Mon Jul 1 08:28:11 2013 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Mon, 1 Jul 2013 08:28:11 +0200 Subject: check_ntp_peer parsing error In-Reply-To: <20130629140155.GI3148@zedat.fu-berlin.de> References: <20130626192236.GA1189@torres.zugschlus.de> <20130629140155.GI3148@zedat.fu-berlin.de> Message-ID: <20130701062811.GD5036@torres.zugschlus.de> On Sat, Jun 29, 2013 at 04:01:55PM +0200, Holger Wei? wrote: > JFTR: > * Marc Haber [2013-06-26 21:22]: > > I have a system running Debian oldstable with Nagios-Plugins 1.4.15. A > > few weeks ago, my check_ntp_peer checks have started acting up: > > > > $ /usr/lib/nagios/plugins/check_ntp_peer --hostname=2001:1b18:f:4::2 --warning 3 --critical 5 --jwarn 10 --jcrit 20 --twarn 2: --tcrit 3: --swarn 2 --scrit 2 -v > > 3 candidate peers available > > synchronization source found > > Getting offset, jitter and stratum for peer e20a > > parsing offset from peer e20a: error: unable to read server offset response. > > parsing jitter from peer e20a: error: unable to read server jitter/dispersion response. > > parsing stratum from peer e20a: error: unable to read server stratum response. > > NTP CRITICAL: Offset unknown, jitter=-1,000000, stratum=-1, truechimers=6| jitter=-1,000000;10,000000;20,000000;0,000000 stratum=-1;2;2;0;16 truechimers=6;0;0;0 > > This is probably caused by a bug in Force10 switches mentioned here: > > http://news.ntppool.org/2013/06/ipv6-monitoring-problems-for-g.html > > Due to that bug, the check_ntp_peer requests got duplicated on their way > to the server, and the server therefore sent multiple responses per > request. check_ntp_peer then stumbled over those duplicated responses. > That's a bug, I'll fix it later today. > > Thanks to Marc for providing tcpdump output and for his help with > tracking the issue down. This was really fun to investigate. Thanks for help ans inspiration. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062 ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 From harunsahiner at gmail.com Tue Jul 2 10:45:16 2013 From: harunsahiner at gmail.com (=?ISO-8859-9?Q?Harun_=DEahiner?=) Date: Tue, 2 Jul 2013 11:45:16 +0300 Subject: check_nt fails after recent windows 2008 r2 updates In-Reply-To: <1358035459.17417.9.camel@p8p67.debsystems.com> References: <1358035459.17417.9.camel@p8p67.debsystems.com> Message-ID: Hi, Did you find any workaround about this topic ? Thanks. 2013/1/13 doug > After just applying some new windows updates, a few of my check_nt > commands are now failing. > > # /usr/lib/nagios/plugins/check_nt -H XXX -p 12489 -s password -v > USEDDISKSPACE -l d -w 80 -c 90 > Free disk space : Invalid drive > > Drive is valid, this is just failing today after windows updates. I > updated my nsclient++ to nscp-0.4.1.73-x64.msi still fails. > > > # /usr/lib/nagios/plugins/check_nt -H XXX -p 12489 -s password -v UPTIME > System Uptime - 0 day(s) 0 hour(s) 0 minute(s) > > This data is invalid, was working fine. > > > # /usr/lib/nagios/plugins/check_nt -H XXX -p 12489 -s password -v MEMUSE > -w 80 -c 90 > Segmentation fault > > This was working fine before the update as well. > > Some of the other tests are not returning valid data as well. > > Any ideas? > > > > > > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_123012 > _______________________________________________ > 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 > -- Harun ?ahiner -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev -------------- 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 From Jim.Melin at co.hennepin.mn.us Tue Jul 2 11:01:47 2013 From: Jim.Melin at co.hennepin.mn.us (Jim.Melin at co.hennepin.mn.us) Date: Tue, 2 Jul 2013 04:01:47 -0500 Subject: AUTO: On vacation. Unreachable (returning 07/15/2013) Message-ID: I am out of the office until 07/15/2013. If this is an urgent issue please contact the Linux Administration team at it.linux.admins. Note: This is an automated response to your message "Re: [Nagios-users] check_nt fails after recent windows 2008 r2 updates" sent on 7/2/2013 3:45:16 AM. This is the only notification you will receive while this person is away. Disclaimer: Information in this message or an attachment may be government data and thereby subject to the Minnesota Government Data Practices Act, Minnesota Statutes, Chapter 13, may be subject to attorney-client or work product privilege, may be confidential, privileged, proprietary, or otherwise protected, and the unauthorized review, copying, retransmission, or other use or disclosure of the information is strictly prohibited. If you are not the intended recipient of this message, please immediately notify the sender of the transmission error and then promptly delete this message from your computer system. ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 From np121 at hotmail.com Tue Jul 2 11:57:34 2013 From: np121 at hotmail.com (Nick Price) Date: Tue, 2 Jul 2013 11:57:34 +0200 Subject: check_nt fails after recent windows 2008 r2 updates In-Reply-To: References: <1358035459.17417.9.camel@p8p67.debsystems.com> Message-ID: Hi I had the same I changed to the latest version of nsclient++ on the windows PC's and use nrpe on my nagios server. Define command{ Command_name CheckUpTime Command_line Check_nrpe -H $HOSTNAME$ -p 5666 -c CheckUpTime - ShowAll=long } That solved it and it works fine on all my windows machines now Nick From: Harun ?ahiner [mailto:harunsahiner at gmail.com] Sent: Tuesday, July 02, 2013 10:45 To: Nagios Users List Subject: Re: [Nagios-users] check_nt fails after recent windows 2008 r2 updates Hi, Did you find any workaround about this topic ? Thanks. 2013/1/13 doug After just applying some new windows updates, a few of my check_nt commands are now failing. # /usr/lib/nagios/plugins/check_nt -H XXX -p 12489 -s password -v USEDDISKSPACE -l d -w 80 -c 90 Free disk space : Invalid drive Drive is valid, this is just failing today after windows updates. I updated my nsclient++ to nscp-0.4.1.73-x64.msi still fails. # /usr/lib/nagios/plugins/check_nt -H XXX -p 12489 -s password -v UPTIME System Uptime - 0 day(s) 0 hour(s) 0 minute(s) This data is invalid, was working fine. # /usr/lib/nagios/plugins/check_nt -H XXX -p 12489 -s password -v MEMUSE -w 80 -c 90 Segmentation fault This was working fine before the update as well. Some of the other tests are not returning valid data as well. Any ideas? ---------------------------------------------------------------------------- -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 _______________________________________________ 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 -- Harun ?ahiner -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev -------------- 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 From eric.berg at barclays.com Tue Jul 2 16:07:24 2013 From: eric.berg at barclays.com (eric.berg at barclays.com) Date: Tue, 2 Jul 2013 10:07:24 -0400 Subject: RESTART_PROGRAM Resets Timezone Message-ID: Looks like we're having a problem with Nagios resetting the timezone when issuing the RESTART_PROGRAM external command. We have an event handler set up to dynamically create some Nagios config files from our database, at the end of which we send the RESTART_PROGRAM command via the comand file. Below, we see that when started using the RESTART_PROGRAM, the TZ gets reset to GMT, whereas when we restart using the standard command line, this doesn't happen. Even when logging to syslog, Nagios submits the wrong time: /var/log/messages: Jul 1 06:53:56 nykdsr000000385 sshd[7203]: Transferred: sent 2760, received 1872 bytes Jul 1 06:53:56 nykdsr000000385 sshd[7203]: Closing connection to 10.57.6.18 port 43201 Jul 1 10:53:57 nykdsr000000385 nagios: SERVICE ALERT: nykpsr9350;monitorWL_nypuats;OK;SOFT;2;PROCS OK: 1 process with VSZ >= 50000, args 'monitorWL.pl', UID = 3028246 (nypuats) Jul 1 10:53:57 nykdsr000000385 nagios: SERVICE EVENT HANDLER: nykpsr9350;monitorWL_nypuats;OK;SOFT;2;restart-monitorWL!nypuats Jul 1 06:53:59 nykdsr000000385 sshd[7449]: Connection from 10.55.6.124 port 46363 Jul 1 06:53:59 nykdsr000000385 sshd[7449]: Failed none for root from 10.55.6.124 port 46363 ssh2 Log messages from Nagios are in timezone different from NY (EST). I have restarted Nagios manually and saw: Jul 1 07:43:40 nykdsr000000385 sshd[25987]: Failed publickey for root from 10.58.99.7 port 37957 ssh2 Jul 1 07:43:40 nykdsr000000385 sshd[25987]: Failed publickey for root from 10.58.99.7 port 37957 ssh2 Jul 1 11:43:47 nykdsr000000385 nagios: Nagios 3.4.1 starting... (PID=25996) Jul 1 11:43:47 nykdsr000000385 nagios: Local time is Mon Jul 01 11:43:47 US/New_York 2013 Jul 1 11:43:47 nykdsr000000385 nagios: LOG VERSION: 2.0 Jul 1 11:43:47 nykdsr000000385 nagios: Warning: Host 'cfdies2qkbk001' has no services associated with it! Jul 1 11:43:47 nykdsr000000385 nagios: Warning: Host 'cfrfid1comp001' has no services associated with it! Jul 1 11:43:47 nykdsr000000385 nagios: Warning: Host 'nykdsm020000372' has no services associated with it! Jul 1 11:43:47 nykdsr000000385 nagios: Warning: Host 'nykdsm020001536' has no services associated with it! Jul 1 11:43:47 nykdsr000000385 nagios: Warning: Host 'nykdsm020001765' has no services associated with it! Jul 1 11:43:47 nykdsr000000385 nagios: Warning: Host 'nykdsm030000273' has no services associated with it! Jul 1 11:43:47 nykdsr000000385 nagios: Warning: Host 'nykdsm05574' has no services associated with it! Jul 1 11:43:47 nykdsr000000385 nagios: Warning: Host 'nykdsm05673n01' has no services associated with it! Jul 1 11:43:47 nykdsr000000385 nagios: Warning: Host 'nykdsm05673n02' has no services associated with it! Jul 1 11:43:47 nykdsr000000385 nagios: Warning: Host 'nykdsr000000434' has no services associated with it! Jul 1 11:43:47 nykdsr000000385 nagios: Warning: Host 'nykdsr0630' has no services associated with it! Jul 1 11:43:47 nykdsr000000385 nagios: Warning: Host 'nykdsr1831' has no services associated with it! Jul 1 11:43:47 nykdsr000000385 nagios: Warning: Host 'nykdsr1832' has no services associated with it! Jul 1 11:43:47 nykdsr000000385 nagios: Warning: Host 'nykpsm05675' has no services associated with it! Jul 1 11:43:47 nykdsr000000385 nagios: Warning: Host 'nykpsm05801n01' has no services associated with it! Jul 1 11:43:47 nykdsr000000385 nagios: Warning: Host 'nykpsm05801n02' has no services associated with it! Jul 1 11:43:47 nykdsr000000385 nagios: Warning: Host 'nykpsm05802n01' has no services associated with it! Jul 1 11:43:47 nykdsr000000385 nagios: Warning: Host 'nykpsm05802n02' has no services associated with it! Jul 1 11:43:48 nykdsr000000385 nagios: Finished daemonizing... (New PID=26010) Jul 1 07:43:48 nykdsr000000385 nagios: SERVICE FLAPPING ALERT: nykdsr000000385;monitorWL_nypntsrv;STARTED; Service appears to have started flapping (20.7% change >= 20.0% threshold) Jul 1 07:43:50 nykdsr000000385 nagios: SERVICE ALERT: localhost;autoservices.cfg file;OK;HARD;4;check_autogenerated_file OK - autoservices.cfg does not need to be regenerated Jul 1 07:43:50 nykdsr000000385 nagios: SERVICE NOTIFICATION: rtb;localhost;autoservices.cfg file;OK;notify-service-by-bchat;check_autogenerated_file OK - autoservices.cfg does not need to be regenerated Jul 1 07:44:00 nykdsr000000385 nagios: SERVICE EVENT HANDLER: localhost;autoservices.cfg file;OK;HARD;4;generate-config-file!/home/nypntsrv/nagios/etc/objects/autoservices.cfg!/home/nypntsrv/nagios/etc/objects/createservices.pl Jul 1 07:44:03 nykdsr000000385 nagios: EXTERNAL COMMAND: RESTART_PROGRAM; Jul 1 07:44:03 nykdsr000000385 nagios: PROGRAM_RESTART event encountered, restarting... Jul 1 11:44:03 nykdsr000000385 nagios: Nagios 3.4.1 starting... (PID=26010) Jul 1 11:44:03 nykdsr000000385 nagios: Local time is Mon Jul 01 11:44:03 US/New_York 2013 Jul 1 11:44:03 nykdsr000000385 nagios: LOG VERSION: 2.0 Jul 1 11:44:03 nykdsr000000385 nagios: Warning: Host 'cfdies2qkbk001' has no services associated with it! Jul 1 11:44:03 nykdsr000000385 nagios: Warning: Host 'cfrfid1comp001' has no services associated with it! Jul 1 11:44:03 nykdsr000000385 nagios: Warning: Host 'nykdsm020000372' has no services associated with it! Jul 1 11:44:03 nykdsr000000385 nagios: Warning: Host 'nykdsm020001536' has no services associated with it! Jul 1 11:44:03 nykdsr000000385 nagios: Warning: Host 'nykdsm020001765' has no services associated with it! Jul 1 11:44:03 nykdsr000000385 nagios: Warning: Host 'nykdsm030000273' has no services associated with it! Jul 1 11:44:03 nykdsr000000385 nagios: Warning: Host 'nykdsm05574' has no services associated with it! Jul 1 11:44:03 nykdsr000000385 nagios: Warning: Host 'nykdsm05673n01' has no services associated with it! Jul 1 11:44:03 nykdsr000000385 nagios: Warning: Host 'nykdsm05673n02' has no services associated with it! Jul 1 11:44:03 nykdsr000000385 nagios: Warning: Host 'nykdsr000000434' has no services associated with it! Jul 1 11:44:03 nykdsr000000385 nagios: Warning: Host 'nykdsr0630' has no services associated with it! Jul 1 11:44:03 nykdsr000000385 nagios: Warning: Host 'nykdsr1831' has no services associated with it! Jul 1 11:44:03 nykdsr000000385 nagios: Warning: Host 'nykdsr1832' has no services associated with it! Jul 1 11:44:03 nykdsr000000385 nagios: Warning: Host 'nykpsm05675' has no services associated with it! Jul 1 11:44:03 nykdsr000000385 nagios: Warning: Host 'nykpsm05801n01' has no services associated with it! Jul 1 11:44:03 nykdsr000000385 nagios: Warning: Host 'nykpsm05801n02' has no services associated with it! Jul 1 11:44:03 nykdsr000000385 nagios: Warning: Host 'nykpsm05802n01' has no services associated with it! Jul 1 11:44:03 nykdsr000000385 nagios: Warning: Host 'nykpsm05802n02' has no services associated with it! Jul 1 11:44:04 nykdsr000000385 nagios: SERVICE FLAPPING ALERT: nykdsr000000385;monitorWL_nypntsrv;STARTED; Service appears to have started flapping (20.7% change >= 20.0% threshold) Jul 1 07:44:09 nykdsr000000385 sshd[26306]: Connection from 10.57.6.18 port 59457 Jul 1 07:44:09 nykdsr000000385 sshd[26306]: Failed none for nypntsrv from 10.57.6.18 port 59457 ssh2 Jul 1 07:44:09 nykdsr000000385 sshd[26306]: Found matching RSA key: 5f:44:ae:f5:0c:c7:22:16:e1:06:85:6f:64:e7:18:76 Jul 1 07:44:09 nykdsr000000385 sshd[26306]: Found matching RSA key: 5f:44:ae:f5:0c:c7:22:16:e1:06:85:6f:64:e7:18:76 Jul 1 07:44:09 nykdsr000000385 sshd[26306]: Accepted publickey for nypntsrv from 10.57.6.18 port 59457 ssh2 Jul 1 07:44:09 nykdsr000000385 sshd[26306]: User child is on pid 26314 Jul 1 07:44:09 nykdsr000000385 sshd[26314]: Connection closed by 10.57.6.18 Jul 1 07:44:09 nykdsr000000385 sshd[26314]: Transferred: sent 2728, received 1872 bytes Jul 1 07:44:09 nykdsr000000385 sshd[26314]: Closing connection to 10.57.6.18 port 59457 Jul 1 11:44:16 nykdsr000000385 nagios: SERVICE ALERT: nykpsr5941;DEV3:Services1:2 process;OK;SOFT;3;PROCS OK: 1 process with VSZ >= 100000, UID = 108005 (nypntsrv), args '-Dservices1_dev3_2_nykpsr5941' Is this a known bug? Eric D. Berg IPRS Infrastructure _______________________________________________ This message is for information purposes only, it is not a recommendation, advice, offer or solicitation to buy or sell a product or service nor an official confirmation of any transaction. It is directed at persons who are professionals and is not intended for retail customer use. Intended for recipient only. This message is subject to the terms at: www.barclays.com/emaildisclaimer. For important disclosures, please see: www.barclays.com/salesandtradingdisclaimer regarding market commentary from Barclays Sales and/or Trading, who are active market participants; and in respect of Barclays Research, including disclosures relating to specific issuers, please see http://publicresearch.barclays.com. _______________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev -------------- 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 From mysqlstudent at gmail.com Tue Jul 2 17:47:48 2013 From: mysqlstudent at gmail.com (Alex) Date: Tue, 2 Jul 2013 11:47:48 -0400 Subject: Disabling a host from all checks In-Reply-To: <1768913028.128708.1372651702948.JavaMail.root@sz0027a.westchester.pa.mail.comcast.net> References: <1768913028.128708.1372651702948.JavaMail.root@sz0027a.westchester.pa.mail.comcast.net> Message-ID: Hi, > I recently had to do the same on one of my Nagios systems (v3.5.0 on a > Centos 6.4 host). From the Nagios Admin web page (xx.xx.xx.xx/nagios), > select Hosts, select the host that was removed. On the right side of the > page is a list of Host Commands where you can 'Disable active checks of this > host' and 'Disable notifications for this host'. The same can be performed > for services and checks, but I am not sure if they are needed once you > disable active checks. I didn't go that far when I removed the host. Thanks for the info. I've done this, but the host and all services were still being reported as down. This was particularly evident in the firefox nagios monitor plugin, so the host is still reported being available for status by nagios. It was indeed necessary for me to remove the configuration for this host, including my escalations, services, and hosts file. Had I stopped monitoring it before the host went down, none of that would have been necessary, but there was no way to bring it back up. Thanks, Alex ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 From dm572j at att.com Tue Jul 2 17:55:19 2013 From: dm572j at att.com (MAHONEY, DANIEL) Date: Tue, 2 Jul 2013 15:55:19 +0000 Subject: Disabling a host from all checks In-Reply-To: References: <1768913028.128708.1372651702948.JavaMail.root@sz0027a.westchester.pa.mail.comcast.net> Message-ID: I don't know how kosher this is, but I worked around that issue by disabling active checks and disabling notifications, then entering a passive check that showed the host as up. That way I wouldn't see reports about the downed system until I re-enabled active checks. -----Original Message----- From: Alex [mailto:mysqlstudent at gmail.com] Sent: Tuesday, July 02, 2013 10:48 AM To: Nagios Users List Subject: Re: [Nagios-users] Disabling a host from all checks Thanks for the info. I've done this, but the host and all services were still being reported as down. This was particularly evident in the firefox nagios monitor plugin, so the host is still reported being available for status by nagios. It was indeed necessary for me to remove the configuration for this host, including my escalations, services, and hosts file. Had I stopped monitoring it before the host went down, none of that would have been necessary, but there was no way to bring it back up. Thanks, Alex ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 From a31modela at hotmail.com Tue Jul 2 20:24:29 2013 From: a31modela at hotmail.com (steve f) Date: Tue, 2 Jul 2013 14:24:29 -0400 Subject: Question on adding additional user to Web cgi Message-ID: Hello All, Think I am missing something obvious here. Running core 3.2 and an trying to add a user to the web console. I only want this user to have rights to the hosts that he is a contact for. I have a host group called broadband which has no services associated with it . I am only using the host ping to the ip of the broadband interface to check if my remote broadbands are up & running. I have a contact set up for this hostgroup which gets an email if a broadband interface goes down. I wanted to give the contact access to the nagios web console for this host group only to be able to acknowledge alerts. I added a new user via htpasswd and have use-authentication=1 in the cgi.cfg file. The user can log into the web console but sees all hosts and can run commands on other hosts outside of the broadband hostgroup Looks like everything in the cgi.cfg file is ok, the contact is not listed anywhere under any of the authorized_for_XXXX access. What did I miss ?? From what I read, Authenticated contacts* are granted the following permissions for each host for which they are contacts (but not for hosts for which they are not contacts)... If the contact broadband is not a contact for anything but the hostgroup store_broadband, why can he get into other hosts and put them in scheduled down time let alone see them? Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev -------------- 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 From a31modela at hotmail.com Tue Jul 2 23:07:27 2013 From: a31modela at hotmail.com (steve f) Date: Tue, 2 Jul 2013 17:07:27 -0400 Subject: Question on adding additional user to Web cgi In-Reply-To: References: Message-ID: Just posting that I figured out my issue. I had the broadband contact group still listed as a contact in the linux-server template from when I orig set this up. I am using a separate host template entry for the broadband check. Once I removed the broadband contact from the linux-server host template & restarted nagios, it worked as its supposed to. Steve From: a31modela at hotmail.com To: nagios-users at lists.sourceforge.net Date: Tue, 2 Jul 2013 14:24:29 -0400 Subject: [Nagios-users] Question on adding additional user to Web cgi Hello All, Think I am missing something obvious here. Running core 3.2 and an trying to add a user to the web console. I only want this user to have rights to the hosts that he is a contact for. I have a host group called broadband which has no services associated with it . I am only using the host ping to the ip of the broadband interface to check if my remote broadbands are up & running. I have a contact set up for this hostgroup which gets an email if a broadband interface goes down. I wanted to give the contact access to the nagios web console for this host group only to be able to acknowledge alerts. I added a new user via htpasswd and have use-authentication=1 in the cgi.cfg file. The user can log into the web console but sees all hosts and can run commands on other hosts outside of the broadband hostgroup Looks like everything in the cgi.cfg file is ok, the contact is not listed anywhere under any of the authorized_for_XXXX access. What did I miss ?? From what I read, Authenticated contacts* are granted the following permissions for each host for which they are contacts (but not for hosts for which they are not contacts)... If the contact broadband is not a contact for anything but the hostgroup store_broadband, why can he get into other hosts and put them in scheduled down time let alone see them? Thanks, Steve ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev -------------- 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 From joshi at canvera.com Wed Jul 3 08:58:20 2013 From: joshi at canvera.com (Joshi MP) Date: Wed, 3 Jul 2013 12:28:20 +0530 Subject: check_nagios plugin Message-ID: Hi Team, I have two instances of Nagios servers , Would like to monitor both of them each other , And found that check_nagios will be useful for this . Please let me know from where can I download this ? thanks, Joshi -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev -------------- 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 From yribbens at nagios.com Wed Jul 3 16:40:51 2013 From: yribbens at nagios.com (Yancy Ribbens) Date: Wed, 03 Jul 2013 09:40:51 -0500 Subject: check_nagios plugin In-Reply-To: References: Message-ID: <51D437F3.5030704@nagios.com> Joshi, http://nagiosplugins.org/man/check_nagios check_nagios is available by downloading and compiling Nagios plugins found here: http://nagiosplugins.org/download -Yancy Yancy Ribbens --- Tech Team yribbens at nagios.com On 7/3/2013 1:58 AM, Joshi MP wrote: > Hi Team, > > I have two instances of Nagios servers , Would like to monitor both of them each other , And found > thatcheck_nagios will be useful for this . Please let me know from where can I download this ? > > thanks, > Joshi > > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > > > > _______________________________________________ > 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 > ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 From justinp at norchemlab.com Wed Jul 3 16:46:27 2013 From: justinp at norchemlab.com (Justin T Pryzby) Date: Wed, 3 Jul 2013 07:46:27 -0700 Subject: check_nagios plugin In-Reply-To: References: Message-ID: <20130703144627.GA5493@norchemlab.com> On Wed, Jul 03, 2013 at 12:28:20PM +0530, Joshi MP wrote: > I have two instances of Nagios servers , Would like to monitor both of them > each other , And found that check_nagios will be useful for this . Please > let me know from where can I download this ? You're probably looking for check_nagios from the nagios-plugins package, distributed here: http://sourceforge.net/projects/nagiosplug/ http://nagiosplugins.org/ Justin ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 From mysqlstudent at gmail.com Wed Jul 3 19:36:14 2013 From: mysqlstudent at gmail.com (Alex) Date: Wed, 3 Jul 2013 13:36:14 -0400 Subject: Disabling a host from all checks In-Reply-To: References: <1768913028.128708.1372651702948.JavaMail.root@sz0027a.westchester.pa.mail.comcast.net> Message-ID: Hi, > I don't know how kosher this is, but I worked around that issue by disabling active checks and disabling notifications, then entering a > passive check that showed the host as up. That way I wouldn't see reports about the downed system until I re-enabled active checks. Did that work for all services on that host as well? Or was it necessary to create a passive check (or even possible) for each service? Thanks, Alex ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 From dm572j at att.com Wed Jul 3 20:07:15 2013 From: dm572j at att.com (MAHONEY, DANIEL) Date: Wed, 3 Jul 2013 18:07:15 +0000 Subject: Disabling a host from all checks In-Reply-To: References: <1768913028.128708.1372651702948.JavaMail.root@sz0027a.westchester.pa.mail.comcast.net> Message-ID: When I did it I only disabled a specific service check. I don't know if it's possible to disable all service checks for a given host in one step. -----Original Message----- From: Alex [mailto:mysqlstudent at gmail.com] Sent: Wednesday, July 03, 2013 12:36 PM To: Nagios Users List Subject: Re: [Nagios-users] Disabling a host from all checks Hi, > I don't know how kosher this is, but I worked around that issue by disabling active checks and disabling notifications, then entering a > passive check that showed the host as up. That way I wouldn't see reports about the downed system until I re-enabled active checks. Did that work for all services on that host as well? Or was it necessary to create a passive check (or even possible) for each service? Thanks, Alex ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 From justinp at norchemlab.com Wed Jul 3 21:11:04 2013 From: justinp at norchemlab.com (Justin T Pryzby) Date: Wed, 3 Jul 2013 12:11:04 -0700 Subject: Disabling a host from all checks In-Reply-To: References: <1768913028.128708.1372651702948.JavaMail.root@sz0027a.westchester.pa.mail.comcast.net> Message-ID: <20130703191104.GA13238@norchemlab.com> On Wed, Jul 03, 2013 at 06:07:15PM +0000, MAHONEY, DANIEL wrote: > When I did it I only disabled a specific service check. I don't know if it's possible to disable all service checks for a given host in one step. It is, at least in nagios 3.2.3. Select host (extinfo.cgi?type=1&host=...), Disable notifications for all services on this host +Disable For Host Too: Disable checks of all services on this host +Disable For Host Too: Justin ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 From mysqlstudent at gmail.com Wed Jul 3 21:33:58 2013 From: mysqlstudent at gmail.com (Alex) Date: Wed, 3 Jul 2013 15:33:58 -0400 Subject: Disabling a host from all checks In-Reply-To: <20130703191104.GA13238@norchemlab.com> References: <1768913028.128708.1372651702948.JavaMail.root@sz0027a.westchester.pa.mail.comcast.net> <20130703191104.GA13238@norchemlab.com> Message-ID: Hi, On Wed, Jul 3, 2013 at 3:11 PM, Justin T Pryzby wrote: > On Wed, Jul 03, 2013 at 06:07:15PM +0000, MAHONEY, DANIEL wrote: >> When I did it I only disabled a specific service check. I don't know if it's possible to disable all service checks for a given host in one step. > It is, at least in nagios 3.2.3. > > Select host (extinfo.cgi?type=1&host=...), > > Disable notifications for all services on this host > +Disable For Host Too: > > Disable checks of all services on this host > +Disable For Host Too: No, this is different. This is simply to disable the active checks and notifications. It doesn't work after nagios has already detected the host unavailable. It's necessary to disable the host and service checks prior to nagios detecting that it's down. Alex ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 From work at paul.dubuc.org Wed Jul 3 21:33:25 2013 From: work at paul.dubuc.org (Paul Dubuc) Date: Wed, 03 Jul 2013 15:33:25 -0400 Subject: Disabling a host from all checks In-Reply-To: References: <1768913028.128708.1372651702948.JavaMail.root@sz0027a.westchester.pa.mail.comcast.net> Message-ID: <51D47C85.4030409@paul.dubuc.org> Alex wrote: > Hi, > >> I don't know how kosher this is, but I worked around that issue by >> disabling active checks and disabling notifications, then entering a >> passive check that showed the host as up. That way I wouldn't see >> reports about the downed system until I re-enabled active checks. > > Did that work for all services on that host as well? Or was it necessary to > create a passive check (or even possible) for each service? > > Thanks, Alex > > ------------------------------------------------------------------------------ It is possible to disable checks or notifications for all services for a particular host in one step. See the Host Commands on the Nagios display for the host. If the services are already in error, you will have to submit a passive check result for each service individually to put them back in the OK status with the Service Command on the Nagios display for the services. If you have a lot of them, or you do this often ;-) ... you could write a script to submit the commands to the external command file: http://nagios.sourceforge.net/docs/nagioscore/3/en/extcommands.html ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 From frnkblk at iname.com Fri Jul 5 21:07:15 2013 From: frnkblk at iname.com (Frank Bulk) Date: Fri, 5 Jul 2013 14:07:15 -0500 Subject: retry_interval versus retry_check_interval Message-ID: <001f01ce79b2$dcbb8720$96329560$@iname.com> I've found online documentation that talks about retry_interval and other pages that talk about retry_check_interval. Are they the same thing of different, or are there a host of pages that have the wrong info? Regards, Frank ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 From justinp at norchemlab.com Fri Jul 5 23:33:55 2013 From: justinp at norchemlab.com (Justin T Pryzby) Date: Fri, 5 Jul 2013 14:33:55 -0700 Subject: retry_interval versus retry_check_interval In-Reply-To: <001f01ce79b2$dcbb8720$96329560$@iname.com> References: <001f01ce79b2$dcbb8720$96329560$@iname.com> Message-ID: <20130705213355.GB10197@norchemlab.com> On Fri, Jul 05, 2013 at 02:07:15PM -0500, Frank Bulk wrote: > I've found online documentation that talks about retry_interval and other > pages that talk about retry_check_interval. > > Are they the same thing of different, or are there a host of pages that have > the wrong info? I believe retry_check_interval is the old name. It may still be supported. The two names currently used are retry_interval and check_interval. http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service Justin ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 From frnkblk at iname.com Sun Jul 7 14:27:00 2013 From: frnkblk at iname.com (Frank Bulk) Date: Sun, 7 Jul 2013 07:27:00 -0500 Subject: retry_interval versus retry_check_interval In-Reply-To: <20130705213355.GB10197@norchemlab.com> References: <001f01ce79b2$dcbb8720$96329560$@iname.com> <20130705213355.GB10197@norchemlab.com> Message-ID: <001a01ce7b0d$47859090$d690b1b0$@iname.com> Thanks for confirming. Frank -----Original Message----- From: Justin T Pryzby [mailto:justinp at norchemlab.com] Sent: Friday, July 05, 2013 4:34 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] retry_interval versus retry_check_interval On Fri, Jul 05, 2013 at 02:07:15PM -0500, Frank Bulk wrote: > I've found online documentation that talks about retry_interval and other > pages that talk about retry_check_interval. > > Are they the same thing of different, or are there a host of pages that have > the wrong info? I believe retry_check_interval is the old name. It may still be supported. The two names currently used are retry_interval and check_interval. http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service Justin ---------------------------------------------------------------------------- -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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 From a31modela at hotmail.com Mon Jul 8 16:06:03 2013 From: a31modela at hotmail.com (steve f) Date: Mon, 8 Jul 2013 10:06:03 -0400 Subject: Upgrading to 3.5 & Fixing Histograms/Status Maps Message-ID: Running Nagios 3.2 for a while but never got the histogram & statusmaps configured, get the 404 error as none of the cfg files are there. Since I want to upgrade to 3.5, once I have all my libraries installed, and do the upgrade will the needed cfg files install or do I still have to run the following after I upgrade to 3.5 : make devclean ./configure --with-gd-lib=LIBDIR --with-gd-inc=INCDIR Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev -------------- 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 From uce_mike at yahoo.com Tue Jul 9 16:58:00 2013 From: uce_mike at yahoo.com (Mike W) Date: Tue, 09 Jul 2013 09:58:00 -0500 Subject: nagios SIGSEGV on archive rotation In-Reply-To: References: Message-ID: <51DC24F8.4050300@yahoo.com> I am having an issue with nagios and the archive/log rotation. I have configured "log_rotation_method=d" and when it runs I see a SIGSEGV in the nagios.log and nagios shutsdown. I can move it to =h and it will do it every hour (crash). The logfile has nothing else to indicate why it is crashing. Anyone have suggestions on how to trace down the real problem here? File permissions on the archive dir are nagios:nagios as is the nagios.log file. -- Mike Wilson ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From phil.randal at hoopleltd.co.uk Tue Jul 9 18:31:12 2013 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Tue, 9 Jul 2013 16:31:12 +0000 Subject: nagios SIGSEGV on archive rotation In-Reply-To: <51DC24F8.4050300@yahoo.com> References: <51DC24F8.4050300@yahoo.com> Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B85419F8E6C@HC-EXMBX03.herefordshire.gov.uk> Which version of nagios? Are you using check_mk / mk_livestatus? Check the thread "Nagios 3.5.0 segfaulting at midnight" in this list's archives. Cheers, Phil -----Original Message----- From: Mike W [mailto:uce_mike at yahoo.com] Sent: 09 July 2013 15:58 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios SIGSEGV on archive rotation I am having an issue with nagios and the archive/log rotation. I have configured "log_rotation_method=d" and when it runs I see a SIGSEGV in the nagios.log and nagios shutsdown. I can move it to =h and it will do it every hour (crash). The logfile has nothing else to indicate why it is crashing. Anyone have suggestions on how to trace down the real problem here? File permissions on the archive dir are nagios:nagios as is the nagios.log file. -- Mike Wilson ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 Hoople Ltd, Registered in England and Wales No. 7556595 Registered office: Plough Lane, Hereford, HR4 0LE "Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Hoople Ltd. You should be aware that Hoople Ltd. 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." ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From dgrgicevic at gmail.com Tue Jul 9 19:47:07 2013 From: dgrgicevic at gmail.com (davor grgicevic) Date: Tue, 9 Jul 2013 20:47:07 +0300 Subject: nagios SIGSEGV on archive rotation In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B85419F8E6C@HC-EXMBX03.herefordshire.gov.uk> References: <51DC24F8.4050300@yahoo.com> <7CA580B59C1ABD45B4614ED90D4C7B85419F8E6C@HC-EXMBX03.herefordshire.gov.uk> Message-ID: rpm or source ? I am using 3.5.0 (compiled from source) and no issues Davor On Tue, Jul 9, 2013 at 7:31 PM, Randal, Phil wrote: > Which version of nagios? > > Are you using check_mk / mk_livestatus? > > Check the thread "Nagios 3.5.0 segfaulting at midnight" in this list's > archives. > > Cheers, > > Phil > > -----Original Message----- > From: Mike W [mailto:uce_mike at yahoo.com] > Sent: 09 July 2013 15:58 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios SIGSEGV on archive rotation > > I am having an issue with nagios and the archive/log rotation. I have > configured "log_rotation_method=d" and when it runs I see a SIGSEGV in the > nagios.log and nagios shutsdown. I can move it to =h and it will do it > every hour (crash). The logfile has nothing else to indicate why it is > crashing. > > Anyone have suggestions on how to trace down the real problem here? File > permissions on the archive dir are nagios:nagios as is the nagios.log file. > > > -- > > Mike Wilson > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > 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 > Hoople Ltd, Registered in England and Wales No. 7556595 > Registered office: Plough Lane, Hereford, HR4 0LE > > "Any opinion expressed in this e-mail or any attached files are those of > the individual and not necessarily those of Hoople Ltd. You should be aware > that Hoople Ltd. 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." > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > 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 > -- Davor Grgicevic -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From henri.mjr at gmail.com Tue Jul 9 20:56:19 2013 From: henri.mjr at gmail.com (Henrique Machado) Date: Tue, 9 Jul 2013 15:56:19 -0300 Subject: Nagios not sending mails when two contactgroup is in contact.cfg Message-ID: Hello, i'm stucked in a problem. When i define more than one contactgroup nagios dont send mails (i tail in sendmail logs) This doesnt work: # Infrastructure define contact { contact_name Henrique use generic-contact alias Henrique Mac email henrique at domain.com.br } define contact { contact_name Marcio use generic-contact alias Marcio Fra email marcio at domain.com.br } # Analists define contact { contact_name Valter use generic-contact alias Valter Kn email valter at domain.com.br } define contact { contact_name Otavio use generic-contact alias Otavio Ba email otavio at domain.com.br } define contactgroup{ contactgroup_name admins alias Network Admins members Henrique, Marcio } define contactgroup{ contactgroup_name analysts alias System Analysts members Valter, Otavio } This Work: define contact{ contact_name xadmins ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin ; Full name of user email sysop at domain.com.br ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** } define contactgroup{ contactgroup_name admins alias admins members xadmins } This is my Service: define service{ use generic-service host_name ems206 service_description RPW Producao contact_groups admins, analysts check_command check_nrpe!check_rpw_producao } Any idea? Att, Henrique Machado ITIL V3 Certified -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From uce_mike at yahoo.com Tue Jul 9 22:30:10 2013 From: uce_mike at yahoo.com (Mike W) Date: Tue, 09 Jul 2013 15:30:10 -0500 Subject: Fwd: Re: nagios SIGSEGV on archive rotation In-Reply-To: <51DC5F45.8090706@us.ntt.net> References: <51DC5F45.8090706@us.ntt.net> Message-ID: <51DC72D2.9030400@yahoo.com> On 7/9/2013 11:31 AM, Randal, Phil wrote: > Which version of nagios? I can't believe I did not mention this. 3.4.4 under RHEL but it looks like (just noticed) 3.5.0 is up on epel now so I could upgrade. > Are you using check_mk / mk_livestatus? Indeed I do use check_mk for passive/web interface. > Check the thread "Nagios 3.5.0 segfaulting at midnight" in this list's archives. I will search the archives. I did some google searching using various keyboards but did not come up with something useful. Thanks for the information. -- Mike Wilson -- Mike Wilson ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From palli at ok.is Tue Jul 9 22:58:04 2013 From: palli at ok.is (=?utf-8?Q?P=C3=A1ll_Gu=C3=B0j=C3=B3n_Sigur=C3=B0sson?=) Date: Tue, 09 Jul 2013 20:58:04 -0000 (GMT) Subject: Fwd: Re: nagios SIGSEGV on archive rotation In-Reply-To: <51DC72D2.9030400@yahoo.com> References: <51DC72D2.9030400@yahoo.com> Message-ID: I have an rpm with the patch included for epel6/x86_64 right here: http://pall.sigurdsson.is/filez/nagios-3.5.0/ It fixed same problem for me. Can someone please prod the nagios dev team to release a new version that fixes the bug ? Kind regards, Pall Sigurdsson ----- Original Message ----- From: "Mike W" To: "Nagios-Users" Sent: Tuesday, July 9, 2013 8:30:10 PM Subject: [Nagios-users] Fwd: Re: nagios SIGSEGV on archive rotation On 7/9/2013 11:31 AM, Randal, Phil wrote: > Which version of nagios? I can't believe I did not mention this. 3.4.4 under RHEL but it looks like (just noticed) 3.5.0 is up on epel now so I could upgrade. > Are you using check_mk / mk_livestatus? Indeed I do use check_mk for passive/web interface. > Check the thread "Nagios 3.5.0 segfaulting at midnight" in this list's archives. I will search the archives. I did some google searching using various keyboards but did not come up with something useful. Thanks for the information. -- Mike Wilson -- Mike Wilson ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From sunil at sunil.cc Wed Jul 10 05:45:19 2013 From: sunil at sunil.cc (Sunil Sankar) Date: Wed, 10 Jul 2013 09:15:19 +0530 Subject: Nagios not sending mails when two contactgroup is in contact.cfg In-Reply-To: References: Message-ID: I find the way you have stuctured may be wrong why dont you try it like this (This is how I have done in my environment and it works) define contactgroup{ contactgroup_name admins alias Network Admins } define contactgroup{ contactgroup_name analysts alias System Analysts } define contact { contact_name Henrique use generic-contact alias Henrique Mac contactgroups admins email henrique at domain.com.br } define contact { contact_name Marcio use generic-contact alias Marcio Fra contactgroups admins email marcio at domain.com.br } # Analists define contact { contact_name Valter use generic-contact alias Valter Kn contactgroups analysts email valter at domain.com.br } define contact { contact_name Otavio use generic-contact alias Otavio Ba contactgroups analysts email otavio at domain.com.br } Please let me know if this works Regards Sunil On Wed, Jul 10, 2013 at 12:26 AM, Henrique Machado wrote: > Hello, i'm stucked in a problem. When i define more than one contactgroup > nagios dont send mails (i tail in sendmail logs) > > This doesnt work: > > # Infrastructure > define contact { > contact_name Henrique > use generic-contact > alias Henrique Mac > email henrique at domain.com.br > } > > define contact { > contact_name Marcio > use generic-contact > alias Marcio Fra > email marcio at domain.com.br > } > > # Analists > define contact { > contact_name Valter > use generic-contact > alias Valter Kn > email valter at domain.com.br > } > define contact { > contact_name Otavio > use generic-contact > alias Otavio Ba > email otavio at domain.com.br > } > > > define contactgroup{ > contactgroup_name admins > alias Network Admins > members Henrique, Marcio > } > > > define contactgroup{ > contactgroup_name analysts > alias System Analysts > members Valter, Otavio > } > > > This Work: > > define contact{ > contact_name xadmins ; Short > name of user > use generic-contact ; Inherit > default values from generic-contact template (defined above) > alias Nagios Admin ; Full > name of user > email sysop at domain.com.br ; <<***** > CHANGE THIS TO YOUR EMAIL ADDRESS ****** > } > > define contactgroup{ > contactgroup_name admins > alias admins > members xadmins > } > > > > This is my Service: > > define service{ > use generic-service > host_name ems206 > service_description RPW Producao > contact_groups admins, analysts > check_command check_nrpe!check_rpw_producao > } > > > Any idea? > > > Att, > > Henrique Machado > ITIL V3 Certified > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > 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 > -- Regards Sunil Sankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From kaushalshriyan at gmail.com Wed Jul 10 18:21:25 2013 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Wed, 10 Jul 2013 21:51:25 +0530 Subject: Phone Call as Nagios Notification Message-ID: Hi, Are there Phone call feature available in Nagios for notification if some mission critical application goes down at night most probably when we miss an e-mail or sms notifying about that but won?t miss a telephone call to the cell phone. Text-messages do not have any kind of mechanism to check if the message actually arrived, and if the person receiving it had read it. I believe phone calls will address this issue to a major extent. Please suggest any open source based application software. Regards, Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From carlos at dsag.jazztel.es Wed Jul 10 19:41:22 2013 From: carlos at dsag.jazztel.es (Carlos de Santa-Ana Garcia) Date: Wed, 10 Jul 2013 19:41:22 +0200 Subject: Phone Call as Nagios Notification In-Reply-To: References: Message-ID: <51DD9CC2.9080003@dsag.jazztel.es> Hi. I used asterisk to notify alarms when not attended before. Easily you can make a script that generates a call. Only need to connect to a telnet session and send some commands. With voice generator you can personalize the message, or make the nagios output to be spoken. If using vo-ip phone you can see in screen descriptions of problem. El 10/07/2013 18:21, Kaushal Shriyan escribi?: > Hi, > > Are there Phone call feature available in Nagios for notification if > some mission critical application goes down at night most probably > when we miss an e-mail or sms notifying about that but won't miss a > telephone call to the cell phone. Text-messages do not have any kind > of mechanism to check if the message actually arrived, and if the > person receiving it had read it. I believe phone calls will address > this issue to a major extent. Please suggest any open source based > application software. > > Regards, > > Kaushal > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > > > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From rp346 at njit.edu Thu Jul 11 03:12:02 2013 From: rp346 at njit.edu (, Roy) Date: Wed, 10 Jul 2013 21:12:02 -0400 Subject: How to send text notification Message-ID: Hi, Anyone can help me to setup SMS notification from Nagios Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From dm572j at att.com Thu Jul 11 03:39:33 2013 From: dm572j at att.com (MAHONEY, DANIEL) Date: Thu, 11 Jul 2013 01:39:33 +0000 Subject: How to send text notification In-Reply-To: References: Message-ID: You need to find the email gateway for your subscriber's providers, and set up the notify-host-by-eager and notify-service-by-epager scripts. From: , Roy [mailto:rp346 at njit.edu] Sent: Wednesday, July 10, 2013 8:12 PM To: nagios-users Subject: [Nagios-users] How to send text notification Hi, Anyone can help me to setup SMS notification from Nagios Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From steve at sliderule.demon.co.uk Thu Jul 11 03:57:02 2013 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Thu, 11 Jul 2013 02:57:02 +0100 Subject: How to send text notification In-Reply-To: References: Message-ID: <51DE10EE.7080405@sliderule.demon.co.uk> On 11 July 2013 02:12:02, , Roy wrote: > Hi, > > Anyone can help me to setup SMS notification from Nagios > > Thanks > > > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > > > _______________________________________________ > 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 I think this is visible to all... http://c59951.r51.cf2.rackcdn.com/5435-212-josephsen.pdf Describes one method of integrating SMS into Nagios. ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From steve at sliderule.demon.co.uk Thu Jul 11 04:00:51 2013 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Thu, 11 Jul 2013 03:00:51 +0100 Subject: How to send text notification In-Reply-To: References: Message-ID: <51DE11D3.7040503@sliderule.demon.co.uk> On 11 July 2013 02:39:33, MAHONEY, DANIEL wrote: > You need to find the email gateway for your subscriber?s providers, > and set up the notify-host-by-eager and notify-service-by-epager scripts. > > *From:*, Roy [mailto:rp346 at njit.edu] > *Sent:* Wednesday, July 10, 2013 8:12 PM > *To:* nagios-users > *Subject:* [Nagios-users] How to send text notification > > Hi, > > Anyone can help me to setup SMS notification from Nagios > > Thanks > > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > > > _______________________________________________ > 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 you should bear in mind that an email to SMS gateway won't let you know email is down or report some network outages. You might consider using a phone connected to your Nagios server to send the SMS Steve. ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From breandan at dezendorf.com Thu Jul 11 04:32:24 2013 From: breandan at dezendorf.com (Breandan Dezendorf) Date: Wed, 10 Jul 2013 22:32:24 -0400 Subject: How to send text notification In-Reply-To: References: Message-ID: On Jul 10, 2013, at 9:39 PM, "MAHONEY, DANIEL" wrote: > You need to find the email gateway for your subscriber?s providers, and set up the notify-host-by-eager and notify-service-by-epager scripts. Or you can use something like gnokii-smsd and a supported phone and send SMS messages over the phone networks rather than your regular IP network. -- Breandan Dezendorf breandan at dezendorf.com ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From steve at sliderule.demon.co.uk Thu Jul 11 04:15:34 2013 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Thu, 11 Jul 2013 03:15:34 +0100 Subject: How to send text notification In-Reply-To: References: Message-ID: <51DE1546.5020600@sliderule.demon.co.uk> On 11/07/2013 02:12, , Roy wrote: > Hi, > > Anyone can help me to setup SMS notification from Nagios > > Thanks > > > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > > > > _______________________________________________ > 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 > I think this is visible to all... http://c59951.r51.cf2.rackcdn.com/5435-212-josephsen.pdf Describes one method of integrating SMS into Nagios. ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From bylelu at yahoo.fr Thu Jul 11 11:48:06 2013 From: bylelu at yahoo.fr (Yaho Brou) Date: Thu, 11 Jul 2013 10:48:06 +0100 (BST) Subject: How to send text notification In-Reply-To: References: Message-ID: <1373536086.85885.YahooMailNeo@web133206.mail.ir2.yahoo.com> you can use a smsc gateway like kannel. it's easy and convenience.? ________________________________ De?: ", Roy" ??: nagios-users Envoy? le : Jeudi 11 juillet 2013 2h12 Objet?: [Nagios-users] How to send text notification Hi, ? ? ?Anyone can help me to setup SMS notification from Nagios Thanks ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From stanislas.leveau at ac-caen.fr Thu Jul 11 12:42:31 2013 From: stanislas.leveau at ac-caen.fr (Leveau Stanislas) Date: Thu, 11 Jul 2013 12:42:31 +0200 Subject: How to send text notification In-Reply-To: <3ee926ed62521dff.51de8be0@ac-caen.fr> References: <3ee926ed62521dff.51de8be0@ac-caen.fr> Message-ID: <18ba2078156cb96e.51dea837@ac-caen.fr> Hello you can use gnookii : http://gnokii.org/ For example you install a SIEMENS MC35i on your server nagios Manufacturer?: SIEMENS Model : MC35i you need this information : SMS Gateway telephone number : 06 ** ** ** ** Code PIN?: 0000 Your Telephone number : 06 ** ** ** ** Gnokii installation an configuration : Software installation (On redhat) : # yum ?enablerepo=* install gnokki Add code PIN # gnokii --entersecuritycode PIN GNOKII Version 0.6.19 Enter your code: 0000 Code ok. test it's ok: # gnokii --getsecuritycodestatus GNOKII Version 0.6.19 Security code status: nothing to enter. gnokii configuration : # cat /etc/gnokiirc [global] port = /dev/ttyS0 model = AT initlength = default connection = serial use_locking = yes serial_baudrate = 19200 smsc_timeout = 10 [gnokiid] bindir = /usr/local/sbin/ [connect_script] TELEPHONE = 12345678 [disconnect_script] [logging] debug = off rlpdebug = off xdebug = off Hardware informations : # gnokii --identify GNOKII Version 0.6.19 IMEI : 35358469542896 Manufacturer?: SIEMENS Model : MC35i Product name?: MC35i Revision : REVISION 02.00 If you want to modif connexion parameters : # minicom -s Pour sortir Ctrl-A puis Z puis Q Add port information : # stty -F /dev/ttyS0 speed 19200 baud; line = 0; min = 1; time = 0; -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke Test send a sms : # echo "hello" | /usr/bin/gnokii --sendsms 06******** GNOKII Version 0.6.19 Send succeeded! Nagios configuration : In Nagios you add a notification commands as : define command{ command_name notify-by-sms command_line /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nState: $SERVICESTATE$\nInfo: $SERVICEOUTPUT$\nDate: $SHORTDATETIME$" | sudo /etc/nagios/envoiesms $CONTACTPAGER$ } In /etc/nagios/envoiesms file : /usr/bin/gnokii --sendsms $1 And in your contact definition : define contact{ contact_name administrateur alias administrateur contactgroups group-sms host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,u,r service_notification_options w,u,c,r host_notification_commands notify-by-sms service_notification_commands notify-by-sms email administrateur at ac-caen.fr pager 06******** } Regards Stan Le 11/07/13, Yaho Brou a ?crit : > > > > > > you can use a smsc gateway like kannel. it's easy and convenience. > > > De?: ", Roy" > ??: nagios-users > Envoy? le : Jeudi 11 juillet 2013 2h12 > Objet?: [Nagios-users] How to send text notification > > > Hi, > > > Anyone can help me to setup SMS notification from Nagios > > > Thanks > > > > > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > 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 > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From stevejenkins at gmail.com Fri Jul 12 01:56:03 2013 From: stevejenkins at gmail.com (Steve Jenkins) Date: Thu, 11 Jul 2013 16:56:03 -0700 Subject: How to send text notification In-Reply-To: References: Message-ID: On Wed, Jul 10, 2013 at 6:12 PM, , Roy wrote: > Hi, > > Anyone can help me to setup SMS notification from Nagios > I do it the "easy" way. I have Nagios send an email to my mobile carrier's email-to-SMS address. An AT&T you put your *10-digit wireless phone number*, followed by*@txt.att.net. *For example: 5551234567 at txt.att.net. Just find the email to sms alias for your mobile provider and have Nagios email you. SteveJ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From prabhu.arem at gmail.com Thu Jul 11 22:56:28 2013 From: prabhu.arem at gmail.com (Prabhu Arem) Date: Fri, 12 Jul 2013 02:26:28 +0530 Subject: How to customize Nagiso alerts Message-ID: Hi There, I have a perl scrip for that generates warning and critical alerts based on the condition given in the script. What I want is that " Nagis should send the warning alerts only if the condition exists for 1hr. No change is required for critical alert. Can anyone please help me on this. Thanks, Prabhakar. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From martin.kamke at snap.de Wed Jul 10 11:08:19 2013 From: martin.kamke at snap.de (Martin Kamke) Date: Wed, 10 Jul 2013 11:08:19 +0200 Subject: check_log manual Message-ID: <03b001ce7d4d$0589e500$109daf00$@snap.de> Hello, where can i find a manual for the check_log? How can I use the pattern option? Thank you. Martin Kamke ????????????? Tel. +49 40 3890 4417 Fax +49 40 3890 4444 web: www.snap.de mail: martin.kamke at snap.de SNAP Innovation Softwareentwicklung GmbH, 22765 Hamburg, Max-Brauer-Allee 50 Amtsgericht Hamburg HRB 61066, Gesch?ftsf?hrer: Ulrich Zimmer, Paul McCullagh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From john.skarbek at nextcentury.com Fri Jul 12 17:03:44 2013 From: john.skarbek at nextcentury.com (John Skarbek) Date: Fri, 12 Jul 2013 11:03:44 -0400 Subject: check_openmanage improvement request Message-ID: <8EDBE3F4D9261F4A90677FB13B9CCEBC04400C31@ws2.hq.nextcentury.com> Good Morning, I've recently deployed the check_openmanage script and it works very well. Except for hosts that run esxi. Unless I'm doing something wrong. I've discovered that Open Manage doesn't broadcast it's OID's through ESXi like it would if it were a linux or windows host. However I did find that the iDRAC7 does have similar snmp responses that I'd like to capture. However when pointing check_openmanage to the drac interface, I get the message indicating that OMSA must not be installed correctly. However, looking into the script I found: my $chassisModelName = '1.3.6.1.4.1.674.10892.1.300.10.1.9.1'; Which does indeed NOT exist. However, a similar OID with the same information we are looking for is located here: $chassisModelName = '1.3.6.1.4.1.674.10892.5.1.3.12.0'; After modifying the script a little bit I was able to get past that, but now check_openamange is complaining, "SNMP ERROR [memory]: The requested entries are empty or do not exist. " I presume the entire set of OID's is in a different spot when being checked through the drac versus the standard windows snmp service. I would love to assist in enhancing this script, but I'm not sure how I should start. Let me know who I should contact, or feel free to reach out to me to assist with this awesome plugin. Again this is assuming I have my setup configured correctly. John Skarbek, System Administrator w (443) 393-7100 | c (434) 548-0164 | john.skarbek at nextcentury.com NEXTCENTURYCORPORATION | m 443.545.3100 | f 443.285.0799 | www.nextcentury.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From f at zz.de Fri Jul 12 17:29:52 2013 From: f at zz.de (Florian Lohoff) Date: Fri, 12 Jul 2013 17:29:52 +0200 Subject: How to send text notification In-Reply-To: References: Message-ID: <20130712152952.GA21291@pax.zz.de> On Wed, Jul 10, 2013 at 09:12:02PM -0400, , Roy wrote: > Hi, > > Anyone can help me to setup SMS notification from Nagios I am using a USB GSM/UMTS Stick and gsm-utils which contains a gsmsmsd which queues smses in case you get a full blurp of messages to multiple destinations. Simple shell script to be called from nagios which queues the message to the gsmsmsd. Flo -- Florian Lohoff f at zz.de -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 828 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From breandan at dezendorf.com Fri Jul 12 17:08:10 2013 From: breandan at dezendorf.com (Breandan Dezendorf) Date: Fri, 12 Jul 2013 11:08:10 -0400 Subject: How to customize Nagiso alerts In-Reply-To: References: Message-ID: On Thu, Jul 11, 2013 at 4:56 PM, Prabhu Arem wrote: > > I have a perl scrip for that generates warning and critical alerts based on the condition given in the script. > What I want is that " Nagis should send the warning alerts only if the condition exists for 1hr. No change is required for critical alert. Take a look at the $LASTHOSTSTATECHANGE$ and $LASTSERVICESTATECHANGE$ macros. You can probably get where you want to be using those and doing some epoch math. -- Breandan Dezendorf breandan at dezendorf.com http://gurucollege.net https://gurufoto.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From frnkblk at iname.com Sat Jul 13 16:15:02 2013 From: frnkblk at iname.com (Frank Bulk) Date: Sat, 13 Jul 2013 09:15:02 -0500 Subject: How to send text notification In-Reply-To: <51DE10EE.7080405@sliderule.demon.co.uk> References: <51DE10EE.7080405@sliderule.demon.co.uk> Message-ID: <001501ce7fd3$5de55260$19aff720$@iname.com> We happily use the MultiTech SF100-G and a script to interact with the API. Frank -----Original Message----- From: Steve Burton [mailto:steve at sliderule.demon.co.uk] Sent: Wednesday, July 10, 2013 8:57 PM To: Nagios Users List Subject: Re: [Nagios-users] How to send text notification On 11 July 2013 02:12:02, , Roy wrote: > Hi, > > Anyone can help me to setup SMS notification from Nagios > > Thanks > > > > > ---------------------------------------------------------------------------- -- > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > > > _______________________________________________ > 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 I think this is visible to all... http://c59951.r51.cf2.rackcdn.com/5435-212-josephsen.pdf Describes one method of integrating SMS into Nagios. ---------------------------------------------------------------------------- -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From lemagefrancis at gmail.com Sun Jul 14 21:22:38 2013 From: lemagefrancis at gmail.com (Francis AHADJI) Date: Sun, 14 Jul 2013 19:22:38 +0000 Subject: WARNING HTTP Message-ID: Salut cher utilisateur de nagios. Je suis d?butant dans nagios et apres un long boulot j'ai pu installer Nagios et cacti. Mais pour la supervision je rencontre l'erreur suivante avec mon apache. HTTP WARNING: HTTP/1.1 403 Forbidden - 5244 bytes in 0.003 second response time. Merci de votre aide ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From a31modela at hotmail.com Sun Jul 14 22:11:50 2013 From: a31modela at hotmail.com (steve f) Date: Sun, 14 Jul 2013 16:11:50 -0400 Subject: WARNING HTTP In-Reply-To: References: Message-ID: try this create index.html file under http root directory. #cd /var/www/html #touch index.html Restart web services. #service httpd restart Now restart you nagios services. #/etc/init.d/nagios restart HTTP OK HTTP/1.1 200 OK - 265 bytes in 0.004 seconds. > Date: Sun, 14 Jul 2013 19:22:38 +0000 > From: lemagefrancis at gmail.com > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] WARNING HTTP > > Salut cher utilisateur de nagios. > Je suis d?butant dans nagios et apres un long boulot j'ai pu installer > Nagios et cacti. Mais pour la supervision je rencontre l'erreur > suivante avec mon apache. > > HTTP WARNING: HTTP/1.1 403 Forbidden - 5244 bytes in 0.003 second response time. > > Merci de votre aide > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From rms at sibs.pt Mon Jul 15 17:04:28 2013 From: rms at sibs.pt (Rui Miguel Silva Seabra) Date: Mon, 15 Jul 2013 16:04:28 +0100 Subject: NDO: Partitioning nagios_servicechecks In-Reply-To: <1372321383.2637.145.camel@greymalkin> References: <1372321383.2637.145.camel@greymalkin> Message-ID: <1373900668.3365.91.camel@greymalkin> On Qui, 2013-06-27 at 09:23 +0100, Rui Miguel Silva Seabra wrote: > Hi, > > We'd like to keep nagios_servicecheks for 14 months of current time but, > of course, it can get quite big (37GB just for the table with about 6 > months of data). > > So I tried partitioning it: > > ALTER TABLE nagios_servicechecks PARTITION BY RANGE(TO_DAYS(end_time)) ( > partition p201301 VALUES LESS THAN (TO_DAYS('2013-02-01 00:00:00')), > partition p201302 VALUES LESS THAN (TO_DAYS('2013-03-01 00:00:00')), > partition p201303 VALUES LESS THAN (TO_DAYS('2013-04-01 00:00:00')), > partition p201304 VALUES LESS THAN (TO_DAYS('2013-05-01 00:00:00')), > partition p201305 VALUES LESS THAN (TO_DAYS('2013-06-01 00:00:00')), > partition p201306 VALUES LESS THAN (TO_DAYS('2013-07-01 00:00:00')), > partition p201307 VALUES LESS THAN (TO_DAYS('2013-08-01 00:00:00')), > partition p201308 VALUES LESS THAN (TO_DAYS('2013-09-01 00:00:00')), > partition p201309 VALUES LESS THAN (TO_DAYS('2013-10-01 00:00:00')), > partition p201310 VALUES LESS THAN (TO_DAYS('2013-11-01 00:00:00')), > partition p201311 VALUES LESS THAN (TO_DAYS('2013-12-01 00:00:00')), > partition p201312 VALUES LESS THAN (TO_DAYS('2014-01-01 00:00:00')), > partition p201xxx VALUES LESS THAN maxvalue); > > However, MySQL complains: > > ERROR 1503 (HY000): A PRIMARY KEY must include all columns in the table's partitioning function > > As a non expert in MySQL, this appears to me as making little sense since end_time is not a key! > > CREATE TABLE `nagios_servicechecks` ( > `servicecheck_id` int(11) NOT NULL AUTO_INCREMENT, > `instance_id` smallint(6) NOT NULL DEFAULT '0', > `service_object_id` int(11) NOT NULL DEFAULT '0', > `check_type` smallint(6) NOT NULL DEFAULT '0', > `current_check_attempt` smallint(6) NOT NULL DEFAULT '0', > `max_check_attempts` smallint(6) NOT NULL DEFAULT '0', > `state` smallint(6) NOT NULL DEFAULT '0', > `state_type` smallint(6) NOT NULL DEFAULT '0', > `start_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', > `start_time_usec` int(11) NOT NULL DEFAULT '0', > `end_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', > `end_time_usec` int(11) NOT NULL DEFAULT '0', > `command_object_id` int(11) NOT NULL DEFAULT '0', > `command_args` varchar(255) NOT NULL DEFAULT '', > `command_line` varchar(255) NOT NULL DEFAULT '', > `timeout` smallint(6) NOT NULL DEFAULT '0', > `early_timeout` smallint(6) NOT NULL DEFAULT '0', > `execution_time` double NOT NULL DEFAULT '0', > `latency` double NOT NULL DEFAULT '0', > `return_code` smallint(6) NOT NULL DEFAULT '0', > `output` varchar(255) NOT NULL DEFAULT '', > `long_output` text NOT NULL, > `perfdata` text NOT NULL, > PRIMARY KEY (`servicecheck_id`), > KEY `instance_id` (`instance_id`), > KEY `service_object_id` (`service_object_id`), > KEY `start_time` (`start_time`) > ) ENGINE=MyISAM AUTO_INCREMENT=245571748 DEFAULT CHARSET=latin1 COMMENT='Historical service checks' > > And there is no added index: > > mysql> SHOW INDEX FROM nagios_servicechecks; > +----------------------+------------+-------------------+--------------+-------------------+-----------+-------------+----------+--------+------+------------+---------+ > | Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | > +----------------------+------------+-------------------+--------------+-------------------+-----------+-------------+----------+--------+------+------------+---------+ > | nagios_servicechecks | 0 | PRIMARY | 1 | servicecheck_id | A | 245571747 | NULL | NULL | | BTREE | | > | nagios_servicechecks | 1 | instance_id | 1 | instance_id | A | NULL | NULL | NULL | | BTREE | | > | nagios_servicechecks | 1 | service_object_id | 1 | service_object_id | A | NULL | NULL | NULL | | BTREE | | > | nagios_servicechecks | 1 | start_time | 1 | start_time | A | NULL | NULL | NULL | | BTREE | | > +----------------------+------------+-------------------+--------------+-------------------+-----------+-------------+----------+--------+------+------------+---------+ > 4 rows in set (0.01 sec) > > Has anyone tried this successfully and would like to share some hints? > > Best regards, > Rui > For the record, the only way I found out how to make this work, was to make servicecheck_id not unique, but still a key. Due to the number of servicechecks one might have, I have my doubts whether that could be a problem, can anyone tell me he knows for sure it is a problem? Rui -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From mysqlstudent at gmail.com Mon Jul 15 22:08:29 2013 From: mysqlstudent at gmail.com (Alex) Date: Mon, 15 Jul 2013 16:08:29 -0400 Subject: Plugin for dmesg/kernel messages Message-ID: Hi, I've located a few plugins that I could modify, but does someone know of a plugin that can be used to monitor dmesg for general kernel issues? I noticed a ext4 filesystem issue on one of the servers, and realized I should be monitoring for kernel crashes, oops, or other failures. I realize there's already plugins for monitoring disk activity -- I'm looking for something specifically to monitor kernel messages. Thanks for any ideas. Alex ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From william at leibzon.org Mon Jul 15 22:22:38 2013 From: william at leibzon.org (William Leibzon) Date: Mon, 15 Jul 2013 13:22:38 -0700 Subject: Plugin for dmesg/kernel messages In-Reply-To: References: Message-ID: Just use one of the log checking plugins. Nagios is not super great for issues that are reported one-time, like log messages or SNMP traps. We really need to discuss how to better handle this in general better. Many of course just use other type of monitoring utilities like splunk for that in addition to nagios so perhaps good splunk->nagios integration? but I've not seen that either (maybe just dont know) On Mon, Jul 15, 2013 at 1:08 PM, Alex wrote: > Hi, > > I've located a few plugins that I could modify, but does someone know > of a plugin that can be used to monitor dmesg for general kernel > issues? > > I noticed a ext4 filesystem issue on one of the servers, and realized > I should be monitoring for kernel crashes, oops, or other failures. > > I realize there's already plugins for monitoring disk activity -- I'm > looking for something specifically to monitor kernel messages. > > Thanks for any ideas. > Alex > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > 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 ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From dwittenberg2008 at gmail.com Mon Jul 15 22:25:57 2013 From: dwittenberg2008 at gmail.com (Daniel Wittenberg) Date: Mon, 15 Jul 2013 15:25:57 -0500 Subject: Plugin for dmesg/kernel messages In-Reply-To: References: Message-ID: Those messages didn't show up in /var/log/messages ? That's normally where I catch that stuff with a log monitor. Dan On Jul 15, 2013, at 3:08 PM, Alex wrote: > Hi, > > I've located a few plugins that I could modify, but does someone know > of a plugin that can be used to monitor dmesg for general kernel > issues? > > I noticed a ext4 filesystem issue on one of the servers, and realized > I should be monitoring for kernel crashes, oops, or other failures. > > I realize there's already plugins for monitoring disk activity -- I'm > looking for something specifically to monitor kernel messages. > > Thanks for any ideas. > Alex > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > 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 ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From mysqlstudent at gmail.com Tue Jul 16 06:13:48 2013 From: mysqlstudent at gmail.com (Alex) Date: Tue, 16 Jul 2013 00:13:48 -0400 Subject: Plugin for dmesg/kernel messages In-Reply-To: References: Message-ID: > Those messages didn't show up in /var/log/messages ? That's normally where I catch that stuff with a log monitor. No, they didn't show up in syslog, but perhaps they should have. What application are you using to monitor syslog log messages such as these? Thanks, Alex ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From dwittenberg2008 at gmail.com Tue Jul 16 16:34:43 2013 From: dwittenberg2008 at gmail.com (Daniel Wittenberg) Date: Tue, 16 Jul 2013 09:34:43 -0500 Subject: Plugin for dmesg/kernel messages In-Reply-To: References: Message-ID: <837EC32A-A37C-43E8-A0E2-9977DFC1B1D3@gmail.com> Personally I always use check_logfiles http://labs.consol.de/lang/en/nagios/check_logfiles/ Dan On Jul 15, 2013, at 11:13 PM, Alex wrote: >> Those messages didn't show up in /var/log/messages ? That's normally where I catch that stuff with a log monitor. > > No, they didn't show up in syslog, but perhaps they should have. > > What application are you using to monitor syslog log messages such as these? > > Thanks, > Alex > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From throck at gmail.com Tue Jul 16 17:50:58 2013 From: throck at gmail.com (Tom Throckmorton) Date: Tue, 16 Jul 2013 11:50:58 -0400 Subject: Plugin for dmesg/kernel messages In-Reply-To: References: Message-ID: On Tue, Jul 16, 2013 at 12:13 AM, Alex wrote: > > Those messages didn't show up in /var/log/messages ? That's normally > where I catch that stuff with a log monitor. > > No, they didn't show up in syslog, but perhaps they should have. > > What application are you using to monitor syslog log messages such as > these? > SEC[1] works really well. You set it up as an in-line destination on your central loghost, with actions that send events back to nagios via NSCA. -tt [1] http://simple-evcorr.sourceforge.net/ > > Thanks, > Alex > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From work at paul.dubuc.org Tue Jul 16 21:49:21 2013 From: work at paul.dubuc.org (Paul Dubuc) Date: Tue, 16 Jul 2013 15:49:21 -0400 Subject: service group concurrency limit? Message-ID: <51E5A3C1.5050103@paul.dubuc.org> I'm wondering if there is any way to limit the number of services that can be checked at one time based on service group. I have some service checks that use a limited pool of resources (smaller than the number of services to check) and many others that have no such limitation. So I need to set max_concurrent_checks in nagios.cfg to limit the number of concurrent checks. Unfortunately, this is a global limit. It would be nice if this sort of limit could be applied to a service group so the plugins don't have to manage concurrency. Any ideas? Thanks, Paul Dubuc ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From palli at ok.is Tue Jul 16 22:05:48 2013 From: palli at ok.is (=?utf-8?Q?P=C3=A1ll_Gu=C3=B0j=C3=B3n_Sigur=C3=B0sson?=) Date: Tue, 16 Jul 2013 20:05:48 -0000 (GMT) Subject: service group concurrency limit? In-Reply-To: <51E5A3C1.5050103@paul.dubuc.org> References: <51E5A3C1.5050103@paul.dubuc.org> Message-ID: We accomplish this at our end with the mod_gearman addon. What we do is the following: * Set all the services that need limiting together in one servicegroup * Get mod_gearman up and running and have at least one mod_gearman_worker node (it may run on the nagios server or on another machine) * Set max-workers on that mod_gearman_worker to the number of checks that may be run simultaneously * mod_gearman will execute the checks instead of the nagios server, and number of checks will be limited The only other way i know how would be to implement a locking (semaphore) somehow in the plugins themselves. cheers, Palli ----- Original Message ----- From: "Paul Dubuc" To: "Nagios Users List" , "Nagios Developers List" Sent: Tuesday, July 16, 2013 7:49:21 PM Subject: [Nagios-users] service group concurrency limit? I'm wondering if there is any way to limit the number of services that can be checked at one time based on service group. I have some service checks that use a limited pool of resources (smaller than the number of services to check) and many others that have no such limitation. So I need to set max_concurrent_checks in nagios.cfg to limit the number of concurrent checks. Unfortunately, this is a global limit. It would be nice if this sort of limit could be applied to a service group so the plugins don't have to manage concurrency. Any ideas? Thanks, Paul Dubuc ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From mysqlstudent at gmail.com Wed Jul 17 04:32:39 2013 From: mysqlstudent at gmail.com (Alex) Date: Tue, 16 Jul 2013 22:32:39 -0400 Subject: Plugin for dmesg/kernel messages In-Reply-To: References: Message-ID: Guys, >> > Those messages didn't show up in /var/log/messages ? That's normally >> > where I catch that stuff with a log monitor. >> >> No, they didn't show up in syslog, but perhaps they should have. >> >> What application are you using to monitor syslog log messages such as > > SEC[1] works really well. You set it up as an in-line destination on your > central loghost, with actions that send events back to nagios via NSCA. > > -tt > > [1] http://simple-evcorr.sourceforge.net/ Guys, thanks for the tips. These both look good. I'll investigate both of them. Thanks, alex ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From sandeepvreddy at outlook.com Wed Jul 17 10:58:25 2013 From: sandeepvreddy at outlook.com (Sandeep L) Date: Wed, 17 Jul 2013 14:28:25 +0530 Subject: Use different mail ids for each service Message-ID: Hi, I have multiple hosts and in each host there are multiple service. Here each service monitored by an individual person. Can some one suggest me how to configure nagios to send alert mail to concerned. Example: admin1 should get only alerts related service1 only.admin2 should get only alerts related service2 only.admin3 should get only alerts related service3 only.......adminn should get only alerts related servicen only. Thanks,Sandeep. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From sunil at sunil.cc Wed Jul 17 13:01:42 2013 From: sunil at sunil.cc (Sunil Sankar) Date: Wed, 17 Jul 2013 16:31:42 +0530 Subject: Use different mail ids for each service In-Reply-To: References: Message-ID: thats easy create seperate contacts for each user and add them to related service On Wed, Jul 17, 2013 at 2:28 PM, Sandeep L wrote: > Hi, > > I have multiple hosts and in each host there are multiple service. > > Here each service monitored by an individual person. > > Can some one suggest me how to configure nagios to send alert mail to > concerned. > > Example: > > admin1 should get only alerts related service1 only. > admin2 should get only alerts related service2 only. > admin3 should get only alerts related service3 only. > . > . > . > . > . > . > adminn should get only alerts related servicen only. > > Thanks, > Sandeep. > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > 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 > -- Regards Sunil Sankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From carlos at dsag.jazztel.es Wed Jul 17 13:11:52 2013 From: carlos at dsag.jazztel.es (Carlos de Santa-Ana Garcia) Date: Wed, 17 Jul 2013 13:11:52 +0200 Subject: Use different mail ids for each service In-Reply-To: References: Message-ID: <51E67BF8.2080609@dsag.jazztel.es> Hi. admin1 must be contact only in service1 admin2 must be contact only in service2 admin3 must be contact only in service3 Greets. El 17/07/2013 10:58, Sandeep L escribi?: > Hi, > > I have multiple hosts and in each host there are multiple service. > > Here each service monitored by an individual person. > > Can some one suggest me how to configure nagios to send alert mail to > concerned. > > Example: > > admin1 should get only alerts related service1 only. > admin2 should get only alerts related service2only. > admin3 should get only alerts related service3only. > . > . > . > . > . > . > adminn should get only alerts related servicen only. > > Thanks, > Sandeep. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From sandeepvreddy at outlook.com Wed Jul 17 13:54:18 2013 From: sandeepvreddy at outlook.com (Sandeep L) Date: Wed, 17 Jul 2013 17:24:18 +0530 Subject: Use different mail ids for each service In-Reply-To: <51E67BF8.2080609@dsag.jazztel.es> References: , <51E67BF8.2080609@dsag.jazztel.es> Message-ID: Is it possible to specify contact group in define service block? Thanks,Sandeep. Date: Wed, 17 Jul 2013 13:11:52 +0200 From: carlos at dsag.jazztel.es To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Use different mail ids for each service Hi. admin1 must be contact only in service1 admin2 must be contact only in service2 admin3 must be contact only in service3 Greets. El 17/07/2013 10:58, Sandeep L escribi?: Hi, I have multiple hosts and in each host there are multiple service. Here each service monitored by an individual person. Can some one suggest me how to configure nagios to send alert mail to concerned. Example: admin1 should get only alerts related service1 only. admin2 should get only alerts related service2 only. admin3 should get only alerts related service3 only. . . . . . . adminn should get only alerts related servicen only. Thanks, Sandeep. ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From sunil at sunil.cc Wed Jul 17 15:03:44 2013 From: sunil at sunil.cc (Sunil Sankar) Date: Wed, 17 Jul 2013 18:33:44 +0530 Subject: Use different mail ids for each service In-Reply-To: References: <51E67BF8.2080609@dsag.jazztel.es> Message-ID: yes give is as contact_group under each service On Wed, Jul 17, 2013 at 5:24 PM, Sandeep L wrote: > Is it possible to specify contact group in define service block? > > > Thanks, > Sandeep. > > > ------------------------------ > Date: Wed, 17 Jul 2013 13:11:52 +0200 > From: carlos at dsag.jazztel.es > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Use different mail ids for each service > > Hi. > > > admin1 must be contact only in service1 > admin2 must be contact only in service2 > admin3 must be contact only in service3 > > > Greets. > > > El 17/07/2013 10:58, Sandeep L escribi?: > > Hi, > > I have multiple hosts and in each host there are multiple service. > > Here each service monitored by an individual person. > > Can some one suggest me how to configure nagios to send alert mail to > concerned. > > Example: > > admin1 should get only alerts related service1 only. > admin2 should get only alerts related service2 only. > admin3 should get only alerts related service3 only. > . > . > . > . > . > . > adminn should get only alerts related servicen only. > > Thanks, > Sandeep. > > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics Get > end-to-end visibility with application monitoring from AppDynamics Isolate > bottlenecks and diagnose root cause in seconds. Start your free trial of > AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ 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 > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > 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 > -- Regards Sunil Sankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From a31modela at hotmail.com Wed Jul 17 15:43:15 2013 From: a31modela at hotmail.com (steve f) Date: Wed, 17 Jul 2013 09:43:15 -0400 Subject: Use different mail ids for each service In-Reply-To: References: Message-ID: You could create a separate contact for each admin and then add a line in each service definition for a contact / contact_group: contacts contact name contact_groups contact group name Steve : sandeepvreddy at outlook.com To: nagios-users at lists.sourceforge.net Date: Wed, 17 Jul 2013 14:28:25 +0530 Subject: [Nagios-users] Use different mail ids for each service Hi, I have multiple hosts and in each host there are multiple service. Here each service monitored by an individual person. Can some one suggest me how to configure nagios to send alert mail to concerned. Example: admin1 should get only alerts related service1 only.admin2 should get only alerts related service2 only.admin3 should get only alerts related service3 only.......adminn should get only alerts related servicen only. Thanks,Sandeep. ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From mariog at absi.be Wed Jul 17 18:10:17 2013 From: mariog at absi.be (Mario Garcia) Date: Wed, 17 Jul 2013 18:10:17 +0200 Subject: check_by_ssh from nagios user Message-ID: Hello i want to monitor a bluecoat reporter with check_by_ssh as nrpe or snmp are not available. when i loggin from nagios user using simple ssh I can login when i execute check_by_ssh from root user and execute a command it does work when i execute check_by_ssh from the nagios user on the nagios server it does not work.. the public key is not taken into account as it request the password despite the fact that i add -i option to check_by_ssh.. do you have an idea what could this be? is it the bluecoat reporter which is refusing check_by_ssh, why does not refuse when i just use ssh .. note I am conneciting from nagios user on nagios server to root user on bluecoat reporter..maybe i should try to login to nagios user on the remote system? i am out of ideas thanks -- *-- Mario Garcia* ABSI SA 224 Bd de l'Humanit? 1190 Brussels Belgium www.absi.be Tel 00 322 333 40 00 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From sunil at sunil.cc Wed Jul 17 18:49:28 2013 From: sunil at sunil.cc (Sunil Sankar) Date: Wed, 17 Jul 2013 22:19:28 +0530 Subject: check_by_ssh from nagios user In-Reply-To: References: Message-ID: Can you do an ssh from nagios server as nagios user to the blue host server without password with -i option ssh -i .ssh/ On Wed, Jul 17, 2013 at 9:40 PM, Mario Garcia wrote: > Hello > i want to monitor a bluecoat reporter with check_by_ssh as nrpe or snmp > are not available. > > when i loggin from nagios user using simple ssh I can login > when i execute check_by_ssh from root user and execute a command it does > work > > when i execute check_by_ssh from the nagios user on the nagios server it > does not work.. the public key is not taken into account as it request the > password despite the fact that i add -i option to check_by_ssh.. > > do you have an idea what could this be? is it the bluecoat reporter which > is refusing check_by_ssh, why does not refuse when i just use ssh .. > > note I am conneciting from nagios user on nagios server to root user on > bluecoat reporter..maybe i should try to login to nagios user on the remote > system? > > i am out of ideas > > thanks > > -- > *-- > Mario Garcia* > ABSI SA > 224 Bd de l'Humanit? > 1190 Brussels Belgium > www.absi.be > Tel 00 322 333 40 00 > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > 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 > -- Regards Sunil Sankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From dm572j at att.com Wed Jul 17 18:49:08 2013 From: dm572j at att.com (MAHONEY, DANIEL) Date: Wed, 17 Jul 2013 16:49:08 +0000 Subject: check_by_ssh from nagios user In-Reply-To: References: Message-ID: If the bluecoat is configured to allow root login, then make sure that the nagios machine's nagios user's public key is in the bluecoat machine's root user's authorized_keys file. Otherwise just log in as the nagios user. For security reasons it's most likely a better idea to work as a noon-root user anyway. From: Mario Garcia [mailto:mariog at absi.be] Sent: Wednesday, July 17, 2013 11:10 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_by_ssh from nagios user Hello i want to monitor a bluecoat reporter with check_by_ssh as nrpe or snmp are not available. when i loggin from nagios user using simple ssh I can login when i execute check_by_ssh from root user and execute a command it does work when i execute check_by_ssh from the nagios user on the nagios server it does not work.. the public key is not taken into account as it request the password despite the fact that i add -i option to check_by_ssh.. do you have an idea what could this be? is it the bluecoat reporter which is refusing check_by_ssh, why does not refuse when i just use ssh .. note I am conneciting from nagios user on nagios server to root user on bluecoat reporter..maybe i should try to login to nagios user on the remote system? i am out of ideas thanks -- -- Mario Garcia ABSI SA 224 Bd de l'Humanit? 1190 Brussels Belgium www.absi.be Tel 00 322 333 40 00 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From mariog at absi.be Thu Jul 18 16:53:23 2013 From: mariog at absi.be (Mario Garcia) Date: Thu, 18 Jul 2013 16:53:23 +0200 Subject: check_by_ssh from nagios user In-Reply-To: References: Message-ID: Hello the problem does not occur when logging with simple nagios user it only occurs when trying with check_by_ssh. edit: I managed to get it to work.. but i do not really know which solution worked.. i edited sshd_onfig and disabled PAM on the bluecoat I created a nagios users, gave it a home dir and assigned it a password... restarted the ssh daemon, logged off and logged back in.. does check_by_ssh triggers some PAM authentication requirements? thank you for your support. On 17 July 2013 18:49, MAHONEY, DANIEL wrote: > If the bluecoat is configured to allow root login, then make sure that > the nagios machine?s nagios user?s public key is in the bluecoat machine?s > root user?s authorized_keys file. Otherwise just log in as the nagios user. > For security reasons it?s most likely a better idea to work as a noon-root > user anyway.**** > > ** ** > > *From:* Mario Garcia [mailto:mariog at absi.be] > *Sent:* Wednesday, July 17, 2013 11:10 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] check_by_ssh from nagios user**** > > ** ** > > Hello **** > > i want to monitor a bluecoat reporter with check_by_ssh as nrpe or snmp > are not available. **** > > ** ** > > when i loggin from nagios user using simple ssh I can login **** > > when i execute check_by_ssh from root user and execute a command it does > work **** > > ** ** > > when i execute check_by_ssh from the nagios user on the nagios server it > does not work.. the public key is not taken into account as it request the > password despite the fact that i add -i option to check_by_ssh.. **** > > ** ** > > do you have an idea what could this be? is it the bluecoat reporter which > is refusing check_by_ssh, why does not refuse when i just use ssh ..**** > > ** ** > > note I am conneciting from nagios user on nagios server to root user on > bluecoat reporter..maybe i should try to login to nagios user on the remote > system? **** > > ** ** > > i am out of ideas**** > > ** ** > > thanks > **** > > ** ** > > -- **** > > *-- > Mario Garcia***** > > ABSI SA**** > > 224 Bd de l'Humanit?**** > > 1190 Brussels Belgium**** > > www.absi.be**** > > Tel 00 322 333 40 00**** > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > 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 > -- *-- Mario Garcia* ABSI SA 224 Bd de l'Humanit? 1190 Brussels Belgium www.absi.be Tel 00 322 333 40 00 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From luisforchesatto at gmail.com Fri Jul 19 18:46:41 2013 From: luisforchesatto at gmail.com (Luis H. Forchesatto) Date: Fri, 19 Jul 2013 13:46:41 -0300 Subject: Monitor radius status. Message-ID: Greetings. I've tried to use check_radius to monitor radius server but it requires a configuration file to be passed via parameter -f. Which configuration file it refers to? It says "The format of the configuration file is described in the radiusclient library sources." but I don't know where to check. -- Att.* *** Luis H. Forchesatto http://br.linkedin.com/pub/luis-henrique-forchesatto/73/684/a67 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From holger at cis.fu-berlin.de Fri Jul 19 20:03:38 2013 From: holger at cis.fu-berlin.de (Holger =?iso-8859-1?Q?Wei=DF?=) Date: Fri, 19 Jul 2013 20:03:38 +0200 Subject: Monitor radius status. In-Reply-To: References: Message-ID: <20130719180338.GA826073@zedat.fu-berlin.de> * Luis H. Forchesatto [2013-07-19 13:46]: > I've tried to use check_radius to monitor radius server but it requires a > configuration file to be passed via parameter -f. Which configuration file > it refers to? > > It says "The format of the configuration file is described in the > radiusclient library sources." but I don't know where to check. Here's an example of that file: ftp://ftp.in-berlin.de/pub/users/weiss/nagios/radius/radiusclient.conf It refers to a "servers" file, which looks like this: ftp://ftp.in-berlin.de/pub/users/weiss/nagios/radius/servers Holger ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From jacol at saix.net Fri Jul 19 20:09:20 2013 From: jacol at saix.net (Jaco Lesch) Date: Fri, 19 Jul 2013 20:09:20 +0200 Subject: Monitor radius status. In-Reply-To: References: Message-ID: <51E980D0.8000206@saix.net> Luis I presume you are using radiusclient-ng, if so the config file will be /etc/radiusclient-ng/radiusclient.conf. Which will again point somewhere in there to your /etc/radiusclient-ng/servers file, where the server name with key pair is configured If you want to test this from the command line you cam do something like this: ./libexec/check_radius -H 10.3.5.2 -F ./etc/radiusclient-ng/radiusclient.conf -u "user at realm" -p "password" -P 1812 -N 10.5.6.7 -H - the radius server -N - NAS IP address Hope this help. Jaco Lesch SAIX HLS On 19/07/2013 18:46, Luis H. Forchesatto wrote: > Greetings. > > I've tried to use check_radius to monitor radius server but it > requires a configuration file to be passed via parameter -f. Which > configuration file it refers to? > > It says "The format of the configuration file is described in the > radiusclient library sources." but I don't know where to check. > > -- > Att.* > * > Luis H. Forchesatto > http://br.linkedin.com/pub/luis-henrique-forchesatto/73/684/a67 > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > > > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From paxindustria at gmail.com Fri Jul 19 20:29:09 2013 From: paxindustria at gmail.com (Alaric) Date: Fri, 19 Jul 2013 14:29:09 -0400 Subject: Number of hosts affected macro? Message-ID: Hi, I haven't had much luck finding this answer out of google, so I thought I'd just throw it out to the list. Is there way to get the names and number of hosts affected in an outage and stuff that into a macro for use in alerts? I'm thinking something like "# Hosts Affected" in the outage.cgi Thanks -a ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From luisforchesatto at gmail.com Fri Jul 19 21:10:21 2013 From: luisforchesatto at gmail.com (Luis H. Forchesatto) Date: Fri, 19 Jul 2013 16:10:21 -0300 Subject: Monitor radius status. In-Reply-To: <51E980D0.8000206@saix.net> References: <51E980D0.8000206@saix.net> Message-ID: Holger, thanks for your reply, I'll analyse the config file you poste. Jaco, I'm using FreeRADIUS on a Debian machine. The machine who will monitor the server runs nagios and I will check the radius server via nagios plugin (check_radius). 2013/7/19 Jaco Lesch > Luis > > I presume you are using radiusclient-ng, if so the config file will be > /etc/radiusclient-ng/radiusclient.conf. Which will again point somewhere in > there to your /etc/radiusclient-ng/servers file, where the server name with > key pair is configured > > If you want to test this from the command line you cam do something like > this: > ./libexec/check_radius -H 10.3.5.2 -F > ./etc/radiusclient-ng/radiusclient.conf -u "user at realm" -p "password" -P > 1812 -N 10.5.6.7 > -H - the radius server > -N - NAS IP address > > > Hope this help. > > Jaco Lesch > SAIX HLS > > > On 19/07/2013 18:46, Luis H. Forchesatto wrote: > > Greetings. > > I've tried to use check_radius to monitor radius server but it requires > a configuration file to be passed via parameter -f. Which configuration > file it refers to? > > It says "The format of the configuration file is described in the > radiusclient library sources." but I don't know where to check. > > -- > Att.* > * > Luis H. Forchesatto > http://br.linkedin.com/pub/luis-henrique-forchesatto/73/684/a67 > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today!http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://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 > > > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > 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 > -- Att.* *** Luis H. Forchesatto http://br.linkedin.com/pub/luis-henrique-forchesatto/73/684/a67 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From Sean.Roe at cnanational.com Tue Jul 23 02:09:32 2013 From: Sean.Roe at cnanational.com (Sean Roe) Date: Tue, 23 Jul 2013 00:09:32 +0000 Subject: new user and a nrpe question Message-ID: Hi All, new subscriber to this list and I'm stuck. I have been working with nrpe for the better part of three weeks and I just cant seem to make it work. I have installed it and I can go to the web interface that comes with it. I created a dummy check to test with on what of our servers. I can send stuff to the interface and I see it logged but I cant seem to get it to make it into nagios itself. on the server: ./send_nrdp.sh -u http://10.69.1.28/nrdp/ -t XXXXXX -H MLX70 -S 0 Sent 1 checks to http://10.69.1.28/nrdp/ I can see it getting into the apache server: 10.69.11.70 - - [22/Jul/2013:17:04:27 -0700] "POST /nrdp// HTTP/1.1" 200 170 "-" "curl/7.19.7 (x86_64-unknown-linux-gnu) libcurl/7.19.7 NSS/3.13.1.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2" and after that it just dissappears. and Im not sure what to check or where to go. Any troubleshooting ideas? Thanks, Sean ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From Sean.Roe at cnanational.com Tue Jul 23 02:57:31 2013 From: Sean.Roe at cnanational.com (Sean Roe) Date: Tue, 23 Jul 2013 00:57:31 +0000 Subject: new user and a nrpe question (really nrdp) Message-ID: Erggghhhh, I meant to say nrdp Sean Roe Linux Engineer ________________________________________ From: Sean Roe [Sean.Roe at cnanational.com] Sent: Monday, July 22, 2013 5:36 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] new user and a nrpe question Hi All, new subscriber to this list and I'm stuck. I have been working with nrpe for the better part of three weeks and I just cant seem to make it work. I have installed it and I can go to the web interface that comes with it. I created a dummy check to test with on what of our servers. I can send stuff to the interface and I see it logged but I cant seem to get it to make it into nagios itself. on the server: ./send_nrdp.sh -u http://10.69.1.28/nrdp/ -t XXXXXX -H MLX70 -S 0 Sent 1 checks to http://10.69.1.28/nrdp/ I can see it getting into the apache server: 10.69.11.70 - - [22/Jul/2013:17:04:27 -0700] "POST /nrdp// HTTP/1.1" 200 170 "-" "curl/7.19.7 (x86_64-unknown-linux-gnu) libcurl/7.19.7 NSS/3.13.1.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2" and after that it just dissappears. and Im not sure what to check or where to go. Any troubleshooting ideas? Thanks, Sean ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From t.h.amundsen at usit.uio.no Tue Jul 23 20:21:13 2013 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 23 Jul 2013 20:21:13 +0200 Subject: check_openmanage improvement request In-Reply-To: <8EDBE3F4D9261F4A90677FB13B9CCEBC04400C31@ws2.hq.nextcentury.com> (John Skarbek's message of "Fri, 12 Jul 2013 11:03:44 -0400") References: <8EDBE3F4D9261F4A90677FB13B9CCEBC04400C31@ws2.hq.nextcentury.com> Message-ID: <15tzjtdcf3a.fsf@tux.uio.no> "John Skarbek" writes: > I?ve recently deployed the check_openmanage script and it works very well. > Except for hosts that run esxi. Unless I?m doing something wrong. You're not doing anything wrong. Openmanage, when deployed on ESXi, doesn't have the necessary capabilities for it to work. > I?ve discovered that Open Manage doesn?t broadcast it?s OID?s through ESXi like > it would if it were a linux or windows host. However I did find that the > iDRAC7 does have similar snmp responses that I?d like to capture. However when > pointing check_openmanage to the drac interface, I get the message indicating > that OMSA must not be installed correctly. However, looking into the script I > found: > > my $chassisModelName = '1.3.6.1.4.1.674.10892.1.300.10.1.9.1'; > > Which does indeed NOT exist. However, a similar OID with the same information > we are looking for is located here: > > $chassisModelName = '1.3.6.1.4.1.674.10892.5.1.3.12.0'; Actually, the OID is 1.3.6.1.4.1.674.10892.5.4.300.10.1.9.1. I've toyed around with this a bit, and for the most part you can simply replace "1.3.6.1.4.1.674.10892.1" with "1.3.6.1.4.1.674.10892.5.4". Same goes for storage OIDs, to a degree. > After modifying the script a little bit I was able to get past that, but now > check_openamange is complaining, ?SNMP ERROR [memory]: The requested entries > are empty or do not exist. ? > > I presume the entire set of OID?s is in a different spot when being checked > through the drac versus the standard windows snmp service. I would love to > assist in enhancing this script, but I?m not sure how I should start. Let me > know who I should contact, or feel free to reach out to me to assist with this > awesome plugin. I have a modified prealpha version for testing, available in the test branch in git: http://git.uio.no/git/?p=check_openmanage.git;a=shortlog;h=refs/heads/test Note that it's NOT production ready, I have only done some very limited testing. I had to simplify some stuff: * Storage: The storage OIDs from the iDRAC7 are somewhat different, compared to Openmanage. Some information that the plugin needs is not available, such as numbered identifiers for components (used in blacklisting). There are even some OIDs that aren't present in Openmanage. In short, it's a mess, and the storage bit is very simplistic. Perhaps the missing info will be added in a later firmware release, we can only hope. * ESM health OIDs are missing completely, so ESM health check is omitted. Same for SD card check. To use the new feature you have to specify '--idrac', like this: check_openmanage --idrac -H Test it, break it and tell me what you think :) I've noticed that neither the rollup-status or component-status for controllers catches that the controller is actually degraded from out-of-date firmware. Hopefully it's an anomaly that doesn't apply to other aspects of controllers, or other components. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From niall at makalumedia.com Tue Jul 23 20:42:37 2013 From: niall at makalumedia.com (Niall O Broin) Date: Tue, 23 Jul 2013 19:42:37 +0100 Subject: Checking for a string with spaces with check_http in 3.5 / 4.0 Message-ID: <461E2736-F06D-4E0B-ACFA-3DECBF823070@makalumedia.com> I am currently running 3.2.1 (version packaged with Debian squeeze) quite happily but I want to migrate to a new server so I decided I'd move to 4.0 as well. I compiled 4.0.0-beta1 and after a bit of a slog finally have it mostly working. I'm currently trying to get check_http to check for strings with embedded spaces e.g. check that a page includes the string My Wonderful Web Site but for the life of me I can NOT get it to work. On 3.2.1 I have this command definition define command{ command_name check_http_string command_line /usr/lib/nagios/plugins/check_http -H $ARG1$ -w $ARG2$ -c $ARG3$ -s "$ARG4$" } and service definitions which include check_command lines like this: check_command check_http_string!my.wonderfulwebsite.com!60!90!"\"My Wonderful Web Site\"" and that works as expected, but the exact same thing does not work in 4.0.0 I have tried single quotes, and double quotes, in both the command definitions and the service definitions. Seeing the error messages in the services seemed to indicate that the quotes were getting included in the string, hence not matching, I changed to escaping the spaces in the service definitions and this worked, somewhat. I'm testing 4 services with check_http_string of which 3 are identical frontends to the same website and yet of those 4 services, all but one fails, and the one is one of the three identical servers. As this struck me as more than a little bizarre, I decided to give the latest stable Nagios, 3.5.0, a try. With that I was able to use the same config files as with 4.0.0 and now, all 4 services pass. Apart from "what do you expect from beta software" can anybody make any suggestions? Kindest regards, Niall O Broin ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From alexus at gmail.com Wed Jul 24 15:56:56 2013 From: alexus at gmail.com (alexus) Date: Wed, 24 Jul 2013 09:56:56 -0400 Subject: rpmbuild nagios-3.5.0 Message-ID: # md5sum nagios-3.5.0.tar.gz aeef195d2033cc362bf6cb972bcc8f07 nagios-3.5.0.tar.gz # rpmbuild -tb nagios-3.5.0.tar.gz warning: line 40: prereq is deprecated: PreReq: /usr/bin/logger, chkconfig, sh-utils, shadow-utils, sed, initscripts, fileutils, mktemp Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VOVWNc + umask 022 + cd /root/rpmbuild/BUILD + LANG=C + export LANG + unset DISPLAY + cd /root/rpmbuild/BUILD + rm -rf nagios-3.5.0 + /usr/bin/gzip -dc /root/nagios-3.5.0.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd nagios-3.5.0 /var/tmp/rpm-tmp.VOVWNc: line 38: cd: nagios-3.5.0: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.VOVWNc (%prep) RPM build errors: line 40: prereq is deprecated: PreReq: /usr/bin/logger, chkconfig, sh-utils, shadow-utils, sed, initscripts, fileutils, mktemp Bad exit status from /var/tmp/rpm-tmp.VOVWNc (%prep) # cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.4 (Santiago) # uname -a Linux XXX.XXX.XXX 2.6.32-358.6.2.el6.x86_64 #1 SMP Tue May 14 15:48:21 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux # I'm unable to build RPM w/ nagios 3.5.0, last one that worked for me was 3.2.3. any ideas/suggestions? -- http://alexus.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From werner.flamme at ufz.de Wed Jul 24 16:19:21 2013 From: werner.flamme at ufz.de (Werner Flamme) Date: Wed, 24 Jul 2013 16:19:21 +0200 Subject: rpmbuild nagios-3.5.0 In-Reply-To: References: Message-ID: <51EFE269.1060509@ufz.de> alexus [24.07.2013 15:56]: > # md5sum nagios-3.5.0.tar.gz > aeef195d2033cc362bf6cb972bcc8f07 nagios-3.5.0.tar.gz > # rpmbuild -tb nagios-3.5.0.tar.gz > warning: line 40: prereq is deprecated: PreReq: /usr/bin/logger, chkconfig, > sh-utils, shadow-utils, sed, initscripts, fileutils, mktemp > Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VOVWNc > + umask 022 > + cd /root/rpmbuild/BUILD > + LANG=C > + export LANG > + unset DISPLAY > + cd /root/rpmbuild/BUILD > + rm -rf nagios-3.5.0 > + /usr/bin/gzip -dc /root/nagios-3.5.0.tar.gz > + /bin/tar -xf - > + STATUS=0 > + '[' 0 -ne 0 ']' > + cd nagios-3.5.0 > /var/tmp/rpm-tmp.VOVWNc: line 38: cd: nagios-3.5.0: No such file or > directory > error: Bad exit status from /var/tmp/rpm-tmp.VOVWNc (%prep) > > > RPM build errors: > line 40: prereq is deprecated: PreReq: /usr/bin/logger, chkconfig, > sh-utils, shadow-utils, sed, initscripts, fileutils, mktemp > Bad exit status from /var/tmp/rpm-tmp.VOVWNc (%prep) > # cat /etc/redhat-release > Red Hat Enterprise Linux Server release 6.4 (Santiago) > # uname -a > Linux XXX.XXX.XXX 2.6.32-358.6.2.el6.x86_64 #1 SMP Tue May 14 15:48:21 EDT > 2013 x86_64 x86_64 x86_64 GNU/Linux > # > > I'm unable to build RPM w/ nagios 3.5.0, last one that worked for me was > 3.2.3. > any ideas/suggestions? The first error I see is "cd: nagios-3.5.0: No such file or directory" Is there a directory named "nagios-3.5.0" in the tar ball or is it named only "nagios"? What does you spec file say? Maybe you have to adapt the BuildRoot? Like, from "%{_tmppath}/%{name}-%{version}" to "%{_tmppath}/%{name}"? Just a guess, Werner -- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From alexus at gmail.com Wed Jul 24 16:38:23 2013 From: alexus at gmail.com (alexus) Date: Wed, 24 Jul 2013 10:38:23 -0400 Subject: rpmbuild nagios-3.5.0 In-Reply-To: <51EFE269.1060509@ufz.de> References: <51EFE269.1060509@ufz.de> Message-ID: [root at uftwfnagios ~]# tar -ztvf nagios-3.5.0.tar.gz | head -1 drwxrwxr-x nagios/nagios 0 2013-03-15 07:18 nagios/ [root at uftwfnagios ~]# I see nagios inside of nagios-3.5.0.tar.gz not nagios-3.5.0. [root at uftwfnagios nagios]# grep BuildRoot nagios.spec BuildRoot: %{_tmppath}/%{name}-buildroot [root at uftwfnagios nagios]# as I mention earlier I was able to build w/out any issue 3.2.3 I'm thinking I should probably submit this as bug to nagios? On Wed, Jul 24, 2013 at 10:19 AM, Werner Flamme wrote: > alexus [24.07.2013 15:56]: > > # md5sum nagios-3.5.0.tar.gz > > aeef195d2033cc362bf6cb972bcc8f07 nagios-3.5.0.tar.gz > > # rpmbuild -tb nagios-3.5.0.tar.gz > > warning: line 40: prereq is deprecated: PreReq: /usr/bin/logger, > chkconfig, > > sh-utils, shadow-utils, sed, initscripts, fileutils, mktemp > > Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VOVWNc > > + umask 022 > > + cd /root/rpmbuild/BUILD > > + LANG=C > > + export LANG > > + unset DISPLAY > > + cd /root/rpmbuild/BUILD > > + rm -rf nagios-3.5.0 > > + /usr/bin/gzip -dc /root/nagios-3.5.0.tar.gz > > + /bin/tar -xf - > > + STATUS=0 > > + '[' 0 -ne 0 ']' > > + cd nagios-3.5.0 > > /var/tmp/rpm-tmp.VOVWNc: line 38: cd: nagios-3.5.0: No such file or > > directory > > error: Bad exit status from /var/tmp/rpm-tmp.VOVWNc (%prep) > > > > > > RPM build errors: > > line 40: prereq is deprecated: PreReq: /usr/bin/logger, chkconfig, > > sh-utils, shadow-utils, sed, initscripts, fileutils, mktemp > > Bad exit status from /var/tmp/rpm-tmp.VOVWNc (%prep) > > # cat /etc/redhat-release > > Red Hat Enterprise Linux Server release 6.4 (Santiago) > > # uname -a > > Linux XXX.XXX.XXX 2.6.32-358.6.2.el6.x86_64 #1 SMP Tue May 14 15:48:21 > EDT > > 2013 x86_64 x86_64 x86_64 GNU/Linux > > # > > > > I'm unable to build RPM w/ nagios 3.5.0, last one that worked for me was > > 3.2.3. > > any ideas/suggestions? > > The first error I see is "cd: nagios-3.5.0: No such file or directory" > > Is there a directory named "nagios-3.5.0" in the tar ball or is it > named only "nagios"? > > What does you spec file say? Maybe you have to adapt the BuildRoot? > Like, from "%{_tmppath}/%{name}-%{version}" to "%{_tmppath}/%{name}"? > > Just a guess, > Werner > > -- > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > 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 > -- http://alexus.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From t.h.amundsen at usit.uio.no Wed Jul 24 16:42:26 2013 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Wed, 24 Jul 2013 16:42:26 +0200 Subject: rpmbuild nagios-3.5.0 In-Reply-To: (alexus@gmail.com's message of "Wed, 24 Jul 2013 09:56:56 -0400") References: Message-ID: <15t61w0c94d.fsf@tux.uio.no> alexus writes: > I'm unable to build RPM w/ nagios 3.5.0, last one that worked for me was 3.2.3. > any ideas/suggestions? I'd recommend using the already prebuilt package for rhel6 which is available from EPEL[1]. Add the EPEL repo and you can simply do "yum install nagios" and be done :) [1] http://fedoraproject.org/wiki/EPEL Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From alexus at gmail.com Wed Jul 24 16:54:21 2013 From: alexus at gmail.com (alexus) Date: Wed, 24 Jul 2013 10:54:21 -0400 Subject: rpmbuild nagios-3.5.0 In-Reply-To: <15t61w0c94d.fsf@tux.uio.no> References: <15t61w0c94d.fsf@tux.uio.no> Message-ID: thank you for your recommendation) although I'd really like to know why it was ok on 3.2.3 and not ok going forward (seems like a bug to me that needed to be reported back to nagios folks). On Wed, Jul 24, 2013 at 10:42 AM, Trond Hasle Amundsen < t.h.amundsen at usit.uio.no> wrote: > alexus writes: > > > I'm unable to build RPM w/ nagios 3.5.0, last one that worked for me was > 3.2.3. > > any ideas/suggestions? > > I'd recommend using the already prebuilt package for rhel6 which is > available from EPEL[1]. Add the EPEL repo and you can simply do "yum > install nagios" and be done :) > > [1] http://fedoraproject.org/wiki/EPEL > > Cheers, > -- > Trond H. Amundsen > Center for Information Technology Services, University of Oslo > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > 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 > -- http://alexus.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From ratty at they.org Wed Jul 24 18:55:19 2013 From: ratty at they.org (frank) Date: Wed, 24 Jul 2013 11:55:19 -0500 (CDT) Subject: rpmbuild nagios-3.5.0 In-Reply-To: References: <15t61w0c94d.fsf@tux.uio.no> Message-ID: Just speaking for myself here, in my experience distro-level packaging usually isn't part of a project's goals and can be an extreme distraction considering the vast number of distros out there, all with their own little quirks. Spec files and other contrib items work their way into source trees and are useful until the 3rd party API changes and the original maintainers lose interest. I'd look into the checkin history of the spec file to see if anyone has been making regular updates. Or even easier, go get the SRPM from EPEL, which is known to work, and alter it as you see fit for your purposes. -f On Wed, 24 Jul 2013, alexus wrote: > thank you for your recommendation) although I'd really like to know why it was ok on 3.2.3 and > not ok going forward (seems like a bug to me that needed to be reported back to nagios folks). > > > On Wed, Jul 24, 2013 at 10:42 AM, Trond Hasle Amundsen wrote: > alexus writes: > > > I'm unable to build RPM w/ nagios 3.5.0, last one that worked for me was 3.2.3. > > any ideas/suggestions? > > I'd recommend using the already prebuilt package for rhel6 which is > available from EPEL[1]. Add the EPEL repo and you can simply do "yum > install nagios" and be done :) > > [1] http://fedoraproject.org/wiki/EPEL > > Cheers, > -- > Trond H. Amundsen > Center for Information Technology Services, University of Oslo > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > 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 > > > > > -- > http://alexus.org/ > > ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From dwittenberg2008 at gmail.com Thu Jul 25 00:26:42 2013 From: dwittenberg2008 at gmail.com (Daniel Wittenberg) Date: Wed, 24 Jul 2013 17:26:42 -0500 Subject: rpmbuild nagios-3.5.0 In-Reply-To: References: <15t61w0c94d.fsf@tux.uio.no> Message-ID: FWIW - the spec file in 4.0 has been completely rewritten and should work a lot better, based on Dag's RPM's and merged my changes in and what I've been using for almost a year now. Dan On Jul 24, 2013, at 11:55 AM, frank wrote: > Just speaking for myself here, in my experience distro-level packaging > usually isn't part of a project's goals and can be an extreme distraction > considering the vast number of distros out there, all with their own > little quirks. Spec files and other contrib items work their way into > source trees and are useful until the 3rd party API changes and the > original maintainers lose interest. I'd look into the checkin history of > the spec file to see if anyone has been making regular updates. Or even > easier, go get the SRPM from EPEL, which is known to work, and alter it as > you see fit for your purposes. > > -f > > On Wed, 24 Jul 2013, alexus wrote: > >> thank you for your recommendation) although I'd really like to know why it was ok on 3.2.3 and >> not ok going forward (seems like a bug to me that needed to be reported back to nagios folks). >> >> >> On Wed, Jul 24, 2013 at 10:42 AM, Trond Hasle Amundsen wrote: >> alexus writes: >> >>> I'm unable to build RPM w/ nagios 3.5.0, last one that worked for me was 3.2.3. >>> any ideas/suggestions? >> >> I'd recommend using the already prebuilt package for rhel6 which is >> available from EPEL[1]. Add the EPEL repo and you can simply do "yum >> install nagios" and be done :) >> >> [1] http://fedoraproject.org/wiki/EPEL >> >> Cheers, >> -- >> Trond H. Amundsen >> Center for Information Technology Services, University of Oslo >> >> ------------------------------------------------------------------------------ >> See everything from the browser to the database with AppDynamics >> Get end-to-end visibility with application monitoring from AppDynamics >> Isolate bottlenecks and diagnose root cause in seconds. >> Start your free trial of AppDynamics Pro today! >> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk >> _______________________________________________ >> 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 >> >> >> >> >> -- >> http://alexus.org/ >> >> > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > 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 ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From Thilakraj.Shanmugam at canberra.edu.au Thu Jul 25 09:36:38 2013 From: Thilakraj.Shanmugam at canberra.edu.au (Thilakraj.Shanmugam) Date: Thu, 25 Jul 2013 07:36:38 +0000 Subject: Nagios Plugin for IPTABLES Monitoring References: <7AD7AD85066563428C24C1317A33EF8350B31BB7@genoa.ucstaff.win.canberra.edu.au> <9bfb3d7160274037a5ec1838584ac8db@DBXPR03MB062.eurprd03.prod.outlook.com> <7AD7AD85066563428C24C1317A33EF8350B31CFB@genoa.ucstaff.win.canberra.edu.au> Message-ID: <7AD7AD85066563428C24C1317A33EF83B13A9A57@genoa.ucstaff.win.canberra.edu.au> Hello All, I have found the helpful fix after much of struggle, it might be useful someone want to configure and monitor Iptables status. After write your own plugin, then keep it in /usr/local/nagios/libexec dir. 1. open /etc/sudoers file and comment line as like below #Defaults requiretty 2. End of /etc/sudoers file mention the line as below nagios servername= NOPASSWD: /sbin/iptables, /usr/local/nagios/libexec/check_nrpe Note: Do remember to mention your own server name Now you can test your plugin via check_NRPE and it will give you expected results. Good Luck! Kind Regards, Thilakraj Shanmugam From: Thilakraj.Shanmugam Sent: Wednesday, 29 May 2013 3:39 PM To: Nagios Users List Subject: RE: Nagios Plugin for IPTABLES Monitoring Hi Deborah et al, I have tested with nagios user as well.. still no luck with that. Could you some one update if you have any solution on this case. Kind Regards, Thilak From: Deborah Martin [mailto:Deborah.Martin at kognitio.com] Sent: Tuesday, 14 May 2013 7:30 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios Plugin for IPTABLES Monitoring Ok - if I look at your output, manually, when the plugin is run as the "root" user it produces the correct result. But, you haven't said what the nrpe user is that is running on the remote node and whether the same manual run of the check produces the same output. For example, I run remote plugins through nrpe as the "nagios" user so if I want to manually test a plugin on the remote node, I would first login as the nagios user to ensure I've got the same environment that would be used when running via nrpe. It might be that the variables you have set in the script only work as the root user. It's never a good idea to test as the root user but only as the same user as that used by nagios or nrpe. Regards, Deborah From: Thilakraj.Shanmugam [mailto:Thilakraj.Shanmugam at canberra.edu.au] Sent: 14 May 2013 09:58 To: Nagios Users List Subject: Re: [Nagios-users] Nagios Plugin for IPTABLES Monitoring Hi Deborah, Thanks for the response.. please find the details below. [root at abc libexec]# pwd /usr/local/nagios/libexec [root at abc libexec]# ./check_iptables.sh <----- Executing manually script + IPT=/sbin/iptables + GREP=/bin/grep + AWK=/bin/awk + EXPR=/usr/bin/expr + WC=/usr/bin/wc + A=/usr/bin/sudo + E_SUCCESS=0 + E_CRITICAL=2 + E_UNKNOWN=3 ++ /usr/bin/sudo /sbin/iptables -nvL ++ /bin/grep Chain ++ /bin/awk '{ print $2 }' ++ /bin/grep Cid ++ /usr/bin/wc -l + CHAINS=5 + '[' 5 -ne 0 ']' + echo 'Firewall is running!' Firewall is running! + exit 0 <------ it shows firewall running ( correct output ) [root at abc libexec]# Client - NRPE config file [root at abc libexec]# cat /usr/local/nagios/etc/nrpe.cfg |grep -i iptable command[check_iptables]=/usr/local/nagios/libexec/check_iptables.sh [root at abc libexec]# [root at abc libexec]# ./check_nrpe -H localhost -c check_iptables Firewall is not running <----- executing via check_nrpe ( wrong output ) [root at abc libexec]# NRPE Logs ------------- May 14 18:52:28 abc nrpe[31158]: Added command[check_Partion_db]=/usr/local/nagios/libexec/check_disk -w 15% -c 5% -p /db May 14 18:52:28 abc nrpe[31158]: Added command[check_Partion_app]=/usr/local/nagios/libexec/check_disk -w 15% -c 5% -p /app May 14 18:52:28 abc nrpe[31158]: Added command[check_iptables]=/usr/local/nagios/libexec/check_iptables.sh May 14 18:52:28 abc nrpe[31158]: INFO: SSL/TLS initialized. All network traffic will be encrypted. May 14 18:52:28 abc nrpe[31158]: Handling the connection... May 14 18:52:28 abc nrpe[31158]: Host is asking for command 'check_iptables' to be run... May 14 18:52:28 abc nrpe[31158]: Running command: /usr/local/nagios/libexec/check_iptables.sh May 14 18:52:28 abc nrpe[31158]: Command completed with return code 2 and output: Firewall is not running May 14 18:52:28 abc nrpe[31158]: Return Code: 2, Output: Firewall is not running Kind Regards, Thilak From: Deborah Martin [mailto:Deborah.Martin at kognitio.com] Sent: Tuesday, 14 May 2013 6:44 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios Plugin for IPTABLES Monitoring Hi, What is the wrong output being returned ? This might give us all a clue as to the cause of the problem. When you run the check manually, are you doing this as the same user that check_nrpe will use ? Regards, Deborah From: Thilakraj.Shanmugam [mailto:Thilakraj.Shanmugam at canberra.edu.au] Sent: 14 May 2013 08:43 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Plugin for IPTABLES Monitoring Greetings! Could someone send me nagios plugin which is tested and works well for monitoring IPTABLES in Linux. I have tested below script but it is not returning correct output to nagios server. If I execute script manually, it shows correct output... But if I execute via ./check_nrpe - H localhost -c check_iptables, it shows wrong output. Below is my plugin ------------------------------ #!/bin/bash set -x IPT='/sbin/iptables' GREP='/bin/grep' AWK='/bin/awk' EXPR='/usr/bin/expr' WC='/usr/bin/wc' A='/usr/bin/sudo' E_SUCCESS="0" E_CRITICAL="2" E_UNKNOWN="3" CHAINS=`$A $IPT -nvL | $GREP 'Chain' | $AWK '{ print $2 }'| $GREP Cid | $WC -l` if [ $CHAINS -ne 0 ] ; then echo "Firewall is running!" exit ${E_SUCCESS} elif [ $CHAINS -eq 0 ] ; then echo "Firewall is not running" exit ${E_CRITICAL} fi This e-mail and any files transmitted with it are strictly confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. This e-mail and any files transmitted with it are strictly confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From phil.randal at hoopleltd.co.uk Thu Jul 25 11:54:23 2013 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Thu, 25 Jul 2013 09:54:23 +0000 Subject: rpmbuild nagios-3.5.0 In-Reply-To: References: <15t61w0c94d.fsf@tux.uio.no> Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B8541A581F5@HC-EXMBX04.herefordshire.gov.uk> Talking of DAG's RPMs, if you'd been using Nagios 3.2.3 from rpmforge, I've written a blog post on how to build Nagios 3.4.1 / 3.5.0 as a replacement, using same file locations. The last postscript in the blog is the relevant stuff for 3.5.0. http://www.rebee.clara.net/blog/archives/2012/05/entry_198.html Cheers, Phil -----Original Message----- From: Daniel Wittenberg [mailto:dwittenberg2008 at gmail.com] Sent: 24 July 2013 23:27 To: Nagios Users List Subject: Re: [Nagios-users] rpmbuild nagios-3.5.0 FWIW - the spec file in 4.0 has been completely rewritten and should work a lot better, based on Dag's RPM's and merged my changes in and what I've been using for almost a year now. Dan On Jul 24, 2013, at 11:55 AM, frank wrote: > Just speaking for myself here, in my experience distro-level packaging > usually isn't part of a project's goals and can be an extreme > distraction considering the vast number of distros out there, all with > their own little quirks. Spec files and other contrib items work their > way into source trees and are useful until the 3rd party API changes > and the original maintainers lose interest. I'd look into the checkin > history of the spec file to see if anyone has been making regular > updates. Or even easier, go get the SRPM from EPEL, which is known to > work, and alter it as you see fit for your purposes. > > -f > > On Wed, 24 Jul 2013, alexus wrote: > >> thank you for your recommendation) although I'd really like to know >> why it was ok on 3.2.3 and not ok going forward (seems like a bug to me that needed to be reported back to nagios folks). >> >> >> On Wed, Jul 24, 2013 at 10:42 AM, Trond Hasle Amundsen wrote: >> alexus writes: >> >>> I'm unable to build RPM w/ nagios 3.5.0, last one that worked for me was 3.2.3. >>> any ideas/suggestions? >> >> I'd recommend using the already prebuilt package for rhel6 which is >> available from EPEL[1]. Add the EPEL repo and you can simply do "yum >> install nagios" and be done :) >> >> [1] http://fedoraproject.org/wiki/EPEL >> >> Cheers, >> -- >> Trond H. Amundsen Center for Information >> Technology Services, University of Oslo >> >> --------------------------------------------------------------------- >> --------- See everything from the browser to the database with >> AppDynamics Get end-to-end visibility with application monitoring >> from AppDynamics Isolate bottlenecks and diagnose root cause in >> seconds. >> Start your free trial of AppDynamics Pro today! >> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg. >> clktrk _______________________________________________ >> 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 >> >> >> >> >> -- >> http://alexus.org/ >> >> > > ---------------------------------------------------------------------- > -------- See everything from the browser to the database with > AppDynamics Get end-to-end visibility with application monitoring from > AppDynamics Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.c > lktrk _______________________________________________ > 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 ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 Hoople Ltd, Registered in England and Wales No. 7556595 Registered office: Plough Lane, Hereford, HR4 0LE "Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Hoople Ltd. You should be aware that Hoople Ltd. 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." ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ 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 From Thilakraj.Shanmugam at canberra.edu.au Fri Jul 26 01:25:39 2013 From: Thilakraj.Shanmugam at canberra.edu.au (Thilakraj.Shanmugam) Date: Thu, 25 Jul 2013 23:25:39 +0000 Subject: Nagios Plugin for IPTABLES Monitoring In-Reply-To: <7AD7AD85066563428C24C1317A33EF83B13A9A57@genoa.ucstaff.win.canberra.edu.au> References: <7AD7AD85066563428C24C1317A33EF8350B31BB7@genoa.ucstaff.win.canberra.edu.au> <9bfb3d7160274037a5ec1838584ac8db@DBXPR03MB062.eurprd03.prod.outlook.com> <7AD7AD85066563428C24C1317A33EF8350B31CFB@genoa.ucstaff.win.canberra.edu.au> <7AD7AD85066563428C24C1317A33EF83B13A9A57@genoa.ucstaff.win.canberra.edu.au> Message-ID: <7AD7AD85066563428C24C1317A33EF83B13AA77C@genoa.ucstaff.win.canberra.edu.au> Hello All, Just to add on, I have done some readings and tested other option is 1. open /etc/sudoers file and entry a line as like below Defaults:nagios !requiretty Note: It means only nagios user not require a tty, but rest of others have. I recommend, this is better option From: Thilakraj.Shanmugam [mailto:Thilakraj.Shanmugam at canberra.edu.au] Sent: Thursday, 25 July 2013 5:37 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios Plugin for IPTABLES Monitoring Hello All, I have found the helpful fix after much of struggle, it might be useful someone want to configure and monitor Iptables status. After write your own plugin, then keep it in /usr/local/nagios/libexec dir. 1. open /etc/sudoers file and comment line as like below #Defaults requiretty 2. End of /etc/sudoers file mention the line as below nagios servername= NOPASSWD: /sbin/iptables, /usr/local/nagios/libexec/check_nrpe Note: Do remember to mention your own server name Now you can test your plugin via check_NRPE and it will give you expected results. Good Luck! Kind Regards, Thilakraj Shanmugam From: Thilakraj.Shanmugam Sent: Wednesday, 29 May 2013 3:39 PM To: Nagios Users List Subject: RE: Nagios Plugin for IPTABLES Monitoring Hi Deborah et al, I have tested with nagios user as well.. still no luck with that. Could you some one update if you have any solution on this case. Kind Regards, Thilak From: Deborah Martin [mailto:Deborah.Martin at kognitio.com] Sent: Tuesday, 14 May 2013 7:30 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios Plugin for IPTABLES Monitoring Ok - if I look at your output, manually, when the plugin is run as the "root" user it produces the correct result. But, you haven't said what the nrpe user is that is running on the remote node and whether the same manual run of the check produces the same output. For example, I run remote plugins through nrpe as the "nagios" user so if I want to manually test a plugin on the remote node, I would first login as the nagios user to ensure I've got the same environment that would be used when running via nrpe. It might be that the variables you have set in the script only work as the root user. It's never a good idea to test as the root user but only as the same user as that used by nagios or nrpe. Regards, Deborah From: Thilakraj.Shanmugam [mailto:Thilakraj.Shanmugam at canberra.edu.au] Sent: 14 May 2013 09:58 To: Nagios Users List Subject: Re: [Nagios-users] Nagios Plugin for IPTABLES Monitoring Hi Deborah, Thanks for the response.. please find the details below. [root at abc libexec]# pwd /usr/local/nagios/libexec [root at abc libexec]# ./check_iptables.sh <----- Executing manually script + IPT=/sbin/iptables + GREP=/bin/grep + AWK=/bin/awk + EXPR=/usr/bin/expr + WC=/usr/bin/wc + A=/usr/bin/sudo + E_SUCCESS=0 + E_CRITICAL=2 + E_UNKNOWN=3 ++ /usr/bin/sudo /sbin/iptables -nvL ++ /bin/grep Chain ++ /bin/awk '{ print $2 }' ++ /bin/grep Cid ++ /usr/bin/wc -l + CHAINS=5 + '[' 5 -ne 0 ']' + echo 'Firewall is running!' Firewall is running! + exit 0 <------ it shows firewall running ( correct output ) [root at abc libexec]# Client - NRPE config file [root at abc libexec]# cat /usr/local/nagios/etc/nrpe.cfg |grep -i iptable command[check_iptables]=/usr/local/nagios/libexec/check_iptables.sh [root at abc libexec]# [root at abc libexec]# ./check_nrpe -H localhost -c check_iptables Firewall is not running <----- executing via check_nrpe ( wrong output ) [root at abc libexec]# NRPE Logs ------------- May 14 18:52:28 abc nrpe[31158]: Added command[check_Partion_db]=/usr/local/nagios/libexec/check_disk -w 15% -c 5% -p /db May 14 18:52:28 abc nrpe[31158]: Added command[check_Partion_app]=/usr/local/nagios/libexec/check_disk -w 15% -c 5% -p /app May 14 18:52:28 abc nrpe[31158]: Added command[check_iptables]=/usr/local/nagios/libexec/check_iptables.sh May 14 18:52:28 abc nrpe[31158]: INFO: SSL/TLS initialized. All network traffic will be encrypted. May 14 18:52:28 abc nrpe[31158]: Handling the connection... May 14 18:52:28 abc nrpe[31158]: Host is asking for command 'check_iptables' to be run... May 14 18:52:28 abc nrpe[31158]: Running command: /usr/local/nagios/libexec/check_iptables.sh May 14 18:52:28 abc nrpe[31158]: Command completed with return code 2 and output: Firewall is not running May 14 18:52:28 abc nrpe[31158]: Return Code: 2, Output: Firewall is not running Kind Regards, Thilak From: Deborah Martin [mailto:Deborah.Martin at kognitio.com] Sent: Tuesday, 14 May 2013 6:44 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios Plugin for IPTABLES Monitoring Hi, What is the wrong output being returned ? This might give us all a clue as to the cause of the problem. When you run the check manually, are you doing this as the same user that check_nrpe will use ? Regards, Deborah From: Thilakraj.Shanmugam [mailto:Thilakraj.Shanmugam at canberra.edu.au] Sent: 14 May 2013 08:43 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Plugin for IPTABLES Monitoring Greetings! Could someone send me nagios plugin which is tested and works well for monitoring IPTABLES in Linux. I have tested below script but it is not returning correct output to nagios server. If I execute script manually, it shows correct output... But if I execute via ./check_nrpe - H localhost -c check_iptables, it shows wrong output. Below is my plugin ------------------------------ #!/bin/bash set -x IPT='/sbin/iptables' GREP='/bin/grep' AWK='/bin/awk' EXPR='/usr/bin/expr' WC='/usr/bin/wc' A='/usr/bin/sudo' E_SUCCESS="0" E_CRITICAL="2" E_UNKNOWN="3" CHAINS=`$A $IPT -nvL | $GREP 'Chain' | $AWK '{ print $2 }'| $GREP Cid | $WC -l` if [ $CHAINS -ne 0 ] ; then echo "Firewall is running!" exit ${E_SUCCESS} elif [ $CHAINS -eq 0 ] ; then echo "Firewall is not running" exit ${E_CRITICAL} fi This e-mail and any files transmitted with it are strictly confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. This e-mail and any files transmitted with it are strictly confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From yu.watanabe at jp.fujitsu.com Fri Jul 26 10:49:11 2013 From: yu.watanabe at jp.fujitsu.com (Watanabe, Yu) Date: Fri, 26 Jul 2013 08:49:11 +0000 Subject: LDAP authentication for Nagios Message-ID: <5949DE25CF2DA84E8E56CC97139D377E02EFAD87@g01jpexmbyt24> Hi! I would like to ask question regarding to SSO for Nagios. I am considering to use LDAP for the authentication process. What will be the recommended way to implement such way? It seems that most people seems to be using the apache ldap authentication. Thanks, Yu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From kaushalshriyan at gmail.com Fri Jul 26 16:33:53 2013 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Fri, 26 Jul 2013 20:03:53 +0530 Subject: nagios alert messages not appearing in hipchat chat window. Message-ID: Hi, Thanks for the reply. I have put the below entries in nagios commands.cfg file I am running Nagios 3.4.4 on CentOS 6.4. define command { command_name notify-host-by-hipchat command_line /usr/bin/hipsaint --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=host --inputs="$HOSTNAME$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$HOSTSTATE$|$HOSTOUTPUT$" -n } define command { command_name notify-service-by-hipchat command_line /usr/bin/hipsaint --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=service --inputs="$SERVICEDESC$|$HOSTALIAS$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$SERVICESTATE$|$SERVICEOUTPUT$" -n } I am unable to see any nagios alert messages in hipchat window. Please let me know if anyone needs more information. Regards, Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From kaushalshriyan at gmail.com Sat Jul 27 11:38:35 2013 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Sat, 27 Jul 2013 15:08:35 +0530 Subject: nagios alert messages not appearing in hipchat chat window. In-Reply-To: References: Message-ID: On Fri, Jul 26, 2013 at 8:03 PM, Kaushal Shriyan wrote: > Hi, > > Thanks for the reply. I have put the below entries in nagios commands.cfg > file I am running Nagios 3.4.4 on CentOS 6.4. > > define command { > command_name notify-host-by-hipchat > command_line /usr/bin/hipsaint > --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=host > > --inputs="$HOSTNAME$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$HOSTSTATE$|$HOSTOUTPUT$" > -n > } > define command { > command_name notify-service-by-hipchat > command_line /usr/bin/hipsaint > --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=service > > --inputs="$SERVICEDESC$|$HOSTALIAS$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$SERVICESTATE$|$SERVICEOUTPUT$" > -n > } > > I am unable to see any nagios alert messages in hipchat window. Please let > me know if anyone needs more information. > > Regards, > > Kaushal > Hi, Checking in again for my earlier post to this mailing list. Any suggestions please? Regards, Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From giles at coochey.net Sun Jul 28 09:57:49 2013 From: giles at coochey.net (Giles Coochey) Date: Sun, 28 Jul 2013 08:57:49 +0100 Subject: nagios alert messages not appearing in hipchat chat window. In-Reply-To: References: Message-ID: <51F4CEFD.6030803@coochey.net> On 27/07/2013 10:38, Kaushal Shriyan wrote: > > > On Fri, Jul 26, 2013 at 8:03 PM, Kaushal Shriyan > > wrote: > > Hi, > > Thanks for the reply. I have put the below entries in nagios > commands.cfg file I am running Nagios 3.4.4 on CentOS 6.4. > > define command { > command_name notify-host-by-hipchat > command_line /usr/bin/hipsaint > --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=host > --inputs="$HOSTNAME$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$HOSTSTATE$|$HOSTOUTPUT$" > > -n > } > define command { > command_name notify-service-by-hipchat > command_line /usr/bin/hipsaint > --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=service > --inputs="$SERVICEDESC$|$HOSTALIAS$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$SERVICESTATE$|$SERVICEOUTPUT$" > > -n > } > > I am unable to see any nagios alert messages in hipchat window. > Please let me know if anyone needs more information. > > Regards, > > Kaushal > > > Hi, > > Checking in again for my earlier post to this mailing list. Any > suggestions please? > > Regards, > > Kaushal > Have you tried running the command manually on the command line as the nagios user? -- Regards, Giles Coochey, CCNP, CCNA, CCNAS NetSecSpec Ltd +44 (0) 8444 780677 +44 (0) 7983 877438 http://www.coochey.net http://www.netsecspec.co.uk giles at coochey.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4755 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk -------------- 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 From ben at throwingbones.com Tue Jul 30 20:05:28 2013 From: ben at throwingbones.com (Ben Prew) Date: Tue, 30 Jul 2013 11:05:28 -0700 Subject: Service checks for redundant hosts Message-ID: Hey, I'm looking for some suggestions for implementing a service check on a redundant host pair that access a shared resource. Here's our setup: We have N hosts that process (via delayed_job) a shared job queue (mysql/redis). We have several checks that are host-specific (# of workers on that host), but we also have several checks that examine the shared job queue (# of unprocessed jobs). I have several possible implementations: ============ 1. Shared Job Queue check on single processing host (current setup) Pros: * We only get notified once when the shared queue is high Cons: * If the single host goes down, we lose the shared queue check ============ 2. Shared Job Queue check on all processing hosts Pros: * If a single processing host goes down, the shared queue check still functions Cons: * Multiple emails from hosts when the shared check fails ============ 3. Shared Job Queue check on job queue host (ie the DB box) Pros: * If the DB goes down, you can't reach the queue anyway * Single email on failure Cons: * The check requires app knowledge, which requires having the app deployed on the job queue host How are others adding a check like this? #2 and just bite the bullet for multiple emails? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- 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 From alexus at gmail.com Tue Jul 30 21:00:18 2013 From: alexus at gmail.com (alexus) Date: Tue, 30 Jul 2013 15:00:18 -0400 Subject: I'm trying to configuring Nagios w/ notification escalation by using PAGER instead of MAIL Message-ID: I'm trying to figure out how I can configure Nagios to use $CONTACTPAGER$ macro instead of$CONTACTEMAIL$ in event of escalation or perhaps using alternative command? as I'd be able to specify using pager instead of email there... in another words, for escalation purpose I need to be able to send email to alternative email address other then email that was used for first notification. please advise. -- http://alexus.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- 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 From BChan at Shawcor.com Tue Jul 30 21:03:54 2013 From: BChan at Shawcor.com (Brian Chan) Date: Tue, 30 Jul 2013 15:03:54 -0400 Subject: AUTO: Brian Chan is out of the office (returning 31/07/2013) Message-ID: I am out of the office until 31/07/2013. I will respond to your message when I return. If this is a request for support, click here to open an ITRequest--:> mailto:itrequest at shawcor.com Alternatively, all questions can be directed to the Help Desk at 416-744-5557 Brian Chan Note: This is an automated response to your message "Nagios-users Digest, Vol 86, Issue 7" sent on 07/30/2013 15:00:27. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ 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 From nileshbairagi at gmail.com Wed Jul 31 07:44:51 2013 From: nileshbairagi at gmail.com (Nilesh B.) Date: Wed, 31 Jul 2013 11:14:51 +0530 Subject: I'm trying to configuring Nagios w/ notification escalation by using PAGER instead of MAIL In-Reply-To: References: Message-ID: Hi alexus, Create contact group for pager contacts and add it to events for which you want to send the pager notifications. This way you can split (combine) the e-mail and pager notifications. regards Nilesh On Wed, Jul 31, 2013 at 12:30 AM, alexus wrote: > I'm trying to figure out how I can configure Nagios to use $CONTACTPAGER$ macro > instead of$CONTACTEMAIL$ in event of escalation or perhaps using > alternative command? as I'd be able to specify using pager instead of email > there... > > in another words, for escalation purpose I need to be able to send email > to alternative email address other then email that was used for first > notification. > > please advise. > -- > http://alexus.org/ > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- 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 From rp346 at njit.edu Wed Jul 31 14:49:19 2013 From: rp346 at njit.edu (, Roy) Date: Wed, 31 Jul 2013 08:49:19 -0400 Subject: how to start nagios with non nagios user Message-ID: Hi guys, I want to start nagios with non root, nagios user. How do I do that. Thanks Roy -- *Thanks...* *Roydon Pereira* *8622354994* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- 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 From ae at op5.se Wed Jul 31 16:15:23 2013 From: ae at op5.se (Andreas Ericsson) Date: Wed, 31 Jul 2013 16:15:23 +0200 Subject: how to start nagios with non nagios user In-Reply-To: References: Message-ID: <51F91BFB.10202@op5.se> On 2013-07-31 14:49, , Roy wrote: > Hi guys, > > I want to start nagios with non root, nagios user. How do I do that. > Well, ask yourself if there are any mechanisms or programs that will let you start a program as a different user than root on your system, and then put that noggin' of yours to good use and see what you come up with. If you don't know of any such mechanisms or programs, you really need general unix administration help rather than help with this specific problem. Good luck. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ 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 From kaushalshriyan at gmail.com Wed Jul 31 17:21:16 2013 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Wed, 31 Jul 2013 20:51:16 +0530 Subject: nagios alert messages not appearing in hipchat chat window. In-Reply-To: <51F4CEFD.6030803@coochey.net> References: <51F4CEFD.6030803@coochey.net> Message-ID: On Sun, Jul 28, 2013 at 1:27 PM, Giles Coochey wrote: > On 27/07/2013 10:38, Kaushal Shriyan wrote: > > > > On Fri, Jul 26, 2013 at 8:03 PM, Kaushal Shriyan > wrote: > >> Hi, >> >> Thanks for the reply. I have put the below entries in nagios commands.cfg >> file I am running Nagios 3.4.4 on CentOS 6.4. >> >> define command { >> command_name notify-host-by-hipchat >> command_line /usr/bin/hipsaint >> --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=host >> >> --inputs="$HOSTNAME$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$HOSTSTATE$|$HOSTOUTPUT$" >> -n >> } >> define command { >> command_name notify-service-by-hipchat >> command_line /usr/bin/hipsaint >> --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=service >> >> --inputs="$SERVICEDESC$|$HOSTALIAS$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$SERVICESTATE$|$SERVICEOUTPUT$" >> -n >> } >> >> I am unable to see any nagios alert messages in hipchat window. Please >> let me know if anyone needs more information. >> >> Regards, >> >> Kaushal >> > > Hi, > > Checking in again for my earlier post to this mailing list. Any > suggestions please? > > Regards, > > Kaushal > > Have you tried running the command manually on the command line as the > nagios user? > Hi Giles Coochey, Apologies for the delay in replying the email. /usr/bin/hipsaint --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=service --inputs="$SERVICEDESC$|$HOSTALIAS$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$SERVICESTATE$|$SERVICEOUTPUT$" when i run the below command replacing all macros, I get the below issue. [nagios at nagios ~]$ id uid=502(nagios) gid=502(nagios) groups=502(nagios),503(nagcmd) [nagios at nagios ~]$ /usr/bin/hipsaint --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=service --inputs="Main Website solr Wed Jul 31 20:42:28 IST 2013 Recovery 192.168.70.15 Recovery Ping OK" Traceback (most recent call last): File "/usr/bin/hipsaint", line 9, in load_entry_point('hipsaint==0.4', 'console_scripts', 'hipsaint')() File "/usr/lib/python2.6/site-packages/hipsaint-0.4-py2.6.egg/hipsaint/bin/commands.py", line 55, in main msg.deliver_payload() File "/usr/lib/python2.6/site-packages/hipsaint-0.4-py2.6.egg/hipsaint/messages.py", line 29, in deliver_payload message_body = self.render_message() File "/usr/lib/python2.6/site-packages/hipsaint-0.4-py2.6.egg/hipsaint/messages.py", line 56, in render_message servicedesc, hostalias, timestamp, ntype, hostaddress, state, serviceoutput = self.inputs.split('|') ValueError: need more than 1 value to unpack [nagios at nagios ~]$ Please let me know if you need more information. Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- 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