From np121 at hotmail.com Tue May 1 12:04:31 2012 From: np121 at hotmail.com (Nick Price) Date: Tue, 1 May 2012 12:04:31 +0200 Subject: notifications Message-ID: I am using Nagios 3.3.1 I have got notifications by SMS working now Is there a way of defining what notifications go to email, what go to SMS and what can go to both. I would like this to apply to escalations as well if possible Regards Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 benny at bennyvision.com Tue May 1 14:33:10 2012 From: benny at bennyvision.com (C. Bensend) Date: Tue, 1 May 2012 07:33:10 -0500 Subject: notifications In-Reply-To: References: Message-ID: > I am using Nagios 3.3.1 > > I have got notifications by SMS working now > > Is there a way of defining what notifications go to email, what go to SMS > and what can go to both. > > I would like this to apply to escalations as well if possible I create two Nagios contacts for each person at my site, one for email alerts and one for SMS alerts. I then place the appropriate contacts in each contactgroup, according to which type of alert should be sent. Then, for each host/service, I include the appropriate contactgroups. For example, my Exchange servers' CPU services get the exchange-admins-email contactgroup, which only sends email to their contacts. The Exchange servers' database services, however, get the exchange-admins-pagers group, so they get SMS'ed for database problems. Benny -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 yuehung.liu at gmail.com Wed May 2 16:34:58 2012 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Wed, 2 May 2012 22:34:58 +0800 Subject: notifications In-Reply-To: References: Message-ID: have a try on this: http://exchange.nagios.org/directory/Addons/Notifications/*-Notification-Managers/Rule-2DBased-Notifier/details On Tue, May 1, 2012 at 6:04 PM, Nick Price wrote: > I am using Nagios 3.3.1 > > > > I have got notifications by SMS working now > > > > Is there a way of defining what notifications go to email, what go to SMS > and what can go to both. > > > > I would like this to apply to escalations as well if possible > > > > > > Regards > > > > Nick > > > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 James.Whittington at vc3.com Wed May 2 20:22:59 2012 From: James.Whittington at vc3.com (James Whittington) Date: Wed, 2 May 2012 18:22:59 +0000 Subject: Nagios based distributed monitoring systems out there? Message-ID: <84B00D15D2A9B941BBF28EECBDB543AF2A5FC07F@VC3-EXCH-02.vc3.com> This is not entirely Nagios related, more nagios backend architecture related. We had been a long time user of Opsview Community Edition. We were monitoring multiple sites so we were drawn in by Opsview's ease of distributed server setup. Unfortunately Opsview is dropping distributed monitoring from the community edition (a point brought up by Opsview sales when they contacted us about buying enterprise). I now am stuck with a system monitoring 1000 hosts across different locations with a no low cost upgrade path under Opsview. What my company ultimately decides to do is not entirely up to me but I was curious if other nagios based monitoring systems handled a reverse tunnel master/slave distributed model as well as Opsview used to? If Opsview is listening, next time you drop core features from your product do your registered users a favor and give them advanced notice, instead of using it as a sales talking point. Thanks. James -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 agriffin at nagios.com Wed May 2 21:03:53 2012 From: agriffin at nagios.com (Alex Griffin) Date: Wed, 02 May 2012 14:03:53 -0500 Subject: Nagios based distributed monitoring systems out there? In-Reply-To: <84B00D15D2A9B941BBF28EECBDB543AF2A5FC07F@VC3-EXCH-02.vc3.com> References: <84B00D15D2A9B941BBF28EECBDB543AF2A5FC07F@VC3-EXCH-02.vc3.com> Message-ID: <4FA18519.6060209@nagios.com> I'm not sure how Opsview handles this or what you mean by "reverse tunnel master/slave distributed model," but there are several distributed monitoring solutions out there for Nagios. The two that come to mind for me are mod_gearman and dnx, but I'm certain I've seen others as well. Nagios XI integrates pretty well with DNX too. Alex Griffin --- Tech Team agriffin at nagios.com James Whittington wrote: > This is not entirely Nagios related, more nagios backend architecture > related. > > We had been a long time user of Opsview Community Edition. > > We were monitoring multiple sites so we were drawn in by Opsview?s ease > of distributed server setup. > > Unfortunately Opsview is dropping distributed monitoring from the > community edition (a point brought up by Opsview sales when they > contacted us about buying enterprise). > > I now am stuck with a system monitoring 1000 hosts across different > locations with a no low cost upgrade path under Opsview. > > What my company ultimately decides to do is not entirely up to me but I > was curious if other nagios based monitoring systems handled a reverse > tunnel master/slave distributed model as well as Opsview used to? > > If Opsview is listening, next time you drop core features from your > product do your registered users a favor and give them advanced notice, > instead of using it as a sales talking point. > > Thanks. > > James > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 James.Whittington at vc3.com Wed May 2 23:55:56 2012 From: James.Whittington at vc3.com (James Whittington) Date: Wed, 2 May 2012 21:55:56 +0000 Subject: Nagios based distributed monitoring systems out there? In-Reply-To: <4FA18519.6060209@nagios.com> References: <84B00D15D2A9B941BBF28EECBDB543AF2A5FC07F@VC3-EXCH-02.vc3.com> <4FA18519.6060209@nagios.com> Message-ID: <84B00D15D2A9B941BBF28EECBDB543AF2A5FC463@VC3-EXCH-02.vc3.com> " what you mean by "reverse tunnel master/slave distributed model," So you have master server - that presents the master web interface - controls configs for everything -sends out notifications Slave servers are placed at remote locations to do active polling and results are returned to the master. Slave servers initiate ssh session to master and open up reverse tunnel back to itself. So data from slaves comes in via port 22, config data is pushed out to slaves over reverse ssh port. The cool thing is we don't have to deal with opening up ssh on a bunch of remote networks. As long as SSH is allowed out from remote networks and we allow in SSH from the remote networks everything just works. Other distributed setups I had seen had to have direct ssh access out from master to slave. Opsview Community edition was really a great value, but the move to enterprise edition would be a big cost increase, so I figured it was worth asking about distributed setup in other nagios based products. James -----Original Message----- From: Alex Griffin [mailto:agriffin at nagios.com] Sent: Wednesday, May 02, 2012 3:04 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios based distributed monitoring systems out there? I'm not sure how Opsview handles this or what you mean by "reverse tunnel master/slave distributed model," but there are several distributed monitoring solutions out there for Nagios. The two that come to mind for me are mod_gearman and dnx, but I'm certain I've seen others as well. Nagios XI integrates pretty well with DNX too. Alex Griffin --- Tech Team agriffin at nagios.com James Whittington wrote: > This is not entirely Nagios related, more nagios backend architecture > related. > > We had been a long time user of Opsview Community Edition. > > We were monitoring multiple sites so we were drawn in by Opsview's > ease of distributed server setup. > > Unfortunately Opsview is dropping distributed monitoring from the > community edition (a point brought up by Opsview sales when they > contacted us about buying enterprise). > > I now am stuck with a system monitoring 1000 hosts across different > locations with a no low cost upgrade path under Opsview. > > What my company ultimately decides to do is not entirely up to me but > I was curious if other nagios based monitoring systems handled a > reverse tunnel master/slave distributed model as well as Opsview used to? > > If Opsview is listening, next time you drop core features from your > product do your registered users a favor and give them advanced > notice, instead of using it as a sales talking point. > > Thanks. > > James > > > > ---------------------------------------------------------------------- > -------- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions will include endpoint security, mobile security and the > latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Sven.Nierlein at consol.de Thu May 3 00:24:20 2012 From: Sven.Nierlein at consol.de (Sven Nierlein) Date: Thu, 03 May 2012 00:24:20 +0200 Subject: Nagios based distributed monitoring systems out there? In-Reply-To: <84B00D15D2A9B941BBF28EECBDB543AF2A5FC07F@VC3-EXCH-02.vc3.com> References: <84B00D15D2A9B941BBF28EECBDB543AF2A5FC07F@VC3-EXCH-02.vc3.com> Message-ID: <4FA1B414.9070003@consol.de> On 5/2/12 20:22, James Whittington wrote: > > I now am stuck with a system monitoring 1000 hosts across different locations with a no low cost upgrade path under Opsview. > > What my company ultimately decides to do is not entirely up to me but I was curious if other nagios based monitoring systems handled a reverse tunnel master/slave distributed model as well as Opsview used to? > You should have a look at Mod-Gearman. It's a master/slave distribution system based on the Gearman MQ and gives you the possibility to spread out the checks to remote worker based on hostgroups, servicegroups and custom variables. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ndoc3 at steinmetz.org Thu May 3 01:34:46 2012 From: ndoc3 at steinmetz.org (Peter N. Steinmetz) Date: Wed, 2 May 2012 16:34:46 -0700 Subject: puzzling no output from nrpe run of check_load Message-ID: <58290642-8B51-4ED9-BB4F-E8025B8ADF0D@steinmetz.org> Continuing with this debugging. I think I understand the point about needing a shell permission to write output to the terminal window. I've now replaced the shell on the remote host with /bin/false and eliminated the password for the nagios user on the remote machine. If I leave the password and shell for the nagios user on the nagios server, I can execute the following there: sudo su nagios -c "/usr/lib/nagios/plugins/check_nrpe -H rm16 -c check_load" and I get the expected output. This would seem to imply that the nrpe daemon on the remote can run the check_load command and get output from it, passing it back to the nagios server, right? The configuration for the remote service on the nagios server is (in /etc/nagios3/conf.d/rm16.cfg): define service { use generic-service host_name rm16 service_description nrpe-load check_command check_nrpe!check_load } which appears to agree with the example on page 11 of the NRPE manual. Yet the nagios server is constantly showing: Current Status: UNKNOWN (for 7d 22h 37m 19s) Status Information: (No output returned from plugin) NRPE Plugin for Nagios for service state information on that remote host. The definition of the check_command seems right for a no argument command on the remote -- but is this wrong somehow? I also just tried changing the service definition to # NRPE load check define service { use generic-service host_name rm16 service_description nrpe-load check_command check_nrpe_1arg!check_load!$HOSTADDRESS$ } but the same complaint is showing up in the server output for this service, which seems a bit odd given then the command should now be check_nrpe_1arg rather than check_nrpe. thanks, Peter On Apr 30, 2012, at 10:56 AM, Eliezer Croitoru wrote: > so it seems that the check_load needs shell rights to show any output > what so ever also the --help stuff. > it's kind of understandable. > > Eliezer -- Peter N. Steinmetz, M.D.,Ph.D. Program Director, Neuroengineering Barrow Neurological Institute PeterNSteinmetz at steinmetz.org 602-406-3258 http://steinmetz.org/peter ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ndoc3 at steinmetz.org Thu May 3 01:49:43 2012 From: ndoc3 at steinmetz.org (Peter N. Steinmetz) Date: Wed, 2 May 2012 16:49:43 -0700 Subject: SOLVED: Re: puzzling no output from nrpe run of check_load In-Reply-To: <58290642-8B51-4ED9-BB4F-E8025B8ADF0D@steinmetz.org> References: <58290642-8B51-4ED9-BB4F-E8025B8ADF0D@steinmetz.org> Message-ID: <4CE169BB-B52C-48BE-8166-A46917443B0C@steinmetz.org> OK, I didn't wait long enough for the service to update, sorry. Changing the check_command definition to check_nrpe_1arg with the $HOSTADDRESS$ argument worked. It appears that the NRPE manual is incorrect on this. The examples it gives have just check_nrpe for argument-less commands on the remote server. That just consumed 3 hours or so, so quite painful. Sort of a bug in the documentation. How does one file a bug report on nagios? I couldn't find it at sourceforge or on www.nagios.org. I'm also happy to modify the source for the document if added as a developer on the sourceforge project (but the join link wasn't clear either). thanks, Peter On May 2, 2012, at 4:34 PM, Peter N. Steinmetz wrote: > I also just tried changing the service definition to > > # NRPE load check > define service { > use generic-service > host_name rm16 > service_description nrpe-load > check_command check_nrpe_1arg!check_load!$HOSTADDRESS$ > } > > but the same complaint is showing up in the server output for this service, which seems a bit odd given then the command should now be check_nrpe_1arg rather than check_nrpe. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 shiziwen at gmail.com Thu May 3 05:57:13 2012 From: shiziwen at gmail.com (Wenhua Zhang) Date: Thu, 3 May 2012 11:57:13 +0800 Subject: status-txt: easier for other applications/services to use Nagios data Message-ID: Hi all, Recently, we need a API or application to get the nagios data as other easily readable format such as XML, JSON or plain text instead of the default HTML. status-txt is implemented to?duplicate the output of status.cgi in plain text to achieve this goal, making it easier for other applications/services to use Nagios data. Compile status-txt.c to create status-txt.cgi,?this cgi accepts exactly the same URL parameters that status.cgi accepts, and filters its output appropriately. In this version, it accepts almost all the arguments passed in the URL which status.cgi?accepts?except "style", "navbarsearch", "columns" and "noheader". And we will add more?functionalities?in the next version. The status-txt.cgi will returns?service?data that appears in the "status" table of status.cgi as?"host_ip?? host_status [service:service_status;......]", not includes the top portion of the page, eg: ? ?196.0.0.1 ? ? ?UP ? ?HTTP_80:OK; ? ?196.0.0.2 ? ? ?UP ? ?DB_PORT_3306:OK;DB_PORT_3307:OK; And you can use some arguments to?filter its output, such as "hostgroup", "servicegroup", "host" and so on. The attachment is the source code, if you have any ideas about it, please feel free to let me know. You can also get the source code from github "https://github.com/shiziwen/nagios-status2txt". Thanks, Best Wishes, Wenhua -------------- next part -------------- A non-text attachment was scrubbed... Name: status-txt.c Type: text/x-csrc Size: 25918 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 mad at b-care.net Thu May 3 07:56:52 2012 From: mad at b-care.net (MAD) Date: Thu, 03 May 2012 07:56:52 +0200 Subject: status-txt: easier for other applications/services to use Nagios data In-Reply-To: References: Message-ID: <4FA21E24.5060706@b-care.net> Hi, You could also use the "mk_livestatus" broker (available here http://mathias-kettner.de/checkmk_livestatus.html) which can be used to fetch information from Nagios in JSON format by forging your own requests. Best regards, Marc-Andr? On 05/03/2012 05:57 AM, Wenhua Zhang wrote: > Hi all, > Recently, we need a API or application to get the nagios data as other > easily readable format such as XML, JSON or plain text instead of the > default HTML. > status-txt is implemented to duplicate the output of status.cgi in > plain text to achieve this goal, making it easier for other > applications/services to use Nagios data. > > Compile status-txt.c to create status-txt.cgi, this cgi accepts > exactly the same URL parameters that status.cgi accepts, and filters > its output appropriately. > In this version, it accepts almost all the arguments passed in the URL > which status.cgi accepts except "style", "navbarsearch", "columns" and > "noheader". > And we will add more functionalities in the next version. > > The status-txt.cgi will returns service data that appears in the > "status" table of status.cgi as "host_ip host_status > [service:service_status;......]", not includes the top portion of the > page, eg: > 196.0.0.1 UP HTTP_80:OK; > 196.0.0.2 UP DB_PORT_3306:OK;DB_PORT_3307:OK; > And you can use some arguments to filter its output, such as > "hostgroup", "servicegroup", "host" and so on. > > The attachment is the source code, if you have any ideas about it, > please feel free to let me know. > You can also get the source code from github > "https://github.com/shiziwen/nagios-status2txt". > > > Thanks, > Best Wishes, > Wenhua > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 leonardo at lbasolutions.com Thu May 3 14:03:19 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Thu, 3 May 2012 09:03:19 -0300 Subject: Exclude monitoring in holidays Message-ID: Hey people! I don't want that nagios monitoring hosts/services in holidays that I specified. Does anyone know if is it possible, if so, how can I do that ? Many thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 ftlnagios at gmail.com Thu May 3 15:28:05 2012 From: ftlnagios at gmail.com (FTL Nagios) Date: Thu, 3 May 2012 14:28:05 +0100 Subject: Exclude monitoring in holidays In-Reply-To: References: Message-ID: <004801cd2930$93353840$b99fa8c0$@gmail.com> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod From: Leonardo Bacha Abrantes [mailto:leonardo at lbasolutions.com] Sent: 03 May 2012 13:03 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Exclude monitoring in holidays Hey people! I don't want that nagios monitoring hosts/services in holidays that I specified. Does anyone know if is it possible, if so, how can I do that ? Many thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 mail at catsnest.co.uk Thu May 3 15:54:46 2012 From: mail at catsnest.co.uk (RichTea) Date: Thu, 3 May 2012 14:54:46 +0100 Subject: Exclude monitoring in holidays In-Reply-To: References: Message-ID: On Thu, May 3, 2012 at 1:03 PM, Leonardo Bacha Abrantes < leonardo at lbasolutions.com> wrote: > Hey people! > > I don't want that nagios monitoring hosts/services in holidays that I > specified. > Does anyone know if is it possible, if so, how can I do that ? > > HI Leonardo, You could schedule downtime if you just dont want the alerts going out. Or disable the checks if you do not want them running at all. you can use a script that piped in the the Nagios command file to automate ether of the above. Ritchie, -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> > Many thanks! > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Thu May 3 15:18:51 2012 From: a31modela at hotmail.com (steve f) Date: Thu, 3 May 2012 09:18:51 -0400 Subject: Exclude monitoring in holidays In-Reply-To: References: Message-ID: You could probably set up a time period object with a series of exclusion dates. Have the check(s) run every day except the days you dont want to run. Or you could, just before the holiday in question, put the check into scheduled down time. That could be time consumong depending on how many hosts / checks you have Here is info on doing the time period set up http://nagios.sourceforge.net/docs/3_0/timeperiods.html http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod Good Luck, Steve From: leonardo at lbasolutions.com Date: Thu, 3 May 2012 09:03:19 -0300 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Exclude monitoring in holidays Hey people! I don't want that nagios monitoring hosts/services in holidays that I specified. Does anyone know if is it possible, if so, how can I do that ? Many thanks! ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 leonardo at lbasolutions.com Thu May 3 16:32:30 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Thu, 3 May 2012 11:32:30 -0300 Subject: Exclude monitoring in holidays In-Reply-To: References: Message-ID: Hey friends, many thanks! On Thu, May 3, 2012 at 10:18 AM, steve f wrote: > You could probably set up a time period object with a series of exclusion > dates. Have the check(s) run every day except the days you dont want to > run. Or you could, just before the holiday in question, put the check into > scheduled down time. That could be time consumong depending on how many > hosts / checks you have > > Here is info on doing the time period set up > > http://nagios.sourceforge.net/docs/3_0/timeperiods.html > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod > > Good Luck, > Steve > > ------------------------------ > From: leonardo at lbasolutions.com > Date: Thu, 3 May 2012 09:03:19 -0300 > > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Exclude monitoring in holidays > > Hey people! > > I don't want that nagios monitoring hosts/services in holidays that I > specified. > Does anyone know if is it possible, if so, how can I do that ? > > Many thanks! > > ------------------------------------------------------------------------------ > Live Security Virtual Conference Exclusive live event will cover all the > ways today's security and threat landscape has changed and how IT managers > can respond. Discussions will include endpoint security, mobile security > and the latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ 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 > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 ck at claudiokuenzler.com Thu May 3 14:45:50 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Thu, 3 May 2012 14:45:50 +0200 Subject: Exclude monitoring in holidays In-Reply-To: References: Message-ID: First you create a timeperiod which contains all the holidays you want to specify. I guess you already did that. Let's assume you called this timeperiod "*myholidays*". Now you need to exclude this from your usual check timeperiod (24x7 by default): # This defines a timeperiod where all times are valid for checks, # notifications, etc. The classic "24x7" support nightmare. :-) define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week exclude myholidays sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } As you see, the important configuration here is the "exclude" line. It's actually pretty easy and you can combine many exclusions like this. On Thu, May 3, 2012 at 2:03 PM, Leonardo Bacha Abrantes < leonardo at lbasolutions.com> wrote: > Hey people! > > I don't want that nagios monitoring hosts/services in holidays that I > specified. > Does anyone know if is it possible, if so, how can I do that ? > > Many thanks! > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 jm+nagios-users at roth.lu Thu May 3 17:44:54 2012 From: jm+nagios-users at roth.lu (Marki) Date: Thu, 3 May 2012 15:44:54 +0000 (UTC) Subject: notifications References: Message-ID: C. Bensend bennyvision.com> writes: > > > > I am using Nagios 3.3.1 > > > > I have got notifications by SMS working now > > > > Is there a way of defining what notifications go to email, what go > > to SMS and what can go to both. I personally would also find it interesting for SMS alerts only to notify a critical state *once* (even if emails are sent repeatedly due to notification_interval greater than 0). The SMS notifications obviously should include a recovery message. Not sure how to do this without setting up two completely separate service checks... ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ftlnagios at gmail.com Thu May 3 18:31:26 2012 From: ftlnagios at gmail.com (FTL Nagios) Date: Thu, 3 May 2012 17:31:26 +0100 Subject: notifications In-Reply-To: References: Message-ID: <007101cd294a$306c8730$91459590$@gmail.com> Marki, I use the following host and service escalations to do exactly that. It makes the first notification a text and email and subsequent problem alerts email only, then an email and SMS for recovery Don't know if it's the right way to do it but it works fine for me define hostescalation{ host_name ABC first_notification 1 last_notification 4 notification_interval 20 contact_groups Website Email escalation_options d,r } define hostescalation{ host_name ABC first_notification 1 last_notification 1 notification_interval 20 contact_groups Website sms escalation_options d } define hostescalation{ host_name ABC first_notification 1 last_notification 4 notification_interval 20 contact_groups Website sms escalation_options r } define hostescalation{ host_name ABC first_notification 5 last_notification 0 notification_interval 0 contact_groups Website Email escalation_options d,r } define hostescalation{ host_name ABC first_notification 5 last_notification 0 notification_interval 0 contact_groups Website sms escalation_options r } define serviceescalation{ host_name ABC service_description SITE TRAWL first_notification 1 last_notification 4 notification_interval 20 contact_groups Website Email escalation_options c,r } define serviceescalation{ host_name ABC service_description SITE TRAWL first_notification 1 last_notification 1 notification_interval 20 contact_groups Website sms escalation_options c } define serviceescalation{ host_name ABC service_description SITE TRAWL first_notification 1 last_notification 4 notification_interval 20 contact_groups Website sms escalation_options r } define serviceescalation{ host_name ABC service_description SITE TRAWL first_notification 5 last_notification 0 notification_interval 0 contact_groups Website Email escalation_options c,r } define serviceescalation{ host_name ABC service_description SITE TRAWL first_notification 5 last_notification 0 notification_interval 0 contact_groups Website sms escalation_options r } -----Original Message----- From: Marki [mailto:jm+nagios-users at roth.lu] Sent: 03 May 2012 16:45 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] notifications C. Bensend bennyvision.com> writes: > > > > I am using Nagios 3.3.1 > > > > I have got notifications by SMS working now > > > > Is there a way of defining what notifications go to email, what go > > to SMS and what can go to both. I personally would also find it interesting for SMS alerts only to notify a critical state *once* (even if emails are sent repeatedly due to notification_interval greater than 0). The SMS notifications obviously should include a recovery message. Not sure how to do this without setting up two completely separate service checks... ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 leonardo at lbasolutions.com Thu May 3 17:21:41 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Thu, 3 May 2012 12:21:41 -0300 Subject: Exclude monitoring in holidays In-Reply-To: References: Message-ID: Many thanks friends! :p On Thu, May 3, 2012 at 9:45 AM, Claudio Kuenzler wrote: > First you create a timeperiod which contains all the holidays you want to > specify. I guess you already did that. > > Let's assume you called this timeperiod "*myholidays*". > Now you need to exclude this from your usual check timeperiod (24x7 by > default): > > # This defines a timeperiod where all times are valid for checks, > # notifications, etc. The classic "24x7" support nightmare. :-) > define timeperiod{ > timeperiod_name 24x7 > alias 24 Hours A Day, 7 Days A Week > exclude myholidays > sunday 00:00-24:00 > monday 00:00-24:00 > tuesday 00:00-24:00 > wednesday 00:00-24:00 > thursday 00:00-24:00 > friday 00:00-24:00 > saturday 00:00-24:00 > } > > As you see, the important configuration here is the "exclude" line. It's > actually pretty easy and you can combine many exclusions like this. > > > > On Thu, May 3, 2012 at 2:03 PM, Leonardo Bacha Abrantes < > leonardo at lbasolutions.com> wrote: > >> Hey people! >> >> I don't want that nagios monitoring hosts/services in holidays that I >> specified. >> Does anyone know if is it possible, if so, how can I do that ? >> >> Many thanks! >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> 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 >> > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 shiziwen at gmail.com Thu May 3 18:51:52 2012 From: shiziwen at gmail.com (Wenhua Zhang) Date: Fri, 4 May 2012 00:51:52 +0800 Subject: status-txt: easier for other applications/services to use Nagios data In-Reply-To: <4FA21E24.5060706@b-care.net> References: <4FA21E24.5060706@b-care.net> Message-ID: Hi, Thanks for your reply. As we know, MKLivestatus is a Nagios Event Broker (NEB) Module which can be used to extend the core of Nagios. This module can provide access to the live status information kept in the running Nagios process. It serves a unix socket for data exchange with external scripts/addons, it is stable and extremely fast. status-txt is a simple and light way to get the nagios data in plain text, it likes status-json ( http://exchange.nagios.org/directory/Addons/APIs/JSON/status-2Djson/details), try to making it easier for other applications/services to use Nagios data. I hope status-txt can be useful for those who have the same need as we did (try to get the nagios data as other easily readable format). Best Wishes, Wenhua 2012/5/3 MAD > Hi, > > You could also use the "mk_livestatus" broker (available here > http://mathias-kettner.de/checkmk_livestatus.html) which can be used to > fetch information from Nagios in JSON format by forging your own requests. > > Best regards, > Marc-Andr? > > > On 05/03/2012 05:57 AM, Wenhua Zhang wrote: > > Hi all, > Recently, we need a API or application to get the nagios data as other > easily readable format such as XML, JSON or plain text instead of the > default HTML. > status-txt is implemented to duplicate the output of status.cgi in > plain text to achieve this goal, making it easier for other > applications/services to use Nagios data. > > Compile status-txt.c to create status-txt.cgi, this cgi accepts > exactly the same URL parameters that status.cgi accepts, and filters > its output appropriately. > In this version, it accepts almost all the arguments passed in the URL > which status.cgi accepts except "style", "navbarsearch", "columns" and > "noheader". > And we will add more functionalities in the next version. > > The status-txt.cgi will returns service data that appears in the > "status" table of status.cgi as "host_ip host_status > [service:service_status;......]", not includes the top portion of the > page, eg: > 196.0.0.1 UP HTTP_80:OK; > 196.0.0.2 UP DB_PORT_3306:OK;DB_PORT_3307:OK; > And you can use some arguments to filter its output, such as > "hostgroup", "servicegroup", "host" and so on. > > The attachment is the source code, if you have any ideas about it, > please feel free to let me know. > You can also get the source code from github"https://github.com/shiziwen/nagios-status2txt" . > > > Thanks, > Best Wishes, > Wenhua > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > 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 > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 paul at ezvan.fr Fri May 4 12:16:34 2012 From: paul at ezvan.fr (Paul Ezvan) Date: Fri, 04 May 2012 12:16:34 +0200 Subject: Service hard state generation and host hard or soft down status Message-ID: <8020a8d69f8f0e2a260f8cb778c66159@www.ezvan.fr> Hi dear Nagios users, I have some interrogation about hard state generation. According to the documentation, one of the condition to create a hard non-ok state for a service is to get a check in a non-ok state while the associated host is down. But it is not stated if the host should be down HARD or not. The current behavior of Nagios is clearly ignoring if the host is in SOFT or HARD down state, for example : [1336039429] INITIAL HOST STATE: ces;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.42 ms [1336039429] INITIAL SERVICE STATE: ces;SV-SE-Linux-Memoire;OK;HARD;1;OK: Memory Usage (W> 95): 12%Swap Usage (W> 95, C> 99): 0% [1336039429] INITIAL SERVICE STATE: ces;SV-SE-Linux-SWAP;OK;HARD;1;SWAP OK - 100% free (3999 MB out of 3999 MB) [1336039747] HOST ALERT: ces;DOWN;SOFT;1;CRITICAL - Host Unreachable (10.235.72.159) [1336039812] HOST ALERT: ces;DOWN;SOFT;2;CRITICAL - Host Unreachable (10.235.72.159) [1336039822] SERVICE ALERT: ces;SV-SE-Linux-SWAP;CRITICAL;HARD;1;Connection refused or timed out [1336039822] SERVICE ALERT: ces;SV-SE-Linux-Memoire;CRITICAL;HARD;1;Connection refused or timed out [1336039877] HOST ALERT: ces;DOWN;HARD;3;CRITICAL - Host Unreachable (10.235.72.159) [1336040122] SERVICE ALERT: ces;SV-SE-Linux-Memoire;CRITICAL;HARD;1;Connection refused or timed out [1336040122] SERVICE ALERT: ces;SV-SE-Linux-SWAP;CRITICAL;HARD;1;Connection refused or timed out The associated service immediately get an HARD non-ok state even if the host is in a SOFT down state. In the Nagios code I found in base/checks.c in non-ok state processing logic : /* if the host is down or unreachable ... */ /* 05/29/2007 NOTE: The host might be in a SOFT problem state due to host check retries/caching. Not sure if we should take that into account and do something different or not... */ if(route_result != HOST_UP) { I think we should take into account the SOFT or HARD host state to ensure consistency between host and service hard/soft state. Is my analysis correct ? What is your point of view about the above proposition ? Thanks for reading, cheers. Paul Ezvan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Fri May 4 13:30:03 2012 From: ae at op5.se (Andreas Ericsson) Date: Fri, 04 May 2012 13:30:03 +0200 Subject: Service hard state generation and host hard or soft down status In-Reply-To: <8020a8d69f8f0e2a260f8cb778c66159@www.ezvan.fr> References: <8020a8d69f8f0e2a260f8cb778c66159@www.ezvan.fr> Message-ID: <4FA3BDBB.8010103@op5.se> On 05/04/2012 12:16 PM, Paul Ezvan wrote: > Hi dear Nagios users, > > I have some interrogation about hard state generation. > > According to the documentation, one of the condition to create a hard > non-ok state for a service is to get a check in a non-ok state while the > associated host is down. But it is not stated if the host should be down > HARD or not. > > The current behavior of Nagios is clearly ignoring if the host is in > SOFT or HARD down state, for example : > > [1336039429] INITIAL HOST STATE: ces;UP;HARD;1;PING OK - Packet loss = > 0%, RTA = 0.42 ms > [1336039429] INITIAL SERVICE STATE: > ces;SV-SE-Linux-Memoire;OK;HARD;1;OK: Memory Usage (W> 95): 12%Swap > Usage (W> 95, C> 99): 0% > [1336039429] INITIAL SERVICE STATE: ces;SV-SE-Linux-SWAP;OK;HARD;1;SWAP > OK - 100% free (3999 MB out of 3999 MB) > [1336039747] HOST ALERT: ces;DOWN;SOFT;1;CRITICAL - Host Unreachable > (10.235.72.159) > [1336039812] HOST ALERT: ces;DOWN;SOFT;2;CRITICAL - Host Unreachable > (10.235.72.159) > [1336039822] SERVICE ALERT: > ces;SV-SE-Linux-SWAP;CRITICAL;HARD;1;Connection refused or timed out > [1336039822] SERVICE ALERT: > ces;SV-SE-Linux-Memoire;CRITICAL;HARD;1;Connection refused or timed out > [1336039877] HOST ALERT: ces;DOWN;HARD;3;CRITICAL - Host Unreachable > (10.235.72.159) > [1336040122] SERVICE ALERT: > ces;SV-SE-Linux-Memoire;CRITICAL;HARD;1;Connection refused or timed out > [1336040122] SERVICE ALERT: > ces;SV-SE-Linux-SWAP;CRITICAL;HARD;1;Connection refused or timed out > > The associated service immediately get an HARD non-ok state even if the > host is in a SOFT down state. > > In the Nagios code I found in base/checks.c in non-ok state processing > logic : > > /* if the host is down or unreachable ... */ > /* 05/29/2007 NOTE: The host might be in a SOFT problem state due to > host check retries/caching. Not sure if we should take that into > account and do something different or not... */ > if(route_result != HOST_UP) { > > I think we should take into account the SOFT or HARD host state to > ensure consistency between host and service hard/soft state. > > Is my analysis correct ? > Yes. > What is your point of view about the above proposition ? > That, from a practical perspective, Nagios is doing the Right Thing(tm) already. Avoiding false positives is almost as important as catching all true negatives, and adding soft-state logic to this would mean we send one false positive for each failing host that happens to have a service-check occur after the soft state but before the hard state. -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 paul at ezvan.fr Fri May 4 14:39:40 2012 From: paul at ezvan.fr (Paul Ezvan) Date: Fri, 04 May 2012 14:39:40 +0200 Subject: Service hard state generation and host hard or soft down status In-Reply-To: <4FA3BDBB.8010103@op5.se> References: <8020a8d69f8f0e2a260f8cb778c66159@www.ezvan.fr> <4FA3BDBB.8010103@op5.se> Message-ID: <7358925680e51acd27ec0370a655c067@www.ezvan.fr> Le 04/05/2012 13:30, Andreas Ericsson a ?crit?: > On 05/04/2012 12:16 PM, Paul Ezvan wrote: > >> What is your point of view about the above proposition ? >> > > That, from a practical perspective, Nagios is doing the Right > Thing(tm) > already. Avoiding false positives is almost as important as catching > all true negatives, and adding soft-state logic to this would mean we > send one false positive for each failing host that happens to have a > service-check occur after the soft state but before the hard state. I don't understand your point, the current logic can generate a false positive for example by generating a hard non-ok state for a service just before a soft recovery happens for the associated host. For example if a user want to reduce the number of false positive by increasing max_check_attempts it won't have any effect on avoiding hard non-ok state for services on soft down host. I think that adding this king of logic would reduce false positive instead, wouldn't it ? Cheers, Paul ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Fri May 4 14:48:48 2012 From: work at paul.dubuc.org (Paul Dubuc) Date: Fri, 04 May 2012 08:48:48 -0400 Subject: status-txt: easier for other applications/services to use Nagios data In-Reply-To: References: <4FA21E24.5060706@b-care.net> Message-ID: <4FA3D030.2010006@paul.dubuc.org> LivestatusSlave works makes MKLivestatus a web service which provides the status information in JSON syntax. http://nagios.larsmichelsen.com/livestatusslave/ Wenhua Zhang wrote: > Hi,? > Thanks for your reply. > > As we know,?MKLivestatus is a Nagios Event Broker (NEB) Module which can be > used to extend the core of Nagios. This module can provide access to the live > status information kept in the running Nagios process. It serves a unix socket > for data exchange with external scripts/addons, it is stable and extremely fast. > > status-txt is a simple and light way to get the nagios data in plain text, it > likes status-json > (http://exchange.nagios.org/directory/Addons/APIs/JSON/status-2Djson/details), > try to?making it easier for other applications/services to use Nagios data. > > I hope?status-txt can be useful for those who have the same need as we did > (try to get the nagios data as other easily readable format). > > Best Wishes, > Wenhua > > > 2012/5/3 MAD > > > Hi, > > You could also use the "mk_livestatus" broker (available here > http://mathias-kettner.de/checkmk_livestatus.html) which can be used to > fetch information from Nagios in JSON format by forging your own requests. > > Best regards, > Marc-Andr? > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 cxznvkxn at COMPUTER.net Fri May 4 10:31:01 2012 From: cxznvkxn at COMPUTER.net (=?utf-8?B?5Lmc55KQ5qKF?=) Date: Fri, 4 May 2012 16:31:01 +0800 Subject: =?utf-8?b?bWVtb3J5ZmluZS0t5aaCLuS9lS7lgZou5aW9Lg==?= =?utf-8?b?5L6bLuW6lC7luIIu5Zy6LueahC7osIMu5p+lLu+8nw==?= Message-ID: <20120504163115841278@ps-architects.com> ???? HTML ????????????????? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 bassem_farouk at yahoo.com Fri May 4 02:49:39 2012 From: bassem_farouk at yahoo.com (bassem farouk) Date: Thu, 3 May 2012 17:49:39 -0700 (PDT) Subject: check_procs question Message-ID: <1336092579.83750.YahooMailNeo@web130104.mail.mud.yahoo.com> Hi i am asking regarding the Nagios plugin check_procs can i use this to check in the NOTEPAD.EXE is more than 5 instances in a server(windows box) and they are running for more than 1 hour if so , what is the parameters to do that if not , how can i do that? Thanks Bassem -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 PeterNSteinmetz at steinmetz.org Thu May 3 01:33:38 2012 From: PeterNSteinmetz at steinmetz.org (Peter N. Steinmetz) Date: Wed, 2 May 2012 16:33:38 -0700 Subject: puzzling no output from nrpe run of check_load In-Reply-To: <4F9ED251.3000900@ngtech.co.il> References: <4F9821C3.8080400@nagios.com> <3267F8C54E50F4409A01B84791B9A9012A996FD722@MENTZ.ccc.lan> <724943E1-1C10-4188-B254-28F8BC6BCA30@steinmetz.org> <4F9ED251.3000900@ngtech.co.il> Message-ID: Continuing with this debugging. I think I understand the point about needing a shell permission to write output to the terminal window. I've now replaced the shell on the remote host with /bin/false and eliminated the password for the nagios user on the remote machine. If I leave the password and shell for the nagios user on the nagios server, I can execute the following there: sudo su nagios -c "/usr/lib/nagios/plugins/check_nrpe -H rm16 -c check_load" and I get the expected output. This would seem to imply that the nrpe daemon on the remote can run the check_load command and get output from it, passing it back to the nagios server, right? The configuration for the remote service on the nagios server is (in /etc/nagios3/conf.d/rm16.cfg): define service { use generic-service host_name rm16 service_description nrpe-load check_command check_nrpe!check_load } which appears to agree with the example on page 11 of the NRPE manual. Yet the nagios server is constantly showing: Current Status: UNKNOWN (for 7d 22h 37m 19s) Status Information: (No output returned from plugin) NRPE Plugin for Nagios for service state information on that remote host. The definition of the check_command seems right for a no argument command on the remote -- but is this wrong somehow? I also just tried changing the service definition to # NRPE load check define service { use generic-service host_name rm16 service_description nrpe-load check_command check_nrpe_1arg!check_load!$HOSTADDRESS$ } but the same complaint is showing up in the server output for this service, which seems a bit odd given then the command should now be check_nrpe_1arg rather than check_nrpe. thanks, Peter On Apr 30, 2012, at 10:56 AM, Eliezer Croitoru wrote: > so it seems that the check_load needs shell rights to show any output > what so ever also the --help stuff. > it's kind of understandable. > > Eliezer ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 agriffin at nagios.com Fri May 4 20:12:03 2012 From: agriffin at nagios.com (Alex Griffin) Date: Fri, 04 May 2012 13:12:03 -0500 Subject: Nagios based distributed monitoring systems out there? In-Reply-To: <84B00D15D2A9B941BBF28EECBDB543AF2A5FC463@VC3-EXCH-02.vc3.com> References: <84B00D15D2A9B941BBF28EECBDB543AF2A5FC07F@VC3-EXCH-02.vc3.com> <4FA18519.6060209@nagios.com> <84B00D15D2A9B941BBF28EECBDB543AF2A5FC463@VC3-EXCH-02.vc3.com> Message-ID: <4FA41BF3.3040108@nagios.com> We've just released a beta of NRDS here at Nagios Enterprises, which adds exactly that functionality to our commercial product, Nagios XI. It should also be much cheaper than OpsView. Check it out here: http://labs.nagios.com/2012/04/20/nagios-remote-data-sender-beta/ Alex Griffin --- Tech Team agriffin at nagios.com On 05/02/2012 04:55 PM, James Whittington wrote: > " what you mean by "reverse tunnel master/slave distributed model," > So you have master server > - that presents the master web interface > - controls configs for everything > -sends out notifications > > Slave servers are placed at remote locations to do active polling and results are returned to the master. > Slave servers initiate ssh session to master and open up reverse tunnel back to itself. > So data from slaves comes in via port 22, config data is pushed out to slaves over reverse ssh port. > > The cool thing is we don't have to deal with opening up ssh on a bunch of remote networks. > As long as SSH is allowed out from remote networks and we allow in SSH from the remote networks everything just works. > > Other distributed setups I had seen had to have direct ssh access out from master to slave. > > Opsview Community edition was really a great value, but the move to enterprise edition would be a big cost increase, so I figured it was worth asking about distributed setup in other nagios based products. > > James > > > > -----Original Message----- > From: Alex Griffin [mailto:agriffin at nagios.com] > Sent: Wednesday, May 02, 2012 3:04 PM > To: Nagios Users List > Subject: Re: [Nagios-users] Nagios based distributed monitoring systems out there? > > I'm not sure how Opsview handles this or what you mean by "reverse tunnel master/slave distributed model," but there are several distributed monitoring solutions out there for Nagios. The two that come to mind for me are mod_gearman and dnx, but I'm certain I've seen others as well. Nagios XI integrates pretty well with DNX too. > > Alex Griffin > --- > Tech Team > agriffin at nagios.com > > James Whittington wrote: >> This is not entirely Nagios related, more nagios backend architecture >> related. >> >> We had been a long time user of Opsview Community Edition. >> >> We were monitoring multiple sites so we were drawn in by Opsview's >> ease of distributed server setup. >> >> Unfortunately Opsview is dropping distributed monitoring from the >> community edition (a point brought up by Opsview sales when they >> contacted us about buying enterprise). >> >> I now am stuck with a system monitoring 1000 hosts across different >> locations with a no low cost upgrade path under Opsview. >> >> What my company ultimately decides to do is not entirely up to me but >> I was curious if other nagios based monitoring systems handled a >> reverse tunnel master/slave distributed model as well as Opsview used to? >> >> If Opsview is listening, next time you drop core features from your >> product do your registered users a favor and give them advanced >> notice, instead of using it as a sales talking point. >> >> Thanks. >> >> James >> >> >> >> ---------------------------------------------------------------------- >> -------- >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. >> Discussions will include endpoint security, mobile security and the >> latest in malware threats. >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> >> >> _______________________________________________ >> 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 > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 agriffin at nagios.com Fri May 4 20:15:11 2012 From: agriffin at nagios.com (Alex Griffin) Date: Fri, 04 May 2012 13:15:11 -0500 Subject: status-txt: easier for other applications/services to use Nagios data In-Reply-To: References: Message-ID: <4FA41CAF.8070806@nagios.com> Thanks for posting this, it looks pretty useful! Alex Griffin --- Tech Team agriffin at nagios.com On 05/02/2012 10:57 PM, Wenhua Zhang wrote: > Hi all, > Recently, we need a API or application to get the nagios data as other > easily readable format such as XML, JSON or plain text instead of the > default HTML. > status-txt is implemented to duplicate the output of status.cgi in > plain text to achieve this goal, making it easier for other > applications/services to use Nagios data. > > Compile status-txt.c to create status-txt.cgi, this cgi accepts > exactly the same URL parameters that status.cgi accepts, and filters > its output appropriately. > In this version, it accepts almost all the arguments passed in the URL > which status.cgi accepts except "style", "navbarsearch", "columns" and > "noheader". > And we will add more functionalities in the next version. > > The status-txt.cgi will returns service data that appears in the > "status" table of status.cgi as "host_ip host_status > [service:service_status;......]", not includes the top portion of the > page, eg: > 196.0.0.1 UP HTTP_80:OK; > 196.0.0.2 UP DB_PORT_3306:OK;DB_PORT_3307:OK; > And you can use some arguments to filter its output, such as > "hostgroup", "servicegroup", "host" and so on. > > The attachment is the source code, if you have any ideas about it, > please feel free to let me know. > You can also get the source code from github > "https://github.com/shiziwen/nagios-status2txt". > > > Thanks, > Best Wishes, > Wenhua > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 shiziwen at gmail.com Sat May 5 16:21:11 2012 From: shiziwen at gmail.com (Wenhua Zhang) Date: Sat, 5 May 2012 22:21:11 +0800 Subject: status-txt: easier for other applications/services to use Nagios data In-Reply-To: <4FA41CAF.8070806@nagios.com> References: <4FA41CAF.8070806@nagios.com> Message-ID: Thanks for your reply! I hope it will be useful to you. It is the first version and we will add more functions. If you have some advice, please feel free to let me know. Thanks, Best Wishes, Wenhua 2012/5/5 Alex Griffin : > Thanks for posting this, it looks pretty useful! > > Alex Griffin > --- > Tech Team > agriffin at nagios.com > > On 05/02/2012 10:57 PM, Wenhua Zhang wrote: >> Hi all, >> Recently, we need a API or application to get the nagios data as other >> easily readable format such as XML, JSON or plain text instead of the >> default HTML. >> status-txt is implemented to duplicate the output of status.cgi in >> plain text to achieve this goal, making it easier for other >> applications/services to use Nagios data. >> >> Compile status-txt.c to create status-txt.cgi, this cgi accepts >> exactly the same URL parameters that status.cgi accepts, and filters >> its output appropriately. >> In this version, it accepts almost all the arguments passed in the URL >> which status.cgi accepts except "style", "navbarsearch", "columns" and >> "noheader". >> And we will add more functionalities in the next version. >> >> The status-txt.cgi will returns service data that appears in the >> "status" table of status.cgi as "host_ip ? host_status >> [service:service_status;......]", not includes the top portion of the >> page, eg: >> ? ? 196.0.0.1 ? ? ?UP ? ?HTTP_80:OK; >> ? ? 196.0.0.2 ? ? ?UP ? ?DB_PORT_3306:OK;DB_PORT_3307:OK; >> And you can use some arguments to filter its output, such as >> "hostgroup", "servicegroup", "host" and so on. >> >> The attachment is the source code, if you have any ideas about it, >> please feel free to let me know. >> You can also get the source code from github >> "https://github.com/shiziwen/nagios-status2txt". >> >> >> Thanks, >> Best Wishes, >> Wenhua >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> >> >> _______________________________________________ >> 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 > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 rarends at imc.net.au Sat May 5 18:37:30 2012 From: rarends at imc.net.au (Robert Arends) Date: Sat, 5 May 2012 16:37:30 +0000 Subject: status-txt: easier for other applications/services to use Nagios data In-Reply-To: References: <4FA41CAF.8070806@nagios.com>, Message-ID: Sounds great. Does it output in XML ? Would be good to support that as an option. It would be good to have a search option - as in , return all hosts/services/downtime etc matching ".....". If it could do regex on the match would be nice. I've just written a rough php program to return status.dat as XML. It works very well but C++ would be quicker and I wouldn't have to cleanup the code. I'll run this up during the week to see if it is a good as it sounds like it is. Thanks rob Sent from my iWorld On 06/05/2012, at 2:08, "Wenhua Zhang" wrote: > Thanks for your reply! > I hope it will be useful to you. > It is the first version and we will add more functions. If you have > some advice, please feel free to let me know. > > Thanks, > Best Wishes, > Wenhua > > 2012/5/5 Alex Griffin : >> Thanks for posting this, it looks pretty useful! >> >> Alex Griffin >> --- >> Tech Team >> agriffin at nagios.com >> >> On 05/02/2012 10:57 PM, Wenhua Zhang wrote: >>> Hi all, >>> Recently, we need a API or application to get the nagios data as other >>> easily readable format such as XML, JSON or plain text instead of the >>> default HTML. >>> status-txt is implemented to duplicate the output of status.cgi in >>> plain text to achieve this goal, making it easier for other >>> applications/services to use Nagios data. >>> >>> Compile status-txt.c to create status-txt.cgi, this cgi accepts >>> exactly the same URL parameters that status.cgi accepts, and filters >>> its output appropriately. >>> In this version, it accepts almost all the arguments passed in the URL >>> which status.cgi accepts except "style", "navbarsearch", "columns" and >>> "noheader". >>> And we will add more functionalities in the next version. >>> >>> The status-txt.cgi will returns service data that appears in the >>> "status" table of status.cgi as "host_ip host_status >>> [service:service_status;......]", not includes the top portion of the >>> page, eg: >>> 196.0.0.1 UP HTTP_80:OK; >>> 196.0.0.2 UP DB_PORT_3306:OK;DB_PORT_3307:OK; >>> And you can use some arguments to filter its output, such as >>> "hostgroup", "servicegroup", "host" and so on. >>> >>> The attachment is the source code, if you have any ideas about it, >>> please feel free to let me know. >>> You can also get the source code from github >>> "https://github.com/shiziwen/nagios-status2txt". >>> >>> >>> Thanks, >>> Best Wishes, >>> Wenhua >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> >>> >>> >>> _______________________________________________ >>> 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 >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> 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 > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 nagios at flatto.net Sun May 6 21:57:39 2012 From: nagios at flatto.net (Assaf Flatto) Date: Sun, 06 May 2012 20:57:39 +0100 Subject: LDAP with client SSL certificates Message-ID: <4FA6D7B3.7050302@flatto.net> Hello Is anyone familiar with a ldap plugin that supports client SSL certificates ? The standard check_ldap does not provide this functionality and I was unable to find any other on the monitroing exchnage site . thanks ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 shiziwen at gmail.com Mon May 7 03:05:44 2012 From: shiziwen at gmail.com (Wenhua Zhang) Date: Mon, 7 May 2012 09:05:44 +0800 Subject: status-txt: easier for other applications/services to use Nagios data In-Reply-To: References: <4FA41CAF.8070806@nagios.com> Message-ID: Hi Robert, Thanks for your advice, it is a good idea. As till now, status-txt just returns status.dat as plain text. When we wrote this program, we have thought about many formats, such as JSON, XML, plain text and so on. We use plain text because it is simple, but now I found it may be not widely used as JSON and XML. (status-json can get the nagios data as JSON. You can get it from http://exchange.nagios.org/directory/Addons/APIs/JSON/status-2Djson/details) status-txt is the first version, and we will add more function in the next version, such as more filters and maybe more output formats. I think you can push your PHP program to the this email list, maybe some one will be interested, like me. Best Wishes, Wenhua 2012/5/6 Robert Arends : > Sounds great. Does it output in XML ? Would be good to support that as an option. > It would be good to have a search option - as in , return all hosts/services/downtime etc matching ".....". If it could do regex on the match would be nice. > > I've just written a rough php program to return status.dat as XML. > It works very well but C++ would be quicker and I wouldn't have to cleanup the code. > > I'll run this up during the week to see if it is a good as it sounds like it is. > > Thanks rob > > > > Sent from my iWorld > > On 06/05/2012, at 2:08, "Wenhua Zhang" wrote: > >> Thanks for your reply! >> I hope it will be useful to you. >> It is the first version and we will add more functions. If you have >> some advice, please feel free to let me know. >> >> Thanks, >> Best Wishes, >> Wenhua >> >> 2012/5/5 Alex Griffin : >>> Thanks for posting this, it looks pretty useful! >>> >>> Alex Griffin >>> --- >>> Tech Team >>> agriffin at nagios.com >>> >>> On 05/02/2012 10:57 PM, Wenhua Zhang wrote: >>>> Hi all, >>>> Recently, we need a API or application to get the nagios data as other >>>> easily readable format such as XML, JSON or plain text instead of the >>>> default HTML. >>>> status-txt is implemented to duplicate the output of status.cgi in >>>> plain text to achieve this goal, making it easier for other >>>> applications/services to use Nagios data. >>>> >>>> Compile status-txt.c to create status-txt.cgi, this cgi accepts >>>> exactly the same URL parameters that status.cgi accepts, and filters >>>> its output appropriately. >>>> In this version, it accepts almost all the arguments passed in the URL >>>> which status.cgi accepts except "style", "navbarsearch", "columns" and >>>> "noheader". >>>> And we will add more functionalities in the next version. >>>> >>>> The status-txt.cgi will returns service data that appears in the >>>> "status" table of status.cgi as "host_ip ? host_status >>>> [service:service_status;......]", not includes the top portion of the >>>> page, eg: >>>> ? ? 196.0.0.1 ? ? ?UP ? ?HTTP_80:OK; >>>> ? ? 196.0.0.2 ? ? ?UP ? ?DB_PORT_3306:OK;DB_PORT_3307:OK; >>>> And you can use some arguments to filter its output, such as >>>> "hostgroup", "servicegroup", "host" and so on. >>>> >>>> The attachment is the source code, if you have any ideas about it, >>>> please feel free to let me know. >>>> You can also get the source code from github >>>> "https://github.com/shiziwen/nagios-status2txt". >>>> >>>> >>>> Thanks, >>>> Best Wishes, >>>> Wenhua >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways today's security and >>>> threat landscape has changed and how IT managers can respond. Discussions >>>> will include endpoint security, mobile security and the latest in malware >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> >>>> >>>> >>>> _______________________________________________ >>>> 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 >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> 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 >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> 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 > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 mguthrie at nagios.com Mon May 7 16:08:17 2012 From: mguthrie at nagios.com (Mike Guthrie) Date: Mon, 07 May 2012 09:08:17 -0500 Subject: status-txt: easier for other applications/services to use Nagios data In-Reply-To: References: <4FA41CAF.8070806@nagios.com> Message-ID: <4FA7D751.8090205@nagios.com> As a side note it looks like there is already an addon that's been written that produces the status data in XML format. http://exchange.nagios.org/directory/Addons/APIs/XML/Status-XML-Generator/details Although they won't be making it into the 3.4 release, we'll be looking at incorporating community developed API's for XML and JSON in the next revision of Nagios core since there has been quite a bit of interest in it. On 5/6/2012 8:05 PM, Wenhua Zhang wrote: > Hi Robert, > Thanks for your advice, it is a good idea. > > As till now, status-txt just returns status.dat as plain text. When we > wrote this program, we have thought about many formats, such as JSON, > XML, plain text and so on. We use plain text because it is simple, but > now I found it may be not widely used as JSON and XML. (status-json > can get the nagios data as JSON. You can get it from > http://exchange.nagios.org/directory/Addons/APIs/JSON/status-2Djson/details) > > status-txt is the first version, and we will add more function in the > next version, such as more filters and maybe more output formats. > > I think you can push your PHP program to the this email list, maybe > some one will be interested, like me. > > Best Wishes, > Wenhua > > > 2012/5/6 Robert Arends: >> Sounds great. Does it output in XML ? Would be good to support that as an option. >> It would be good to have a search option - as in , return all hosts/services/downtime etc matching ".....". If it could do regex on the match would be nice. >> >> I've just written a rough php program to return status.dat as XML. >> It works very well but C++ would be quicker and I wouldn't have to cleanup the code. >> >> I'll run this up during the week to see if it is a good as it sounds like it is. >> >> Thanks rob >> >> >> >> Sent from my iWorld >> >> On 06/05/2012, at 2:08, "Wenhua Zhang" wrote: >> >>> Thanks for your reply! >>> I hope it will be useful to you. >>> It is the first version and we will add more functions. If you have >>> some advice, please feel free to let me know. >>> >>> Thanks, >>> Best Wishes, >>> Wenhua >>> >>> 2012/5/5 Alex Griffin: >>>> Thanks for posting this, it looks pretty useful! >>>> >>>> Alex Griffin >>>> --- >>>> Tech Team >>>> agriffin at nagios.com >>>> >>>> On 05/02/2012 10:57 PM, Wenhua Zhang wrote: >>>>> Hi all, >>>>> Recently, we need a API or application to get the nagios data as other >>>>> easily readable format such as XML, JSON or plain text instead of the >>>>> default HTML. >>>>> status-txt is implemented to duplicate the output of status.cgi in >>>>> plain text to achieve this goal, making it easier for other >>>>> applications/services to use Nagios data. >>>>> >>>>> Compile status-txt.c to create status-txt.cgi, this cgi accepts >>>>> exactly the same URL parameters that status.cgi accepts, and filters >>>>> its output appropriately. >>>>> In this version, it accepts almost all the arguments passed in the URL >>>>> which status.cgi accepts except "style", "navbarsearch", "columns" and >>>>> "noheader". >>>>> And we will add more functionalities in the next version. >>>>> >>>>> The status-txt.cgi will returns service data that appears in the >>>>> "status" table of status.cgi as "host_ip host_status >>>>> [service:service_status;......]", not includes the top portion of the >>>>> page, eg: >>>>> 196.0.0.1 UP HTTP_80:OK; >>>>> 196.0.0.2 UP DB_PORT_3306:OK;DB_PORT_3307:OK; >>>>> And you can use some arguments to filter its output, such as >>>>> "hostgroup", "servicegroup", "host" and so on. >>>>> >>>>> The attachment is the source code, if you have any ideas about it, >>>>> please feel free to let me know. >>>>> You can also get the source code from github >>>>> "https://github.com/shiziwen/nagios-status2txt". >>>>> >>>>> >>>>> Thanks, >>>>> Best Wishes, >>>>> Wenhua >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Live Security Virtual Conference >>>>> Exclusive live event will cover all the ways today's security and >>>>> threat landscape has changed and how IT managers can respond. Discussions >>>>> will include endpoint security, mobile security and the latest in malware >>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 >>>> ------------------------------------------------------------------------------ >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways today's security and >>>> threat landscape has changed and how IT managers can respond. Discussions >>>> will include endpoint security, mobile security and the latest in malware >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> _______________________________________________ >>>> 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 >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> 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 >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> 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 > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 m.borsani at it.net Mon May 7 12:24:38 2012 From: m.borsani at it.net (Marco Borsani) Date: Mon, 7 May 2012 12:24:38 +0200 Subject: R: accept trap snmp In-Reply-To: References: <00f201cd0db3$d7b590c0$8720b240$@it.net> Message-ID: <011701cd2c3b$a12b6240$e38226c0$@it.net> Any possibility to receive and manage snmp trap without the Nagios Snmp Trap Interface ? Regards Marco Da: Mark Elsen [mailto:mark.elsen at gmail.com] Inviato: gioved? 29 marzo 2012 19:45 A: Nagios Users List Oggetto: Re: [Nagios-users] accept trap snmp Hi all Actually I make many query via snmp to routers, fw, etc. Is it possible (and how) received trap snmp from Nagios server? - Checkout the Nagios SNMP Trap Interface M. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 bdmeyer at cio.sc.gov Mon May 7 19:23:18 2012 From: bdmeyer at cio.sc.gov (Meyer, Bruce) Date: Mon, 7 May 2012 13:23:18 -0400 Subject: Confusion on nrpe In-Reply-To: <011701cd2c3b$a12b6240$e38226c0$@it.net> References: <011701cd2c3b$a12b6240$e38226c0$@it.net> Message-ID: I have been struggling with the documentation on nrpe. It is very difficult to tell when the text is talking about configuring something on the monitoring server, and when the text is describing configuring something on the monitored device. My goal for a group of machines behind a DMZ is to query some plugins, and send the reulsts from the Monitored servers TO the centralized Nagios server that displays the status of all ncsa, nrpe etc machines. I thought that the purpose of NRPE was to fill this need. Now I am starting to think that NRPE has nothing to do with this. Here is what I have tried: I have a group of servers behind a dmz that I do not want Nagios to talk directly to. Rather, I want these servers to send status info to the central nagios server outbound through the DMZ firewall. I have nrpe installed on both the central nagios server, and also on the servers behind the DMZ. I am not using xinetd, or inetd, rather a simple daemon. To test if everything is working, from the command line on a server behind the dmz I enter: /usr/local/nagios/libexec/check_nrpe -H (central server ip) -c check_users And I get back the results that apply to the Central Monitoring server, not from the host.. If I swap the ?H with localhost, I get back the correct info. Is it possible to send the results from the DMZ machines to the Centralized Nagios server? My goal is to send from servers behind dmz to the nagios server. Thanks for any help. --Bruce D. Meyer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Edwin.Zoeller at ama-assn.org Mon May 7 19:54:19 2012 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Mon, 7 May 2012 17:54:19 +0000 Subject: Confusion on nrpe In-Reply-To: References: <011701cd2c3b$a12b6240$e38226c0$@it.net> Message-ID: What OS are you running? From: Meyer, Bruce [mailto:bdmeyer at cio.sc.gov] Sent: Monday, May 07, 2012 12:23 PM To: Nagios Users List Subject: [Nagios-users] Confusion on nrpe I have been struggling with the documentation on nrpe. It is very difficult to tell when the text is talking about configuring something on the monitoring server, and when the text is describing configuring something on the monitored device. My goal for a group of machines behind a DMZ is to query some plugins, and send the reulsts from the Monitored servers TO the centralized Nagios server that displays the status of all ncsa, nrpe etc machines. I thought that the purpose of NRPE was to fill this need. Now I am starting to think that NRPE has nothing to do with this. Here is what I have tried: I have a group of servers behind a dmz that I do not want Nagios to talk directly to. Rather, I want these servers to send status info to the central nagios server outbound through the DMZ firewall. I have nrpe installed on both the central nagios server, and also on the servers behind the DMZ. I am not using xinetd, or inetd, rather a simple daemon. To test if everything is working, from the command line on a server behind the dmz I enter: /usr/local/nagios/libexec/check_nrpe -H (central server ip) -c check_users And I get back the results that apply to the Central Monitoring server, not from the host.. If I swap the -H with localhost, I get back the correct info. Is it possible to send the results from the DMZ machines to the Centralized Nagios server? My goal is to send from servers behind dmz to the nagios server. Thanks for any help. --Bruce D. Meyer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 roger at firedrake.org Mon May 7 19:56:51 2012 From: roger at firedrake.org (Roger Burton West) Date: Mon, 7 May 2012 18:56:51 +0100 Subject: Confusion on nrpe In-Reply-To: References: Message-ID: <20120507175651.GA3348@firedrake.org> When starting a new topic, please don't reply to earlier mail. Some of aren't using Microsoft, and have threading. On Mon, May 07, 2012 at 01:23:18PM -0400, Meyer, Bruce wrote: >My goal for a group of machines behind a DMZ is to query some plugins, and send the reulsts from the Monitored servers TO the centralized Nagios server that displays the status of all ncsa, nrpe etc machines. >I thought that the purpose of NRPE was to fill this need. NRPE doesn't "send". In the standard configuration, Nagios runs check_nrpe on the central server just as it runs check_http and anything else; check_nrpe makes a connection to the nrpe-server on a remote machine; that remote machine runs the check it's configured to run, and reports the result back over the connection to the central server. I have a configuration that goes a bit beyond this. Server A is running Nagios; server B is directly accessible; server C is on a private network behind server B. In this case, there are several extra checks associated with server C that actually hit server B's NRPE instance, then fall through a second NRPE call to server C. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 bdmeyer at cio.sc.gov Mon May 7 21:06:38 2012 From: bdmeyer at cio.sc.gov (Meyer, Bruce) Date: Mon, 7 May 2012 15:06:38 -0400 Subject: Confusion on nrpe In-Reply-To: <20120507175651.GA3348@firedrake.org> References: <20120507175651.GA3348@firedrake.org> Message-ID: Using a mac On 5/7/12 1:56 PM, "Roger Burton West" wrote: >When starting a new topic, please don't reply to earlier mail. Some of >aren't using Microsoft, and have threading. > >On Mon, May 07, 2012 at 01:23:18PM -0400, Meyer, Bruce wrote: > >>My goal for a group of machines behind a DMZ is to query some plugins, >>and send the reulsts from the Monitored servers TO the centralized >>Nagios server that displays the status of all ncsa, nrpe etc machines. >>I thought that the purpose of NRPE was to fill this need. > >NRPE doesn't "send". In the standard configuration, Nagios runs >check_nrpe on the central server just as it runs check_http and anything >else; check_nrpe makes a connection to the nrpe-server on a remote >machine; that remote machine runs the check it's configured to run, and >reports the result back over the connection to the central server. > >I have a configuration that goes a bit beyond this. Server A is running >Nagios; server B is directly accessible; server C is on a private >network behind server B. In this case, there are several extra checks >associated with server C that actually hit server B's NRPE instance, >then fall through a second NRPE call to server C. > > >-------------------------------------------------------------------------- >---- >Live Security Virtual Conference >Exclusive live event will cover all the ways today's security and >threat landscape has changed and how IT managers can respond. Discussions >will include endpoint security, mobile security and the latest in malware >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >_______________________________________________ >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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 bdmeyer at cio.sc.gov Mon May 7 21:07:22 2012 From: bdmeyer at cio.sc.gov (Meyer, Bruce) Date: Mon, 7 May 2012 15:07:22 -0400 Subject: Confusion on nrpe In-Reply-To: References: Message-ID: OS is CentOs on both. From: , Bruce Meyer > Reply-To: Nagios Users List > To: Nagios Users List > Subject: [Nagios-users] Confusion on nrpe I have been struggling with the documentation on nrpe. It is very difficult to tell when the text is talking about configuring something on the monitoring server, and when the text is describing configuring something on the monitored device. My goal for a group of machines behind a DMZ is to query some plugins, and send the reulsts from the Monitored servers TO the centralized Nagios server that displays the status of all ncsa, nrpe etc machines. I thought that the purpose of NRPE was to fill this need. Now I am starting to think that NRPE has nothing to do with this. Here is what I have tried: I have a group of servers behind a dmz that I do not want Nagios to talk directly to. Rather, I want these servers to send status info to the central nagios server outbound through the DMZ firewall. I have nrpe installed on both the central nagios server, and also on the servers behind the DMZ. I am not using xinetd, or inetd, rather a simple daemon. To test if everything is working, from the command line on a server behind the dmz I enter: /usr/local/nagios/libexec/check_nrpe -H (central server ip) -c check_users And I get back the results that apply to the Central Monitoring server, not from the host.. If I swap the ?H with localhost, I get back the correct info. Is it possible to send the results from the DMZ machines to the Centralized Nagios server? My goal is to send from servers behind dmz to the nagios server. Thanks for any help. --Bruce D. Meyer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Edwin.Zoeller at ama-assn.org Mon May 7 22:03:16 2012 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Mon, 7 May 2012 20:03:16 +0000 Subject: Confusion on nrpe In-Reply-To: References: Message-ID: I run nrpe on both Linux and Solaris clients. Have you run the startup of nrpe on the client in debug mode? This should be straight forward, the only caverat I have run into is not having two security lib's installed. Ed From: Meyer, Bruce [mailto:bdmeyer at cio.sc.gov] Sent: Monday, May 07, 2012 02:07 PM To: Nagios Users List Subject: Re: [Nagios-users] Confusion on nrpe OS is CentOs on both. From: , Bruce Meyer > Reply-To: Nagios Users List > To: Nagios Users List > Subject: [Nagios-users] Confusion on nrpe I have been struggling with the documentation on nrpe. It is very difficult to tell when the text is talking about configuring something on the monitoring server, and when the text is describing configuring something on the monitored device. My goal for a group of machines behind a DMZ is to query some plugins, and send the reulsts from the Monitored servers TO the centralized Nagios server that displays the status of all ncsa, nrpe etc machines. I thought that the purpose of NRPE was to fill this need. Now I am starting to think that NRPE has nothing to do with this. Here is what I have tried: I have a group of servers behind a dmz that I do not want Nagios to talk directly to. Rather, I want these servers to send status info to the central nagios server outbound through the DMZ firewall. I have nrpe installed on both the central nagios server, and also on the servers behind the DMZ. I am not using xinetd, or inetd, rather a simple daemon. To test if everything is working, from the command line on a server behind the dmz I enter: /usr/local/nagios/libexec/check_nrpe -H (central server ip) -c check_users And I get back the results that apply to the Central Monitoring server, not from the host.. If I swap the ?H with localhost, I get back the correct info. Is it possible to send the results from the DMZ machines to the Centralized Nagios server? My goal is to send from servers behind dmz to the nagios server. Thanks for any help. --Bruce D. Meyer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 shiziwen at gmail.com Tue May 8 06:09:50 2012 From: shiziwen at gmail.com (Wenhua Zhang) Date: Tue, 8 May 2012 12:09:50 +0800 Subject: status-txt: easier for other applications/services to use Nagios data In-Reply-To: <4FA7D751.8090205@nagios.com> References: <4FA41CAF.8070806@nagios.com> <4FA7D751.8090205@nagios.com> Message-ID: Hi Mike, Thanks for your information. If the new version support the API's for XML and JSON, I think it will be very useful for many people. I am looking forward to the new revision. Best Wishes, Wenhua 2012/5/7 Mike Guthrie : > As a side note it looks like there is already an addon that's been > written that produces the status data in XML format. > > http://exchange.nagios.org/directory/Addons/APIs/XML/Status-XML-Generator/details > > > Although they won't be making it into the 3.4 release, we'll be looking > at incorporating community developed API's for XML and JSON in the next > revision of Nagios core since there has been quite a bit of interest in it. > > > On 5/6/2012 8:05 PM, Wenhua Zhang wrote: >> Hi Robert, >> Thanks for your advice, it is a good idea. >> >> As till now, status-txt just returns status.dat as plain text. When we >> wrote this program, we have thought about many formats, such as JSON, >> XML, plain text and so on. We use plain text because it is simple, but >> now I found it may be not widely used as JSON and XML. (status-json >> can get the nagios data as JSON. You can get it from >> http://exchange.nagios.org/directory/Addons/APIs/JSON/status-2Djson/details) >> >> status-txt is the first version, and we will add more function in the >> next version, such as more filters and maybe more output formats. >> >> I think you can push your PHP program to the this email list, maybe >> some one will be interested, like me. >> >> Best Wishes, >> Wenhua >> >> >> 2012/5/6 Robert Arends: >>> Sounds great. Does it output in XML ? Would be good to support that as an option. >>> It would be good to have a search option - as in , return all hosts/services/downtime etc matching ".....". If it could do regex on the match would be nice. >>> >>> I've just written a rough php program to return status.dat as XML. >>> It works very well but C++ would be quicker and I wouldn't have to cleanup the code. >>> >>> I'll run this up during the week to see if it is a good as it sounds like it is. >>> >>> Thanks rob >>> >>> >>> >>> Sent from my iWorld >>> >>> On 06/05/2012, at 2:08, "Wenhua Zhang" ?wrote: >>> >>>> Thanks for your reply! >>>> I hope it will be useful to you. >>>> It is the first version and we will add more functions. If you have >>>> some advice, please feel free to let me know. >>>> >>>> Thanks, >>>> Best Wishes, >>>> Wenhua >>>> >>>> 2012/5/5 Alex Griffin: >>>>> Thanks for posting this, it looks pretty useful! >>>>> >>>>> Alex Griffin >>>>> --- >>>>> Tech Team >>>>> agriffin at nagios.com >>>>> >>>>> On 05/02/2012 10:57 PM, Wenhua Zhang wrote: >>>>>> Hi all, >>>>>> Recently, we need a API or application to get the nagios data as other >>>>>> easily readable format such as XML, JSON or plain text instead of the >>>>>> default HTML. >>>>>> status-txt is implemented to duplicate the output of status.cgi in >>>>>> plain text to achieve this goal, making it easier for other >>>>>> applications/services to use Nagios data. >>>>>> >>>>>> Compile status-txt.c to create status-txt.cgi, this cgi accepts >>>>>> exactly the same URL parameters that status.cgi accepts, and filters >>>>>> its output appropriately. >>>>>> In this version, it accepts almost all the arguments passed in the URL >>>>>> which status.cgi accepts except "style", "navbarsearch", "columns" and >>>>>> "noheader". >>>>>> And we will add more functionalities in the next version. >>>>>> >>>>>> The status-txt.cgi will returns service data that appears in the >>>>>> "status" table of status.cgi as "host_ip ? host_status >>>>>> [service:service_status;......]", not includes the top portion of the >>>>>> page, eg: >>>>>> ? ? ?196.0.0.1 ? ? ?UP ? ?HTTP_80:OK; >>>>>> ? ? ?196.0.0.2 ? ? ?UP ? ?DB_PORT_3306:OK;DB_PORT_3307:OK; >>>>>> And you can use some arguments to filter its output, such as >>>>>> "hostgroup", "servicegroup", "host" and so on. >>>>>> >>>>>> The attachment is the source code, if you have any ideas about it, >>>>>> please feel free to let me know. >>>>>> You can also get the source code from github >>>>>> "https://github.com/shiziwen/nagios-status2txt". >>>>>> >>>>>> >>>>>> Thanks, >>>>>> Best Wishes, >>>>>> Wenhua >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Live Security Virtual Conference >>>>>> Exclusive live event will cover all the ways today's security and >>>>>> threat landscape has changed and how IT managers can respond. Discussions >>>>>> will include endpoint security, mobile security and the latest in malware >>>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>>> ------------------------------------------------------------------------------ >>>>> Live Security Virtual Conference >>>>> Exclusive live event will cover all the ways today's security and >>>>> threat landscape has changed and how IT managers can respond. Discussions >>>>> will include endpoint security, mobile security and the latest in malware >>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>> _______________________________________________ >>>>> 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 >>>> ------------------------------------------------------------------------------ >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways today's security and >>>> threat landscape has changed and how IT managers can respond. Discussions >>>> will include endpoint security, mobile security and the latest in malware >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> _______________________________________________ >>>> 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 >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> 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 >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> 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 > > > -- > > > Mike Guthrie > Technical Team > ___ > Nagios Enterprises, LLC > Email: ?mguthrie at nagios.com > Web: ? ?www.nagios.com > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ozgurumutvurgun at gmail.com Tue May 8 09:29:22 2012 From: ozgurumutvurgun at gmail.com (=?ISO-8859-1?Q?=F6zg=FCr_umut_vurgun?=) Date: Tue, 8 May 2012 10:29:22 +0300 Subject: How can I change Nagios from email address ? Message-ID: Hi All, I'd like to change Nagios Email address. Now I am using "admin at hostname-nagios.localhost" but many system doesn't accept this email address. So I'd like to change to real e-mail address. I have searched in the internet but I couldn't be success. How can I do it ? Thanks... ?zg?r Umut VURGUN -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 nagios at flatto.net Tue May 8 11:14:32 2012 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 08 May 2012 10:14:32 +0100 Subject: How can I change Nagios from email address ? In-Reply-To: References: Message-ID: <4FA8E3F8.7010304@flatto.net> Are you using sendmail or postfix as your MTA ? The configuration is done on the MTA . On 08/05/12 08:29, ?zg?r umut vurgun wrote: > Hi All, > > I'd like to change Nagios Email address. Now I am using > "admin at hostname-nagios.localhost" but many system doesn't accept this > email address. So I'd like to change to real e-mail address. I have > searched in the internet but I couldn't be success. > > How can I do it ? > > Thanks... > > ?zg?r Umut VURGUN > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 ozgurumutvurgun at gmail.com Tue May 8 11:39:11 2012 From: ozgurumutvurgun at gmail.com (=?ISO-8859-1?Q?=F6zg=FCr_umut_vurgun?=) Date: Tue, 8 May 2012 12:39:11 +0300 Subject: How can I change Nagios from email address ? In-Reply-To: <4FA8E3F8.7010304@flatto.net> References: <4FA8E3F8.7010304@flatto.net> Message-ID: Hi, I am using postfix ... But I don't know how to configuration.... ?zg?r Umut VURGUN 2012/5/8 Assaf Flatto > ** > Are you using sendmail or postfix as your MTA ? > > The configuration is done on the MTA . > > > > > On 08/05/12 08:29, ?zg?r umut vurgun wrote: > > Hi All, > > I'd like to change Nagios Email address. Now I am using > "admin at hostname-nagios.localhost" but > many system doesn't accept this email address. So I'd like to change to > real e-mail address. I have searched in the internet but I couldn't be > success. > > How can I do it ? > > Thanks... > > ?zg?r Umut VURGUN > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > 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 > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 mark.frost1 at pepsico.com Tue May 8 14:40:41 2012 From: mark.frost1 at pepsico.com (Frost, Mark {BIS}) Date: Tue, 8 May 2012 08:40:41 -0400 Subject: How can I change Nagios from email address ? In-Reply-To: References: Message-ID: Depending on how you send your mail messages, you could just get away with using a command-line argument. In our case, the notifications commands send mail using "Mail" (or "mailx" -- I can't remember of the top of my head). So we've modified the e-mail notifications commands in the Nagios config to add -R nagios at hostname.we.want.to.see Assuming you use Mail or mailx, check the man pages for those on your local OS to ensure it supports them, but I thought most modern Linuxes supported that. Note that this changes the Reply-to line that your messages comes from. That's been more than sufficient for us and makes Nagios messages appear the way we want them to. Mark ________________________________ From: ?zg?r umut vurgun [ozgurumutvurgun at gmail.com] Sent: Tuesday, May 08, 2012 3:29 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How can I change Nagios from email address ? Hi All, I'd like to change Nagios Email address. Now I am using "admin at hostname-nagios.localhost" but many system doesn't accept this email address. So I'd like to change to real e-mail address. I have searched in the internet but I couldn't be success. How can I do it ? Thanks... ?zg?r Umut VURGUN ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 bdmeyer at cio.sc.gov Tue May 8 14:43:31 2012 From: bdmeyer at cio.sc.gov (Meyer, Bruce) Date: Tue, 8 May 2012 08:43:31 -0400 Subject: Confusion on nrpe In-Reply-To: References: Message-ID: Hi Ed, I don't have a problem getting it running. What I am not grasping is how to have it read the stats on the local machine and send it's data to the central monitoring server. I finally gave up trying to grasp the documentation and bought an e-book on Nagios. It was clear to me then that nrpe isn't for what I am trying to do, rather ncsa should be used in passive mode. I appreciate your response. Thank-you Sir, --Bruce From: Edwin Zoeller > Reply-To: Nagios Users List > To: "'nagios-users at lists.sourceforge.net'" > Subject: Re: [Nagios-users] Confusion on nrpe I run nrpe on both Linux and Solaris clients. Have you run the startup of nrpe on the client in debug mode? This should be straight forward, the only caverat I have run into is not having two security lib's installed. Ed From: Meyer, Bruce [mailto:bdmeyer at cio.sc.gov] Sent: Monday, May 07, 2012 02:07 PM To: Nagios Users List > Subject: Re: [Nagios-users] Confusion on nrpe OS is CentOs on both. From: , Bruce Meyer > Reply-To: Nagios Users List > To: Nagios Users List > Subject: [Nagios-users] Confusion on nrpe I have been struggling with the documentation on nrpe. It is very difficult to tell when the text is talking about configuring something on the monitoring server, and when the text is describing configuring something on the monitored device. My goal for a group of machines behind a DMZ is to query some plugins, and send the reulsts from the Monitored servers TO the centralized Nagios server that displays the status of all ncsa, nrpe etc machines. I thought that the purpose of NRPE was to fill this need. Now I am starting to think that NRPE has nothing to do with this. Here is what I have tried: I have a group of servers behind a dmz that I do not want Nagios to talk directly to. Rather, I want these servers to send status info to the central nagios server outbound through the DMZ firewall. I have nrpe installed on both the central nagios server, and also on the servers behind the DMZ. I am not using xinetd, or inetd, rather a simple daemon. To test if everything is working, from the command line on a server behind the dmz I enter: /usr/local/nagios/libexec/check_nrpe -H (central server ip) -c check_users And I get back the results that apply to the Central Monitoring server, not from the host.. If I swap the ?H with localhost, I get back the correct info. Is it possible to send the results from the DMZ machines to the Centralized Nagios server? My goal is to send from servers behind dmz to the nagios server. Thanks for any help. --Bruce D. Meyer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 s.felici at mclink.eu Tue May 8 14:54:02 2012 From: s.felici at mclink.eu (Simone Felici) Date: Tue, 08 May 2012 14:54:02 +0200 Subject: How can I change Nagios from email address ? In-Reply-To: References: <4FA8E3F8.7010304@flatto.net> Message-ID: <4FA9176A.8030408@mclink.eu> I'm using a server that sends *only* nagios mails, then I've implemented regexp header_checks to replace every outgoing sender email. Into main.cf: (...) header_checks = regexp:/etc/postfix/header_checks and then into /etc/postfix/header_checks /From:.*/ REPLACE From: "Monitoring System" Maybe there is a better way to do it. For me works. Cheers, Simon Il 08/05/2012 11:39, ?zg?r umut vurgun ha scritto: > Hi, > > I am using postfix ... But I don't know how to configuration.... > > > > ?zg?r Umut VURGUN > > > > 2012/5/8 Assaf Flatto > > > __ > Are you using sendmail or postfix as your MTA ? > > The configuration is done on the MTA . > > > > > On 08/05/12 08:29, ?zg?r umut vurgun wrote: >> Hi All, >> >> I'd like to change Nagios Email address. Now I am using "admin at hostname-nagios.localhost" >> but many system doesn't accept this email address. So >> I'd like to change to real e-mail address. I have searched in the internet but I couldn't be >> success. >> >> How can I do it ? >> >> Thanks... >> >> ?zg?r Umut VURGUN >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 s.felici at mclink.eu Tue May 8 14:51:29 2012 From: s.felici at mclink.eu (Simone Felici) Date: Tue, 08 May 2012 14:51:29 +0200 Subject: How can I change Nagios from email address ? In-Reply-To: References: <4FA8E3F8.7010304@flatto.net> Message-ID: <4FA916D1.2080603@mclink.eu> I'm using a server that sends *only* nagios mails, then I've implemented regexp header_checks to replace every outgoing sender email. Into main.cf: (...) header_checks = regexp:/etc/postfix/header_checks and then into /etc/postfix/header_checks /From:.*/ REPLACE From: "Monitoring System" Maybe there is a better way to do it. For me works. Cheers, Simon Il 08/05/2012 11:39, ?zg?r umut vurgun ha scritto: > Hi, > > I am using postfix ... But I don't know how to configuration.... > > > > ?zg?r Umut VURGUN > > > > 2012/5/8 Assaf Flatto > > > __ > Are you using sendmail or postfix as your MTA ? > > The configuration is done on the MTA . > > > > > On 08/05/12 08:29, ?zg?r umut vurgun wrote: >> Hi All, >> >> I'd like to change Nagios Email address. Now I am using "admin at hostname-nagios.localhost" >> but many system doesn't accept this email address. So >> I'd like to change to real e-mail address. I have searched in the internet but I couldn't be >> success. >> >> How can I do it ? >> >> Thanks... >> >> ?zg?r Umut VURGUN >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Edwin.Zoeller at ama-assn.org Tue May 8 15:09:13 2012 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Tue, 8 May 2012 13:09:13 +0000 Subject: Confusion on nrpe In-Reply-To: References: Message-ID: Not a problem From: Meyer, Bruce [mailto:bdmeyer at cio.sc.gov] Sent: Tuesday, May 08, 2012 7:44 AM To: Nagios Users List Subject: Re: [Nagios-users] Confusion on nrpe Hi Ed, I don't have a problem getting it running. What I am not grasping is how to have it read the stats on the local machine and send it's data to the central monitoring server. I finally gave up trying to grasp the documentation and bought an e-book on Nagios. It was clear to me then that nrpe isn't for what I am trying to do, rather ncsa should be used in passive mode. I appreciate your response. Thank-you Sir, --Bruce From: Edwin Zoeller > Reply-To: Nagios Users List > To: "'nagios-users at lists.sourceforge.net'" > Subject: Re: [Nagios-users] Confusion on nrpe I run nrpe on both Linux and Solaris clients. Have you run the startup of nrpe on the client in debug mode? This should be straight forward, the only caverat I have run into is not having two security lib's installed. Ed From: Meyer, Bruce [mailto:bdmeyer at cio.sc.gov] Sent: Monday, May 07, 2012 02:07 PM To: Nagios Users List > Subject: Re: [Nagios-users] Confusion on nrpe OS is CentOs on both. From: , Bruce Meyer > Reply-To: Nagios Users List > To: Nagios Users List > Subject: [Nagios-users] Confusion on nrpe I have been struggling with the documentation on nrpe. It is very difficult to tell when the text is talking about configuring something on the monitoring server, and when the text is describing configuring something on the monitored device. My goal for a group of machines behind a DMZ is to query some plugins, and send the reulsts from the Monitored servers TO the centralized Nagios server that displays the status of all ncsa, nrpe etc machines. I thought that the purpose of NRPE was to fill this need. Now I am starting to think that NRPE has nothing to do with this. Here is what I have tried: I have a group of servers behind a dmz that I do not want Nagios to talk directly to. Rather, I want these servers to send status info to the central nagios server outbound through the DMZ firewall. I have nrpe installed on both the central nagios server, and also on the servers behind the DMZ. I am not using xinetd, or inetd, rather a simple daemon. To test if everything is working, from the command line on a server behind the dmz I enter: /usr/local/nagios/libexec/check_nrpe -H (central server ip) -c check_users And I get back the results that apply to the Central Monitoring server, not from the host.. If I swap the -H with localhost, I get back the correct info. Is it possible to send the results from the DMZ machines to the Centralized Nagios server? My goal is to send from servers behind dmz to the nagios server. Thanks for any help. --Bruce D. Meyer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Tue May 8 16:03:55 2012 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Tue, 8 May 2012 14:03:55 +0000 Subject: Nagios 3.4.0 complilation error (and trivial fix) Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853D2086AD@HC-EXMBX04.herefordshire.gov.uk> Hi folks, Trying to compile nagios 3.4.0 gave me this error: checks.c: In function 'run_async_service_check': checks.c:714:5: error: 'temp_buffer' undeclared (first use in this function) Patch to fix the compilation error is: --- nagios/base/checks.c 2012-05-08 14:36:02.000000000 +0100 +++ nagios/base/checks.c 2012-05-08 14:35:45.000000000 +0100 @@ -469,6 +469,7 @@ double old_latency = 0.0; dbuf checkresult_dbuf; int dbuf_chunk = 1024; + char *temp_buffer; #ifdef USE_EVENT_BROKER int neb_result = OK; #endif Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk "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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 eliezer at ngtech.co.il Tue May 8 23:24:04 2012 From: eliezer at ngtech.co.il (Eliezer Croitoru) Date: Wed, 09 May 2012 00:24:04 +0300 Subject: How can I change Nagios from email address ? In-Reply-To: References: <4FA8E3F8.7010304@flatto.net> Message-ID: <4FA98EF4.8010108@ngtech.co.il> just change the "myorigin" statement in postfix. it should do the trick. Eliezer On 08/05/2012 12:39, ?zg?r umut vurgun wrote: > Hi, > > I am using postfix ... But I don't know how to configuration.... > > > > ?zg?r Umut VURGUN > > > > 2012/5/8 Assaf Flatto > > > __ > Are you using sendmail or postfix as your MTA ? > > The configuration is done on the MTA . > > > > > On 08/05/12 08:29, ?zg?r umut vurgun wrote: >> Hi All, >> >> I'd like to change Nagios Email address. Now I am using >> "admin at hostname-nagios.localhost" >> but many system doesn't >> accept this email address. So I'd like to change to real e-mail >> address. I have searched in the internet but I couldn't be success. >> >> How can I do it ? >> >> Thanks... >> >> ?zg?r Umut VURGUN >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> >> _______________________________________________ >> 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 > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions > will include endpoint security, mobile security and the latest in > malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > 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 -- Eliezer Croitoru https://www1.ngtech.co.il IT consulting for Nonprofit organizations eliezer ngtech.co.il ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 bheemarasetty.sankar at sap.com Tue May 8 09:01:55 2012 From: bheemarasetty.sankar at sap.com (Sankar, Bheemarasetty) Date: Tue, 8 May 2012 09:01:55 +0200 Subject: check_http script is not working Message-ID: <19BA56E3DD208B478BA0F7838BABD5DF149222B560@DEWDFECCR02.wdf.sap.corp> Hello , I'm Sankar testing nagios scripts. I have tried to ping URL check from check_http script from nagios. http://nagiosplugins.org/man/check_http (URL) = Reference Root# check_http -w 5 -c 10 --ssl -H www.verisign.com Name or service not known HTTP CRITICAL - Unable to open TCP socket Please help us in checking whether URL is up or down. How efficiently this script can be used ? Is there any way to find out URL availability ? with port ? or ping ? can we pass proxy ? Thanks in advance. Best regards, Sankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 kevinbht at gmail.com Mon May 7 20:44:43 2012 From: kevinbht at gmail.com (kevin tran) Date: Mon, 7 May 2012 11:44:43 -0700 Subject: check_load -w $ARG1$ -c $ARG2$ Message-ID: Hello, Can someone please explain to me what these numbers mean? 5.0,4.0,3.0 10.0,6.0,4.0 check_load v1.4.15 (nagios-plugins 1.4.15) Thanks, Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 bram at openminds.be Wed May 9 01:43:47 2012 From: bram at openminds.be (Bram Gillemon) Date: Wed, 9 May 2012 01:43:47 +0200 Subject: check_load -w $ARG1$ -c $ARG2$ In-Reply-To: References: Message-ID: <7C4DBCEC-B278-442D-8980-21CDECA42BDB@openminds.be> These are the warning and the critical thresholds, when the load ( 1min, 5min, 15min ) value rises above the threshold you set it triggers the warning or error message in the script. So in the example you give it would mean, if the 1min average goes above 5, it will trigger a warning event, if it goes above 10 it will trigger the critical event. Same goes for 5 min average and 15 min. Keep in mind that only 1 of these values must be reached, not all of them. Kr, Bram On 07 May 2012, at 20:44, kevin tran wrote: > Hello, > > Can someone please explain to me what these numbers mean? > > 5.0,4.0,3.0 > 10.0,6.0,4.0 > > check_load v1.4.15 (nagios-plugins 1.4.15) > > Thanks, > Kevin > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 bram at openminds.be Wed May 9 01:38:20 2012 From: bram at openminds.be (Bram Gillemon) Date: Wed, 9 May 2012 01:38:20 +0200 Subject: check_http script is not working In-Reply-To: <19BA56E3DD208B478BA0F7838BABD5DF149222B560@DEWDFECCR02.wdf.sap.corp> References: <19BA56E3DD208B478BA0F7838BABD5DF149222B560@DEWDFECCR02.wdf.sap.corp> Message-ID: <766A635A-E7D1-48C9-9DDE-F3D3CE3EA27D@openminds.be> Hi, Can you visit the url using lynx / curl / ..., your syntax is correct. So it looks like another problem. Kr, Bram On 08 May 2012, at 09:01, Sankar, Bheemarasetty wrote: > Hello , > > I?m Sankar testing nagios scripts. I have tried to ping URL check from check_http script from nagios. > > http://nagiosplugins.org/man/check_http (URL) = Reference > > Root# check_http -w 5 -c 10 --ssl -H www.verisign.com > Name or service not known > HTTP CRITICAL - Unable to open TCP socket > > > Please help us in checking whether URL is up or down. How efficiently this script can be used ? > Is there any way to find out URL availability ? with port ? or ping ? can we pass proxy ? > > Thanks in advance. > > Best regards, Sankar > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 maxs at webwizarddesign.com Wed May 9 02:08:38 2012 From: maxs at webwizarddesign.com (Max Schubert) Date: Tue, 8 May 2012 20:08:38 -0400 Subject: check_load -w $ARG1$ -c $ARG2$ In-Reply-To: References: Message-ID: Load average is a relative measure of how much work over time a system is doing. Read these to start: http://www.linuxjournal.com/article/9001 http://www.teamquest.com/pdfs/whitepaper/ldavg1.pdf http://www.teamquest.com/pdfs/whitepaper/ldavg2.pdf ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ck at claudiokuenzler.com Wed May 9 08:23:33 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Wed, 9 May 2012 08:23:33 +0200 Subject: check_http script is not working In-Reply-To: <19BA56E3DD208B478BA0F7838BABD5DF149222B560@DEWDFECCR02.wdf.sap.corp> References: <19BA56E3DD208B478BA0F7838BABD5DF149222B560@DEWDFECCR02.wdf.sap.corp> Message-ID: > > Hello ,**** > > ** ** > > I?m Sankar testing nagios scripts. I have tried to ping URL check from > check_http script from nagios.**** > > ** ** > > http://nagiosplugins.org/man/check_http (URL) = Reference**** > > ** ** > > Root# check_http -w 5 -c 10 --ssl -H www.verisign.com **** > > Name or service not known**** > > HTTP CRITICAL - Unable to open TCP socket**** > > ** ** > > ** > You're using a wrong order... See here the difference: # ./check_http -w 5 -c 10 --ssl -H www.verisisgn.com Name or service not known HTTP CRITICAL - Unable to open TCP socket # ./check_http -H www.verisign.com --ssl -w 5 -c 10 HTTP OK: HTTP/1.1 200 OK - 42718 bytes in 0.822 second response time |time=0.821882s;5.000000;10.000000;0.000000 size=42718B;;;0 I know the way you tried it is shown in the --help but it obviously doesn't work. > ** > > Please help us in checking whether URL is up or down. How efficiently this > script can be used ?**** > > Is there any way to find out URL availability ? with port ? or ping ? can > we pass proxy ?**** > > ** ** > > Thanks in advance.**** > > ** ** > > Best regards, Sankar **** > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 ck at claudiokuenzler.com Wed May 9 08:25:51 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Wed, 9 May 2012 08:25:51 +0200 Subject: check_http script is not working In-Reply-To: References: <19BA56E3DD208B478BA0F7838BABD5DF149222B560@DEWDFECCR02.wdf.sap.corp> Message-ID: Jeez..... I should drink a coffee before responding... ouch. The syntax is correct, as you see in my post I had a typo in the verisign domain name. # ./check_http -w 5 -c 10 --ssl -H www.verisign.com HTTP OK: HTTP/1.1 200 OK - 42718 bytes in 0.830 second response time |time=0.830120s;5.000000;10.000000;0.000000 size=42718B;;;0 So it works. Sorry for false information. Do as Bram suggested, try to "open" the website with lynx or curl. Hello ,**** >> >> ** ** >> >> I?m Sankar testing nagios scripts. I have tried to ping URL check from >> check_http script from nagios.**** >> >> ** ** >> >> http://nagiosplugins.org/man/check_http (URL) = Reference**** >> >> ** ** >> >> Root# check_http -w 5 -c 10 --ssl -H www.verisign.com **** >> >> Name or service not known**** >> >> HTTP CRITICAL - Unable to open TCP socket**** >> >> ** ** >> >> ** >> > You're using a wrong order... See here the difference: > > # ./check_http -w 5 -c 10 --ssl -H www.verisisgn.com > > Name or service not known > HTTP CRITICAL - Unable to open TCP socket > > # ./check_http -H www.verisign.com --ssl -w 5 -c 10 > HTTP OK: HTTP/1.1 200 OK - 42718 bytes in 0.822 second response time > |time=0.821882s;5.000000;10.000000;0.000000 size=42718B;;;0 > > I know the way you tried it is shown in the --help but it obviously > doesn't work. > > > >> ** >> >> Please help us in checking whether URL is up or down. How efficiently >> this script can be used ?**** >> >> Is there any way to find out URL availability ? with port ? or ping ? can >> we pass proxy ?**** >> >> ** ** >> >> Thanks in advance.**** >> >> ** ** >> >> Best regards, Sankar **** >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 May 9 12:14:30 2012 From: ae at op5.se (Andreas Ericsson) Date: Wed, 09 May 2012 12:14:30 +0200 Subject: Confusion on nrpe In-Reply-To: References: Message-ID: <4FAA4386.2010606@op5.se> On 05/07/2012 09:06 PM, Meyer, Bruce wrote: > Using a mac > That's beside the point. Don't hijack someone elses thread if you want your question answered, since threaded view of the mailing list makes it appear as if you're responding to someone else's question when you take their mail, hit "reply" and then replace all text with your own. Since you're the one who wants something, it's in your interest to make it easy for the people you want something from to give that to you. Hijacking a thread means you're off to a bad start, so don't. -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 andrew at fulgent.co.uk Wed May 9 12:16:15 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Wed, 9 May 2012 10:16:15 +0000 Subject: 2 Nagios boxes running together in different locations Message-ID: Hi all, We run 1 nagios box in our Office at location A - this monitors all servers/websites etc in Location A and a remote office in Location B hooked up with a static VPN We have a bit of a tempermental firewall at the moment that keeps "going down" thus resulting in everything appearing down to Nagios in Location A and it alerting like a loonatic for all hosts/services (88/156) So question is: Can I put a second nagios box in Location B as some sort of slave - and have it cross reference nagios box in Location A and only alert if both boxes agree that said host(s)/service(s) is/are in down state? If so are there any guides/helps out on the www that will assist in this setup? Thanks Kind Regards Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 benny at bennyvision.com Wed May 9 12:38:37 2012 From: benny at bennyvision.com (C. Bensend) Date: Wed, 9 May 2012 05:38:37 -0500 Subject: 2 Nagios boxes running together in different locations In-Reply-To: References: Message-ID: > We have a bit of a tempermental firewall at the moment that keeps "going > down" thus resulting in everything appearing down to Nagios in Location A > and it alerting like a loonatic for all hosts/services (88/156) You could monitor the firewall, and configure it to be the parent of the hosts behind it. That way, when it "goes down", you only get the alert for the firewall crapping out, and not all of the hosts that depend on it. -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ftlnagios at gmail.com Wed May 9 12:53:56 2012 From: ftlnagios at gmail.com (FTL Nagios) Date: Wed, 9 May 2012 11:53:56 +0100 Subject: 2 Nagios boxes running together in different locations In-Reply-To: References: Message-ID: <004b01cd2dd2$08977c60$19c67520$@gmail.com> Interesting - How does it work though - I mean if the firewall plays up at Site A, it thinks everything in Site B is down - so Nagios GUI marks everything as down - what happens then if say a server in Site B does actually go down - we will not get alerted to that? I made a slight error in my original description - when the firewall "goes down" it cant contact anything at both locations, not just Site A, due to the fact that the protected interface stays up but just denies all traffic. We are currently working on this with GTA but im losing the will to live with 300 texts virtually every night!! -----Original Message----- From: C. Bensend [mailto:benny at bennyvision.com] Sent: 09 May 2012 11:39 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] 2 Nagios boxes running together in different locations > We have a bit of a tempermental firewall at the moment that keeps > "going down" thus resulting in everything appearing down to Nagios in > Location A and it alerting like a loonatic for all hosts/services > (88/156) You could monitor the firewall, and configure it to be the parent of the hosts behind it. That way, when it "goes down", you only get the alert for the firewall crapping out, and not all of the hosts that depend on it. -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 roger at firedrake.org Wed May 9 13:05:24 2012 From: roger at firedrake.org (Roger Burton West) Date: Wed, 9 May 2012 12:05:24 +0100 Subject: 2 Nagios boxes running together in different locations In-Reply-To: <004b01cd2dd2$08977c60$19c67520$@gmail.com> References: <004b01cd2dd2$08977c60$19c67520$@gmail.com> Message-ID: <20120509110524.GA765@firedrake.org> On Wed, May 09, 2012 at 11:53:56AM +0100, FTL Nagios wrote: >Interesting - How does it work though - I mean if the firewall plays up at >Site A, it thinks everything in Site B is down - so Nagios GUI marks >everything as down - what happens then if say a server in Site B does >actually go down - we will not get alerted to that? Correct. There's no way A can know what's going on at B if there's no connection. >I made a slight error in my original description - when the firewall "goes >down" it cant contact anything at both locations, not just Site A, due to >the fact that the protected interface stays up but just denies all traffic. Then how will your two Nagios boxes be able to confer with each other to agree that there's a real problem? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Ulf.Gunnarson at kau.se Wed May 9 12:48:59 2012 From: Ulf.Gunnarson at kau.se (Ulf Gunnarson) Date: Wed, 9 May 2012 12:48:59 +0200 Subject: 2 Nagios boxes running together in different locations In-Reply-To: References: Message-ID: <00cd01cd2dd1$57499fb0$05dcdf10$@kau.se> Citrixkontot /U -----Original Message----- From: C. Bensend [mailto:benny at bennyvision.com] Sent: den 9 maj 2012 12:39 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] 2 Nagios boxes running together in different locations > We have a bit of a tempermental firewall at the moment that keeps "going > down" thus resulting in everything appearing down to Nagios in Location A > and it alerting like a loonatic for all hosts/services (88/156) You could monitor the firewall, and configure it to be the parent of the hosts behind it. That way, when it "goes down", you only get the alert for the firewall crapping out, and not all of the hosts that depend on it. -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Ulf.Gunnarson at kau.se Wed May 9 13:25:47 2012 From: Ulf.Gunnarson at kau.se (Ulf Gunnarson) Date: Wed, 9 May 2012 13:25:47 +0200 Subject: 2 Nagios boxes running together in different locations In-Reply-To: <00cd01cd2dd1$57499fb0$05dcdf10$@kau.se> References: <00cd01cd2dd1$57499fb0$05dcdf10$@kau.se> Message-ID: <00e101cd2dd6$7b1509c0$713f1d40$@kau.se> Sorry replied on wrong mail :) -----Original Message----- From: Ulf Gunnarson [mailto:Ulf.Gunnarson at kau.se] Sent: den 9 maj 2012 12:49 To: 'Nagios Users List' Subject: Re: [Nagios-users] 2 Nagios boxes running together in different locations Citrixkontot /U -----Original Message----- From: C. Bensend [mailto:benny at bennyvision.com] Sent: den 9 maj 2012 12:39 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] 2 Nagios boxes running together in different locations > We have a bit of a tempermental firewall at the moment that keeps "going > down" thus resulting in everything appearing down to Nagios in Location A > and it alerting like a loonatic for all hosts/services (88/156) You could monitor the firewall, and configure it to be the parent of the hosts behind it. That way, when it "goes down", you only get the alert for the firewall crapping out, and not all of the hosts that depend on it. -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ismael.puerto at seres.es Wed May 9 13:20:31 2012 From: ismael.puerto at seres.es (Ismael Puerto) Date: Wed, 09 May 2012 13:20:31 +0200 Subject: Nagios 3.4.0 complilation error (and trivial fix) In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B853D2086AD@HC-EXMBX04.herefordshire.gov.uk> References: <7CA580B59C1ABD45B4614ED90D4C7B853D2086AD@HC-EXMBX04.herefordshire.gov.uk> Message-ID: <4FAA52FF.8030801@seres.es> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 benny at bennyvision.com Wed May 9 14:28:06 2012 From: benny at bennyvision.com (C. Bensend) Date: Wed, 9 May 2012 07:28:06 -0500 Subject: 2 Nagios boxes running together in different locations In-Reply-To: <004b01cd2dd2$08977c60$19c67520$@gmail.com> References: <004b01cd2dd2$08977c60$19c67520$@gmail.com> Message-ID: <2882c02f177d5048c916d41d17e909eb.squirrel@webmail.stinkweasel.net> > Interesting - How does it work though - I mean if the firewall plays up > at > Site A, it thinks everything in Site B is down - so Nagios GUI marks > everything as down - what happens then if say a server in Site B does > actually go down - we will not get alerted to that? That's correct. But, your proposed configuration wouldn't solve this problem - if the firewall fails, the Nagios servers can't contact each other anyway, so they could never agree on what's up and what's down. > I made a slight error in my original description - when the firewall "goes > down" it cant contact anything at both locations, not just Site A, due to > the fact that the protected interface stays up but just denies all > traffic. > > We are currently working on this with GTA but im losing the will to live > with 300 texts virtually every night!! I've dealt with this situation before, and I've ended up implementing two mostly standalone Nagios systems. They each check their own site, so if their external network goes away they are still able to monitor and alert for the things they're responsible for (you have to use out-of-band notifications of course). They also each check each other's *site*, ala the other site's firewall, so the Nagios server at site A can alert and let you know if site B goes away, but it *doesn't* try to alert you for all of the hosts and services at site B. -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 jeffrey.w.watts at gmail.com Wed May 9 14:57:35 2012 From: jeffrey.w.watts at gmail.com (Jeffrey Watts) Date: Wed, 9 May 2012 07:57:35 -0500 Subject: 2 Nagios boxes running together in different locations In-Reply-To: <2882c02f177d5048c916d41d17e909eb.squirrel@webmail.stinkweasel.net> References: <004b01cd2dd2$08977c60$19c67520$@gmail.com> <2882c02f177d5048c916d41d17e909eb.squirrel@webmail.stinkweasel.net> Message-ID: This is exactly how I do things, except I have three sites. Jeffrey On Wednesday, May 9, 2012, C. Bensend wrote: > > > I've dealt with this situation before, and I've ended up > implementing two mostly standalone Nagios systems. They each > check their own site, so if their external network goes away they > are still able to monitor and alert for the things they're > responsible for (you have to use out-of-band notifications of > course). They also each check each other's *site*, ala the other > site's firewall, so the Nagios server at site A can alert and let > you know if site B goes away, but it *doesn't* try to alert you > for all of the hosts and services at site B. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 bdmeyer at cio.sc.gov Wed May 9 15:33:35 2012 From: bdmeyer at cio.sc.gov (Meyer, Bruce) Date: Wed, 9 May 2012 09:33:35 -0400 Subject: Confusion on nrpe In-Reply-To: <4FAA4386.2010606@op5.se> References: <4FAA4386.2010606@op5.se> Message-ID: HiJacking a thread? What are you talking about? If I had maintained someone's subject but changed the content, that is hijacking a thread. Merely hitting 'reply' and deleting the subject and replacing it, deleting the body and writing my own does not seem to me, to qualify as hijacking a thread. That is creating a new thread, by changing the subject and body. Or am I completely missing something? I do sort by thread on my machine and my emails are perfectly sorted. Perhaps you should start sorting my subject instead of X-header or whatever you are threading on now. I would love to have learned something about what you are talking about, but so far, you haven't explained a thing, merely complained. If I want it further threaded, then it is grouped by the subject. What on earth are you threading by (and what amazing email client are you using) that causes my repurposing an email the way I do to cause a problem, X-Header attributes? If you have a problem with a persons actions, You should have taken the reply immediately offline, and not sent it to the group. You should also explain why doing what I do causes a problem, and not assume that what I do is intentional to cause a problem. Maybe I am not born with all knowledge and experience in all things mailing list known to man, as you apparently are. Some people try to teach and share knowledge. Since you insist, I will continue here to we can all learn from your complaint and eventual (hopefully) explanation as to how my process causes problems. BTW, You are the first person ever to have mentioned that doing it this way is causing a problem. I'll keep the thread here instead of taking it offline. This way if anyone else does what I do, we can all learn why this causes a problem. Maybe, we can get the owner of the mailing list to place a link or footer in each posting that says what address to send emails to. Then people like I who don't know, could just copy and paste that email address into new emails instead of hitting reply and changing subject and body and letting it fly. That is a fairly common thing in newsgroups postings, probably for this exact reason. I eagerly await your instructional and helpful reply. --Bruce D. Meyer On 5/9/12 6:14 AM, "Andreas Ericsson" wrote: >On 05/07/2012 09:06 PM, Meyer, Bruce wrote: >> Using a mac >> > >That's beside the point. Don't hijack someone elses thread if you want >your question answered, since threaded view of the mailing list makes >it appear as if you're responding to someone else's question when you >take their mail, hit "reply" and then replace all text with your own. > >Since you're the one who wants something, it's in your interest to >make it easy for the people you want something from to give that to >you. Hijacking a thread means you're off to a bad start, so don't. > >-- >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. >" ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 daniel.wittenberg.r0ko at statefarm.com Wed May 9 15:47:55 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Wed, 9 May 2012 13:47:55 +0000 Subject: 2 Nagios boxes running together in different locations In-Reply-To: References: <004b01cd2dd2$08977c60$19c67520$@gmail.com> <2882c02f177d5048c916d41d17e909eb.squirrel@webmail.stinkweasel.net> Message-ID: <4288A518A157EC4C8873FEE74F778BF0189866@WPSDGQHH.OPR.STATEFARM.ORG> I would agree with this as well, usually easier I think then trying to cross-connect everything together and make sense of all of it. Make them standalone, and then use something like Multisite which can bring all of them together in one view so it all appears to be one box setup. Dan From: Jeffrey Watts [mailto:jeffrey.w.watts at gmail.com] Sent: Wednesday, May 09, 2012 7:58 AM To: Nagios Users List Subject: Re: [Nagios-users] 2 Nagios boxes running together in different locations This is exactly how I do things, except I have three sites. Jeffrey On Wednesday, May 9, 2012, C. Bensend wrote: I've dealt with this situation before, and I've ended up implementing two mostly standalone Nagios systems. They each check their own site, so if their external network goes away they are still able to monitor and alert for the things they're responsible for (you have to use out-of-band notifications of course). They also each check each other's *site*, ala the other site's firewall, so the Nagios server at site A can alert and let you know if site B goes away, but it *doesn't* try to alert you for all of the hosts and services at site B. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 May 9 16:00:09 2012 From: werner.flamme at ufz.de (Werner Flamme) Date: Wed, 09 May 2012 16:00:09 +0200 Subject: Confusion on nrpe In-Reply-To: References: Message-ID: <4FAA7869.6010704@ufz.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Meyer, Bruce [09.05.2012 15:33]: > > > HiJacking a thread? What are you talking about? If I had > maintained someone's subject but changed the content, that is > hijacking a thread. Merely hitting 'reply' and deleting the subject > and replacing it, deleting the body and writing my own does not > seem to me, to qualify as hijacking a thread. That is creating a > new thread, by changing the subject and body. No, it is not. In a mail treated like this, you still have the "In-reply-to" header, in your case it is In-reply-to: <011701cd2c3b$a12b6240$e38226c0$@it.net> When you use software that is able to follow threads, this is thread-hijacking. When you use dumb software, that only lokks for the subject line, this is hidden. > Or am I completely missing something? I do sort by thread on my > machine and my emails are perfectly sorted. Perhaps you should > start sorting my subject instead of X-header or whatever you are > threading on now. Are you broken? Change a mail client because you are not able to enter an email address as a recipient after clicking "New Mail"? - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+qeGkACgkQk33Krq8b42MPTQCeM512Uz8Ue7sNJFkDHViOVNUx srYAniZMWYzY+L4J/prKRlKRJMswrWeO =Dqrp -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 May 9 16:38:49 2012 From: ae at op5.se (Andreas Ericsson) Date: Wed, 09 May 2012 16:38:49 +0200 Subject: Confusion on nrpe In-Reply-To: References: Message-ID: <4FAA8179.3090600@op5.se> Replying in-line, as is the common form on this list. On 05/09/2012 03:33 PM, Meyer, Bruce wrote: > > HiJacking a thread? What are you talking about? If I had maintained > someone's subject but changed the content, that is hijacking a thread. > Merely hitting 'reply' and deleting the subject and replacing it, deleting > the body and writing my own does not seem to me, to qualify as hijacking a > thread. That is creating a new thread, by changing the subject and body. > Or am I completely missing something? I do sort by thread on my machine > and my emails are perfectly sorted. Perhaps you should start sorting my > subject instead of X-header or whatever you are threading on now. > > I would love to have learned something about what you are talking about, > but so far, you haven't explained a thing, merely complained. > > > > If I want it further threaded, then it is grouped by the subject. What on > earth are you threading by (and what amazing email client are you using) > that causes my repurposing an email the way I do to cause a problem, > X-Header attributes? > > If you have a problem with a persons actions, You should have taken the > reply immediately offline, and not sent it to the group. You should also > explain why doing what I do causes a problem, and not assume that what I > do is intentional to cause a problem. Maybe I am not born with all > knowledge and experience in all things mailing list known to man, as you > apparently are. > > Some people try to teach and share knowledge. Since you insist, I will > continue here to we can all learn from your complaint and eventual > (hopefully) explanation as to how my process causes problems. BTW, You are > the first person ever to have mentioned that doing it this way is causing > a problem. I'll keep the thread here instead of taking it offline. This > way if anyone else does what I do, we can all learn why this causes a > problem. > > Maybe, we can get the owner of the mailing list to place a link or footer > in each posting that says what address to send emails to. Then people like > I who don't know, could just copy and paste that email address into new > emails instead of hitting reply and changing subject and body and letting > it fly. That is a fairly common thing in newsgroups postings, probably for > this exact reason. > > I eagerly await your instructional and helpful reply. > And here it is: When someone mentions, without malice, that you've done something wrong, examine your actions closely before claiming that those educating you are ignorant or wrong. If you can't find any fault in how you did things, ask nicely for an explanation. It's quite likely others know something you don't, and unless you actually *are* the reigning deity on the subject at hand, showing some humility is always a good idea. Hijacking a thread is not a big deal. Trying to correct us because we say it's wrong is however a very bad idea when you want our help. Hope that helps in your future endeavours. -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Julian_Grunnell at tdwh.co.uk Wed May 9 16:46:25 2012 From: Julian_Grunnell at tdwh.co.uk (Julian_Grunnell at tdwh.co.uk) Date: Wed, 9 May 2012 15:46:25 +0100 Subject: Notifications when STATE is OK Message-ID: Hi - I've had a request to perform a logfile check on a server 3 times a day, the requestor though has stated that they would like an email notification if the plugin runs successfully and as such the return code will be zero (0). To me this seems a little back to front - they want the email notification just for the comfort factor that something was ok in the early hours of the morning when no one is actually in the office to see the monitoring screens. The plugin would for example run at 1:15am and check a logfile for a given string of text and if found return a 0 / OK STATE - if this happens we want an email notification to be sent out. So does anyone know if this is possible or have done something like this and if so how was this done? Thanks - Julian. Julian Grunnell | Unix Analyst, Infrastructure | TD Direct Investing T: +44 (0) 113 346 2824 | M: +44 (0) 7889 352527 ----------------------------------------------- Consider the environment: Please don't print this e-mail unless you really need to. Confidentiality:? This email and its attachments are intended for the above named only and may be confidential.? If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Viruses:? Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure that they are actually virus-free. Brokerage services provided by TD Direct Investing (Europe) Limited (a subsidiary of The Toronto-Dominion Bank).? Authorised and regulated by the Financial Services Authority (FSA registered number 141282), member of the London Stock Exchange and the PLUS market. Incorporated in England and Wales under registration number 2101863.? Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX.?Banking services provided by TD Bank N.V. authorised and regulated by De Nederlandsche Bank and the Financial Services Authority for UK Business (FSA registered number 216791).? Incorporated in the Netherlands and registered as a branch in England and Wales under branch registration number BR006780. ------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Wed May 9 17:15:44 2012 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Wed, 9 May 2012 15:15:44 +0000 Subject: Nagios 3.4.0 complilation error (and trivial fix) In-Reply-To: <4FAA52FF.8030801@seres.es> References: <7CA580B59C1ABD45B4614ED90D4C7B853D2086AD@HC-EXMBX04.herefordshire.gov.uk> <4FAA52FF.8030801@seres.es> Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853D20DCD7@HC-EXMBX04.herefordshire.gov.uk> I should have mentioned that that error only occurs if you try to compile Nagios 3.4.0 with embedded perl support. There's also no guarantee that it'll work properly even with that patch. I had problems check_mk with Nagios 3.4.0, but unfortunately, I haven't got the time or test environment to get to the bottom of it. Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk From: Ismael Puerto [mailto:ismael.puerto at seres.es] Sent: 09 May 2012 12:21 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 3.4.0 complilation error (and trivial fix) Thanks Phill On 05/08/2012 04:03 PM, Randal, Phil wrote: Hi folks, Trying to compile nagios 3.4.0 gave me this error: checks.c: In function 'run_async_service_check': checks.c:714:5: error: 'temp_buffer' undeclared (first use in this function) Patch to fix the compilation error is: --- nagios/base/checks.c 2012-05-08 14:36:02.000000000 +0100 +++ nagios/base/checks.c 2012-05-08 14:35:45.000000000 +0100 @@ -469,6 +469,7 @@ double old_latency = 0.0; dbuf checkresult_dbuf; int dbuf_chunk = 1024; + char *temp_buffer; #ifdef USE_EVENT_BROKER int neb_result = OK; #endif Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk "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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Wed May 9 17:53:58 2012 From: giles at coochey.net (Giles Coochey) Date: Wed, 09 May 2012 16:53:58 +0100 Subject: Confusion on nrpe In-Reply-To: References: Message-ID: <4FAA9316.9040001@coochey.net> On 09/05/2012 14:33, Meyer, Bruce wrote: > > HiJacking a thread? What are you talking about? If I had maintained > someone's subject but changed the content, that is hijacking a thread. > Merely hitting 'reply' and deleting the subject and replacing it, deleting > the body and writing my own does not seem to me, to qualify as hijacking a > thread. That is creating a new thread, by changing the subject and body. > Or am I completely missing something? I do sort by thread on my machine > and my emails are perfectly sorted. Perhaps you should start sorting my > subject instead of X-header or whatever you are threading on now. > > When you upgrade to a threaded mail reader you will understand :-) Actually, replying to another thread to start your own is considered 'hijacking' If you were to change or omit the following headers in your reply, then it would not be considered a hijack: Thread-Index: Ac0sdhy95mbOFeZ/TfuR7Pqyo+E6LQ== In-Reply-To:<011701cd2c3b$a12b6240$e38226c0$@it.net> -- Best Regards, Giles Coochey, CCNA Security, CCNA NetSecSpec Ltd giles.coochey at netsecspec.co.uk Tel: +44 (0) 7983 877 438 Live Messenger: giles at coochey.net http://www.netsecspec.co.uk http://www.coochey.net -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4928 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 paul.weaver at bbc.co.uk Wed May 9 18:23:47 2012 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Wed, 9 May 2012 17:23:47 +0100 Subject: "Correct" email use [WAS Confusion on nrpe] Message-ID: > When you upgrade to a threaded mail reader you will understand :-) > > Actually, replying to another thread to start your own is considered > 'hijacking' There is probably a bit of snobbery with mail agents going on. Many people are stuck with abominations like Outlook, which are often set up to ignore traditional ways of handling emails. I personally haven't used mutt for about 6 years thanks to work pressures. However most people have used google and come across archives of email threads. If the OP were to visit http://www.mail-archive.com/nagios-users at lists.sourceforge.net/thrd2.htm l#37996, he'll see the kind of threading problem his methodology can cause, rather than having to take other people's word that their mailing clients are better than his. http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 mguthrie at nagios.com Wed May 9 18:23:57 2012 From: mguthrie at nagios.com (Mike Guthrie) Date: Wed, 09 May 2012 11:23:57 -0500 Subject: Nagios 3.4.0 complilation error (and trivial fix) In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B853D20DCD7@HC-EXMBX04.herefordshire.gov.uk> References: <7CA580B59C1ABD45B4614ED90D4C7B853D2086AD@HC-EXMBX04.herefordshire.gov.uk> <4FAA52FF.8030801@seres.es> <7CA580B59C1ABD45B4614ED90D4C7B853D20DCD7@HC-EXMBX04.herefordshire.gov.uk> Message-ID: <4FAA9A1D.2040206@nagios.com> Hey Phil, Thanks for the clarification on this. I was trying to figure out why we hadn't come across this issue on our local dev environments. Maybe some other users can chime in on this, but my understanding was that compiling with the embedded perl option tends to be problematic due to memory leaks and other unpredictable behaviors. (??) Let us know anything you find out, we appreciate the input! On 5/9/2012 10:15 AM, Randal, Phil wrote: > > I should have mentioned that that error only occurs if you try to > compile Nagios 3.4.0 with embedded perl support. > > There's also no guarantee that it'll work properly even with that > patch. I had problems check_mk with Nagios 3.4.0, but unfortunately, > I haven't got the time or test environment to get to the bottom of it. > > Cheers, > > Phil > > -- > > *Phil Randal* > > *Infrastructure Engineer* > *Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT* > > Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk > > *From:*Ismael Puerto [mailto:ismael.puerto at seres.es] > *Sent:* 09 May 2012 12:21 > *To:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Nagios 3.4.0 complilation error (and > trivial fix) > > Thanks Phill > > On 05/08/2012 04:03 PM, Randal, Phil wrote: > > Hi folks, > > Trying to compile nagios 3.4.0 gave me this error: > > checks.c: In function 'run_async_service_check': > > checks.c:714:5: error: 'temp_buffer' undeclared (first use in this > function) > > Patch to fix the compilation error is: > > --- nagios/base/checks.c 2012-05-08 14:36:02.000000000 +0100 > > +++ nagios/base/checks.c 2012-05-08 14:35:45.000000000 +0100 > > @@ -469,6 +469,7 @@ > > double old_latency = 0.0; > > dbuf checkresult_dbuf; > > int dbuf_chunk = 1024; > > + char *temp_buffer; > > #ifdef USE_EVENT_BROKER > > int neb_result = OK; > > #endif > > Cheers, > > Phil > > -- > > *Phil Randal* > > *Infrastructure Engineer* > *Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT* > > Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk > > > "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. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > _______________________________________________ > 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 > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > 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 -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Wed May 9 19:33:22 2012 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Wed, 9 May 2012 17:33:22 +0000 Subject: Nagios 3.4.0 complilation error (and trivial fix) In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B853D20DCD7@HC-EXMBX04.herefordshire.gov.uk> References: <7CA580B59C1ABD45B4614ED90D4C7B853D2086AD@HC-EXMBX04.herefordshire.gov.uk> <4FAA52FF.8030801@seres.es> <7CA580B59C1ABD45B4614ED90D4C7B853D20DCD7@HC-EXMBX04.herefordshire.gov.uk> Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853D20E415@HC-EXMBX04.herefordshire.gov.uk> I wouldn't rush to deploy Nagios 3.4.0 until this nasty bug's fixed: http://tracker.nagios.org/view.php?id=332 Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk From: Randal, Phil [mailto:phil.randal at hoopleltd.co.uk] Sent: 09 May 2012 16:16 To: Nagios Users List Subject: Re: [Nagios-users] Nagios 3.4.0 complilation error (and trivial fix) I should have mentioned that that error only occurs if you try to compile Nagios 3.4.0 with embedded perl support. There's also no guarantee that it'll work properly even with that patch. I had problems check_mk with Nagios 3.4.0, but unfortunately, I haven't got the time or test environment to get to the bottom of it. Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk From: Ismael Puerto [mailto:ismael.puerto at seres.es] Sent: 09 May 2012 12:21 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 3.4.0 complilation error (and trivial fix) Thanks Phill On 05/08/2012 04:03 PM, Randal, Phil wrote: Hi folks, Trying to compile nagios 3.4.0 gave me this error: checks.c: In function 'run_async_service_check': checks.c:714:5: error: 'temp_buffer' undeclared (first use in this function) Patch to fix the compilation error is: --- nagios/base/checks.c 2012-05-08 14:36:02.000000000 +0100 +++ nagios/base/checks.c 2012-05-08 14:35:45.000000000 +0100 @@ -469,6 +469,7 @@ double old_latency = 0.0; dbuf checkresult_dbuf; int dbuf_chunk = 1024; + char *temp_buffer; #ifdef USE_EVENT_BROKER int neb_result = OK; #endif Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk "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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 mark.frost1 at pepsico.com Wed May 9 19:45:02 2012 From: mark.frost1 at pepsico.com (Frost, Mark {BIS}) Date: Wed, 9 May 2012 13:45:02 -0400 Subject: Any upcoming release? In-Reply-To: <4F7D5908.7040306@op5.se> References: <201204050531.AA05201@S2007337.jp.fujitsu.com> <4F7D5908.7040306@op5.se> Message-ID: > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: Thursday, April 05, 2012 4:34 AM > To: Nagios Users List > Subject: Re: [Nagios-users] Any upcoming release? > On 04/05/2012 07:31 AM, Yu Watanabe wrote: >> Hi all! >> >> I would like to know if there are any plans for the nagios v 3.4.x. >> It has been a while since the last release so I was very curious about it. > There is. Nagios 3.4 will be a single-threaded and event-driven application > that sports an I/O-broker and vastly improved check performance. In essence, > we've removed 2 fork() calls, 4 disk searches, 2 filewrites and 2 filereads > from each check being performed. There's also a fixed usage of the current > scheduling queue implementation which turns scheduling new checks from its > current O(n) behaviour to O(1). This will provide a huge benefit for large > installations, and combined with the worker process code we're currently > seeing a 12-fold increase in the amount of checks Nagios can execute, but > it's still too early to tell what other things are affected. The external > command pipe might be a bottleneck if one uses large amounts of passive > checks, for example. > It's currently in late alpha, so beta releases should be available in a > month or so. > -- > Andreas Ericsson andreas.ericsson at op5.se Andreas, I'm a little confused about this. I've been eagerly awaiting these gee-wiz-bang space-age changes, but when I looked over the change list for 3.4.0 that Ethan sent they seem like mostly minor changes. Or perhaps they just don't describe things in enough detail to match up the rather significant architectural changes listed above. Is this the super-summarized bullet item that refers to the change above? ENHANCEMENTS * Use execv() to execute active check commands (#86 - Ton Voon, dnsmichi) Thanks Mark ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 May 9 21:40:22 2012 From: ae at op5.se (Andreas Ericsson) Date: Wed, 09 May 2012 21:40:22 +0200 Subject: Nagios 3.4.0 complilation error (and trivial fix) In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B853D20DCD7@HC-EXMBX04.herefordshire.gov.uk> References: <7CA580B59C1ABD45B4614ED90D4C7B853D2086AD@HC-EXMBX04.herefordshire.gov.uk> <4FAA52FF.8030801@seres.es> <7CA580B59C1ABD45B4614ED90D4C7B853D20DCD7@HC-EXMBX04.herefordshire.gov.uk> Message-ID: <4FAAC826.8010502@op5.se> On 05/09/2012 05:15 PM, Randal, Phil wrote: > I should have mentioned that that error only occurs if you try to > compile Nagios 3.4.0 with embedded perl support. > > There's also no guarantee that it'll work properly even with that > patch. I had problems check_mk with Nagios 3.4.0, but unfortunately, > I haven't got the time or test environment to get to the bottom of > it. > check_mk is written in python though, so it won't be affected by embedded perl. Not sure you were saying that. I just wanted to clarify. Some users (on nagios-devel@) have reported a failure to run checks with double quotes in them. It appears the execve() patch caused it. If that's your problem too, you should report it here. I have a half completed patch for it that'll be ready this weekend or something, but it would be nice with some corroboration. -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 May 9 21:45:36 2012 From: ae at op5.se (Andreas Ericsson) Date: Wed, 09 May 2012 21:45:36 +0200 Subject: Nagios 3.4.0 complilation error (and trivial fix) In-Reply-To: <4FAA9A1D.2040206@nagios.com> References: <7CA580B59C1ABD45B4614ED90D4C7B853D2086AD@HC-EXMBX04.herefordshire.gov.uk> <4FAA52FF.8030801@seres.es> <7CA580B59C1ABD45B4614ED90D4C7B853D20DCD7@HC-EXMBX04.herefordshire.gov.uk> <4FAA9A1D.2040206@nagios.com> Message-ID: <4FAAC960.8040204@op5.se> On 05/09/2012 06:23 PM, Mike Guthrie wrote: > Hey Phil, > > Thanks for the clarification on this. I was trying to figure out why > we hadn't come across this issue on our local dev environments. Maybe > some other users can chime in on this, but my understanding was that > compiling with the embedded perl option tends to be problematic due > to memory leaks and other unpredictable behaviors. (??) > It is, most of the time, but the code is still in there so it's sort of supposed to keep working. Personally, I'd rather remove the whole thing, since it's such a mess 99% of the time. -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 May 9 21:53:12 2012 From: ae at op5.se (Andreas Ericsson) Date: Wed, 09 May 2012 21:53:12 +0200 Subject: Any upcoming release? In-Reply-To: References: <201204050531.AA05201@S2007337.jp.fujitsu.com> <4F7D5908.7040306@op5.se> Message-ID: <4FAACB28.40309@op5.se> On 05/09/2012 07:45 PM, Frost, Mark {BIS} wrote: > >> -----Original Message----- >> From: Andreas Ericsson [mailto:ae at op5.se] >> Sent: Thursday, April 05, 2012 4:34 AM >> To: Nagios Users List >> Subject: Re: [Nagios-users] Any upcoming release? > >> On 04/05/2012 07:31 AM, Yu Watanabe wrote: >>> Hi all! >>> >>> I would like to know if there are any plans for the nagios v 3.4.x. >>> It has been a while since the last release so I was very curious about it. > > >> There is. Nagios 3.4 will be a single-threaded and event-driven application >> that sports an I/O-broker and vastly improved check performance. In essence, >> we've removed 2 fork() calls, 4 disk searches, 2 filewrites and 2 filereads >> from each check being performed. There's also a fixed usage of the current >> scheduling queue implementation which turns scheduling new checks from its >> current O(n) behaviour to O(1). This will provide a huge benefit for large >> installations, and combined with the worker process code we're currently >> seeing a 12-fold increase in the amount of checks Nagios can execute, but >> it's still too early to tell what other things are affected. The external >> command pipe might be a bottleneck if one uses large amounts of passive >> checks, for example. > >> It's currently in late alpha, so beta releases should be available in a >> month or so. > >> -- >> Andreas Ericsson andreas.ericsson at op5.se > > Andreas, > > I'm a little confused about this. I've been eagerly awaiting these > gee-wiz-bang space-age changes, but when I looked over the change list > for 3.4.0 that Ethan sent they seem like mostly minor changes. Or > perhaps they just don't describe things in enough detail to match up the > rather significant architectural changes listed above. > > Is this the super-summarized bullet item that refers to the change above? > > ENHANCEMENTS > * Use execv() to execute active check commands (#86 - Ton Voon, dnsmichi) > Nopes, it's not, and that patch is actually broken. My code still leaks (about 1MB per 24 hours with 1000 checks / second), so I've held it back a bit. I didn't know they were going to hit the release button so fast, and without a beta period. -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 mark.frost1 at pepsico.com Wed May 9 22:37:38 2012 From: mark.frost1 at pepsico.com (Frost, Mark {BIS}) Date: Wed, 9 May 2012 16:37:38 -0400 Subject: Any upcoming release? In-Reply-To: <4FAACB28.40309@op5.se> References: <201204050531.AA05201@S2007337.jp.fujitsu.com> <4F7D5908.7040306@op5.se> <4FAACB28.40309@op5.se> Message-ID: > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: Wednesday, May 09, 2012 3:53 PM > To: Nagios Users List > Cc: Frost, Mark {BIS} > Subject: Re: [Nagios-users] Any upcoming release? > On 05/09/2012 07:45 PM, Frost, Mark {BIS} wrote: >> Andreas, >> >> I'm a little confused about this. I've been eagerly awaiting these >> gee-wiz-bang space-age changes, but when I looked over the change list >> for 3.4.0 that Ethan sent they seem like mostly minor changes. Or >> perhaps they just don't describe things in enough detail to match up the >> rather significant architectural changes listed above. >> >> Is this the super-summarized bullet item that refers to the change above? >> >> ENHANCEMENTS >> * Use execv() to execute active check commands (#86 - Ton Voon, dnsmichi) >> > Nopes, it's not, and that patch is actually broken. My code still leaks (about > 1MB per 24 hours with 1000 checks / second), so I've held it back a bit. I > didn't know they were going to hit the release button so fast, and without a > beta period. > -- > Andreas Ericsson andreas.ericsson at op5.se Aha! Thanks. Yeah, I was little struck by how this seemed more like a 3.3.2 release than a release that indicated something significant going on under the covers. I guess there's now the problem of when the i/o broker is ready, is that a 3.4.1 release? Seems kind of major for that. Mark ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 May 9 23:43:27 2012 From: ae at op5.se (Andreas Ericsson) Date: Wed, 09 May 2012 23:43:27 +0200 Subject: [Nagios-users] Any upcoming release? In-Reply-To: <4FAACB28.40309@op5.se> References: <201204050531.AA05201@S2007337.jp.fujitsu.com> <4F7D5908.7040306@op5.se> <4FAACB28.40309@op5.se> Message-ID: <4FAAE4FF.3090205@op5.se> Bleh. It's too late and to sit up and rebase 160-odd patches on top of 20 to fix a single broken one. For those using the 3.4.0 release, I've cherry-picked all patches that went in the 3.4.0-release apart from the broken execvp patch and added them on top of the worker-process code. If anyone's interested in trying them out, you can get them from git://github.com/ageric/nagios.git or possibly get a snapshot somewhere at https://github.com/ageric/nagios Consider it 3.5.0-alpha or something. It still needs a lot of testing, but it's been ticking along quite nicely in our lab the past 4 months, running checks and generally just working with livestatus and Merlin enabled. Granted, that part of our lab doesn't use passive check results, but most of the rest is tested and known to work pretty well, apart from the small memory leak mentioned below (but who knows? Someone might even fix that now that it's in the open). Happy testing. I'll get a proper fix in for the double-quote issue on friday, as I've got presentations to run all day tomorrow. On 05/09/2012 09:53 PM, Andreas Ericsson wrote: > On 05/09/2012 07:45 PM, Frost, Mark {BIS} wrote: >> >>> -----Original Message----- >>> From: Andreas Ericsson [mailto:ae at op5.se] >>> Sent: Thursday, April 05, 2012 4:34 AM >>> To: Nagios Users List >>> Subject: Re: [Nagios-users] Any upcoming release? >> >>> On 04/05/2012 07:31 AM, Yu Watanabe wrote: >>>> Hi all! >>>> >>>> I would like to know if there are any plans for the nagios v 3.4.x. >>>> It has been a while since the last release so I was very curious about it. >> >> >>> There is. Nagios 3.4 will be a single-threaded and event-driven application >>> that sports an I/O-broker and vastly improved check performance. In essence, >>> we've removed 2 fork() calls, 4 disk searches, 2 filewrites and 2 filereads >>> from each check being performed. There's also a fixed usage of the current >>> scheduling queue implementation which turns scheduling new checks from its >>> current O(n) behaviour to O(1). This will provide a huge benefit for large >>> installations, and combined with the worker process code we're currently >>> seeing a 12-fold increase in the amount of checks Nagios can execute, but >>> it's still too early to tell what other things are affected. The external >>> command pipe might be a bottleneck if one uses large amounts of passive >>> checks, for example. >> >>> It's currently in late alpha, so beta releases should be available in a >>> month or so. >> >>> -- >>> Andreas Ericsson andreas.ericsson at op5.se >> >> Andreas, >> >> I'm a little confused about this. I've been eagerly awaiting these >> gee-wiz-bang space-age changes, but when I looked over the change list >> for 3.4.0 that Ethan sent they seem like mostly minor changes. Or >> perhaps they just don't describe things in enough detail to match up the >> rather significant architectural changes listed above. >> >> Is this the super-summarized bullet item that refers to the change above? >> >> ENHANCEMENTS >> * Use execv() to execute active check commands (#86 - Ton Voon, dnsmichi) >> > > Nopes, it's not, and that patch is actually broken. My code still leaks (about > 1MB per 24 hours with 1000 checks / second), so I've held it back a bit. I > didn't know they were going to hit the release button so fast, and without a > beta period. > -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ From ae at op5.se Thu May 10 01:10:28 2012 From: ae at op5.se (Andreas Ericsson) Date: Thu, 10 May 2012 01:10:28 +0200 Subject: Any upcoming release? In-Reply-To: References: <201204050531.AA05201@S2007337.jp.fujitsu.com> <4F7D5908.7040306@op5.se> <4FAACB28.40309@op5.se> Message-ID: <4FAAF964.4030705@op5.se> On 05/09/2012 10:37 PM, Frost, Mark {BIS} wrote: >>> >>> I'm a little confused about this. I've been eagerly awaiting these >>> gee-wiz-bang space-age changes, but when I looked over the change list >>> for 3.4.0 that Ethan sent they seem like mostly minor changes. Or >>> perhaps they just don't describe things in enough detail to match up the >>> rather significant architectural changes listed above. >>> >>> Is this the super-summarized bullet item that refers to the change above? >>> >>> ENHANCEMENTS >>> * Use execv() to execute active check commands (#86 - Ton Voon, dnsmichi) >>> > >> Nopes, it's not, and that patch is actually broken. My code still leaks (about >> 1MB per 24 hours with 1000 checks / second), so I've held it back a bit. I >> didn't know they were going to hit the release button so fast, and without a >> beta period. > > Aha! Thanks. Yeah, I was little struck by how this seemed more like a 3.3.2 > release than a release that indicated something significant going on under > the covers. > > I guess there's now the problem of when the i/o broker is ready, is that > a 3.4.1 release? Seems kind of major for that. > Apparently it'll go into Nagios 4, and that one will most likely have a proper beta period, since it's likely we take that opportunity to revamp the object api. It'll be a ways off though, but hopefully before the big Nagios conference in St Paul in september. -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 jonathan.gazeley at bristol.ac.uk Thu May 10 11:49:21 2012 From: jonathan.gazeley at bristol.ac.uk (Jonathan Gazeley) Date: Thu, 10 May 2012 10:49:21 +0100 Subject: Performance data not being returned Message-ID: <4FAB8F21.3090300@bristol.ac.uk> Some time ago I set up a bunch of Nagios checks including graphing of performance data for various services. It all worked fine. I've just had cause to look at the graphs and I noticed that performance data stopped being logged a few weeks ago. Nagios no longer seems to read in the performance data for this one service check - other services are OK. Nagios correctly reports the status and the status information string, but seems to not accept the performance data. The plugin is being executed through NRPE. Executing the plugin by hand seems to return valid perfdata: [jg4461 at dhcp1 ~]$ /usr/lib64/nagios/plugins/check_dhcpd_pools OK - all pools less than 80% full | 'resnet-wireless-652'=43.769%;80;90, 'resnet-wireless-653'=47.923%;80;90, 'resnet-wireless-654'=46.201%;80;90, 'resnet-wireless-655'=44.681%;80;90, 'resnet-wireless-656'=47.720%;80;90, 'resnet-wireless-657'=47.112%;80;90, 'resnet-wireless-658'=42.452%;80;90, 'resnet-wireless-659'=0.304%;80;90, 'resnet-wireless-ratelimited-660'=1.114%;80;90, 'resnet-wireless-onlinepayment-661'=0.405%;80;90, 'resnet-wireless-onlinepayment-662'=0.405%;80;90, 'resnet-wireless-onlinepayment-663'=0.304%;80;90, 'resnet-wireless-consoles-665'=1.114%;80;90, 'resnet-wireless-message-666'=0.000%;80;90, 'resnet-wireless-instructions-667'=8.056%;80;90 The plugin worked perfectly in the past and I'm not aware that anything has changed since. I've checked that permissions are OK and that SELinux isn't preventing it from working. Can anyone suggest a sensible course of action to troubleshoot this plugin - where I might look to try and work out where the perfdata is being lost? Thanks, Jonathan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 m.borsani at it.net Thu May 10 11:56:50 2012 From: m.borsani at it.net (Marco Borsani) Date: Thu, 10 May 2012 11:56:50 +0200 Subject: R: R: accept TRAP SNMP Message-ID: <008601cd2e93$3e9959c0$bbcc0d40$@it.net> I don?t find enough documentation to configure Nagios to receive the trap. Perhaps the problem is to understand the correct format to send them I can send trap from host #A to Nagios server. I configured a passive check to manage a trap (if it is correct) I see the trap arrive in the log file, but I don?t know how to manage it. Regards Marco Da: Marco Borsani [mailto:m.borsani at it.net] Inviato: luned? 7 maggio 2012 12:25 A: 'Nagios Users List' Oggetto: [Nagios-users] R: accept trap snmp Any possibility to receive and manage snmp trap without the Nagios Snmp Trap Interface ? Regards Marco Da: Mark Elsen [mailto:mark.elsen at gmail.com] Inviato: gioved? 29 marzo 2012 19:45 A: Nagios Users List Oggetto: Re: [Nagios-users] accept trap snmp Hi all Actually I make many query via snmp to routers, fw, etc. Is it possible (and how) received trap snmp from Nagios server? - Checkout the Nagios SNMP Trap Interface M. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 benny at bennyvision.com Thu May 10 12:31:02 2012 From: benny at bennyvision.com (C. Bensend) Date: Thu, 10 May 2012 05:31:02 -0500 Subject: Performance data not being returned In-Reply-To: <4FAB8F21.3090300@bristol.ac.uk> References: <4FAB8F21.3090300@bristol.ac.uk> Message-ID: <59ec1efbca6945445a1deac04019f7f3.squirrel@webmail.stinkweasel.net> > The plugin is being executed through NRPE. Executing the plugin by hand > seems to return valid perfdata: > > [jg4461 at dhcp1 ~]$ /usr/lib64/nagios/plugins/check_dhcpd_pools > OK - all pools less than 80% full | 'resnet-wireless-652'=43.769%;80;90, > 'resnet-wireless-653'=47.923%;80;90, > 'resnet-wireless-654'=46.201%;80;90, > 'resnet-wireless-655'=44.681%;80;90, > 'resnet-wireless-656'=47.720%;80;90, > 'resnet-wireless-657'=47.112%;80;90, > 'resnet-wireless-658'=42.452%;80;90, 'resnet-wireless-659'=0.304%;80;90, > 'resnet-wireless-ratelimited-660'=1.114%;80;90, > 'resnet-wireless-onlinepayment-661'=0.405%;80;90, > 'resnet-wireless-onlinepayment-662'=0.405%;80;90, > 'resnet-wireless-onlinepayment-663'=0.304%;80;90, > 'resnet-wireless-consoles-665'=1.114%;80;90, > 'resnet-wireless-message-666'=0.000%;80;90, > 'resnet-wireless-instructions-667'=8.056%;80;90 http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN201 I think you might try spaces, not commas. I have developed a number of plugins, and I've never used anything but spaces to delimit the performance data. If Nagios doesn't believe that's valid data, it's going to ignore it. -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 jonathan.gazeley at bristol.ac.uk Thu May 10 12:51:50 2012 From: jonathan.gazeley at bristol.ac.uk (Jonathan Gazeley) Date: Thu, 10 May 2012 11:51:50 +0100 Subject: Performance data not being returned In-Reply-To: <59ec1efbca6945445a1deac04019f7f3.squirrel@webmail.stinkweasel.net> References: <4FAB8F21.3090300@bristol.ac.uk> <59ec1efbca6945445a1deac04019f7f3.squirrel@webmail.stinkweasel.net> Message-ID: <4FAB9DC6.40109@bristol.ac.uk> On 10/05/12 11:31, C. Bensend wrote: > >> The plugin is being executed through NRPE. Executing the plugin by hand >> seems to return valid perfdata: >> >> [jg4461 at dhcp1 ~]$ /usr/lib64/nagios/plugins/check_dhcpd_pools >> OK - all pools less than 80% full | 'resnet-wireless-652'=43.769%;80;90, >> 'resnet-wireless-653'=47.923%;80;90, >> 'resnet-wireless-654'=46.201%;80;90, >> 'resnet-wireless-655'=44.681%;80;90, >> 'resnet-wireless-656'=47.720%;80;90, >> 'resnet-wireless-657'=47.112%;80;90, >> 'resnet-wireless-658'=42.452%;80;90, 'resnet-wireless-659'=0.304%;80;90, >> 'resnet-wireless-ratelimited-660'=1.114%;80;90, >> 'resnet-wireless-onlinepayment-661'=0.405%;80;90, >> 'resnet-wireless-onlinepayment-662'=0.405%;80;90, >> 'resnet-wireless-onlinepayment-663'=0.304%;80;90, >> 'resnet-wireless-consoles-665'=1.114%;80;90, >> 'resnet-wireless-message-666'=0.000%;80;90, >> 'resnet-wireless-instructions-667'=8.056%;80;90 > > http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN201 > > I think you might try spaces, not commas. I have developed a > number of plugins, and I've never used anything but spaces to > delimit the performance data. If Nagios doesn't believe that's > valid data, it's going to ignore it. > > I removed the commas, and I'm now using only spaces. It still isn't showing up in Nagios, though. I'm slightly perplexed, since the perfdata used to show up in Nagios in the form that I already posted it to the list. I don't know what changed. Does anyone know any good ways of debugging this? Thanks, Jonathan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Thu May 10 14:54:58 2012 From: f at zz.de (Florian Lohoff) Date: Thu, 10 May 2012 14:54:58 +0200 Subject: Eaton DC Power Supply Message-ID: <20120510125458.GA24959@pax.zz.de> Hi, has anyone done some monitoring on this? I fail to find a mib for the SC200 Controller e.g. enterprises.1918 mib. Interesting would be power draw and/or state of the rectifiers. 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 liulantao at gmail.com Thu May 10 15:18:09 2012 From: liulantao at gmail.com (Liu Lantao) Date: Thu, 10 May 2012 21:18:09 +0800 Subject: status-txt: easier for other applications/services to use Nagios data In-Reply-To: References: <4FA41CAF.8070806@nagios.com> <4FA7D751.8090205@nagios.com> Message-ID: status.dat is easy to parse, which make it a good choice to share between nagios and other programs/systems. I see this(thin version of statusXML.php: http://svn.jasonantman.com/nagios-xml/statusXML-krzywanski.php), and this(c version of nagios-xml: http://svn.jasonantman.com/nagios-xml/php_module/), which maybe more usefull for light-weight or high-performance purpose. On Tue, May 8, 2012 at 12:09 PM, Wenhua Zhang wrote: > Hi Mike, > Thanks for your information. > If the new version support the API's for XML and JSON, I think it will > be very useful for many people. > I am looking forward to the new revision. > > Best Wishes, > Wenhua > > > 2012/5/7 Mike Guthrie : > > As a side note it looks like there is already an addon that's been > > written that produces the status data in XML format. > > > > > http://exchange.nagios.org/directory/Addons/APIs/XML/Status-XML-Generator/details > > > > > > Although they won't be making it into the 3.4 release, we'll be looking > > at incorporating community developed API's for XML and JSON in the next > > revision of Nagios core since there has been quite a bit of interest in > it. > > > > > > On 5/6/2012 8:05 PM, Wenhua Zhang wrote: > >> Hi Robert, > >> Thanks for your advice, it is a good idea. > >> > >> As till now, status-txt just returns status.dat as plain text. When we > >> wrote this program, we have thought about many formats, such as JSON, > >> XML, plain text and so on. We use plain text because it is simple, but > >> now I found it may be not widely used as JSON and XML. (status-json > >> can get the nagios data as JSON. You can get it from > >> > http://exchange.nagios.org/directory/Addons/APIs/JSON/status-2Djson/details > ) > >> > >> status-txt is the first version, and we will add more function in the > >> next version, such as more filters and maybe more output formats. > >> > >> I think you can push your PHP program to the this email list, maybe > >> some one will be interested, like me. > >> > >> Best Wishes, > >> Wenhua > >> > >> > >> 2012/5/6 Robert Arends: > >>> Sounds great. Does it output in XML ? Would be good to support that as > an option. > >>> It would be good to have a search option - as in , return all > hosts/services/downtime etc matching ".....". If it could do regex on the > match would be nice. > >>> > >>> I've just written a rough php program to return status.dat as XML. > >>> It works very well but C++ would be quicker and I wouldn't have to > cleanup the code. > >>> > >>> I'll run this up during the week to see if it is a good as it sounds > like it is. > >>> > >>> Thanks rob > >>> > >>> > >>> > >>> Sent from my iWorld > >>> > >>> On 06/05/2012, at 2:08, "Wenhua Zhang" wrote: > >>> > >>>> Thanks for your reply! > >>>> I hope it will be useful to you. > >>>> It is the first version and we will add more functions. If you have > >>>> some advice, please feel free to let me know. > >>>> > >>>> Thanks, > >>>> Best Wishes, > >>>> Wenhua > >>>> > >>>> 2012/5/5 Alex Griffin: > >>>>> Thanks for posting this, it looks pretty useful! > >>>>> > >>>>> Alex Griffin > >>>>> --- > >>>>> Tech Team > >>>>> agriffin at nagios.com > >>>>> > >>>>> On 05/02/2012 10:57 PM, Wenhua Zhang wrote: > >>>>>> Hi all, > >>>>>> Recently, we need a API or application to get the nagios data as > other > >>>>>> easily readable format such as XML, JSON or plain text instead of > the > >>>>>> default HTML. > >>>>>> status-txt is implemented to duplicate the output of status.cgi in > >>>>>> plain text to achieve this goal, making it easier for other > >>>>>> applications/services to use Nagios data. > >>>>>> > >>>>>> Compile status-txt.c to create status-txt.cgi, this cgi accepts > >>>>>> exactly the same URL parameters that status.cgi accepts, and filters > >>>>>> its output appropriately. > >>>>>> In this version, it accepts almost all the arguments passed in the > URL > >>>>>> which status.cgi accepts except "style", "navbarsearch", "columns" > and > >>>>>> "noheader". > >>>>>> And we will add more functionalities in the next version. > >>>>>> > >>>>>> The status-txt.cgi will returns service data that appears in the > >>>>>> "status" table of status.cgi as "host_ip host_status > >>>>>> [service:service_status;......]", not includes the top portion of > the > >>>>>> page, eg: > >>>>>> 196.0.0.1 UP HTTP_80:OK; > >>>>>> 196.0.0.2 UP DB_PORT_3306:OK;DB_PORT_3307:OK; > >>>>>> And you can use some arguments to filter its output, such as > >>>>>> "hostgroup", "servicegroup", "host" and so on. > >>>>>> > >>>>>> The attachment is the source code, if you have any ideas about it, > >>>>>> please feel free to let me know. > >>>>>> You can also get the source code from github > >>>>>> "https://github.com/shiziwen/nagios-status2txt". > >>>>>> > >>>>>> > >>>>>> Thanks, > >>>>>> Best Wishes, > >>>>>> Wenhua > >>>>>> > >>>>>> > >>>>>> > >>>>>> > ------------------------------------------------------------------------------ > >>>>>> Live Security Virtual Conference > >>>>>> Exclusive live event will cover all the ways today's security and > >>>>>> threat landscape has changed and how IT managers can respond. > Discussions > >>>>>> will include endpoint security, mobile security and the latest in > malware > >>>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>>>>> > >>>>>> > >>>>>> > >>>>>> _______________________________________________ > >>>>>> 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 > >>>>> > ------------------------------------------------------------------------------ > >>>>> Live Security Virtual Conference > >>>>> Exclusive live event will cover all the ways today's security and > >>>>> threat landscape has changed and how IT managers can respond. > Discussions > >>>>> will include endpoint security, mobile security and the latest in > malware > >>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>>>> _______________________________________________ > >>>>> 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 > >>>> > ------------------------------------------------------------------------------ > >>>> Live Security Virtual Conference > >>>> Exclusive live event will cover all the ways today's security and > >>>> threat landscape has changed and how IT managers can respond. > Discussions > >>>> will include endpoint security, mobile security and the latest in > malware > >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>>> _______________________________________________ > >>>> 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 > >>> > ------------------------------------------------------------------------------ > >>> Live Security Virtual Conference > >>> Exclusive live event will cover all the ways today's security and > >>> threat landscape has changed and how IT managers can respond. > Discussions > >>> will include endpoint security, mobile security and the latest in > malware > >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>> _______________________________________________ > >>> 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 > >> > ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. > Discussions > >> will include endpoint security, mobile security and the latest in > malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> 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 > > > > > > -- > > > > > > Mike Guthrie > > Technical Team > > ___ > > Nagios Enterprises, LLC > > Email: mguthrie at nagios.com > > Web: www.nagios.com > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > 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 > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 > -- Liu Lantao EMAIL: liulantao ( at ) gmail ( dot ) com ; WEBSITE: http://www.liulantao.com/portal . -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 leonardo at lbasolutions.com Thu May 10 15:30:42 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Thu, 10 May 2012 10:30:42 -0300 Subject: check jboss Message-ID: Hi people, good morning! There was a guy that configured to monitory it by the tcp port, however, rarely the jboss came very slow and nagios does not report anything because the port is listening. Does anyone know a plugin to check a specific instance of jboss and the port or other things together? many thanks! have all you a great day -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 paul.weaver at bbc.co.uk Thu May 10 15:44:12 2012 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Thu, 10 May 2012 14:44:12 +0100 Subject: check jboss In-Reply-To: References: Message-ID: > There was a guy that configured to monitory it by the tcp port, however, rarely the jboss came very slow and nagios does not report anything > because the port is listening. > Does anyone know a plugin to check a specific instance of jboss and the port or other things together? What part of jboss came slow? You can use check_http to pull the jmx console from the port (8082?) and ensure that 1) The page returns in a given timeout 2) The page returns a 200 OK message 3) The page is long enough Personally I couldn't care less if my jboss server is working, I'm much more concerned the application and websites deployed on it are working, so I check them instead (including using check_http to pull a static .gif, and using check_http to pull a database-generated page, which tells me if it's the webserver that's down, or if it's the database pool) http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 mguthrie at nagios.com Thu May 10 16:06:32 2012 From: mguthrie at nagios.com (Mike Guthrie) Date: Thu, 10 May 2012 09:06:32 -0500 Subject: Performance data not being returned In-Reply-To: <4FAB9DC6.40109@bristol.ac.uk> References: <4FAB8F21.3090300@bristol.ac.uk> <59ec1efbca6945445a1deac04019f7f3.squirrel@webmail.stinkweasel.net> <4FAB9DC6.40109@bristol.ac.uk> Message-ID: <4FABCB68.8010307@nagios.com> On 5/10/2012 5:51 AM, Jonathan Gazeley wrote: > On 10/05/12 11:31, C. Bensend wrote: >>> The plugin is being executed through NRPE. Executing the plugin by hand >>> seems to return valid perfdata: >>> >>> [jg4461 at dhcp1 ~]$ /usr/lib64/nagios/plugins/check_dhcpd_pools >>> OK - all pools less than 80% full | 'resnet-wireless-652'=43.769%;80;90, >>> 'resnet-wireless-653'=47.923%;80;90, >>> 'resnet-wireless-654'=46.201%;80;90, >>> 'resnet-wireless-655'=44.681%;80;90, >>> 'resnet-wireless-656'=47.720%;80;90, >>> 'resnet-wireless-657'=47.112%;80;90, >>> 'resnet-wireless-658'=42.452%;80;90, 'resnet-wireless-659'=0.304%;80;90, >>> 'resnet-wireless-ratelimited-660'=1.114%;80;90, >>> 'resnet-wireless-onlinepayment-661'=0.405%;80;90, >>> 'resnet-wireless-onlinepayment-662'=0.405%;80;90, >>> 'resnet-wireless-onlinepayment-663'=0.304%;80;90, >>> 'resnet-wireless-consoles-665'=1.114%;80;90, >>> 'resnet-wireless-message-666'=0.000%;80;90, >>> 'resnet-wireless-instructions-667'=8.056%;80;90 >> http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN201 >> >> I think you might try spaces, not commas. I have developed a >> number of plugins, and I've never used anything but spaces to >> delimit the performance data. If Nagios doesn't believe that's >> valid data, it's going to ignore it. >> >> > I removed the commas, and I'm now using only spaces. It still isn't > showing up in Nagios, though. > > I'm slightly perplexed, since the perfdata used to show up in Nagios in > the form that I already posted it to the list. I don't know what changed. > > Does anyone know any good ways of debugging this? Try using floats for your thresholds instead of integers. Those are two different data types being compared. For debugging I usually set up a local passive check with hard-coded status text and performance data, and then I just play with the format until it starts being processed for a graph. > > Thanks, > Jonathan > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 jonathan.gazeley at bristol.ac.uk Thu May 10 17:16:10 2012 From: jonathan.gazeley at bristol.ac.uk (Jonathan Gazeley) Date: Thu, 10 May 2012 16:16:10 +0100 Subject: Performance data not being returned In-Reply-To: <4FABCB68.8010307@nagios.com> References: <4FAB8F21.3090300@bristol.ac.uk> <59ec1efbca6945445a1deac04019f7f3.squirrel@webmail.stinkweasel.net> <4FAB9DC6.40109@bristol.ac.uk> <4FABCB68.8010307@nagios.com> Message-ID: <4FABDBBA.2090209@bristol.ac.uk> On 10/05/12 15:06, Mike Guthrie wrote: > On 5/10/2012 5:51 AM, Jonathan Gazeley wrote: >> On 10/05/12 11:31, C. Bensend wrote: >>>> The plugin is being executed through NRPE. Executing the plugin by hand >>>> seems to return valid perfdata: >>>> >>>> [jg4461 at dhcp1 ~]$ /usr/lib64/nagios/plugins/check_dhcpd_pools >>>> OK - all pools less than 80% full | 'resnet-wireless-652'=43.769%;80;90, >>>> 'resnet-wireless-653'=47.923%;80;90, >>>> 'resnet-wireless-654'=46.201%;80;90, >>>> 'resnet-wireless-655'=44.681%;80;90, >>>> 'resnet-wireless-656'=47.720%;80;90, >>>> 'resnet-wireless-657'=47.112%;80;90, >>>> 'resnet-wireless-658'=42.452%;80;90, 'resnet-wireless-659'=0.304%;80;90, >>>> 'resnet-wireless-ratelimited-660'=1.114%;80;90, >>>> 'resnet-wireless-onlinepayment-661'=0.405%;80;90, >>>> 'resnet-wireless-onlinepayment-662'=0.405%;80;90, >>>> 'resnet-wireless-onlinepayment-663'=0.304%;80;90, >>>> 'resnet-wireless-consoles-665'=1.114%;80;90, >>>> 'resnet-wireless-message-666'=0.000%;80;90, >>>> 'resnet-wireless-instructions-667'=8.056%;80;90 >>> http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN201 >>> >>> I think you might try spaces, not commas. I have developed a >>> number of plugins, and I've never used anything but spaces to >>> delimit the performance data. If Nagios doesn't believe that's >>> valid data, it's going to ignore it. >>> >>> >> I removed the commas, and I'm now using only spaces. It still isn't >> showing up in Nagios, though. >> >> I'm slightly perplexed, since the perfdata used to show up in Nagios in >> the form that I already posted it to the list. I don't know what changed. >> >> Does anyone know any good ways of debugging this? > Try using floats for your thresholds instead of integers. Those are two > different data types being compared. > > For debugging I usually set up a local passive check with hard-coded > status text and performance data, and then I just play with the format > until it starts being processed for a graph. I've narrowed it down to a stage where running the plugin directly returns the right results, but running the plugin through check_nrpe on localhost returns this: [jg4461 at dhcp1 log]$ /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_dhcpd_pools OK - all pools less than 80% full | What could cause NRPE to truncate the results in such a way? Jonathan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 benny at bennyvision.com Thu May 10 17:39:49 2012 From: benny at bennyvision.com (C. Bensend) Date: Thu, 10 May 2012 10:39:49 -0500 Subject: Performance data not being returned In-Reply-To: <4FABDBBA.2090209@bristol.ac.uk> References: <4FAB8F21.3090300@bristol.ac.uk> <59ec1efbca6945445a1deac04019f7f3.squirrel@webmail.stinkweasel.net> <4FAB9DC6.40109@bristol.ac.uk> <4FABCB68.8010307@nagios.com> <4FABDBBA.2090209@bristol.ac.uk> Message-ID: <4222f986918ed17c0f29b274e55fe53f.squirrel@webmail.stinkweasel.net> > I've narrowed it down to a stage where running the plugin directly > returns the right results, but running the plugin through check_nrpe on > localhost returns this: > > [jg4461 at dhcp1 log]$ /usr/lib64/nagios/plugins/check_nrpe -H localhost -c > check_dhcpd_pools > OK - all pools less than 80% full | > > What could cause NRPE to truncate the results in such a way? Too much data? Are you using SSL? I don't know that I've seen this behavior before - it's always been *invalid* perfdata that have caused this issue for me. -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 jonathan.gazeley at bristol.ac.uk Thu May 10 18:04:39 2012 From: jonathan.gazeley at bristol.ac.uk (Jonathan Gazeley) Date: Thu, 10 May 2012 17:04:39 +0100 Subject: Performance data not being returned In-Reply-To: <4222f986918ed17c0f29b274e55fe53f.squirrel@webmail.stinkweasel.net> References: <4FAB8F21.3090300@bristol.ac.uk> <59ec1efbca6945445a1deac04019f7f3.squirrel@webmail.stinkweasel.net> <4FAB9DC6.40109@bristol.ac.uk> <4FABCB68.8010307@nagios.com> <4FABDBBA.2090209@bristol.ac.uk> <4222f986918ed17c0f29b274e55fe53f.squirrel@webmail.stinkweasel.net> Message-ID: <4FABE717.5020507@bristol.ac.uk> On 10/05/12 16:39, C. Bensend wrote: > >> I've narrowed it down to a stage where running the plugin directly >> returns the right results, but running the plugin through check_nrpe on >> localhost returns this: >> >> [jg4461 at dhcp1 log]$ /usr/lib64/nagios/plugins/check_nrpe -H localhost -c >> check_dhcpd_pools >> OK - all pools less than 80% full | >> >> What could cause NRPE to truncate the results in such a way? > > Too much data? > > Are you using SSL? > > I don't know that I've seen this behavior before - it's always > been *invalid* perfdata that have caused this issue for me. > I am using SSL in production, although not for testing. Both cases return the same truncated results. The total status + performance data returned from this plugin is only 500-and-something bytes, less than the limits for NRPE that I'd heard about. I'm wondering if it might be something to do with the embedded perl interpreter. Does NRPE use this to execute perl-flavoured plugins? Thanks for your help, Jonathan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Thu May 10 20:55:17 2012 From: ae at op5.se (Andreas Ericsson) Date: Thu, 10 May 2012 20:55:17 +0200 Subject: Performance data not being returned In-Reply-To: <4FABE717.5020507@bristol.ac.uk> References: <4FAB8F21.3090300@bristol.ac.uk> <59ec1efbca6945445a1deac04019f7f3.squirrel@webmail.stinkweasel.net> <4FAB9DC6.40109@bristol.ac.uk> <4FABCB68.8010307@nagios.com> <4FABDBBA.2090209@bristol.ac.uk> <4222f986918ed17c0f29b274e55fe53f.squirrel@webmail.stinkweasel.net> <4FABE717.5020507@bristol.ac.uk> Message-ID: <4FAC0F15.4020306@op5.se> On 05/10/2012 06:04 PM, Jonathan Gazeley wrote: > On 10/05/12 16:39, C. Bensend wrote: >> >>> I've narrowed it down to a stage where running the plugin directly >>> returns the right results, but running the plugin through check_nrpe on >>> localhost returns this: >>> >>> [jg4461 at dhcp1 log]$ /usr/lib64/nagios/plugins/check_nrpe -H localhost -c >>> check_dhcpd_pools >>> OK - all pools less than 80% full | >>> >>> What could cause NRPE to truncate the results in such a way? >> >> Too much data? >> >> Are you using SSL? >> >> I don't know that I've seen this behavior before - it's always >> been *invalid* perfdata that have caused this issue for me. >> > > I am using SSL in production, although not for testing. Both cases > return the same truncated results. > > The total status + performance data returned from this plugin is only > 500-and-something bytes, less than the limits for NRPE that I'd heard about. > I have no real clue about that, but perhaps it's a newline thing, since the output and pipe are shipped in output while the perfdata doesn't seem to be. > I'm wondering if it might be something to do with the embedded perl > interpreter. Does NRPE use this to execute perl-flavoured plugins? > It does not. Only plugins executed directly by Nagios can be affected by embedded perl. -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Stuart.Jones at health.wa.gov.au Fri May 11 09:05:00 2012 From: Stuart.Jones at health.wa.gov.au (Jones, Stuart) Date: Fri, 11 May 2012 15:05:00 +0800 Subject: Eaton DC Power Supply In-Reply-To: <20120510125458.GA24959@pax.zz.de> References: <20120510125458.GA24959@pax.zz.de> Message-ID: Are you working with a Hach sc200? -----Original Message----- From: Florian Lohoff [mailto:f at zz.de] Sent: Thursday, 10 May 2012 8:55 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Eaton DC Power Supply Hi, has anyone done some monitoring on this? I fail to find a mib for the SC200 Controller e.g. enterprises.1918 mib. Interesting would be power draw and/or state of the rectifiers. Flo -- Florian Lohoff f at zz.de ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Stuart.Jones at health.wa.gov.au Fri May 11 09:20:52 2012 From: Stuart.Jones at health.wa.gov.au (Jones, Stuart) Date: Fri, 11 May 2012 15:20:52 +0800 Subject: Eaton DC Power Supply In-Reply-To: <20120510125458.GA24959@pax.zz.de> References: <20120510125458.GA24959@pax.zz.de> Message-ID: Sorry - missed the Eaton description. Evidently you can get the proprietary PSU MIB here: http://powerquality.eaton.com/pp/check.asp -----Original Message----- From: Florian Lohoff [mailto:f at zz.de] Sent: Thursday, 10 May 2012 8:55 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Eaton DC Power Supply Hi, has anyone done some monitoring on this? I fail to find a mib for the SC200 Controller e.g. enterprises.1918 mib. Interesting would be power draw and/or state of the rectifiers. Flo -- Florian Lohoff f at zz.de ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 May 11 15:12:56 2012 From: luisforchesatto at gmail.com (Luis H. Forchesatto) Date: Fri, 11 May 2012 10:12:56 -0300 Subject: nagios backup Message-ID: Hi Someone know the correct backup and restore procedure to export nagios 3.0.6 from one server do another nagios 3.2.1 server? - New server Linux monitor 2.6.32-5-amd64 #1 SMP Thu Mar 22 17:26:33 UTC 2012 x86_64 GNU/Linux Debian GNU/Linux 6.0 \n \l - Actual server Linux intranet 2.6.26-2-686 #1 SMP Wed Aug 19 06:06:52 UTC 2009 i686 GNU/Linux Debian GNU/Linux squeeze/sid \n \l -- Att.* *** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Fri May 11 15:27:32 2012 From: ae at op5.se (Andreas Ericsson) Date: Fri, 11 May 2012 15:27:32 +0200 Subject: nagios backup In-Reply-To: References: Message-ID: <4FAD13C4.9020908@op5.se> On 05/11/2012 03:12 PM, Luis H. Forchesatto wrote: > Hi > > Someone know the correct backup and restore procedure to export > nagios 3.0.6 from one server do another nagios 3.2.1 server? > rsync. Nothing important's changed in object config, and the rest will just be simple and quick manual tweaking of nagios.cfg, if any at all. -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ck at claudiokuenzler.com Fri May 11 15:42:48 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Fri, 11 May 2012 15:42:48 +0200 Subject: nagios backup In-Reply-To: <4FAD13C4.9020908@op5.se> References: <4FAD13C4.9020908@op5.se> Message-ID: > On 05/11/2012 03:12 PM, Luis H. Forchesatto wrote: > > Hi > > > > Someone know the correct backup and restore procedure to export > > nagios 3.0.6 from one server do another nagios 3.2.1 server? > > > > rsync. Nothing important's changed in object config, and the rest will > just be simple and quick manual tweaking of nagios.cfg, if any at all. > You will have to recompile the Nagios plugins as you change the architecture. But with the configuration files you don't have to worry much - rsync or copy like Andreas suggested works fine. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 May 11 15:55:27 2012 From: luisforchesatto at gmail.com (Luis H. Forchesatto) Date: Fri, 11 May 2012 10:55:27 -0300 Subject: nagios backup In-Reply-To: References: <4FAD13C4.9020908@op5.se> Message-ID: It really needs rsync, can't I use a simple copy command instead? 2012/5/11 Claudio Kuenzler > > On 05/11/2012 03:12 PM, Luis H. Forchesatto wrote: >> > Hi >> > >> > Someone know the correct backup and restore procedure to export >> > nagios 3.0.6 from one server do another nagios 3.2.1 server? >> > >> >> rsync. Nothing important's changed in object config, and the rest will >> just be simple and quick manual tweaking of nagios.cfg, if any at all. >> > > You will have to recompile the Nagios plugins as you change the > architecture. > But with the configuration files you don't have to worry much - rsync or > copy like Andreas suggested works fine. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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.* *** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 nagios at flatto.net Fri May 11 15:57:17 2012 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 11 May 2012 14:57:17 +0100 Subject: nagios backup In-Reply-To: References: <4FAD13C4.9020908@op5.se> Message-ID: <4FAD1ABD.8040705@flatto.net> On 11/05/12 14:55, Luis H. Forchesatto wrote: > It really needs rsync, can't I use a simple copy command instead? > You can , but rsync will give you a better control and recovery if something goes wrong , it also allows you to make sure it does not eat up your network while copying . ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ck at claudiokuenzler.com Fri May 11 16:20:02 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Fri, 11 May 2012 16:20:02 +0200 Subject: nagios backup In-Reply-To: References: <4FAD13C4.9020908@op5.se> Message-ID: On Fri, May 11, 2012 at 3:55 PM, Luis H. Forchesatto < luisforchesatto at gmail.com> wrote: > It really needs rsync, can't I use a simple copy command instead? > Whether you use scp, rsync, copy+paste, print out + write new, the postal way or whatever is up to you. The important information is that the config files will be compatible so you have a thousand ways to copy the files from A to B. Just make sure that the nagios user has the correct permissions on the files (thats why Andreas suggested rsync I'd say). > > 2012/5/11 Claudio Kuenzler > >> >> On 05/11/2012 03:12 PM, Luis H. Forchesatto wrote: >>> > Hi >>> > >>> > Someone know the correct backup and restore procedure to export >>> > nagios 3.0.6 from one server do another nagios 3.2.1 server? >>> > >>> >>> rsync. Nothing important's changed in object config, and the rest will >>> just be simple and quick manual tweaking of nagios.cfg, if any at all. >>> >> >> You will have to recompile the Nagios plugins as you change the >> architecture. >> But with the configuration files you don't have to worry much - rsync or >> copy like Andreas suggested works fine. >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> 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.* > *** > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 leonardo at lbasolutions.com Fri May 11 17:20:29 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Fri, 11 May 2012 12:20:29 -0300 Subject: check jboss In-Reply-To: References: Message-ID: Hi Paul, I didn't know that is possible to use check_http to check the return of the page. I'll check it... many thanks! On Thu, May 10, 2012 at 10:44 AM, Paul Weaver wrote: > > There was a guy that configured to monitory it by the tcp port, > however, rarely the jboss came very slow and nagios does not report > anything > > because the port is listening. > > Does anyone know a plugin to check a specific instance of jboss and > the port or other things together? > > What part of jboss came slow? You can use check_http to pull the jmx > console from the port (8082?) and ensure that > 1) The page returns in a given timeout > 2) The page returns a 200 OK message > 3) The page is long enough > > Personally I couldn't care less if my jboss server is working, I'm much > more concerned the application and websites deployed on it are working, > so I check them instead (including using check_http to pull a static > .gif, and using check_http to pull a database-generated page, which > tells me if it's the webserver that's down, or if it's the database > pool) > > > http://www.bbc.co.uk/ > This e-mail (and any attachments) is confidential and may contain personal > views which are not the views of the BBC unless specifically stated. > If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in > reliance on it and notify the sender immediately. > Please note that the BBC monitors e-mails sent or received. > Further communication will signify your consent to this. > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 leandro at guiadopc.info Fri May 11 18:14:23 2012 From: leandro at guiadopc.info (Leandro @GuiadoPC) Date: Fri, 11 May 2012 13:14:23 -0300 Subject: Nagios + memory usage + SNMP Message-ID: <1336752863.2223.22.camel@leandro> Dear, I'm using Nagios for a short time and I need to understand one thing about snmp + nagios. Before I was using Cacti and could monitor the memory usage on the hosts without having to install anything on it. Picked up the information via SNMP. In Nagios, so I'm looking to monitor memory usage and some other services I have to install the NRPE + xinetd hosts. There is another option to monitrar these services without having to install anything on remote hosts (being in the same network as the server)? thank you Leandro Ferreira ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ftlnagios at gmail.com Fri May 11 18:34:58 2012 From: ftlnagios at gmail.com (FTL Nagios) Date: Fri, 11 May 2012 17:34:58 +0100 Subject: 2 Nagios boxes running together in different locations In-Reply-To: <2882c02f177d5048c916d41d17e909eb.squirrel@webmail.stinkweasel.net> References: <004b01cd2dd2$08977c60$19c67520$@gmail.com> <2882c02f177d5048c916d41d17e909eb.squirrel@webmail.stinkweasel.net> Message-ID: <008801cd2f94$01c67120$05535360$@gmail.com> Thankyou I will look into this, -----Original Message----- From: C. Bensend [mailto:benny at bennyvision.com] Sent: 09 May 2012 13:28 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] 2 Nagios boxes running together in different locations > Interesting - How does it work though - I mean if the firewall plays > up at Site A, it thinks everything in Site B is down - so Nagios GUI > marks everything as down - what happens then if say a server in Site B > does actually go down - we will not get alerted to that? That's correct. But, your proposed configuration wouldn't solve this problem - if the firewall fails, the Nagios servers can't contact each other anyway, so they could never agree on what's up and what's down. > I made a slight error in my original description - when the firewall > "goes down" it cant contact anything at both locations, not just Site > A, due to the fact that the protected interface stays up but just > denies all traffic. > > We are currently working on this with GTA but im losing the will to > live with 300 texts virtually every night!! I've dealt with this situation before, and I've ended up implementing two mostly standalone Nagios systems. They each check their own site, so if their external network goes away they are still able to monitor and alert for the things they're responsible for (you have to use out-of-band notifications of course). They also each check each other's *site*, ala the other site's firewall, so the Nagios server at site A can alert and let you know if site B goes away, but it *doesn't* try to alert you for all of the hosts and services at site B. -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 allanc at chickenandporn.com Fri May 11 18:40:17 2012 From: allanc at chickenandporn.com (Allan Clark) Date: Fri, 11 May 2012 09:40:17 -0700 Subject: 2 Nagios boxes running together in different locations In-Reply-To: References: <004b01cd2dd2$08977c60$19c67520$@gmail.com> <2882c02f177d5048c916d41d17e909eb.squirrel@webmail.stinkweasel.net> Message-ID: On Wed, May 9, 2012 at 5:57 AM, Jeffrey Watts wrote: > On Wednesday, May 9, 2012, C. Bensend wrote: >> >> >> I've dealt with this situation before, and I've ended up >> implementing two mostly standalone Nagios systems. They each >> check their own site, so if their external network goes away they >> are still able to monitor and alert for the things they're >> responsible for (you have to use out-of-band notifications of >> course). They also each check each other's *site*, ala the other >> site's firewall, so the Nagios server at site A can alert and let >> you know if site B goes away, but it *doesn't* try to alert you >> for all of the hosts and services at site B. >> > > This is exactly how I do things, except I have three sites. > > Jeffrey > > I did the same for a company I was at; the configuration load was why i moved things to LDAP-based config, so that adding LDAP objects for a server defined the IP and a basic monitoring config, and a note of which Nagios monitors it. Allan -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 jpratt at norwich.edu Fri May 11 18:19:01 2012 From: jpratt at norwich.edu (James Pratt) Date: Fri, 11 May 2012 16:19:01 +0000 Subject: Nagios + memory usage + SNMP In-Reply-To: <1336752863.2223.22.camel@leandro> References: <1336752863.2223.22.camel@leandro> Message-ID: <591A34BAEC8DBF44AFAB2E127B4D8A8E055A79@NUEXCH1.norwich.edu> Hi - I've used these snmp plugins for a long time, as I have too many to install nrpe/etc on... http://nagios.manubulon.com/ cheers, James -----Original Message----- From: Leandro @GuiadoPC [mailto:leandro at guiadopc.info] Sent: Friday, May 11, 2012 12:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios + memory usage + SNMP Dear, I'm using Nagios for a short time and I need to understand one thing about snmp + nagios. Before I was using Cacti and could monitor the memory usage on the hosts without having to install anything on it. Picked up the information via SNMP. In Nagios, so I'm looking to monitor memory usage and some other services I have to install the NRPE + xinetd hosts. There is another option to monitrar these services without having to install anything on remote hosts (being in the same network as the server)? thank you Leandro Ferreira ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 May 11 19:01:34 2012 From: luisforchesatto at gmail.com (Luis H. Forchesatto) Date: Fri, 11 May 2012 14:01:34 -0300 Subject: nagios backup In-Reply-To: References: <4FAD13C4.9020908@op5.se> Message-ID: Correct me if i'm wrong. The basic nagios backup and restore procedure is: - stop the nagios daemon - copy the contents of /etc/nagios3/, /usr/share/nagios/, /usr/share/nagios3/ to the same directory in the new server - before running, aptitude install nagios-plugins - start the nagios daemon Enjoy the happy end? 2012/5/11 Claudio Kuenzler > > > On Fri, May 11, 2012 at 3:55 PM, Luis H. Forchesatto < > luisforchesatto at gmail.com> wrote: > >> It really needs rsync, can't I use a simple copy command instead? >> > > Whether you use scp, rsync, copy+paste, print out + write new, the postal > way or whatever is up to you. > The important information is that the config files will be compatible so > you have a thousand ways to copy the files from A to B. > Just make sure that the nagios user has the correct permissions on the > files (thats why Andreas suggested rsync I'd say). > > >> >> 2012/5/11 Claudio Kuenzler >> >>> >>> On 05/11/2012 03:12 PM, Luis H. Forchesatto wrote: >>>> > Hi >>>> > >>>> > Someone know the correct backup and restore procedure to export >>>> > nagios 3.0.6 from one server do another nagios 3.2.1 server? >>>> > >>>> >>>> rsync. Nothing important's changed in object config, and the rest will >>>> just be simple and quick manual tweaking of nagios.cfg, if any at all. >>>> >>> >>> You will have to recompile the Nagios plugins as you change the >>> architecture. >>> But with the configuration files you don't have to worry much - rsync or >>> copy like Andreas suggested works fine. >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> 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.* >> *** >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> 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 >> > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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.* *** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 leandro at guiadopc.info Fri May 11 19:52:27 2012 From: leandro at guiadopc.info (Leandro @GuiadoPC) Date: Fri, 11 May 2012 14:52:27 -0300 Subject: Nagios + memory usage + SNMP In-Reply-To: <591A34BAEC8DBF44AFAB2E127B4D8A8E055A79@NUEXCH1.norwich.edu> References: <1336752863.2223.22.camel@leandro> <591A34BAEC8DBF44AFAB2E127B4D8A8E055A79@NUEXCH1.norwich.edu> Message-ID: <1336758747.4744.0.camel@leandro> James, Would post the command.cfg host.cfg and with the command checking memory for me based on them? I am new to Nagios, I still need to adjust the command line. thanks Leandro Ferreira Em Sex, 2012-05-11 ?s 16:19 +0000, James Pratt escreveu: > Hi - I've used these snmp plugins for a long time, as I have too many to install nrpe/etc on... > > http://nagios.manubulon.com/ > > cheers, > James > > -----Original Message----- > From: Leandro @GuiadoPC [mailto:leandro at guiadopc.info] > Sent: Friday, May 11, 2012 12:14 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios + memory usage + SNMP > > Dear, > > I'm using Nagios for a short time and I need to understand one thing about snmp + nagios. Before I was using Cacti and could monitor the memory usage on the hosts without having to install anything on it. > Picked up the information via SNMP. In Nagios, so I'm looking to monitor memory usage and some other services I have to install the NRPE + xinetd hosts. There is another option to monitrar these services without having to install anything on remote hosts (being in the same network as the server)? > > thank you > > Leandro Ferreira > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 jpratt at norwich.edu Fri May 11 20:16:20 2012 From: jpratt at norwich.edu (James Pratt) Date: Fri, 11 May 2012 18:16:20 +0000 Subject: Nagios + memory usage + SNMP In-Reply-To: <1336758747.4744.0.camel@leandro> References: <1336752863.2223.22.camel@leandro> <591A34BAEC8DBF44AFAB2E127B4D8A8E055A79@NUEXCH1.norwich.edu> <1336758747.4744.0.camel@leandro> Message-ID: <591A34BAEC8DBF44AFAB2E127B4D8A8E055CCC@NUEXCH1.norwich.edu> Ok here is how I check/monitor memory on windows systems using the check_snmp_storage script: Commands.cfg definition - ## check phys mem on a windows server or vm - note the server must have snmpd installed and running, as well as a RO user defined! ## define command{ command_name check_snmp_phys_mem_win command_line $USER1$/check_snmp_storage -H $HOSTADDRESS$ $USER16$ -m "Physical Memory" -w $ARG1$ -c $ARG2$ } (Where $USER16$ is the snmp user defined to be read-only on the server you are monitoring, in your resources.cfg file) ### Here is actual service definition in my services.cfg file - ## Windows SNMP Mem Usage warn on 85%, crit on 90% define service{ use generic-service,srv-pnp ; Name of service template to use host_name Windows1,Windows2 service_description SNMP - Physical Memory Usage check_period workhours check_interval 15 max_check_attempts 5 notification_interval 60 notification_options w,u,c,r check_command check_snmp_phys_mem_win!85!90 } (If anything is missing from the above, it's being inherited from the hosts' definition to which it applies. HTH, have a good weekend. James -----Original Message----- From: Leandro @GuiadoPC [mailto:leandro at guiadopc.info] Sent: Friday, May 11, 2012 1:52 PM To: nagios-users at lists.sourceforge.net Cc: James Pratt Subject: Re: [Nagios-users] Nagios + memory usage + SNMP James, Would post the command.cfg host.cfg and with the command checking memory for me based on them? I am new to Nagios, I still need to adjust the command line. thanks Leandro Ferreira Em Sex, 2012-05-11 ?s 16:19 +0000, James Pratt escreveu: > Hi - I've used these snmp plugins for a long time, as I have too many to install nrpe/etc on... > > http://nagios.manubulon.com/ > > cheers, > James > > -----Original Message----- > From: Leandro @GuiadoPC [mailto:leandro at guiadopc.info] > Sent: Friday, May 11, 2012 12:14 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios + memory usage + SNMP > > Dear, > > I'm using Nagios for a short time and I need to understand one thing about snmp + nagios. Before I was using Cacti and could monitor the memory usage on the hosts without having to install anything on it. > Picked up the information via SNMP. In Nagios, so I'm looking to monitor memory usage and some other services I have to install the NRPE + xinetd hosts. There is another option to monitrar these services without having to install anything on remote hosts (being in the same network as the server)? > > thank you > > Leandro Ferreira > > > ---------------------------------------------------------------------- > -------- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions will include endpoint security, mobile security and the > latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 > > ---------------------------------------------------------------------- > -------- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions will include endpoint security, mobile security and the > latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Sebastian.Rupp at unitedplanet.de Fri May 11 09:35:45 2012 From: Sebastian.Rupp at unitedplanet.de (Sebastian Rupp) Date: Fri, 11 May 2012 07:35:45 +0000 Subject: Nagios3 Plugin - check_http SSL connection fails Message-ID: <6688EC0C6F36F649B08FE4DA6B85224A0B8FB7F5@Mailserver.unitedplanet.de> Hello. I'm using nagios3. I installed the plugins for https connections but it doesn't work. [cid:image001.png at 01CD2F58.CCE88370] Invalid option - SSL is not available. The server's binding (MS IIS) is https (port 443). Any idea? Kind regards. Sebastian Rupp (Germany) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 14105 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 roger at firedrake.org Fri May 11 22:29:12 2012 From: roger at firedrake.org (Roger Burton West) Date: Fri, 11 May 2012 21:29:12 +0100 Subject: Nagios3 Plugin - check_http SSL connection fails In-Reply-To: <6688EC0C6F36F649B08FE4DA6B85224A0B8FB7F5@Mailserver.unitedplanet.de> References: <6688EC0C6F36F649B08FE4DA6B85224A0B8FB7F5@Mailserver.unitedplanet.de> Message-ID: <20120511202912.GA29071@firedrake.org> On Fri, May 11, 2012 at 07:35:45AM +0000, Sebastian Rupp wrote: >I installed the plugins for https connections but it doesn't work. >Invalid option - SSL is not available. Perhaps it's telling you it can't find the system's SSL libraries. Try it against some other (known good) SSL servers? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 nagiosusers at edcint.co.nz Sat May 12 02:18:35 2012 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Sat, 12 May 2012 10:18:35 +1000 Subject: Nagios + memory usage + SNMP In-Reply-To: <591A34BAEC8DBF44AFAB2E127B4D8A8E055CCC@NUEXCH1.norwich.edu> References: <1336752863.2223.22.camel@leandro> <591A34BAEC8DBF44AFAB2E127B4D8A8E055A79@NUEXCH1.norwich.edu> <1336758747.4744.0.camel@leandro> <591A34BAEC8DBF44AFAB2E127B4D8A8E055CCC@NUEXCH1.norwich.edu> Message-ID: <4FADAC5B.107@edcint.co.nz> If you are checking Windows try check_wmi_plus (it is agentless) http://www.edcint.co.nz/checkwmiplus It can do all of that and a lot more which means your monitoring of Windows becomes a lot more consistent as you can use a single plugin for everything On 12/05/2012 4:16 AM, James Pratt wrote: > Ok here is how I check/monitor memory on windows systems using the check_snmp_storage script: > > Commands.cfg definition - > > ## check phys mem on a windows server or vm - note the server must have snmpd installed and running, as well as a RO user defined! > ## > define command{ > command_name check_snmp_phys_mem_win > command_line $USER1$/check_snmp_storage -H $HOSTADDRESS$ $USER16$ -m "Physical Memory" -w $ARG1$ -c $ARG2$ > } > > (Where $USER16$ is the snmp user defined to be read-only on the server you are monitoring, in your resources.cfg file) > > > > ### > Here is actual service definition in my services.cfg file - > > ## Windows SNMP Mem Usage warn on 85%, crit on 90% > define service{ > use generic-service,srv-pnp ; Name of service template to use > host_name Windows1,Windows2 > service_description SNMP - Physical Memory Usage > check_period workhours > check_interval 15 > max_check_attempts 5 > notification_interval 60 > notification_options w,u,c,r > check_command check_snmp_phys_mem_win!85!90 > } > > (If anything is missing from the above, it's being inherited from the hosts' definition to which it applies. HTH, have a good weekend. > > James > -----Original Message----- > From: Leandro @GuiadoPC [mailto:leandro at guiadopc.info] > Sent: Friday, May 11, 2012 1:52 PM > To: nagios-users at lists.sourceforge.net > Cc: James Pratt > Subject: Re: [Nagios-users] Nagios + memory usage + SNMP > > James, > > Would post the command.cfg host.cfg and with the command checking memory for me based on them? I am new to Nagios, I still need to adjust the command line. > > thanks > > Leandro Ferreira > > > Em Sex, 2012-05-11 ?s 16:19 +0000, James Pratt escreveu: >> Hi - I've used these snmp plugins for a long time, as I have too many to install nrpe/etc on... >> >> http://nagios.manubulon.com/ >> >> cheers, >> James >> >> -----Original Message----- >> From: Leandro @GuiadoPC [mailto:leandro at guiadopc.info] >> Sent: Friday, May 11, 2012 12:14 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Nagios + memory usage + SNMP >> >> Dear, >> >> I'm using Nagios for a short time and I need to understand one thing about snmp + nagios. Before I was using Cacti and could monitor the memory usage on the hosts without having to install anything on it. >> Picked up the information via SNMP. In Nagios, so I'm looking to monitor memory usage and some other services I have to install the NRPE + xinetd hosts. There is another option to monitrar these services without having to install anything on remote hosts (being in the same network as the server)? >> >> thank you >> >> Leandro Ferreira >> >> >> ---------------------------------------------------------------------- >> -------- >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. >> Discussions will include endpoint security, mobile security and the >> latest in malware threats. >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> 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 >> >> ---------------------------------------------------------------------- >> -------- >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. >> Discussions will include endpoint security, mobile security and the >> latest in malware threats. >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> 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 > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 > > -- > Smartmon System Monitoring > www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Sat May 12 13:18:34 2012 From: luisforchesatto at gmail.com (Luis H. Forchesatto) Date: Sat, 12 May 2012 08:18:34 -0300 Subject: nagios backup In-Reply-To: References: <4FAD13C4.9020908@op5.se> Message-ID: Backup done successfully. All hosts are imported and being monitored, but a few things are not working, like SMS messages and mail messages. Does it need to be backed up from some directory? 2012/5/11 Claudio Kuenzler > > > On Fri, May 11, 2012 at 3:55 PM, Luis H. Forchesatto < > luisforchesatto at gmail.com> wrote: > >> It really needs rsync, can't I use a simple copy command instead? >> > > Whether you use scp, rsync, copy+paste, print out + write new, the postal > way or whatever is up to you. > The important information is that the config files will be compatible so > you have a thousand ways to copy the files from A to B. > Just make sure that the nagios user has the correct permissions on the > files (thats why Andreas suggested rsync I'd say). > > >> >> 2012/5/11 Claudio Kuenzler >> >>> >>> On 05/11/2012 03:12 PM, Luis H. Forchesatto wrote: >>>> > Hi >>>> > >>>> > Someone know the correct backup and restore procedure to export >>>> > nagios 3.0.6 from one server do another nagios 3.2.1 server? >>>> > >>>> >>>> rsync. Nothing important's changed in object config, and the rest will >>>> just be simple and quick manual tweaking of nagios.cfg, if any at all. >>>> >>> >>> You will have to recompile the Nagios plugins as you change the >>> architecture. >>> But with the configuration files you don't have to worry much - rsync or >>> copy like Andreas suggested works fine. >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> 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.* >> *** >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> 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 >> > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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.* *** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Sat May 12 14:16:03 2012 From: ae at op5.se (Andreas Ericsson) Date: Sat, 12 May 2012 14:16:03 +0200 Subject: nagios backup In-Reply-To: References: <4FAD13C4.9020908@op5.se> Message-ID: <4FAE5483.90202@op5.se> On 05/12/2012 01:18 PM, Luis H. Forchesatto wrote: > Backup done successfully. All hosts are imported and being monitored, but a > few things are not working, like SMS messages and mail messages. > > Does it need to be backed up from some directory? > That's most likely due to system settings and probably has nothing to do with Nagios. I assumed you understood that the new system has to be capable of sending emails and text messages as well if you want that functionality to work. -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 morty+nagios at frakir.org Sat May 12 14:58:58 2012 From: morty+nagios at frakir.org (Morty) Date: Sat, 12 May 2012 08:58:58 -0400 Subject: nagios backup In-Reply-To: References: <4FAD13C4.9020908@op5.se> Message-ID: <20120512125858.GC16498@red-sonja> On Fri, May 11, 2012 at 02:01:34PM -0300, Luis H. Forchesatto wrote: > Correct me if i'm wrong. > > The basic nagios backup and restore procedure is: > > - stop the nagios daemon > - copy the contents of /etc/nagios3/, /usr/share/nagios/, > /usr/share/nagios3/ to the same directory in the new server > - before running, aptitude install nagios-plugins > - start the nagios daemon > > Enjoy the happy end? I would *not* grab /usr/share/nagios or /usr/share/nagios3. That stuff is version specific. You've just overwritten some nagios 3.2.x files with nagios 3.0.x files. The stuff I transfer on a Debian nagios is: dirs="/etc/nagios3" files="/var/lib/nagios3/retention.dat /var/www/index.html" You may also want to grab /var/log/nagios3 if you want the old history. - Morty ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 morty+nagios at frakir.org Sat May 12 15:09:16 2012 From: morty+nagios at frakir.org (Morty) Date: Sat, 12 May 2012 09:09:16 -0400 Subject: nagios backup In-Reply-To: <4FAE5483.90202@op5.se> References: <4FAD13C4.9020908@op5.se> <4FAE5483.90202@op5.se> Message-ID: <20120512130916.GB8432@red-sonja> On Sat, May 12, 2012 at 02:16:03PM +0200, Andreas Ericsson wrote: > On 05/12/2012 01:18 PM, Luis H. Forchesatto wrote: > > Backup done successfully. All hosts are imported and being monitored, but a > > few things are not working, like SMS messages and mail messages. > > > > Does it need to be backed up from some directory? > > > > That's most likely due to system settings and probably has nothing to do > with Nagios. I assumed you understood that the new system has to be > capable of sending emails and text messages as well if you want that > functionality to work. On a Debian system, you can capture all system packages and settings like so: apt-get debconf-utils debconf-get-selections > debian_config dpkg --get-selections > packages Import into second system like so: debconf-set-selections < debian_config dpkg --set-selections < packages If you've made settings changes to text files not controlled by debconf, you need to capture them manually and merge them manually. This is easy if you're doing configuration management on your config files. For example, if you use RCS, you can run "locate ,v" to quickly locate every configuration file you've ever changed. If you weren't using a CM system before, you'll have to locate your config files manually. Be sure to use CM in the future. - Morty ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 benny at bennyvision.com Sat May 12 18:20:16 2012 From: benny at bennyvision.com (C. Bensend) Date: Sat, 12 May 2012 11:20:16 -0500 Subject: nagios backup In-Reply-To: References: <4FAD13C4.9020908@op5.se> Message-ID: <35e8b502237c21bc0fe70bb4802a68f7.squirrel@webmail.stinkweasel.net> > Backup done successfully. All hosts are imported and being monitored, but > a > few things are not working, like SMS messages and mail messages. > > Does it need to be backed up from some directory? You need to examine your notification commands. You may have used some third party software to send SMS messages, and that may not be installed on the new system. Also, your email configuration may not be the same or may be incomplete on the new system. -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 leandro at guiadopc.info Sat May 12 21:29:02 2012 From: leandro at guiadopc.info (leandro at guiadopc.info) Date: Sat, 12 May 2012 16:29:02 -0300 Subject: =?utf-8?q?Nagios_+_memory_usage_+_SNMP?= In-Reply-To: <4FADAC5B.107@edcint.co.nz> References: <4FADAC5B.107@edcint.co.nz> Message-ID: Mattew,I could use some plugins snmp quite interesting. Now I'm looking for one that monitors the processes of mysql and apache remotely. I am monitoring Linux servers. Do you suggest any that work?ThanksLeandro Ferreira Em 11/05/2012, Matthew Jurgens <nagiosusers at edcint.co.nz> escreveu: > If you are checking Windows try check_wmi_plus (it is agentless) > http://www.edcint.co.nz/checkwmiplus > > It can do all of that and a lot more which means your monitoring of > Windows becomes a lot more consistent as you can use a single plugin for > everything > > On 12/05/2012 4:16 AM, James Pratt wrote: > > Ok here is how I check/monitor memory on windows systems using the check_snmp_storage script: > > > > Commands.cfg definition - > > > > ## check phys mem on a windows server or vm - note the server must have snmpd installed and running, as well as a RO user defined! > > ## > > define command{ > >          command_name check_snmp_phys_mem_win > >          command_line $USER1$/check_snmp_storage -H $HOSTADDRESS$ $USER16$ -m "Physical Memory" -w $ARG1$ -c $ARG2$ > >          } > > > > (Where $USER16$ is the snmp user defined to be read-only on the server you are monitoring, in your resources.cfg file) > > > > > > > > ### > > Here is actual service definition in my services.cfg file - > > > > ## Windows SNMP Mem Usage warn on 85%, crit on 90% > > define service{ > >          use                            generic-service,srv-pnp        ; Name of service template to use > >          host_name                      Windows1,Windows2 > >          service_description            SNMP - Physical Memory Usage > >          check_period                    workhours > >        check_interval 15 > >          max_check_attempts              5 > >          notification_interval          60 > >          notification_options            w,u,c,r > >          check_command                  check_snmp_phys_mem_win!85!90 > >          } > > > > (If anything is missing from the above, it's being inherited from the hosts' definition to which it applies. HTH, have a good weekend. > > > > James > > -----Original Message----- > > From: Leandro @GuiadoPC [mailto:leandro at guiadopc.info] > > Sent: Friday, May 11, 2012 1:52 PM > > To: nagios-users at lists.sourceforge.net > > Cc: James Pratt > > Subject: Re: [Nagios-users] Nagios + memory usage + SNMP > > > > James, > > > > Would post the command.cfg host.cfg and with the command checking memory for me based on them? I am new to Nagios, I still need to adjust the command line. > > > > thanks > > > > Leandro Ferreira > > > > > > Em Sex, 2012-05-11 ?s 16:19 +0000, James Pratt escreveu: > >> Hi -  I've used these snmp plugins for a long time, as I have too many to install nrpe/etc on... > >> > >> http://nagios.manubulon.com/ > >> > >> cheers, > >> James > >> > >> -----Original Message----- > >> From: Leandro @GuiadoPC [mailto:leandro at guiadopc.info] > >> Sent: Friday, May 11, 2012 12:14 PM > >> To: nagios-users at lists.sourceforge.net > >> Subject: [Nagios-users] Nagios + memory usage + SNMP > >> > >> Dear, > >> > >> I'm using Nagios for a short time and I need to understand one thing about snmp + nagios. Before I was using Cacti and could monitor the memory usage on the hosts without having to install anything on it. > >> Picked up the information via SNMP. In Nagios, so I'm looking to monitor memory usage and some other services I have to install the NRPE + xinetd hosts. There is another option to monitrar these services without having to install anything on remote hosts (being in the same network as the server)? > >> > >> thank you > >> > >> Leandro Ferreira > >> > >> > >> ---------------------------------------------------------------------- > >> -------- > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. > >> Discussions will include endpoint security, mobile security and the > >> latest in malware threats. > >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> 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 > >> > >> ---------------------------------------------------------------------- > >> -------- > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. > >> Discussions will include endpoint security, mobile security and the > >> latest in malware threats. > >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> 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 > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > 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 > > > > -- > > Smartmon System Monitoring <http://www.smartmon.com.au> > > www.smartmon.com.au <http://www.smartmon.com.au> > > ---- > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > ---- > > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 jpratt at norwich.edu Sat May 12 23:53:46 2012 From: jpratt at norwich.edu (James Pratt) Date: Sat, 12 May 2012 21:53:46 +0000 Subject: Nagios + memory usage + SNMP In-Reply-To: References: <4FADAC5B.107@edcint.co.nz> Message-ID: <591A34BAEC8DBF44AFAB2E127B4D8A8E0571BA@NUEXCH1.norwich.edu> If you are monitoring Linux, I would suggest this one, from the same page I directed you ? define command{ command_name check_linux_snmp_proc command_line $USER1$/check_snmp_process -H $HOSTADDRESS$ -C $USER15$ -2 -n $ARG1$ -w $ARG2$ -c $ARG3$ } (Run the command interactively for all the necessary arguments, or see the web page - it?s pretty straightforward). James From: leandro at guiadopc.info [mailto:leandro at guiadopc.info] Sent: Saturday, May 12, 2012 3:29 PM To: nagiosusers at edcint.co.nz; Nagios Users List Subject: Re: [Nagios-users] Nagios + memory usage + SNMP Mattew, I could use some plugins snmp quite interesting. Now I'm looking for one that monitors the processes of mysql and apache remotely. I am monitoring Linux servers. Do you suggest any that work? Thanks Leandro Ferreira Em 11/05/2012, Matthew Jurgens > escreveu: > If you are checking Windows try check_wmi_plus (it is agentless) > http://www.edcint.co.nz/checkwmiplus > > It can do all of that and a lot more which means your monitoring of > Windows becomes a lot more consistent as you can use a single plugin for > everything > > On 12/05/2012 4:16 AM, James Pratt wrote: > > Ok here is how I check/monitor memory on windows systems using the check_snmp_storage script: > > > > Commands.cfg definition - > > > > ## check phys mem on a windows server or vm - note the server must have snmpd installed and running, as well as a RO user defined! > > ## > > define command{ > > command_name check_snmp_phys_mem_win > > command_line $USER1$/check_snmp_storage -H $HOSTADDRESS$ $USER16$ -m "Physical Memory" -w $ARG1$ -c $ARG2$ > > } > > > > (Where $USER16$ is the snmp user defined to be read-only on the server you are monitoring, in your resources.cfg file) > > > > > > > > ### > > Here is actual service definition in my services.cfg file - > > > > ## Windows SNMP Mem Usage warn on 85%, crit on 90% > > define service{ > > use generic-service,srv-pnp ; Name of service template to use > > host_name Windows1,Windows2 > > service_description SNMP - Physical Memory Usage > > check_period workhours > > check_interval 15 > > max_check_attempts 5 > > notification_interval 60 > > notification_options w,u,c,r > > check_command check_snmp_phys_mem_win!85!90 > > } > > > > (If anything is missing from the above, it's being inherited from the hosts' definition to which it applies. HTH, have a good weekend. > > > > James > > -----Original Message----- > > From: Leandro @GuiadoPC [mailto:leandro at guiadopc.info] > > Sent: Friday, May 11, 2012 1:52 PM > > To: nagios-users at lists.sourceforge.net > > Cc: James Pratt > > Subject: Re: [Nagios-users] Nagios + memory usage + SNMP > > > > James, > > > > Would post the command.cfg host.cfg and with the command checking memory for me based on them? I am new to Nagios, I still need to adjust the command line. > > > > thanks > > > > Leandro Ferreira > > > > > > Em Sex, 2012-05-11 ?s 16:19 +0000, James Pratt escreveu: > >> Hi - I've used these snmp plugins for a long time, as I have too many to install nrpe/etc on... > >> > >> http://nagios.manubulon.com/ > >> > >> cheers, > >> James > >> > >> -----Original Message----- > >> From: Leandro @GuiadoPC [mailto:leandro at guiadopc.info] > >> Sent: Friday, May 11, 2012 12:14 PM > >> To: nagios-users at lists.sourceforge.net > >> Subject: [Nagios-users] Nagios + memory usage + SNMP > >> > >> Dear, > >> > >> I'm using Nagios for a short time and I need to understand one thing about snmp + nagios. Before I was using Cacti and could monitor the memory usage on the hosts without having to install anything on it. > >> Picked up the information via SNMP. In Nagios, so I'm looking to monitor memory usage and some other services I have to install the NRPE + xinetd hosts. There is another option to monitrar these services without having to install anything on remote hosts (being in the same network as the server)? > >> > >> thank you > >> > >> Leandro Ferreira > >> > >> > >> ---------------------------------------------------------------------- > >> -------- > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. > >> Discussions will include endpoint security, mobile security and the > >> latest in malware threats. > >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> 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 > >> > >> ---------------------------------------------------------------------- > >> -------- > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. > >> Discussions will include endpoint security, mobile security and the > >> latest in malware threats. > >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> 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 > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > 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 > > > > -- > > Smartmon System Monitoring > > www.smartmon.com.au > > ---- > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > ---- > > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 leandro at guiadopc.info Sun May 13 05:05:12 2012 From: leandro at guiadopc.info (leandro at guiadopc.info) Date: Sun, 13 May 2012 00:05:12 -0300 Subject: =?utf-8?q?Nagios_+_memory_usage_+_SNMP?= In-Reply-To: <591A34BAEC8DBF44AFAB2E127B4D8A8E0571BA@NUEXCH1.norwich.edu> References: <591A34BAEC8DBF44AFAB2E127B4D8A8E0571BA@NUEXCH1.norwich.edu> Message-ID: Perfect. It seems to be really what I seek. Tomorrow I'll do some testing with it. Thank you for  help. Leandro Ferreira Em 12/05/2012, James Pratt <jpratt at norwich.edu> escreveu: > If you are monitoring Linux, I would suggest this one, from the same page I directed you ? > > define command{ >         command_name check_linux_snmp_proc >         command_line $USER1$/check_snmp_process -H $HOSTADDRESS$ -C $USER15$ -2 -n $ARG1$ -w $ARG2$ -c $ARG3$ > > } > > > (Run the command interactively for all the necessary arguments, or see the web page - it?s pretty straightforward). > > James > > From: leandro at guiadopc.info [mailto:leandro at guiadopc.info] > Sent: Saturday, May 12, 2012 3:29 PM > To: nagiosusers at edcint.co.nz; Nagios Users List > Subject: Re: [Nagios-users] Nagios + memory usage + SNMP > > > Mattew, > > I could use some plugins snmp quite interesting. Now I'm looking for one that monitors the processes of mysql and apache remotely. I am monitoring Linux servers. Do you suggest any that work? > > Thanks > > Leandro Ferreira > > > > Em 11/05/2012, Matthew Jurgens <nagiosusers at edcint.co.nz<mailto:nagiosusers at edcint.co.nz>> escreveu: > > If you are checking Windows try check_wmi_plus (it is agentless) > > http://www.edcint.co.nz/checkwmiplus > > > > It can do all of that and a lot more which means your monitoring of > > Windows becomes a lot more consistent as you can use a single plugin for > > everything > > > > On 12/05/2012 4:16 AM, James Pratt wrote: > > > Ok here is how I check/monitor memory on windows systems using the check_snmp_storage script: > > > > > > Commands.cfg definition - > > > > > > ## check phys mem on a windows server or vm - note the server must have snmpd installed and running, as well as a RO user defined! > > > ## > > > define command{ > > >          command_name check_snmp_phys_mem_win > > >          command_line $USER1$/check_snmp_storage -H $HOSTADDRESS$ $USER16$ -m "Physical Memory" -w $ARG1$ -c $ARG2$ > > >          } > > > > > > (Where $USER16$ is the snmp user defined to be read-only on the server you are monitoring, in your resources.cfg file) > > > > > > > > > > > > ### > > > Here is actual service definition in my services.cfg file - > > > > > > ## Windows SNMP Mem Usage warn on 85%, crit on 90% > > > define service{ > > >          use                            generic-service,srv-pnp        ; Name of service template to use > > >          host_name                      Windows1,Windows2 > > >          service_description            SNMP - Physical Memory Usage > > >          check_period                    workhours > > >        check_interval 15 > > >          max_check_attempts              5 > > >          notification_interval          60 > > >          notification_options            w,u,c,r > > >          check_command                  check_snmp_phys_mem_win!85!90 > > >          } > > > > > > (If anything is missing from the above, it's being inherited from the hosts' definition to which it applies. HTH, have a good weekend. > > > > > > James > > > -----Original Message----- > > > From: Leandro @GuiadoPC [mailto:leandro at guiadopc.info]<mailto:[mailto:leandro at guiadopc.info]> > > > Sent: Friday, May 11, 2012 1:52 PM > > > To: nagios-users at lists.sourceforge.net<mailto:nagios-users at lists.sourceforge.net> > > > Cc: James Pratt > > > Subject: Re: [Nagios-users] Nagios + memory usage + SNMP > > > > > > James, > > > > > > Would post the command.cfg host.cfg and with the command checking memory for me based on them? I am new to Nagios, I still need to adjust the command line. > > > > > > thanks > > > > > > Leandro Ferreira > > > > > > > > > Em Sex, 2012-05-11 ?s 16:19 +0000, James Pratt escreveu: > > >> Hi -  I've used these snmp plugins for a long time, as I have too many to install nrpe/etc on... > > >> > > >> http://nagios.manubulon.com/ > > >> > > >> cheers, > > >> James > > >> > > >> -----Original Message----- > > >> From: Leandro @GuiadoPC [mailto:leandro at guiadopc.info]<mailto:[mailto:leandro at guiadopc.info]> > > >> Sent: Friday, May 11, 2012 12:14 PM > > >> To: nagios-users at lists.sourceforge.net<mailto:nagios-users at lists.sourceforge.net> > > >> Subject: [Nagios-users] Nagios + memory usage + SNMP > > >> > > >> Dear, > > >> > > >> I'm using Nagios for a short time and I need to understand one thing about snmp + nagios. Before I was using Cacti and could monitor the memory usage on the hosts without having to install anything on it. > > >> Picked up the information via SNMP. In Nagios, so I'm looking to monitor memory usage and some other services I have to install the NRPE + xinetd hosts. There is another option to monitrar these services without having to install anything on remote hosts (being in the same network as the server)? > > >> > > >> thank you > > >> > > >> Leandro Ferreira > > >> > > >> > > >> ---------------------------------------------------------------------- > > >> -------- > > >> Live Security Virtual Conference > > >> Exclusive live event will cover all the ways today's security and > > >> threat landscape has changed and how IT managers can respond. > > >> Discussions will include endpoint security, mobile security and the > > >> latest in malware threats. > > >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > >> _______________________________________________ > > >> Nagios-users mailing list > > >> Nagios-users at lists.sourceforge.net<mailto: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 > > >> > > >> ---------------------------------------------------------------------- > > >> -------- > > >> Live Security Virtual Conference > > >> Exclusive live event will cover all the ways today's security and > > >> threat landscape has changed and how IT managers can respond. > > >> Discussions will include endpoint security, mobile security and the > > >> latest in malware threats. > > >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > >> _______________________________________________ > > >> Nagios-users mailing list > > >> Nagios-users at lists.sourceforge.net<mailto: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 > > > > > > ------------------------------------------------------------------------------ > > > Live Security Virtual Conference > > > Exclusive live event will cover all the ways today's security and > > > threat landscape has changed and how IT managers can respond. Discussions > > > will include endpoint security, mobile security and the latest in malware > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net<mailto: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 > > > > > > -- > > > Smartmon System Monitoring <http://www.smartmon.com.au> > > > www.smartmon.com.au<http://www.smartmon.com.au> <http://www.smartmon.com.au> > > > > ---- > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > ---- > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net<mailto: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 > > ---- > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > ---- > > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Sun May 13 22:44:35 2012 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Sun, 13 May 2012 20:44:35 +0000 Subject: Nagios 3.4.0 double quote in command bug (fixed) Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853D21BB5F@HC-EXMBX04.herefordshire.gov.uk> I've uploaded a patch to http://tracker.nagios.org/view.php?id=332 Which fixes the double quote issue and my original compile problem. Cheers, Phil "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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 bluethundr at jokefire.com Mon May 14 00:27:36 2012 From: bluethundr at jokefire.com (Tim Dunphy) Date: Sun, 13 May 2012 22:27:36 -0000 (UTC) Subject: printing info from nagios db check script In-Reply-To: <2c2428cf-3f11-4c01-a43b-4315f67392c3@li289-212> References: <2c2428cf-3f11-4c01-a43b-4315f67392c3@li289-212> Message-ID: <9e542169-ded6-4972-8ea2-c5441a399846@li289-212> Hey list, I'm having a small but important problem with a script I am writing in order to monitor the tablespaces of an oracle database. This is probably more of a bash programming issue, but as the ultimate purpose of the script is to be a nagios check I am hoping that you won't mind me asking here. Just to give you a brief overview of what I am experiencing, I'd like to start by giving you the output of a couple runs of the script and a couple snippets of code. First: [db07-dc2:~] root% /opt/nagios/libexec/check_qaecom1_tablespace.sh /opt/nagios/libexec/check_qaecom1_tablespace.sh: line 60: [: BAM_USER_INDX_LG: unary operator expected All OK is mainly achieved through this loop: while i=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $1}') j=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $3}') k=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $2}') l=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $4}') do TBLSPACE=$i PCT=$j FREE=$k TOTAL=$l if [ $TBLSPACE ] then echo "NOK $TBLSPACE is at $PCT $FREE/$TOTAL " exit 2 else echo "All OK" exit 0 fi done But as you can see a 'unary operator' error is produced by this code. As you can probably tell, all it does is execute a few sqlplus commands (with the SQL contained in a separate file) and assign them to a few variables. It incorrectly produces an 'OK' state. But if I try to fix the 'unary operator' error by putting the TBLSPACE variable in quotes, the result changes from "ALL OK" to showing some output and (correctly) produces an error state: [db07-dc2:~] root% /opt/nagios/libexec/check_qaecom1_tablespace.sh NOK BAM_USER_INDX_LG MLBDATASM is at 97.50% 95.85% 820 340/32764 8191 while i=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $1}') j=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $3}') k=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $2}') l=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $4}') do TBLSPACE=$i PCT=$j FREE=$k TOTAL=$l if [ "$TBLSPACE" ] then echo "NOK $TBLSPACE is at $PCT $FREE/$TOTAL " exit 2 else echo "All OK" exit 0 fi done The SQL is designed to list any tablespaces that grow beyond a certain threshold. My question is this: [db07-dc2:~] root% /opt/nagios/libexec/check_qaecom1_tablespace.sh NOK BAM_USER_INDX_LG # <-- this is correctly output from the script MLBDATASM is at 97.50% # <-- this is also correctly output from the scipt 95.85% 820 # <-- but where does this additional and different percentage come from? 340/32764 # <-- and why are the two variables $FREE/$TOTAL broken up on different lines? 8191 I realize that this may not be an easy question, but I wanted to put this out there in case anyone has faced a similar situation before. Here is the entirety of the shell script: #!/bin/bash # exit codes CRED_ERR=1 # if the credentials are not valid NOARGS=2 # if the required parameters were not supplied # credentials / environment variables ORACLE_HOME="/u01/app/oracle/product/10.2.0.4" ORACLE_SID=qaecom1 sqlplus="/u01/app/oracle/product/10.2.0.4/bin/sqlplus" USERNAME=mlbwatch PASS=n3x1ch3q SID=${ORACLE_SID} if [ -z "${USERNAME}" ] || [ -z "${PASS}" ]; # Exit if no arguments were given. then echo "Error: Username or Password are empty" exit $NOARGS fi ; PATH=$PATH:$ORACLE_HOME/bin LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib export ORACLE_HOME PATH LD_LIBRARY_PATH while i=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $1}') j=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $3}') k=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $2}') l=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $4}') do TBLSPACE=$i PCT=$j FREE=$k TOTAL=$l if [ "$TBLSPACE" ] then echo "NOK $TBLSPACE is at $PCT $FREE/$TOTAL " exit 2 else echo "All OK" exit 0 fi done errorCode=$? # checks if the last operation (sqlplus) was completed successfully or not if [ ${errorCode} -ne 0 ] then echo "Running sqlplus FAILED" exit ${CRED_ERR} echo fi And here's the SQL that the script calls. --########################################################################### --### THIS IS FOR TABLESPACE MONITORING with exclusion of TEMP and UNDO --## Tablespace Alert - A tablespace has reached a crital state! # --### Checks for different pecentage thresholds by total size of the TS. # --### Alert the DBA Group - Page - Phone Service # --########################################################################### set feedback off set pagesize 0 set trimspool on SELECT d.tablespace_name "NAME", ROUND(NVL(f.bytes, 0)/1024/1024) "FREE(M)", TO_CHAR(NVL((a.bytes - NVL(f.bytes, 0)) / a.bytes * 100, 0),'990.00')||'%' "USED %", ROUND(NVL(a.bytes, 0)/1024/1024) "TOTAL(M)" FROM sys.dba_tablespaces d, (SELECT tablespace_name, sum(bytes) bytes FROM dba_data_files group by tablespace_name) a, (SELECT tablespace_name, sum(bytes) bytes FROM dba_free_space group by tablespace_name) f WHERE d.tablespace_name = a.tablespace_name(+) AND d.tablespace_name = f.tablespace_name(+) AND d.tablespace_name != (select VALUE from v$parameter where name ='undo_tablespace') AND round((a.bytes - F.bytes)/a.bytes * 100) >= CASE WHEN a.bytes < 10737418240 THEN 90 WHEN a.bytes >= 10737418240 AND a.bytes < 21474836480 THEN 92 WHEN a.bytes >= 21474836480 AND a.bytes < 32212254720 THEN 94 WHEN a.bytes >= 32212254720 AND a.bytes < 42949672960 THEN 96 WHEN a.bytes >= 42949672960 AND a.bytes < 64424509440 THEN 97 WHEN a.bytes >= 64424509440 AND a.bytes < 118111600640 THEN 98 ELSE 99 END/* */ ORDER BY 4 desc / exit Thanks ahead of time for any and all input you might have! Tim ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Mon May 14 01:17:11 2012 From: ae at op5.se (Andreas Ericsson) Date: Mon, 14 May 2012 01:17:11 +0200 Subject: Nagios 3.4.0 double quote in command bug (fixed) In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B853D21BB5F@HC-EXMBX04.herefordshire.gov.uk> References: <7CA580B59C1ABD45B4614ED90D4C7B853D21BB5F@HC-EXMBX04.herefordshire.gov.uk> Message-ID: <4FB040F7.4090507@op5.se> On 05/13/2012 10:44 PM, Randal, Phil wrote: > I've uploaded a patch to > > http://tracker.nagios.org/view.php?id=332 > > Which fixes the double quote issue and my original compile problem. > Thanks. The double-quote issue has been resolved by reverting the faulty patch though. I'll see if I get time to take a look at the compile problem tomorrow. -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 bluethundr at jokefire.com Mon May 14 01:18:58 2012 From: bluethundr at jokefire.com (Tim Dunphy) Date: Sun, 13 May 2012 23:18:58 -0000 (UTC) Subject: printing info from nagios db check script In-Reply-To: <9e542169-ded6-4972-8ea2-c5441a399846@li289-212> References: <9e542169-ded6-4972-8ea2-c5441a399846@li289-212> Message-ID: hey guys, this was kind of interesting so I thought I might report it to anyone who might take an interest in this thread. But I just realized where the 'additional' percentage that the tablespace check is reporting comes from. It comes from the fact that the check is attempting to report two tablespaces and that's why the formatting is falling apart. I altered the print statement of the loop a little bit and saw the important difference: while i=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $1}') j=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $3}') k=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $2}') l=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $4}') do TBLSPACE=$i PCT=$j FREE=$k TOTAL=$l if [ "$TBLSPACE" ] then echo "NOK" $TBLSPACE " is at " $PCT $FREE/$TOTAL exit 2 else echo "All OK" exit 0 fi done Now outputs: [db07-dc2:~] root% /opt/nagios/libexec/check_qaecom1_tablespace.sh NOK BAM_USER_INDX_LG MLBDATASM is at 97.50% 95.85% 820 340/32764 8191 So what I need to try and figure out is how to print additional tablespaces that meet the threshold levels and have the output make sense visually. I will keep working on this, but would welcome any input you might have. Thanks Tim ----- Original Message ----- From: "Tim Dunphy" To: nagios-users at lists.sourceforge.net Sent: Sunday, May 13, 2012 6:27:36 PM Subject: printing info from nagios db check script Hey list, I'm having a small but important problem with a script I am writing in order to monitor the tablespaces of an oracle database. This is probably more of a bash programming issue, but as the ultimate purpose of the script is to be a nagios check I am hoping that you won't mind me asking here. Just to give you a brief overview of what I am experiencing, I'd like to start by giving you the output of a couple runs of the script and a couple snippets of code. First: [db07-dc2:~] root% /opt/nagios/libexec/check_qaecom1_tablespace.sh /opt/nagios/libexec/check_qaecom1_tablespace.sh: line 60: [: BAM_USER_INDX_LG: unary operator expected All OK is mainly achieved through this loop: while i=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $1}') j=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $3}') k=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $2}') l=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $4}') do TBLSPACE=$i PCT=$j FREE=$k TOTAL=$l if [ $TBLSPACE ] then echo "NOK $TBLSPACE is at $PCT $FREE/$TOTAL " exit 2 else echo "All OK" exit 0 fi done But as you can see a 'unary operator' error is produced by this code. As you can probably tell, all it does is execute a few sqlplus commands (with the SQL contained in a separate file) and assign them to a few variables. It incorrectly produces an 'OK' state. But if I try to fix the 'unary operator' error by putting the TBLSPACE variable in quotes, the result changes from "ALL OK" to showing some output and (correctly) produces an error state: [db07-dc2:~] root% /opt/nagios/libexec/check_qaecom1_tablespace.sh NOK BAM_USER_INDX_LG MLBDATASM is at 97.50% 95.85% 820 340/32764 8191 while i=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $1}') j=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $3}') k=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $2}') l=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $4}') do TBLSPACE=$i PCT=$j FREE=$k TOTAL=$l if [ "$TBLSPACE" ] then echo "NOK $TBLSPACE is at $PCT $FREE/$TOTAL " exit 2 else echo "All OK" exit 0 fi done The SQL is designed to list any tablespaces that grow beyond a certain threshold. My question is this: [db07-dc2:~] root% /opt/nagios/libexec/check_qaecom1_tablespace.sh NOK BAM_USER_INDX_LG # <-- this is correctly output from the script MLBDATASM is at 97.50% # <-- this is also correctly output from the scipt 95.85% 820 # <-- but where does this additional and different percentage come from? 340/32764 # <-- and why are the two variables $FREE/$TOTAL broken up on different lines? 8191 I realize that this may not be an easy question, but I wanted to put this out there in case anyone has faced a similar situation before. Here is the entirety of the shell script: #!/bin/bash # exit codes CRED_ERR=1 # if the credentials are not valid NOARGS=2 # if the required parameters were not supplied # credentials / environment variables ORACLE_HOME="/u01/app/oracle/product/10.2.0.4" ORACLE_SID=qaecom1 sqlplus="/u01/app/oracle/product/10.2.0.4/bin/sqlplus" USERNAME=mlbwatch PASS=n3x1ch3q SID=${ORACLE_SID} if [ -z "${USERNAME}" ] || [ -z "${PASS}" ]; # Exit if no arguments were given. then echo "Error: Username or Password are empty" exit $NOARGS fi ; PATH=$PATH:$ORACLE_HOME/bin LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib export ORACLE_HOME PATH LD_LIBRARY_PATH while i=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $1}') j=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $3}') k=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $2}') l=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $4}') do TBLSPACE=$i PCT=$j FREE=$k TOTAL=$l if [ "$TBLSPACE" ] then echo "NOK $TBLSPACE is at $PCT $FREE/$TOTAL " exit 2 else echo "All OK" exit 0 fi done errorCode=$? # checks if the last operation (sqlplus) was completed successfully or not if [ ${errorCode} -ne 0 ] then echo "Running sqlplus FAILED" exit ${CRED_ERR} echo fi And here's the SQL that the script calls. --########################################################################### --### THIS IS FOR TABLESPACE MONITORING with exclusion of TEMP and UNDO --## Tablespace Alert - A tablespace has reached a crital state! # --### Checks for different pecentage thresholds by total size of the TS. # --### Alert the DBA Group - Page - Phone Service # --########################################################################### set feedback off set pagesize 0 set trimspool on SELECT d.tablespace_name "NAME", ROUND(NVL(f.bytes, 0)/1024/1024) "FREE(M)", TO_CHAR(NVL((a.bytes - NVL(f.bytes, 0)) / a.bytes * 100, 0),'990.00')||'%' "USED %", ROUND(NVL(a.bytes, 0)/1024/1024) "TOTAL(M)" FROM sys.dba_tablespaces d, (SELECT tablespace_name, sum(bytes) bytes FROM dba_data_files group by tablespace_name) a, (SELECT tablespace_name, sum(bytes) bytes FROM dba_free_space group by tablespace_name) f WHERE d.tablespace_name = a.tablespace_name(+) AND d.tablespace_name = f.tablespace_name(+) AND d.tablespace_name != (select VALUE from v$parameter where name ='undo_tablespace') AND round((a.bytes - F.bytes)/a.bytes * 100) >= CASE WHEN a.bytes < 10737418240 THEN 90 WHEN a.bytes >= 10737418240 AND a.bytes < 21474836480 THEN 92 WHEN a.bytes >= 21474836480 AND a.bytes < 32212254720 THEN 94 WHEN a.bytes >= 32212254720 AND a.bytes < 42949672960 THEN 96 WHEN a.bytes >= 42949672960 AND a.bytes < 64424509440 THEN 97 WHEN a.bytes >= 64424509440 AND a.bytes < 118111600640 THEN 98 ELSE 99 END/* */ ORDER BY 4 desc / exit Thanks ahead of time for any and all input you might have! Tim ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 pitchfork at ederdrom.de Mon May 14 08:16:40 2012 From: pitchfork at ederdrom.de (Joerg Linge) Date: Mon, 14 May 2012 08:16:40 +0200 Subject: printing info from nagios db check script In-Reply-To: <9e542169-ded6-4972-8ea2-c5441a399846@li289-212> References: <9e542169-ded6-4972-8ea2-c5441a399846@li289-212> Message-ID: Am 14.05.2012 um 00:27 schrieb Tim Dunphy: > Hey list, > > I'm having a small but important problem with a script I am writing in order to monitor the tablespaces of an oracle database. This is probably more of a bash programming issue, but as the ultimate purpose of the script is to be a nagios check I am hoping that you won't mind me asking here. > > > Just to give you a brief overview of what I am experiencing, I'd like to start by giving you the output of a couple runs of the script and a couple snippets of code. Tim, isn't it easier to use existing plugins? http://labs.consol.de/lang/en/nagios/check_oracle_health/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Mon May 14 11:31:04 2012 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Mon, 14 May 2012 09:31:04 +0000 Subject: Nagios 3.4.0 double quote in command bug (fixed) In-Reply-To: <4FB040F7.4090507@op5.se> References: <7CA580B59C1ABD45B4614ED90D4C7B853D21BB5F@HC-EXMBX04.herefordshire.gov.uk> <4FB040F7.4090507@op5.se> Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853D21E0B2@HC-EXMBX04.herefordshire.gov.uk> Hi Andreas, Yours is probably the safest approach. Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: 14 May 2012 00:17 To: Nagios Users List Cc: Randal, Phil Subject: Re: [Nagios-users] Nagios 3.4.0 double quote in command bug (fixed) On 05/13/2012 10:44 PM, Randal, Phil wrote: > I've uploaded a patch to > > http://tracker.nagios.org/view.php?id=332 > > Which fixes the double quote issue and my original compile problem. > Thanks. The double-quote issue has been resolved by reverting the faulty patch though. I'll see if I get time to take a look at the compile problem tomorrow. -- 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. ?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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 agriffin at nagios.com Mon May 14 17:26:19 2012 From: agriffin at nagios.com (Alex Griffin) Date: Mon, 14 May 2012 10:26:19 -0500 Subject: printing info from nagios db check script In-Reply-To: References: Message-ID: <4FB1241B.2010701@nagios.com> I haven't fully grokked the script you posted, but I do have a few comments. You should be quoting every single variable which is set by an external command, unless you have some reason not to. Most unquoted variables are bugs just waiting to show up in unexpected ways. You should also quote any variables which are set in other ways if there is any chance of them containing bad characters like spaces. Personally I just quote everything to avoid having to think about the issue. Second, you could try adding 'set -x' to the top of your script to add debugging output and hopefully help you find problems. Alex Griffin --- Tech Team agriffin at nagios.com Tim Dunphy wrote: > hey guys, > > this was kind of interesting so I thought I might report it to anyone who might take an interest in this thread. But I just realized where the 'additional' percentage that the tablespace check is reporting comes from. > > It comes from the fact that the check is attempting to report two tablespaces and that's why the formatting is falling apart. > > I altered the print statement of the loop a little bit and saw the important difference: > > while i=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $1}') j=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $3}') k=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $2}') l=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $4}') > do > TBLSPACE=$i > PCT=$j > FREE=$k > TOTAL=$l > if [ "$TBLSPACE" ] > then > echo "NOK" $TBLSPACE " is at " $PCT $FREE/$TOTAL > exit 2 > else > echo "All OK" > exit 0 > fi > done > > Now outputs: > > [db07-dc2:~] root% /opt/nagios/libexec/check_qaecom1_tablespace.sh > NOK BAM_USER_INDX_LG MLBDATASM is at 97.50% 95.85% 820 340/32764 8191 > > > So what I need to try and figure out is how to print additional tablespaces that meet the threshold levels and have the output make sense visually. I will keep working on this, but would welcome any input you might have. > > > Thanks > Tim > > ----- Original Message ----- > From: "Tim Dunphy" > To: nagios-users at lists.sourceforge.net > Sent: Sunday, May 13, 2012 6:27:36 PM > Subject: printing info from nagios db check script > > Hey list, > > I'm having a small but important problem with a script I am writing in order to monitor the tablespaces of an oracle database. This is probably more of a bash programming issue, but as the ultimate purpose of the script is to be a nagios check I am hoping that you won't mind me asking here. > > > Just to give you a brief overview of what I am experiencing, I'd like to start by giving you the output of a couple runs of the script and a couple snippets of code. > > First: > > [db07-dc2:~] root% /opt/nagios/libexec/check_qaecom1_tablespace.sh > /opt/nagios/libexec/check_qaecom1_tablespace.sh: line 60: [: BAM_USER_INDX_LG: unary operator expected > All OK > > > is mainly achieved through this loop: > > while i=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $1}') j=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $3}') k=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $2}') l=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $4}') > do > TBLSPACE=$i > PCT=$j > FREE=$k > TOTAL=$l > if [ $TBLSPACE ] > then > echo "NOK $TBLSPACE is at $PCT $FREE/$TOTAL " > exit 2 > else > echo "All OK" > exit 0 > fi > done > > But as you can see a 'unary operator' error is produced by this code. As you can probably tell, all it does is execute a few sqlplus commands (with the SQL contained in a separate file) and assign them to a few variables. It incorrectly produces an 'OK' state. > > > But if I try to fix the 'unary operator' error by putting the TBLSPACE variable in quotes, the result changes from "ALL OK" to showing some output and (correctly) produces an error state: > > [db07-dc2:~] root% /opt/nagios/libexec/check_qaecom1_tablespace.sh > NOK BAM_USER_INDX_LG > MLBDATASM is at 97.50% > 95.85% 820 > 340/32764 > 8191 > > > > while i=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $1}') j=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $3}') k=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $2}') l=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $4}') > do > TBLSPACE=$i > PCT=$j > FREE=$k > TOTAL=$l > if [ "$TBLSPACE" ] > then > echo "NOK $TBLSPACE is at $PCT $FREE/$TOTAL " > exit 2 > else > echo "All OK" > exit 0 > fi > done > > The SQL is designed to list any tablespaces that grow beyond a certain threshold. > > > My question is this: > > [db07-dc2:~] root% /opt/nagios/libexec/check_qaecom1_tablespace.sh > NOK BAM_USER_INDX_LG #<-- this is correctly output from the script > MLBDATASM is at 97.50% #<-- this is also correctly output from the scipt > 95.85% 820 #<-- but where does this additional and different percentage come from? > 340/32764 #<-- and why are the two variables $FREE/$TOTAL broken up on different lines? > 8191 > > > > I realize that this may not be an easy question, but I wanted to put this out there in case anyone has faced a similar situation before. > > > > Here is the entirety of the shell script: > > > #!/bin/bash > > # exit codes > CRED_ERR=1 # if the credentials are not valid > NOARGS=2 # if the required parameters were not supplied > > # credentials / environment variables > ORACLE_HOME="/u01/app/oracle/product/10.2.0.4" > ORACLE_SID=qaecom1 > sqlplus="/u01/app/oracle/product/10.2.0.4/bin/sqlplus" > USERNAME=mlbwatch > PASS=n3x1ch3q > SID=${ORACLE_SID} > > if [ -z "${USERNAME}" ] || [ -z "${PASS}" ]; # Exit if no arguments were given. > then > echo "Error: Username or Password are empty" > exit $NOARGS > fi ; > > PATH=$PATH:$ORACLE_HOME/bin > LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib > export ORACLE_HOME PATH LD_LIBRARY_PATH > > > > while i=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $1}') j=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $3}') k=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $2}') l=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $4}') > do > TBLSPACE=$i > PCT=$j > FREE=$k > TOTAL=$l > if [ "$TBLSPACE" ] > then > echo "NOK $TBLSPACE is at $PCT $FREE/$TOTAL " > exit 2 > else > echo "All OK" > exit 0 > fi > done > > > errorCode=$? # checks if the last operation (sqlplus) was completed successfully or not > if [ ${errorCode} -ne 0 ] > then > echo "Running sqlplus FAILED" > exit ${CRED_ERR} > echo > fi > > > And here's the SQL that the script calls. > > --########################################################################### > --### THIS IS FOR TABLESPACE MONITORING with exclusion of TEMP and UNDO > --## Tablespace Alert - A tablespace has reached a crital state! # > --### Checks for different pecentage thresholds by total size of the TS. # > --### Alert the DBA Group - Page - Phone Service # > --########################################################################### > set feedback off > set pagesize 0 > set trimspool on > > SELECT d.tablespace_name "NAME", > ROUND(NVL(f.bytes, 0)/1024/1024) "FREE(M)", > TO_CHAR(NVL((a.bytes - NVL(f.bytes, 0)) / a.bytes * 100, 0),'990.00')||'%' "USED %", > ROUND(NVL(a.bytes, 0)/1024/1024) "TOTAL(M)" > FROM sys.dba_tablespaces d, > (SELECT tablespace_name, sum(bytes) bytes > FROM dba_data_files group by tablespace_name) a, > (SELECT tablespace_name, sum(bytes) bytes > FROM dba_free_space group by tablespace_name) f > WHERE d.tablespace_name = a.tablespace_name(+) > AND d.tablespace_name = f.tablespace_name(+) > AND d.tablespace_name != (select VALUE from v$parameter where name > ='undo_tablespace') > AND round((a.bytes - F.bytes)/a.bytes * 100)>= > CASE > WHEN a.bytes< 10737418240 THEN 90 > WHEN a.bytes>= 10737418240 AND a.bytes< 21474836480 THEN 92 > WHEN a.bytes>= 21474836480 AND a.bytes< 32212254720 THEN 94 > WHEN a.bytes>= 32212254720 AND a.bytes< 42949672960 THEN 96 > WHEN a.bytes>= 42949672960 AND a.bytes< 64424509440 THEN 97 > WHEN a.bytes>= 64424509440 AND a.bytes< 118111600640 THEN 98 > ELSE 99 > END/* */ > ORDER BY 4 desc > / > exit > > > Thanks ahead of time for any and all input you might have! > > Tim > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 agriffin at nagios.com Mon May 14 17:33:41 2012 From: agriffin at nagios.com (Alex Griffin) Date: Mon, 14 May 2012 10:33:41 -0500 Subject: Performance data not being returned In-Reply-To: <4FABE717.5020507@bristol.ac.uk> References: <4FAB8F21.3090300@bristol.ac.uk> <59ec1efbca6945445a1deac04019f7f3.squirrel@webmail.stinkweasel.net> <4FAB9DC6.40109@bristol.ac.uk> <4FABCB68.8010307@nagios.com> <4FABDBBA.2090209@bristol.ac.uk> <4222f986918ed17c0f29b274e55fe53f.squirrel@webmail.stinkweasel.net> <4FABE717.5020507@bristol.ac.uk> Message-ID: <4FB125D5.3040807@nagios.com> Are the newlines in your output an artifact of sending this over email or are there really newlines in your plugin output? If they're really there, you should eliminate them. Alex Griffin --- Tech Team agriffin at nagios.com Jonathan Gazeley wrote: > On 10/05/12 16:39, C. Bensend wrote: >> >>> I've narrowed it down to a stage where running the plugin directly >>> returns the right results, but running the plugin through check_nrpe on >>> localhost returns this: >>> >>> [jg4461 at dhcp1 log]$ /usr/lib64/nagios/plugins/check_nrpe -H localhost -c >>> check_dhcpd_pools >>> OK - all pools less than 80% full | >>> >>> What could cause NRPE to truncate the results in such a way? >> >> Too much data? >> >> Are you using SSL? >> >> I don't know that I've seen this behavior before - it's always >> been *invalid* perfdata that have caused this issue for me. >> > > I am using SSL in production, although not for testing. Both cases > return the same truncated results. > > The total status + performance data returned from this plugin is only > 500-and-something bytes, less than the limits for NRPE that I'd heard about. > > I'm wondering if it might be something to do with the embedded perl > interpreter. Does NRPE use this to execute perl-flavoured plugins? > > Thanks for your help, > Jonathan > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 manikumar85 at gmail.com Mon May 14 20:28:49 2012 From: manikumar85 at gmail.com (Manish Kumar) Date: Mon, 14 May 2012 23:58:49 +0530 Subject: windows agent nsclient++ returning wrong memory usage Message-ID: Hi List, I am facing a wiered problem in nagios. I am using nsclient++ to monitor memory on a windows server which is hosted upon a VM machine. But actually the nsclient++ agent is giving the virtual memory of the windows server instead of actual physical memory. I am checking like ./check_nt -H host -p 12489 -v MEMUSE -w 80 -c 90. But the same configuration and the agent is working fine for monitoring other KPIs and memory on many of the other windows servers. What can be the issue with this particular windows server. -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 michael at halligan.org Tue May 15 01:18:43 2012 From: michael at halligan.org (Michael Halligan) Date: Mon, 14 May 2012 16:18:43 -0700 Subject: Averages of aggregated services? Message-ID: Hi, I was wondering if there's a plugin or 3rd-party package which allows one to set rules over averages of aggregated services? For example I need to be able to send a notification if the average memory usage over an entire cluster is 90% or higher. I thought I might be able to do this with nagiosbpi or bp-addons plugins, but this does not seem to be the case. Does anything like this exist? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 jonathan.gazeley at bristol.ac.uk Tue May 15 11:30:12 2012 From: jonathan.gazeley at bristol.ac.uk (Jonathan Gazeley) Date: Tue, 15 May 2012 10:30:12 +0100 Subject: Performance data not being returned In-Reply-To: <4FB125D5.3040807@nagios.com> References: <4FAB8F21.3090300@bristol.ac.uk> <59ec1efbca6945445a1deac04019f7f3.squirrel@webmail.stinkweasel.net> <4FAB9DC6.40109@bristol.ac.uk> <4FABCB68.8010307@nagios.com> <4FABDBBA.2090209@bristol.ac.uk> <4222f986918ed17c0f29b274e55fe53f.squirrel@webmail.stinkweasel.net> <4FABE717.5020507@bristol.ac.uk> <4FB125D5.3040807@nagios.com> Message-ID: <4FB22224.5010506@bristol.ac.uk> The newlines were introduced by my mail client. There are no unusual characters in the output of the plugin. As far as I can tell, the perfdata complies completely with the specs. status | key1=value1%;warn;crit, key2=value2%;warn;crit The perfdata string is generated in a loop by appending an item for each DHCP pool I am monitoring. When we come to print the variable, it seems to get ignored (hence the pipe is printed but nothing else). If I statically set the variable to have the same value as the perfdata ought to, then the plugin works properly, and the full perfdata string is returned. So what is it about printing this variable through NRPE that breaks it? I am totally confused by this. Happy to send my plugin source code to the list if it helps (it's only 60 lines of perl). Thanks, Jonathan On 14/05/12 16:33, Alex Griffin wrote: > Are the newlines in your output an artifact of sending this over email > or are there really newlines in your plugin output? If they're really > there, you should eliminate them. > > Alex Griffin > --- > Tech Team > agriffin at nagios.com > > Jonathan Gazeley wrote: >> On 10/05/12 16:39, C. Bensend wrote: >>> >>>> I've narrowed it down to a stage where running the plugin directly >>>> returns the right results, but running the plugin through check_nrpe on >>>> localhost returns this: >>>> >>>> [jg4461 at dhcp1 log]$ /usr/lib64/nagios/plugins/check_nrpe -H localhost -c >>>> check_dhcpd_pools >>>> OK - all pools less than 80% full | >>>> >>>> What could cause NRPE to truncate the results in such a way? >>> >>> Too much data? >>> >>> Are you using SSL? >>> >>> I don't know that I've seen this behavior before - it's always >>> been *invalid* perfdata that have caused this issue for me. >>> >> >> I am using SSL in production, although not for testing. Both cases >> return the same truncated results. >> >> The total status + performance data returned from this plugin is only >> 500-and-something bytes, less than the limits for NRPE that I'd heard about. >> >> I'm wondering if it might be something to do with the embedded perl >> interpreter. Does NRPE use this to execute perl-flavoured plugins? >> >> Thanks for your help, >> Jonathan >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> 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 > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 kuhlmeier at riege.com Tue May 15 14:53:30 2012 From: kuhlmeier at riege.com (Dennis Kuhlmeier) Date: Tue, 15 May 2012 14:53:30 +0200 Subject: Nagios 3.4.0 double quote in command bug (fixed) In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B853D21E0B2@HC-EXMBX04.herefordshire.gov.uk> References: <7CA580B59C1ABD45B4614ED90D4C7B853D21BB5F@HC-EXMBX04.herefordshire.gov.uk> <4FB040F7.4090507@op5.se> <7CA580B59C1ABD45B4614ED90D4C7B853D21E0B2@HC-EXMBX04.herefordshire.gov.uk> Message-ID: <4FB251CA.2090105@riege.com> Hi, sorry to burst into this, is this about the changed behaviour with quoted text? I was able to fix it in my check definitions (removing not needed quotes, etc.) in most cases, also using any kind of special character, e.g. "|" or "*" fixes this, but I am still unable to pass check results to a remote Nagios instance by sending them via NSCA. I use perfdata processing for this and only check results with special characters (all checks that do actually have performance data fulfill this as they all contain the pipe character) are processed, others never even show up in my definied service_perfdata_file! Switched backed to Nagios 3.2.3 and everything works like a charm. Are both problems connected and fixed in an upcoming 3.4 release? Regards, Dennis On 14.05.12 11:31, Randal, Phil wrote: > Hi Andreas, > > Yours is probably the safest approach. > > Cheers, > > Phil > > -- > Phil Randal > Infrastructure Engineer > Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT > Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk > > > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: 14 May 2012 00:17 > To: Nagios Users List > Cc: Randal, Phil > Subject: Re: [Nagios-users] Nagios 3.4.0 double quote in command bug (fixed) > > On 05/13/2012 10:44 PM, Randal, Phil wrote: >> I've uploaded a patch to >> >> http://tracker.nagios.org/view.php?id=332 >> >> Which fixes the double quote issue and my original compile problem. >> > > Thanks. The double-quote issue has been resolved by reverting the faulty patch though. I'll see if I get time to take a look at the compile problem tomorrow. > > -- > 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. > ?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. > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 May 15 15:24:57 2012 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Tue, 15 May 2012 13:24:57 +0000 Subject: Nagios 3.4.0 double quote in command bug (fixed) In-Reply-To: <4FB251CA.2090105@riege.com> References: <7CA580B59C1ABD45B4614ED90D4C7B853D21BB5F@HC-EXMBX04.herefordshire.gov.uk> <4FB040F7.4090507@op5.se> <7CA580B59C1ABD45B4614ED90D4C7B853D21E0B2@HC-EXMBX04.herefordshire.gov.uk> <4FB251CA.2090105@riege.com> Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853D222950@HC-EXMBX04.herefordshire.gov.uk> Hi Dennis, Can you check out Nagios 3.4.1 and see if this fixes the problem? Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk -----Original Message----- From: Dennis Kuhlmeier [mailto:kuhlmeier at riege.com] Sent: 15 May 2012 13:54 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 3.4.0 double quote in command bug (fixed) Hi, sorry to burst into this, is this about the changed behaviour with quoted text? I was able to fix it in my check definitions (removing not needed quotes, etc.) in most cases, also using any kind of special character, e.g. "|" or "*" fixes this, but I am still unable to pass check results to a remote Nagios instance by sending them via NSCA. I use perfdata processing for this and only check results with special characters (all checks that do actually have performance data fulfill this as they all contain the pipe character) are processed, others never even show up in my definied service_perfdata_file! Switched backed to Nagios 3.2.3 and everything works like a charm. Are both problems connected and fixed in an upcoming 3.4 release? Regards, Dennis On 14.05.12 11:31, Randal, Phil wrote: > Hi Andreas, > > Yours is probably the safest approach. > > Cheers, > > Phil > > -- > Phil Randal > Infrastructure Engineer > Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT > Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk > > > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: 14 May 2012 00:17 > To: Nagios Users List > Cc: Randal, Phil > Subject: Re: [Nagios-users] Nagios 3.4.0 double quote in command bug > (fixed) > > On 05/13/2012 10:44 PM, Randal, Phil wrote: >> I've uploaded a patch to >> >> http://tracker.nagios.org/view.php?id=332 >> >> Which fixes the double quote issue and my original compile problem. >> > > Thanks. The double-quote issue has been resolved by reverting the faulty patch though. I'll see if I get time to take a look at the compile problem tomorrow. > > -- > 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. > ?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. > ---------------------------------------------------------------------- > -------- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions will include endpoint security, mobile security and the > latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 kuhlmeier at riege.com Tue May 15 15:49:11 2012 From: kuhlmeier at riege.com (Dennis Kuhlmeier) Date: Tue, 15 May 2012 15:49:11 +0200 Subject: Nagios 3.4.0 double quote in command bug (fixed) In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B853D222950@HC-EXMBX04.herefordshire.gov.uk> References: <7CA580B59C1ABD45B4614ED90D4C7B853D21BB5F@HC-EXMBX04.herefordshire.gov.uk> <4FB040F7.4090507@op5.se> <7CA580B59C1ABD45B4614ED90D4C7B853D21E0B2@HC-EXMBX04.herefordshire.gov.uk> <4FB251CA.2090105@riege.com> <7CA580B59C1ABD45B4614ED90D4C7B853D222950@HC-EXMBX04.herefordshire.gov.uk> Message-ID: <4FB25ED7.8000101@riege.com> Hi Phil, On 15.05.12 15:24, Randal, Phil wrote: > Hi Dennis, > > Can you check out Nagios 3.4.1 and see if this fixes the problem? > sorry for not checking prior to posting. Anyway, I built the new version, btw., why can't you just build the RPM from the tar? This is what I had to do on RHEL5: # tar xzf nagios-3.4.1.tar.gz # mv nagios nagios-3.4.1 # cd nagios-3.4.1 # vim nagios.spec change "datarootdir" to "datadir" in configure statement # cd .. # tar czf nagios-3.4.1.tar.gz nagios-3.4.1/ # rpmbuild -tb nagios-3.4.1.tar.gz Tada, build works. Back to the problem. Installed the update, doesn't help. On my sample host with 31 checks only 18 get submitted via Perfdata. Back to nagios-3.2.3 again and all 31 checks are processed. Please tell me if you need any more details, performance data template configuration or something like that. > Cheers, > > Phil > Regards, Dennis ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 May 15 16:07:25 2012 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Tue, 15 May 2012 14:07:25 +0000 Subject: Nagios 3.4.0 double quote in command bug (fixed) In-Reply-To: <4FB25ED7.8000101@riege.com> References: <7CA580B59C1ABD45B4614ED90D4C7B853D21BB5F@HC-EXMBX04.herefordshire.gov.uk> <4FB040F7.4090507@op5.se> <7CA580B59C1ABD45B4614ED90D4C7B853D21E0B2@HC-EXMBX04.herefordshire.gov.uk> <4FB251CA.2090105@riege.com> <7CA580B59C1ABD45B4614ED90D4C7B853D222950@HC-EXMBX04.herefordshire.gov.uk> <4FB25ED7.8000101@riege.com> Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853D222BDA@HC-EXMBX04.herefordshire.gov.uk> Hi Dennis, I'm just a user, not a developer. All I can suggest is raisng a bug on http://tracker.nagios.org Or two bugs, so the RPM spec file gets fixed :-) Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk -----Original Message----- From: Dennis Kuhlmeier [mailto:kuhlmeier at riege.com] Sent: 15 May 2012 14:49 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 3.4.0 double quote in command bug (fixed) Hi Phil, On 15.05.12 15:24, Randal, Phil wrote: > Hi Dennis, > > Can you check out Nagios 3.4.1 and see if this fixes the problem? > sorry for not checking prior to posting. Anyway, I built the new version, btw., why can't you just build the RPM from the tar? This is what I had to do on RHEL5: # tar xzf nagios-3.4.1.tar.gz # mv nagios nagios-3.4.1 # cd nagios-3.4.1 # vim nagios.spec change "datarootdir" to "datadir" in configure statement # cd .. # tar czf nagios-3.4.1.tar.gz nagios-3.4.1/ # rpmbuild -tb nagios-3.4.1.tar.gz Tada, build works. Back to the problem. Installed the update, doesn't help. On my sample host with 31 checks only 18 get submitted via Perfdata. Back to nagios-3.2.3 again and all 31 checks are processed. Please tell me if you need any more details, performance data template configuration or something like that. > Cheers, > > Phil > Regards, Dennis ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ?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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 mguthrie at nagios.com Tue May 15 20:32:18 2012 From: mguthrie at nagios.com (Mike Guthrie) Date: Tue, 15 May 2012 13:32:18 -0500 Subject: Averages of aggregated services? In-Reply-To: References: Message-ID: <4FB2A132.8070301@nagios.com> I don't know of any plugins or addons that do this out of the box, but you could just write a custom plugin that ran the list of memory checks against all of the servers then added them together. It could be as simple as: ./check_many address1 address2 address3 address 4 and the check just runs the nrpe check for memory, adds the results, and returns it to Nagios. Otherwise, there are quite a few cluster checking plugins on exchange.nagios.org, but I haven't used any of these myself. http://exchange.nagios.org/index.php?option=com_mtree&task=search&Itemid=74&searchword=cluster On 5/14/2012 6:18 PM, Michael Halligan wrote: > Hi, I was wondering if there's a plugin or 3rd-party package which > allows one to set rules over averages of aggregated services? For > example I need to be able to send a notification if the average memory > usage over an entire cluster is 90% or higher. I thought I might be > able to do this with nagiosbpi or bp-addons plugins, but this does not > seem to be the case. Does anything like this exist? > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 deviant.dolphin at gmail.com Tue May 15 23:57:50 2012 From: deviant.dolphin at gmail.com (Mark Wicks) Date: Tue, 15 May 2012 14:57:50 -0700 Subject: Alerts not making it to notifications log or alert history Message-ID: Hello, I am having a intermittent problem where notifications are not making it into the notifications page from the web interface or the alert history but they show up in the event log and actually do go out to contacts via email. This problem is making our alert history and notifications page un-reliable when we are trying piece together who got what alert. I am running debian with default nagios packages. ii nagios-images 0.7 Collection of images and icons for the nagios system ii nagios-plugins 1.4.15-3squeeze1 Plugins for the nagios network monitoring and management system ii nagios-plugins-basic 1.4.15-3squeeze1 Plugins for the nagios network monitoring and management system ii nagios-plugins-standard 1.4.15-3squeeze1 Plugins for the nagios network monitoring and management system ii nagios3 3.2.1-2 A host/service/network monitoring and management system ii nagios3-cgi 3.2.1-2 cgi files for nagios3 ii nagios3-common 3.2.1-2 support files for nagios3 ii nagios3-core 3.2.1-2 A host/service/network monitoring and management system Still working on duplicating problem. Has anyone run into something like this? Thanks, -Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Wed May 16 10:14:48 2012 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Wed, 16 May 2012 17:14:48 +0900 Subject: Querying nagios object information through command line Message-ID: <201205160814.AA05324@S2007337.jp.fujitsu.com> Hi all! Is there a script or a module that can be called through a command line and can retrieve nagios object definition , host , service? I am thinking of calling from php program. I found that config.cgi has an ability of fetching the object definition but it seems that it returns html info. It would be helpful if someone can share their thoughts. Thanks, Yu ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 mail at catsnest.co.uk Wed May 16 11:47:13 2012 From: mail at catsnest.co.uk (RichTea) Date: Wed, 16 May 2012 10:47:13 +0100 Subject: Querying nagios object information through command line In-Reply-To: <201205160814.AA05324@S2007337.jp.fujitsu.com> References: <201205160814.AA05324@S2007337.jp.fujitsu.com> Message-ID: On Wed, May 16, 2012 at 9:14 AM, Yu Watanabe wrote: > Hi all! > > Is there a script or a module that can be called through a command line > and can retrieve nagios object definition , host , service? > > I am thinking of calling from php program. > > I found that config.cgi has an ability of fetching the object definition > but it seems that it returns html info. > > It would be helpful if someone can share their thoughts. > > I only know of "Nagios::Config" It is in CPAN. We were using some awk for parsing the config too but I can not find that right now, i do not remember it being "too" complicated though. Ritchie, -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> > > Thanks, > Yu > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 benny at bennyvision.com Wed May 16 14:00:59 2012 From: benny at bennyvision.com (C. Bensend) Date: Wed, 16 May 2012 07:00:59 -0500 Subject: Querying nagios object information through command line In-Reply-To: <201205160814.AA05324@S2007337.jp.fujitsu.com> References: <201205160814.AA05324@S2007337.jp.fujitsu.com> Message-ID: <837499ebb3c154ae30a54c24b7cf0a5c.squirrel@webmail.stinkweasel.net> > Is there a script or a module that can be called through a command line > and can retrieve nagios object definition , host , service? > > I am thinking of calling from php program. > > I found that config.cgi has an ability of fetching the object definition > but it seems that it returns html info. > > It would be helpful if someone can share their thoughts. Livestatus can do this, and it's MUCH quicker/more lightweight/better (IMHO) than NDOUtils. http://mathias-kettner.de/checkmk_livestatus.html Benny -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 May 16 14:37:14 2012 From: ae at op5.se (Andreas Ericsson) Date: Wed, 16 May 2012 14:37:14 +0200 Subject: Nagios 3.4.0 double quote in command bug (fixed) In-Reply-To: <4FB25ED7.8000101@riege.com> References: <7CA580B59C1ABD45B4614ED90D4C7B853D21BB5F@HC-EXMBX04.herefordshire.gov.uk> <4FB040F7.4090507@op5.se> <7CA580B59C1ABD45B4614ED90D4C7B853D21E0B2@HC-EXMBX04.herefordshire.gov.uk> <4FB251CA.2090105@riege.com> <7CA580B59C1ABD45B4614ED90D4C7B853D222950@HC-EXMBX04.herefordshire.gov.uk> <4FB25ED7.8000101@riege.com> Message-ID: <4FB39F7A.7040802@op5.se> On 05/15/2012 03:49 PM, Dennis Kuhlmeier wrote: > Hi Phil, > > On 15.05.12 15:24, Randal, Phil wrote: >> Hi Dennis, >> >> Can you check out Nagios 3.4.1 and see if this fixes the problem? >> > > sorry for not checking prior to posting. > > Anyway, I built the new version, btw., why can't you just build the > RPM from the tar? This is what I had to do on RHEL5: > > > # tar xzf nagios-3.4.1.tar.gz > # mv nagios nagios-3.4.1 > # cd nagios-3.4.1 > # vim nagios.spec > change "datarootdir" to "datadir" in configure statement > # cd .. > # tar czf nagios-3.4.1.tar.gz nagios-3.4.1/ > # rpmbuild -tb nagios-3.4.1.tar.gz > > Tada, build works. > > > Back to the problem. > Installed the update, doesn't help. On my sample host with 31 checks > only 18 get submitted via Perfdata. Back to nagios-3.2.3 again and > all 31 checks are processed. Please tell me if you need any more > details, performance data template configuration or something like that. > This is a slightly older bug about perfdata not being processed when there is no perfdata. I'll see if I get time to take a look at it. -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 daniel.wittenberg.r0ko at statefarm.com Wed May 16 15:37:15 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Wed, 16 May 2012 13:37:15 +0000 Subject: Querying nagios object information through command line In-Reply-To: <837499ebb3c154ae30a54c24b7cf0a5c.squirrel@webmail.stinkweasel.net> References: <201205160814.AA05324@S2007337.jp.fujitsu.com> <837499ebb3c154ae30a54c24b7cf0a5c.squirrel@webmail.stinkweasel.net> Message-ID: <4288A518A157EC4C8873FEE74F778BF018D7EC@WPSDGQHH.OPR.STATEFARM.ORG> I second livestatus, we use it all the time, plus there is a webservice as well, livestatusSlave which might work better with your php. http://nagios.larsmichelsen.com/livestatusslave/ Dan -----Original Message----- From: C. Bensend [mailto:benny at bennyvision.com] Sent: Wednesday, May 16, 2012 7:01 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Querying nagios object information through command line > Is there a script or a module that can be called through a command line > and can retrieve nagios object definition , host , service? > > I am thinking of calling from php program. > > I found that config.cgi has an ability of fetching the object definition > but it seems that it returns html info. > > It would be helpful if someone can share their thoughts. Livestatus can do this, and it's MUCH quicker/more lightweight/better (IMHO) than NDOUtils. http://mathias-kettner.de/checkmk_livestatus.html Benny -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 agriffin at nagios.com Wed May 16 16:21:42 2012 From: agriffin at nagios.com (Alex Griffin) Date: Wed, 16 May 2012 09:21:42 -0500 Subject: Performance data not being returned In-Reply-To: <4FB22224.5010506@bristol.ac.uk> References: <4FAB8F21.3090300@bristol.ac.uk> <59ec1efbca6945445a1deac04019f7f3.squirrel@webmail.stinkweasel.net> <4FAB9DC6.40109@bristol.ac.uk> <4FABCB68.8010307@nagios.com> <4FABDBBA.2090209@bristol.ac.uk> <4222f986918ed17c0f29b274e55fe53f.squirrel@webmail.stinkweasel.net> <4FABE717.5020507@bristol.ac.uk> <4FB125D5.3040807@nagios.com> <4FB22224.5010506@bristol.ac.uk> Message-ID: <4FB3B7F6.9050707@nagios.com> You keep putting commas in your example output, but as someone else already pointed out, perfdata is *space*-separated. The commas shouldn't be there. It seems this probably isn't the issue though. Why don't you post your plugin's source code so I can get a better idea of what's going on. Alex Griffin --- Tech Team agriffin at nagios.com Jonathan Gazeley wrote: > The newlines were introduced by my mail client. There are no unusual > characters in the output of the plugin. As far as I can tell, the > perfdata complies completely with the specs. > > status | key1=value1%;warn;crit, key2=value2%;warn;crit > > The perfdata string is generated in a loop by appending an item for each > DHCP pool I am monitoring. When we come to print the variable, it seems > to get ignored (hence the pipe is printed but nothing else). > > If I statically set the variable to have the same value as the perfdata > ought to, then the plugin works properly, and the full perfdata string > is returned. > > So what is it about printing this variable through NRPE that breaks it? > I am totally confused by this. Happy to send my plugin source code to > the list if it helps (it's only 60 lines of perl). > > Thanks, > Jonathan > > > On 14/05/12 16:33, Alex Griffin wrote: >> Are the newlines in your output an artifact of sending this over email >> or are there really newlines in your plugin output? If they're really >> there, you should eliminate them. >> >> Alex Griffin >> --- >> Tech Team >> agriffin at nagios.com >> >> Jonathan Gazeley wrote: >>> On 10/05/12 16:39, C. Bensend wrote: >>>> >>>>> I've narrowed it down to a stage where running the plugin directly >>>>> returns the right results, but running the plugin through check_nrpe on >>>>> localhost returns this: >>>>> >>>>> [jg4461 at dhcp1 log]$ /usr/lib64/nagios/plugins/check_nrpe -H localhost -c >>>>> check_dhcpd_pools >>>>> OK - all pools less than 80% full | >>>>> >>>>> What could cause NRPE to truncate the results in such a way? >>>> >>>> Too much data? >>>> >>>> Are you using SSL? >>>> >>>> I don't know that I've seen this behavior before - it's always >>>> been *invalid* perfdata that have caused this issue for me. >>>> >>> >>> I am using SSL in production, although not for testing. Both cases >>> return the same truncated results. >>> >>> The total status + performance data returned from this plugin is only >>> 500-and-something bytes, less than the limits for NRPE that I'd heard about. >>> >>> I'm wondering if it might be something to do with the embedded perl >>> interpreter. Does NRPE use this to execute perl-flavoured plugins? >>> >>> Thanks for your help, >>> Jonathan >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> 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 >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> 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 > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 agriffin at nagios.com Wed May 16 17:07:14 2012 From: agriffin at nagios.com (Alex Griffin) Date: Wed, 16 May 2012 10:07:14 -0500 Subject: Alerts not making it to notifications log or alert history In-Reply-To: References: Message-ID: <4FB3C2A2.3090304@nagios.com> That's very odd, and I really don't have any concrete ideas for you. I haven't heard of anyone running into this issue before. Maybe reinstalling the packages might fix something, though? You said it's an intermittent problem, so how often would you say it occurs? Have you noticed any patterns about when it happens? Alex Griffin --- Tech Team agriffin at nagios.com Mark Wicks wrote: > Hello, > > I am having a intermittent problem where notifications are not making it > into the notifications page from the web interface or the alert history > but they show up in the event log and actually do go out to contacts via > email. > > This problem is making our alert history and notifications page > un-reliable when we are trying piece together who got what alert. > > I am running debian with default nagios packages. > > ii nagios-images 0.7 > Collection of images and icons for the nagios system > ii nagios-plugins 1.4.15-3squeeze1 > Plugins for the nagios network monitoring and management system > ii nagios-plugins-basic 1.4.15-3squeeze1 > Plugins for the nagios network monitoring and management system > ii nagios-plugins-standard 1.4.15-3squeeze1 > Plugins for the nagios network monitoring and management system > ii nagios3 3.2.1-2 A > host/service/network monitoring and management system > ii nagios3-cgi 3.2.1-2 cgi > files for nagios3 > ii nagios3-common 3.2.1-2 > support files for nagios3 > ii nagios3-core 3.2.1-2 A > host/service/network monitoring and management system > > Still working on duplicating problem. > > Has anyone run into something like this? > > Thanks, > > -Mark > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 francisco.cabrita at gmail.com Wed May 16 17:20:56 2012 From: francisco.cabrita at gmail.com (Francisco Cabrita) Date: Wed, 16 May 2012 16:20:56 +0100 Subject: Alarm sounds playing without any alarm listed on status Message-ID: Hello, //Sorry for crossposting. I'm having a weird behaviour under Nagios 3.3.1 (and 3.4.1). When I specify some filters to status.cgi, I don't see any alarm on the screen (as expected) but I get the audible alarm for critical services. I'm passing these variables to it. this is the argument I use on status.cgi: status.cgi?hostgroup=all&style=detail&hostprops=270378&hoststatustypes=4&serviceprops=270378&servicestatustypes=16 (this is what I want to see) Host Status Types: Down Host Properties: Not In Scheduled Downtime & Has Not Been Acknowledged & Checks Enabled & Notifications Enabled & In Hard State Service Status Types: Critical Service Properties: Not In Scheduled Downtime & Has Not Been Acknowledged & Active Checks Enabled & Notifications Enabled & In Hard State Thanks in advance Any tip? -- Change is the essential process of all existence. -- Spock, "Let That Be Your Last Battlefield", stardate 5730.2 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Wed May 16 18:06:27 2012 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Wed, 16 May 2012 16:06:27 +0000 Subject: Perfdata problem Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853D22A1FF@HC-EXMBX04.herefordshire.gov.uk> That older perfdata problem is here: http://tracker.nagios.org/view.php?id=247 Patch (untested) to always process perfdata (removing the early exits): --- nagios/xdata/xpddefault.c 2012-02-07 10:15:02.000000000 +0000 +++ nagios/xdata/xpddefault.c 2012-05-16 16:48:44.000000000 +0100 @@ -382,6 +382,7 @@ * bail early if we've got nothing to do so we don't spend a lot * of time calculating macros that never get used */ + /* if(!svc || !svc->perf_data || !*svc->perf_data) { return OK; } @@ -389,6 +390,7 @@ return OK; } + */ /* * we know we've got some work to do, so grab the necessary * macros and get busy @@ -423,12 +425,14 @@ * bail early if we've got nothing to do so we don't spend a lot * of time calculating macros that never get used */ + /* if(!hst || !hst->perf_data || !*hst->perf_data) { return OK; } if((!xpddefault_host_perfdata_fp || !xpddefault_host_perfdata_file_template) && !xpddefault_host_perfdata_command) { return OK; } + */ /* set up macros and get to work */ memset(&mac, 0, sizeof(mac)); Icinga's solution was to add two new config variables: https://dev.icinga.org/issues/1413 Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: 16 May 2012 13:37 To: Nagios Users List Subject: Re: [Nagios-users] Nagios 3.4.0 double quote in command bug (fixed) On 05/15/2012 03:49 PM, Dennis Kuhlmeier wrote: > Hi Phil, > > On 15.05.12 15:24, Randal, Phil wrote: >> Hi Dennis, >> >> Can you check out Nagios 3.4.1 and see if this fixes the problem? >> > > sorry for not checking prior to posting. > > Anyway, I built the new version, btw., why can't you just build the > RPM from the tar? This is what I had to do on RHEL5: > > > # tar xzf nagios-3.4.1.tar.gz > # mv nagios nagios-3.4.1 > # cd nagios-3.4.1 > # vim nagios.spec > change "datarootdir" to "datadir" in configure statement # cd .. > # tar czf nagios-3.4.1.tar.gz nagios-3.4.1/ # rpmbuild -tb > nagios-3.4.1.tar.gz > > Tada, build works. > > > Back to the problem. > Installed the update, doesn't help. On my sample host with 31 checks > only 18 get submitted via Perfdata. Back to nagios-3.2.3 again and all > 31 checks are processed. Please tell me if you need any more details, > performance data template configuration or something like that. > This is a slightly older bug about perfdata not being processed when there is no perfdata. I'll see if I get time to take a look at it. -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ?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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 deviant.dolphin at gmail.com Wed May 16 19:12:26 2012 From: deviant.dolphin at gmail.com (Mark Wicks) Date: Wed, 16 May 2012 10:12:26 -0700 Subject: Alerts not making it to notifications log or alert history Message-ID: Alex, I do not have more details about the problem but its on my radar now. Next time it happens i will keep more detailed notes. thanks, Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Wed May 16 21:57:54 2012 From: frnkblk at iname.com (Frank Bulk - iName.com) Date: Wed, 16 May 2012 14:57:54 -0500 Subject: check_http fails for two Sprint sites In-Reply-To: <0C6A4A8DD60DBF4A99C300DDA771BFAB024DCAD8B761@server3.MUTUALTEL.MTCNET.NET> References: <006301ccf287$097103d0$1c530b70$@iname.com> <4F479DF1.4080406@paul.dubuc.org>, <0C6A4A8DD60DBF4A99C300DDA771BFAB024DCAD8B761@server3.MUTUALTEL.MTCNET.NET> Message-ID: <000001cd339e$2ed87740$8c8965c0$@iname.com> FYI: Sprint did something this morning such that those sites are now checking cleanly with check_http. Frank ________________________________________ From: Frank Bulk [frnkblk at iname.com] Sent: Friday, February 24, 2012 8:27 AM To: 'Paul Dubuc'; 'Nagios Users List' Subject: RE: [Nagios-users] check_http fails for two Sprint sites Yes, I did -- no go. You can test it yourself -- there's nothing special about where I'm testing it from. =) It's clear that check_http is choking on it, and I suspect it's because it redirects to a secure version of the site. Frank -----Original Message----- From: Paul Dubuc [mailto:work at paul.dubuc.org] Sent: Friday, February 24, 2012 8:26 AM To: frnkblk at iname.com; Nagios Users List Subject: Re: [Nagios-users] check_http fails for two Sprint sites Frank Bulk wrote: > Starting this morning two IPv6 sites, www.sprint.net and www.sprintv6.net > failed to pass check_http. What's strange is that the v4 version of > www.sprint.net also fails. > > I see that there are 302's (redirection) to the secure version of the site, > but using the '-f follow' command doesn't help, either. It seems that if > the site one being is redirected to is secure that the check command fails. > Did you try any of the other options for -f, like '-f sticky' or '-f stickyport'? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Thu May 17 02:13:28 2012 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Thu, 17 May 2012 09:13:28 +0900 Subject: Querying nagios object information through command line In-Reply-To: <837499ebb3c154ae30a54c24b7cf0a5c.squirrel@webmail.stinkweasel.net> References: <837499ebb3c154ae30a54c24b7cf0a5c.squirrel@webmail.stinkweasel.net> Message-ID: <201205170013.AA05325@S2007337.jp.fujitsu.com> Benny , Ritchie , Daniel Thank you for the advice. I will take a look at the mklivestatus. Thanks. Yu C. Bensend ????????: > >> Is there a script or a module that can be called through a command line >> and can retrieve nagios object definition , host , service? >> >> I am thinking of calling from php program. >> >> I found that config.cgi has an ability of fetching the object definition >> but it seems that it returns html info. >> >> It would be helpful if someone can share their thoughts. > >Livestatus can do this, and it's MUCH quicker/more lightweight/better >(IMHO) than NDOUtils. > >http://mathias-kettner.de/checkmk_livestatus.html > >Benny > > >-- >"The problem with quotes on the internet is that it's very hard to >verify their authenticity." -- Abraham Lincoln > > > >------------------------------------------------------------------------------ >Live Security Virtual Conference >Exclusive live event will cover all the ways today's security and >threat landscape has changed and how IT managers can respond. Discussions >will include endpoint security, mobile security and the latest in malware >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >_______________________________________________ >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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 shiziwen at gmail.com Thu May 17 02:49:37 2012 From: shiziwen at gmail.com (Wenhua Zhang) Date: Thu, 17 May 2012 08:49:37 +0800 Subject: Querying nagios object information through command line In-Reply-To: <201205170013.AA05325@S2007337.jp.fujitsu.com> References: <837499ebb3c154ae30a54c24b7cf0a5c.squirrel@webmail.stinkweasel.net> <201205170013.AA05325@S2007337.jp.fujitsu.com> Message-ID: Hi Yu, I think status-txt may do some help for you. status-txt is implemented to duplicate the output of status.cgi in plain text to achieve this goal, making it easier for other applications/services to use Nagios data. You can also get the source code from github "https://github.com/shiziwen/nagios-status2txt". Besides plain text, there have been some other format you can use, XML and JSON. JOSN: http://exchange.nagios.org/directory/Addons/APIs/JSON/status-2Djson/details XML: http://svn.jasonantman.com/nagios-xml/statusXML-krzywanski.php, and this(c version of nagios-xml: http://svn.jasonantman.com/nagios-xml/php_module/), which maybe more usefull for light-weight or high-performance purpose. I hope it can do some help for you. 2012/5/17 Yu Watanabe : > Benny , Ritchie , Daniel > > Thank you for the advice. > > I will take a look at the mklivestatus. > > Thanks. > Yu > > C. Bensend ????????????????: >> >>> Is there a script or a module that can be called through a command line >>> and can retrieve nagios object definition , host , service? >>> >>> I am thinking of calling from php program. >>> >>> I found that config.cgi has an ability of fetching the object definition >>> but it seems that it returns html info. >>> >>> It would be helpful if someone can share their thoughts. >> >>Livestatus can do this, and it's MUCH quicker/more lightweight/better >>(IMHO) than NDOUtils. >> >>http://mathias-kettner.de/checkmk_livestatus.html >> >>Benny >> >> >>-- >>"The problem with quotes on the internet is that it's very hard to >>verify their authenticity." -- Abraham Lincoln >> >> >> >>------------------------------------------------------------------------------ >>Live Security Virtual Conference >>Exclusive live event will cover all the ways today's security and >>threat landscape has changed and how IT managers can respond. Discussions >>will include endpoint security, mobile security and the latest in malware >>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>_______________________________________________ >>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 > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Thu May 17 11:46:28 2012 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Thu, 17 May 2012 18:46:28 +0900 Subject: Querying nagios object information through command line In-Reply-To: References: Message-ID: <201205170946.AA05339@S2007337.jp.fujitsu.com> Hi Wenhua This looks interesting as well. I will take a look at it. Thanks, Yu Wenhua Zhang ????????: >Hi Yu, >I think status-txt may do some help for you. >status-txt is implemented to duplicate the output of status.cgi in >plain text to achieve this goal, making it easier for other >applications/services to use Nagios data. You can also get the source >code from github "https://github.com/shiziwen/nagios-status2txt". > >Besides plain text, there have been some other format you can use, XML and JSON. >JOSN: http://exchange.nagios.org/directory/Addons/APIs/JSON/status-2Djson/details >XML: http://svn.jasonantman.com/nagios-xml/statusXML-krzywanski.php, >and this(c version of nagios-xml: >http://svn.jasonantman.com/nagios-xml/php_module/), which maybe more >usefull for light-weight or high-performance purpose. > >I hope it can do some help for you. > >2012/5/17 Yu Watanabe : >> Benny , Ritchie , Daniel >> >> Thank you for the advice. >> >> I will take a look at the mklivestatus. >> >> Thanks. >> Yu >> >> C. Bensend ??????????????: >>> >>>> Is there a script or a module that can be called through a command line >>>> and can retrieve nagios object definition , host , service? >>>> >>>> I am thinking of calling from php program. >>>> >>>> I found that config.cgi has an ability of fetching the object definition >>>> but it seems that it returns html info. >>>> >>>> It would be helpful if someone can share their thoughts. >>> >>>Livestatus can do this, and it's MUCH quicker/more lightweight/better >>>(IMHO) than NDOUtils. >>> >>>http://mathias-kettner.de/checkmk_livestatus.html >>> >>>Benny >>> >>> >>>-- >>>"The problem with quotes on the internet is that it's very hard to >>>verify their authenticity." -- Abraham Lincoln >>> >>> >>> >>>------------------------------------------------------------------------------ >>>Live Security Virtual Conference >>>Exclusive live event will cover all the ways today's security and >>>threat landscape has changed and how IT managers can respond. Discussions >>>will include endpoint security, mobile security and the latest in malware >>>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>_______________________________________________ >>>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 >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> 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 > >______________________________________________________________________ > >------------------------------------------------------------------------------ >Live Security Virtual Conference >Exclusive live event will cover all the ways today's security and >threat landscape has changed and how IT managers can respond. Discussions >will include endpoint security, mobile security and the latest in malware >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >______________________________________________________________________ > >_______________________________________________ >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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Thu May 17 12:03:22 2012 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Thu, 17 May 2012 19:03:22 +0900 Subject: Handling large amount of syslogs with nagios Message-ID: <201205171003.AA05340@S2007337.jp.fujitsu.com> Hi all! I would like to ask for advice for following situation. In a evironment where 1000 of network devices exists and nagios monitoring syslogs using passive checks (+syslog-ng) for every hosts, huge amount of notifications occurs when there are problem on network device side. Syslogs will be sent to nagios as a chain reaction from every devices although the source is only one device. To elude this situation, I am considering an alternate way to monitor syslog and it would be helpful one can share their thoughts whom had faced similar situation and came up with cool idea. My idea is that combination with file (or FIFO) + check_logs.pl (found this in nagios exchange) Whenever syslog-ng receives the log, then writes it to file and nagios actively checks the file with check_logs.pl . I thought that in this way it can check the logs in group and save number of notifications. Thank you for reading. Thanks, Yu ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 daniel.wittenberg.r0ko at statefarm.com Thu May 17 15:34:43 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Thu, 17 May 2012 13:34:43 +0000 Subject: Handling large amount of syslogs with nagios In-Reply-To: <201205171003.AA05340@S2007337.jp.fujitsu.com> References: <201205171003.AA05340@S2007337.jp.fujitsu.com> Message-ID: <4288A518A157EC4C8873FEE74F778BF018E652@WPSDGQHH.OPR.STATEFARM.ORG> I would think you could eliminate a good portion of those with the right set of dependencies, but outside of that I would personally look at using an MQ to store the messages instead so you can more easily distribute the work and make it more scalable. Dan -----Original Message----- From: Yu Watanabe [mailto:yu.watanabe at jp.fujitsu.com] Sent: Thursday, May 17, 2012 5:03 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Handling large amount of syslogs with nagios Hi all! I would like to ask for advice for following situation. In a evironment where 1000 of network devices exists and nagios monitoring syslogs using passive checks (+syslog-ng) for every hosts, huge amount of notifications occurs when there are problem on network device side. Syslogs will be sent to nagios as a chain reaction from every devices although the source is only one device. To elude this situation, I am considering an alternate way to monitor syslog and it would be helpful one can share their thoughts whom had faced similar situation and came up with cool idea. My idea is that combination with file (or FIFO) + check_logs.pl (found this in nagios exchange) Whenever syslog-ng receives the log, then writes it to file and nagios actively checks the file with check_logs.pl . I thought that in this way it can check the logs in group and save number of notifications. Thank you for reading. Thanks, Yu ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 maxs at webwizarddesign.com Thu May 17 16:43:40 2012 From: maxs at webwizarddesign.com (Max Schubert) Date: Thu, 17 May 2012 10:43:40 -0400 Subject: How many hosts and services are you monitoring with Nagios? Message-ID: Hi, I like it when people periodically post numbers and architecture summaries, I am guessing with the distributed frameworks out now for Nagios this thread might be seeing bigger numbers than past threads have. With our custom-built distributed Nagios-based monitoring system, we are currently monitoring 18000+ hosts every 5 minutes and 100k+ active services (plenty of passive services in addition to the actives) every 5 mins as well. We collect performance data from every check as well and pass that on to a highly distributed and scalabe time-series data warehouse another team in our organization has built (which is why we have the 5 min interval requirement) We also do trap ingest using SNMPTT with a few custom mods, but not going to include those numbers as they never have required the optimizations the polling has required. This isn't a monolithic instance, we have 6 projects using instances of our distributed Nagios-based software, called Racon (soon my manager will give our team to package it as open source - so I hear at least). We built it on core Nagios with a custom database layer based on a very very early version of Merlin's database abstraction layer (thank you Andreas!) - we have a custom client/server network-based notification framework in use (we will release that as well) along with a custom NEB/perl based client-server framework (also releasable, just need time scheduled) for sending and processing performance data - the performance and notification framework are both horizontally scalabe and network fault tolerant. What kinds of numbers of hosts and services are you all monitoring? Which add-ons / distributed frameworks are you using? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 benny at bennyvision.com Thu May 17 17:57:01 2012 From: benny at bennyvision.com (C. Bensend) Date: Thu, 17 May 2012 10:57:01 -0500 Subject: How many hosts and services are you monitoring with Nagios? In-Reply-To: References: Message-ID: <5aa32aba09f29d110550a341145787c1.squirrel@webmail.stinkweasel.net> > What kinds of numbers of hosts and services are you all monitoring? > Which add-ons / distributed frameworks are you using? At my ${CURRENT_JOB}, I'm monitoring around 600 hosts with just under 6000 services on a single VM running RHEL 5. I do process perfdata on the same node, and replicate all config data and state data to a warm standby (also a VM). Replication is done via MySQL replication (for the config data) and NSCA (for the state data). A custom perl program dumps the extended state data (disabled notifications, acknowledgements, etc) for import if needed. Yes, I know, VM bad. :) Just not bad enough to spend real dollars on more physical hosts. This year, I will be bringing up a second pair of monitoring hosts at a secondary data center, with much the same architecture. Benny -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 mguthrie at nagios.com Thu May 17 18:19:21 2012 From: mguthrie at nagios.com (Mike Guthrie) Date: Thu, 17 May 2012 11:19:21 -0500 Subject: How many hosts and services are you monitoring with Nagios? In-Reply-To: References: Message-ID: <4FB52509.6000404@nagios.com> Had to reply to this one since I actually studied Max's blog articles for ideas when I was researching performance tuning. Thanks Max for not only pioneering some of these ideas, but actually documenting what you did. ; ) http://www.semintelligent.com/blog/articles/38/nagios-performance-tuning-early-lessons-learned-lessons-shared-part-4-scalable-performance-data-graphing Nagios XI Benchmarking Test Box - Running on one of our old Desktops: 1 Dual Core CPU, 4GB of RAM, CentOS 5.7 - Ndoutils/MySQL offloaded to a second server - 1800 Hosts, 8200 services, 10k checks running every 5mn - Processing perfdata for all checks - rrdcached in use with PNP - RAM Disk being used for status.dat, objects.cache, host-perfdata, service-perfdata, all spool and tmp directories On 5/17/2012 9:43 AM, Max Schubert wrote: > Hi, > > I like it when people periodically post numbers and architecture > summaries, I am guessing with the distributed frameworks out now for > Nagios this thread might be seeing bigger numbers than past threads > have. > > With our custom-built distributed Nagios-based monitoring system, we > are currently monitoring 18000+ hosts every 5 minutes and 100k+ active > services (plenty of passive services in addition to the actives) every > 5 mins as well. We collect performance data from every check as well > and pass that on to a highly distributed and scalabe time-series data > warehouse another team in our organization has built (which is why we > have the 5 min interval requirement) > > We also do trap ingest using SNMPTT with a few custom mods, but not > going to include those numbers as they never have required the > optimizations the polling has required. > > This isn't a monolithic instance, we have 6 projects using instances > of our distributed Nagios-based software, called Racon (soon my > manager will give our team to package it as open source - so I hear at > least). We built it on core Nagios with a custom database layer based > on a very very early version of Merlin's database abstraction layer > (thank you Andreas!) - we have a custom client/server network-based > notification framework in use (we will release that as well) along > with a custom NEB/perl based client-server framework (also releasable, > just need time scheduled) for sending and processing performance data > - the performance and notification framework are both horizontally > scalabe and network fault tolerant. > > What kinds of numbers of hosts and services are you all monitoring? > Which add-ons / distributed frameworks are you using? > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 maxs at webwizarddesign.com Thu May 17 18:21:51 2012 From: maxs at webwizarddesign.com (Max Schubert) Date: Thu, 17 May 2012 12:21:51 -0400 Subject: How many hosts and services are you monitoring with Nagios? In-Reply-To: <5aa32aba09f29d110550a341145787c1.squirrel@webmail.stinkweasel.net> References: <5aa32aba09f29d110550a341145787c1.squirrel@webmail.stinkweasel.net> Message-ID: On Thu, May 17, 2012 at 11:57 AM, C. Bensend wrote: > Yes, I know, VM bad. ?:) ?Just not bad enough to spend real dollars on > more physical hosts. Nothing bad about using a VM, they just fall over horribly (generally speaking) when you try to push the virtual machine's virtual CPU cores and disk hard :p - kudos to you for making that work and pretty interesting setup! Thanks for sharing. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 maxs at webwizarddesign.com Thu May 17 18:32:16 2012 From: maxs at webwizarddesign.com (Max Schubert) Date: Thu, 17 May 2012 12:32:16 -0400 Subject: How many hosts and services are you monitoring with Nagios? In-Reply-To: <4FB52509.6000404@nagios.com> References: <4FB52509.6000404@nagios.com> Message-ID: On Thu, May 17, 2012 at 12:19 PM, Mike Guthrie wrote: > Had to reply to this one since I actually studied Max's blog articles > for ideas when I was researching performance tuning. ?Thanks Max for not > only pioneering some of these ideas, but actually documenting what you > did. ?; ) > http://www.semintelligent.com/blog/articles/38/nagios-performance-tuning-early-lessons-learned-lessons-shared-part-4-scalable-performance-data-graphing Wow! Forgot about that, glad the ideas in it helped you - Nothing pioneering (though thank you for saying that), I culled work from others and my teammate and I then took that and built on it. I am hoping we can release our network performance data sending framework first, which was initially based on the PNP modpnpsender module and has now been re-written from scratch by several of us based on Andreas's test NEB module that showed how to use the NEB module to write to a pipe with a process listening to the pipe in order to minimize time spent in Nagios and therefore latency added by the NEB-based add in. > ?Nagios XI Benchmarking Test Box > - Running on one of our old Desktops: ?1 Dual Core CPU, 4GB of RAM, > CentOS 5.7 > - Ndoutils/MySQL offloaded to a second server > - 1800 Hosts, 8200 services, 10k checks running every 5mn > - Processing perfdata for all checks > - rrdcached in use with PNP > - RAM Disk being used for status.dat, objects.cache, host-perfdata, > service-perfdata, all spool and tmp directories Nice! ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 daniel.wittenberg.r0ko at statefarm.com Thu May 17 19:08:03 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Thu, 17 May 2012 17:08:03 +0000 Subject: How many hosts and services are you monitoring with Nagios? In-Reply-To: References: <4FB52509.6000404@nagios.com> Message-ID: <4288A518A157EC4C8873FEE74F778BF018EE0A@WPSDGQHH.OPR.STATEFARM.ORG> I actually wrote a NEB like this as well that we used to send data to a CGI and also used it for Splunk, just sending perf data, worked pretty well with almost no impact on the server side, just some increased network bandwidth. Dan -----Original Message----- From: Max Schubert [mailto:maxs at webwizarddesign.com] Sent: Thursday, May 17, 2012 11:32 AM To: mguthrie at nagios.com; Nagios Users List Subject: Re: [Nagios-users] How many hosts and services are you monitoring with Nagios? I am hoping we can release our network performance data sending framework first, which was initially based on the PNP modpnpsender module and has now been re-written from scratch by several of us based on Andreas's test NEB module that showed how to use the NEB module to write to a pipe with a process listening to the pipe in order to minimize time spent in Nagios and therefore latency added by the NEB-based add in. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 a.smith at ukgrid.net Thu May 17 18:57:18 2012 From: a.smith at ukgrid.net (a.smith at ukgrid.net) Date: Thu, 17 May 2012 17:57:18 +0100 Subject: Nagios Graphing of Unix Load Average Message-ID: <20120517175718.183492hwo43sqt4e@webmail2.ukgrid.net> Hi, not sure if Nagios addons are normally disussed here, but I have a questions relating to nagiosgraph. Basically everything works great, except something odd on graphs for Unix/Linux systems for Load Average. The graphs themselves look fine, but the Avg and Cur values shown below the graphs are things like 91.34m. Unix load average is normally a fraction, like 0.10 etc. Anyone any idea whats going on? TBH my main issue is when graphing the RRD in Cacti its also showing up with huge number in the millions but the source of the issue seems to be something to do with nagiosgraph. Any ideas gratefully recieved, thanks, Andy. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 benny at bennyvision.com Thu May 17 20:24:03 2012 From: benny at bennyvision.com (C. Bensend) Date: Thu, 17 May 2012 13:24:03 -0500 Subject: How many hosts and services are you monitoring with Nagios? In-Reply-To: References: <5aa32aba09f29d110550a341145787c1.squirrel@webmail.stinkweasel.net> Message-ID: <7ab020491dcacfe611b36fe683b3b49e.squirrel@webmail.stinkweasel.net> > Nothing bad about using a VM, they just fall over horribly (generally > speaking) when you try to push the virtual machine's virtual CPU cores > and disk hard :p - kudos to you for making that work and pretty > interesting setup! > > Thanks for sharing. Happily, I haven't had the [dis]pleasure of hitting that particular scenario. A more intelligent design would be to have physical server pairs, as I really don't like the reliance on our VM infrastructure. However, the ESX team has their own monitoring, and with the stability they've shown (knock on wood, heh) it wasn't deemed worth it to increase our physical host count for this purpose. Soooooo close to getting rid of all of our physical boxes... -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ck at claudiokuenzler.com Thu May 17 21:13:45 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Thu, 17 May 2012 21:13:45 +0200 Subject: Nagios Graphing of Unix Load Average In-Reply-To: <20120517175718.183492hwo43sqt4e@webmail2.ukgrid.net> References: <20120517175718.183492hwo43sqt4e@webmail2.ukgrid.net> Message-ID: On Thu, May 17, 2012 at 6:57 PM, wrote: > Hi, > > not sure if Nagios addons are normally disussed here, but I have a > questions relating to nagiosgraph. > > Basically everything works great, except something odd on graphs for > Unix/Linux systems for Load Average. The graphs themselves look fine, > but the Avg and Cur values shown below the graphs are things like > 91.34m. Unix load average is normally a fraction, like 0.10 etc. > Anyone any idea whats going on? > Nagiosgraph uses the 'm' when in the whole graph the load never reaches 1.0 . So you can take 91.34m as 0.09 load. As soon as the load has at least once reached 1.0, the smaller loads will be shown as 0.9, 0.8, etc. > TBH my main issue is when graphing the RRD in Cacti its also showing > up with huge number in the millions but the source of the issue seems > to be something to do with nagiosgraph. > > Any ideas gratefully recieved, > > thanks, Andy. > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 May 18 03:09:30 2012 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Fri, 18 May 2012 10:09:30 +0900 Subject: How many hosts and services are you monitoring with Nagios? In-Reply-To: References: Message-ID: <201205180109.AA05342@S2007337.jp.fujitsu.com> Max. Thank you very much for sharing the information . Very useful for us. In addition , would it be possible to share the specification of each servers , central server and distributed ones? i.e CPU , Memory ,size of HDD Thanks, Yu >Hi, > >I like it when people periodically post numbers and architecture >summaries, I am guessing with the distributed frameworks out now for >Nagios this thread might be seeing bigger numbers than past threads >have. > >With our custom-built distributed Nagios-based monitoring system, we >are currently monitoring 18000+ hosts every 5 minutes and 100k+ active >services (plenty of passive services in addition to the actives) every >5 mins as well. We collect performance data from every check as well >and pass that on to a highly distributed and scalabe time-series data >warehouse another team in our organization has built (which is why we >have the 5 min interval requirement) > >We also do trap ingest using SNMPTT with a few custom mods, but not >going to include those numbers as they never have required the >optimizations the polling has required. > >This isn't a monolithic instance, we have 6 projects using instances >of our distributed Nagios-based software, called Racon (soon my >manager will give our team to package it as open source - so I hear at >least). We built it on core Nagios with a custom database layer based >on a very very early version of Merlin's database abstraction layer >(thank you Andreas!) - we have a custom client/server network-based >notification framework in use (we will release that as well) along >with a custom NEB/perl based client-server framework (also releasable, >just need time scheduled) for sending and processing performance data >- the performance and notification framework are both horizontally >scalabe and network fault tolerant. > >What kinds of numbers of hosts and services are you all monitoring? >Which add-ons / distributed frameworks are you using? > >------------------------------------------------------------------------------ >Live Security Virtual Conference >Exclusive live event will cover all the ways today's security and >threat landscape has changed and how IT managers can respond. Discussions >will include endpoint security, mobile security and the latest in malware >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >_______________________________________________ >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 > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 sugianto at lgatelecom.net Fri May 18 03:43:48 2012 From: sugianto at lgatelecom.net (Sugianto So) Date: Fri, 18 May 2012 09:43:48 +0800 (SGT) Subject: is Multiple instances of broker_module possible? In-Reply-To: <863797374.38670.1337305425244.JavaMail.root@zmbox02> References: <863797374.38670.1337305425244.JavaMail.root@zmbox02> Message-ID: <457748077.38673.1337305428617.JavaMail.root@zmbox02> Hi All, Since I'm having a constant database crash with my centreon+nagios installation, I'm thinking to run 2 brokers, each feeding data to different servers. is running multiple instances of broker_module possible? -- Best Regards, Sugianto So LGA Telecom Pte Ltd Email: sugianto at lgatelecom.net Tel: (65) 6892 2308 Website: http://www.lgatelecom.net ------------------------------------------------------------------------------------------------------------------ Powering Next Generation Nationwide Broadband Network Solutions for Infinite Possibilities ------------------------------------------------------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 shiziwen at gmail.com Fri May 18 04:59:00 2012 From: shiziwen at gmail.com (Wenhua Zhang) Date: Fri, 18 May 2012 10:59:00 +0800 Subject: Querying nagios object information through command line In-Reply-To: <201205170946.AA05339@S2007337.jp.fujitsu.com> References: <201205170946.AA05339@S2007337.jp.fujitsu.com> Message-ID: Hi Yu, If you have any problem or idea about status-txt(or status-json and statusXML), please fill free to let me know. 2012/5/17 Yu Watanabe : > Hi Wenhua > > This looks interesting as well. > I will take a look at it. > > Thanks, > Yu > > Wenhua Zhang ????????????????: >>Hi Yu, >>I think status-txt may do some help for you. >>status-txt is implemented to duplicate the output of status.cgi in >>plain text to achieve this goal, making it easier for other >>applications/services to use Nagios data. You can also get the source >>code from github "https://github.com/shiziwen/nagios-status2txt". >> >>Besides plain text, there have been some other format you can use, XML and JSON. >>JOSN: http://exchange.nagios.org/directory/Addons/APIs/JSON/status-2Djson/details >>XML: http://svn.jasonantman.com/nagios-xml/statusXML-krzywanski.php, >>and this(c version of nagios-xml: >>http://svn.jasonantman.com/nagios-xml/php_module/), which maybe more >>usefull for light-weight or high-performance purpose. >> >>I hope it can do some help for you. >> >>2012/5/17 Yu Watanabe : >>> Benny , Ritchie , Daniel >>> >>> Thank you for the advice. >>> >>> I will take a look at the mklivestatus. >>> >>> Thanks. >>> Yu >>> >>> C. Bensend ???????????????????a????????: >>>> >>>>> Is there a script or a module that can be called through a command line >>>>> and can retrieve nagios object definition , host , service? >>>>> >>>>> I am thinking of calling from php program. >>>>> >>>>> I found that config.cgi has an ability of fetching the object definition >>>>> but it seems that it returns html info. >>>>> >>>>> It would be helpful if someone can share their thoughts. >>>> >>>>Livestatus can do this, and it's MUCH quicker/more lightweight/better >>>>(IMHO) than NDOUtils. >>>> >>>>http://mathias-kettner.de/checkmk_livestatus.html >>>> >>>>Benny >>>> >>>> >>>>-- >>>>"The problem with quotes on the internet is that it's very hard to >>>>verify their authenticity." -- Abraham Lincoln >>>> >>>> >>>> >>>>------------------------------------------------------------------------------ >>>>Live Security Virtual Conference >>>>Exclusive live event will cover all the ways today's security and >>>>threat landscape has changed and how IT managers can respond. Discussions >>>>will include endpoint security, mobile security and the latest in malware >>>>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>_______________________________________________ >>>>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 >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> 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 >> >>______________________________________________________________________ >> >>------------------------------------------------------------------------------ >>Live Security Virtual Conference >>Exclusive live event will cover all the ways today's security and >>threat landscape has changed and how IT managers can respond. Discussions >>will include endpoint security, mobile security and the latest in malware >>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>______________________________________________________________________ >> >>_______________________________________________ >>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 > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 sugianto at lgatelecom.net Fri May 18 05:11:08 2012 From: sugianto at lgatelecom.net (Sugianto So) Date: Fri, 18 May 2012 11:11:08 +0800 (SGT) Subject: does monitoring stop while nagios is flushing queued items? Message-ID: <465050133.39229.1337310668376.JavaMail.root@zmbox02> Hi all, My installation is centreon + nagios. Sometimes I need to do maintenance on mysql so I stop ndo2db and let nagios cache the result first. And when I start ndo2db, nagios will start flushing the items. I notice from the service perf data file, the data stops coming (or nagios not polling new data) while nagios is flushing queued item. I just want to confirm whether it is the behavior of nagios? If yes, any workaround for this? -- Best Regards, Sugianto So -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 s.felici at mclink.eu Fri May 18 09:33:28 2012 From: s.felici at mclink.eu (Simone Felici) Date: Fri, 18 May 2012 09:33:28 +0200 Subject: How many hosts and services are you monitoring with Nagios? In-Reply-To: References: Message-ID: <4FB5FB48.5010804@mclink.eu> Impressive :) We're monitoring ~2000 hosts and ~10000 services, every 5 minutes. Architecture used: OPSView Community edition, the last free version before it started to make the distributed version commercial :/ Two central servers (active/standby - drbd) as single point for management and collecting all passive checks executed by the slave servers. Performance data saved into rrd files as well on an external BIG database server. Configuration resides on a cluster MySQL installation (drbd). 4 slave "datacenter installations" with 2 servers per "datacenter" in active/active load balancing. Traps handling supported on all servers with rules logic. Pros: - Open Source: at least until version 3 - for our setup. Simple single instance with fewer functions available as well on version 4. - Easy to manage: the prupose was to create monitoring system and then let the management to other people with less technical skills - distributed setup - RBAC Disadvantages: - no longer Open Source: see above - Central server suffering on cpu by GUI implementation and other bg jobs - Not all nagios parameters editable as we like: i.e. cannot customize same checks with different intervals without having to re-create new ones. Think on HTTP service on servers with different loads and the need to extend the retries on high load servers. no way expect creating "HTTP" and "HTTP High Load" services. Maybe there are more pros (and disadvantages), but it's not the right place. BTW I'll look forward to wait for this solution; seems interesting! Simon Il 17/05/2012 16:43, Max Schubert ha scritto: > Hi, > > I like it when people periodically post numbers and architecture > summaries, I am guessing with the distributed frameworks out now for > Nagios this thread might be seeing bigger numbers than past threads > have. > > With our custom-built distributed Nagios-based monitoring system, we > are currently monitoring 18000+ hosts every 5 minutes and 100k+ active > services (plenty of passive services in addition to the actives) every > 5 mins as well. We collect performance data from every check as well > and pass that on to a highly distributed and scalabe time-series data > warehouse another team in our organization has built (which is why we > have the 5 min interval requirement) > > We also do trap ingest using SNMPTT with a few custom mods, but not > going to include those numbers as they never have required the > optimizations the polling has required. > > This isn't a monolithic instance, we have 6 projects using instances > of our distributed Nagios-based software, called Racon (soon my > manager will give our team to package it as open source - so I hear at > least). We built it on core Nagios with a custom database layer based > on a very very early version of Merlin's database abstraction layer > (thank you Andreas!) - we have a custom client/server network-based > notification framework in use (we will release that as well) along > with a custom NEB/perl based client-server framework (also releasable, > just need time scheduled) for sending and processing performance data > - the performance and notification framework are both horizontally > scalabe and network fault tolerant. > > What kinds of numbers of hosts and services are you all monitoring? > Which add-ons / distributed frameworks are you using? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 mail at catsnest.co.uk Fri May 18 11:56:08 2012 From: mail at catsnest.co.uk (RichTea) Date: Fri, 18 May 2012 10:56:08 +0100 Subject: How many hosts and services are you monitoring with Nagios? In-Reply-To: <4FB5FB48.5010804@mclink.eu> References: <4FB5FB48.5010804@mclink.eu> Message-ID: Hi All, We have 5393 hosts and 69452 services across 14 servers. The monitoring is spread unevenly across the servers as most of them are in specific customer environments. We use Puppet (formally rsync) to distribute a standard set of "global" config (host / service templates etc) across all servers and each server has its own local config (hosts / services). We use SNMPTT passive checks for the networking kit, NRPE for most Nix hosts (some use SNMP checks) and NSClient++ with Microsoft servers. All based on standard Nagios core and tied together with an horrid POC intergeneration software / MQ. I did do some testing with Merlin but it was far from stable at that point and we have been waiting for Nagios 3.4.x to be released. So possible some time soon we will add Merlin. -- Ritchie <--Time flies like an arrow; fruit flies like a banana. --> On Fri, May 18, 2012 at 8:33 AM, Simone Felici wrote: > > Impressive :) > We're monitoring ~2000 hosts and ~10000 services, every 5 minutes. > Architecture used: OPSView Community edition, the last free version before > it started to make the > distributed version commercial :/ > Two central servers (active/standby - drbd) as single point for management > and collecting all > passive checks executed by the slave servers. Performance data saved into > rrd files as well on an > external BIG database server. Configuration resides on a cluster MySQL > installation (drbd). > 4 slave "datacenter installations" with 2 servers per "datacenter" in > active/active load balancing. > Traps handling supported on all servers with rules logic. > Pros: > - Open Source: at least until version 3 - for our setup. Simple single > instance with fewer functions > available as well on version 4. > - Easy to manage: the prupose was to create monitoring system and then let > the management to other > people with less technical skills > - distributed setup > - RBAC > Disadvantages: > - no longer Open Source: see above > - Central server suffering on cpu by GUI implementation and other bg jobs > - Not all nagios parameters editable as we like: i.e. cannot customize > same checks with different > intervals without having to re-create new ones. Think on HTTP service on > servers with different > loads and the need to extend the retries on high load servers. no way > expect creating "HTTP" and > "HTTP High Load" services. > Maybe there are more pros (and disadvantages), but it's not the right > place. > BTW I'll look forward to wait for this solution; seems interesting! > > Simon > > Il 17/05/2012 16:43, Max Schubert ha scritto: > > Hi, > > > > I like it when people periodically post numbers and architecture > > summaries, I am guessing with the distributed frameworks out now for > > Nagios this thread might be seeing bigger numbers than past threads > > have. > > > > With our custom-built distributed Nagios-based monitoring system, we > > are currently monitoring 18000+ hosts every 5 minutes and 100k+ active > > services (plenty of passive services in addition to the actives) every > > 5 mins as well. We collect performance data from every check as well > > and pass that on to a highly distributed and scalabe time-series data > > warehouse another team in our organization has built (which is why we > > have the 5 min interval requirement) > > > > We also do trap ingest using SNMPTT with a few custom mods, but not > > going to include those numbers as they never have required the > > optimizations the polling has required. > > > > This isn't a monolithic instance, we have 6 projects using instances > > of our distributed Nagios-based software, called Racon (soon my > > manager will give our team to package it as open source - so I hear at > > least). We built it on core Nagios with a custom database layer based > > on a very very early version of Merlin's database abstraction layer > > (thank you Andreas!) - we have a custom client/server network-based > > notification framework in use (we will release that as well) along > > with a custom NEB/perl based client-server framework (also releasable, > > just need time scheduled) for sending and processing performance data > > - the performance and notification framework are both horizontally > > scalabe and network fault tolerant. > > > > What kinds of numbers of hosts and services are you all monitoring? > > Which add-ons / distributed frameworks are you using? > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 benny at bennyvision.com Fri May 18 12:23:34 2012 From: benny at bennyvision.com (C. Bensend) Date: Fri, 18 May 2012 05:23:34 -0500 Subject: does monitoring stop while nagios is flushing queued items? In-Reply-To: <465050133.39229.1337310668376.JavaMail.root@zmbox02> References: <465050133.39229.1337310668376.JavaMail.root@zmbox02> Message-ID: <8343d0dbb3992bffb5c699e3dcbd4ffe.squirrel@webmail.stinkweasel.net> > My installation is centreon + nagios. > Sometimes I need to do maintenance on mysql so I stop ndo2db and let > nagios cache the result first. > And when I start ndo2db, nagios will start flushing the items. > I notice from the service perf data file, the data stops coming (or nagios > not polling new data) while nagios is flushing queued item. > > I just want to confirm whether it is the behavior of nagios? If yes, any > workaround for this? This is one of the big reasons I stopped using NDOUtils - the broker would regularly block the Nagios process. So yes, you're correct - your NDOUtils broker is blocking, and nothing is happening during these periods of maintenance. That, and the check latency. With NDOUtils, I couldn't let my Nagios daemons run a full week without restarting them or the check latencies would shoot through the roof (that's a full restart, not a reload). -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 James.Whittington at vc3.com Fri May 18 20:36:45 2012 From: James.Whittington at vc3.com (James Whittington) Date: Fri, 18 May 2012 18:36:45 +0000 Subject: How many hosts and services are you monitoring with Nagios? In-Reply-To: <4FB5FB48.5010804@mclink.eu> References: <4FB5FB48.5010804@mclink.eu> Message-ID: <84B00D15D2A9B941BBF28EECBDB543AF2A626A15@VC3-EXCH-02.vc3.com> We're monitoring around 1000 hosts and 4700 services. We are using the last version of Opsview Community like Simon although his setup sounds a bit more fault tolerant. We have 1 master server with about 30 slave servers monitoring various remote sites. Easy of distributed setup was what won us over to Opsview several years ago but as they moved the distributed version to the enterprise commercial edition I am starting to pay attention again to the different variants of Nagios out there. Also centralized web based configuration front end was another huge plus as engineers don't have to understand Nagios to setup hosts. The racoon setup sounds like some good stuff. James -----Original Message----- From: Simone Felici [mailto:s.felici at mclink.eu] Sent: Friday, May 18, 2012 3:33 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] How many hosts and services are you monitoring with Nagios? Impressive :) We're monitoring ~2000 hosts and ~10000 services, every 5 minutes. Architecture used: OPSView Community edition, the last free version before it started to make the distributed version commercial :/ Two central servers (active/standby - drbd) as single point for management and collecting all passive checks executed by the slave servers. Performance data saved into rrd files as well on an external BIG database server. Configuration resides on a cluster MySQL installation (drbd). 4 slave "datacenter installations" with 2 servers per "datacenter" in active/active load balancing. Traps handling supported on all servers with rules logic. Pros: - Open Source: at least until version 3 - for our setup. Simple single instance with fewer functions available as well on version 4. - Easy to manage: the prupose was to create monitoring system and then let the management to other people with less technical skills - distributed setup - RBAC Disadvantages: - no longer Open Source: see above - Central server suffering on cpu by GUI implementation and other bg jobs - Not all nagios parameters editable as we like: i.e. cannot customize same checks with different intervals without having to re-create new ones. Think on HTTP service on servers with different loads and the need to extend the retries on high load servers. no way expect creating "HTTP" and "HTTP High Load" services. Maybe there are more pros (and disadvantages), but it's not the right place. BTW I'll look forward to wait for this solution; seems interesting! Simon Il 17/05/2012 16:43, Max Schubert ha scritto: > Hi, > > I like it when people periodically post numbers and architecture > summaries, I am guessing with the distributed frameworks out now for > Nagios this thread might be seeing bigger numbers than past threads > have. > > With our custom-built distributed Nagios-based monitoring system, we > are currently monitoring 18000+ hosts every 5 minutes and 100k+ active > services (plenty of passive services in addition to the actives) every > 5 mins as well. We collect performance data from every check as well > and pass that on to a highly distributed and scalabe time-series data > warehouse another team in our organization has built (which is why we > have the 5 min interval requirement) > > We also do trap ingest using SNMPTT with a few custom mods, but not > going to include those numbers as they never have required the > optimizations the polling has required. > > This isn't a monolithic instance, we have 6 projects using instances > of our distributed Nagios-based software, called Racon (soon my > manager will give our team to package it as open source - so I hear at > least). We built it on core Nagios with a custom database layer based > on a very very early version of Merlin's database abstraction layer > (thank you Andreas!) - we have a custom client/server network-based > notification framework in use (we will release that as well) along > with a custom NEB/perl based client-server framework (also releasable, > just need time scheduled) for sending and processing performance data > - the performance and notification framework are both horizontally > scalabe and network fault tolerant. > > What kinds of numbers of hosts and services are you all monitoring? > Which add-ons / distributed frameworks are you using? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 cwfox at us.fujitsu.com Mon May 21 22:04:24 2012 From: cwfox at us.fujitsu.com (Camron W. Fox) Date: Mon, 21 May 2012 10:04:24 -1000 Subject: check_procs and negating regex in --ereg-argument-array Message-ID: <4FBA9FC8.2070905@us.fujitsu.com> All, Is it possible to negate the regular expression used in --ereg-argument-array with check_procs? We want to ignore one of the processes running on a machine but when we try to use negative lookahead the regex is not processed correctly because it reads ! as a bash internal command: ./check_procs -w 25 -c 35 -m CPU -v --ereg-argument-array=^((?!john).)*$ ./check_procs -w 25 -c 35 -m CPU -v --ereg-argument-array=^((?john --show passwd.ldap).)*$ bash: syntax error near unexpected token `(' And the Nagios web output shows: NRPE: Unable to read output Does anyone have any suggestions? Best Regards, Camron -- Camron W. Fox Hilo Office High Performance Computing Group Fujitsu Management Services of America, Inc. E-mail: cwfox at us.fujitsu.com ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 agriffin at nagios.com Mon May 21 23:29:51 2012 From: agriffin at nagios.com (Alex Griffin) Date: Mon, 21 May 2012 16:29:51 -0500 Subject: check_procs and negating regex in --ereg-argument-array In-Reply-To: <4FBA9FC8.2070905@us.fujitsu.com> References: <4FBA9FC8.2070905@us.fujitsu.com> Message-ID: <4FBAB3CF.7060204@nagios.com> To get around the issue of bash interpreting your regex characters as something else, simply wrap the regex in single quotes: ./check_procs -w 25 -c 35 -m CPU -v --ereg-argument-array='^((?!john).)*$' Alex Griffin --- Tech Team agriffin at nagios.com On 05/21/2012 03:04 PM, Camron W. Fox wrote: > All, > > Is it possible to negate the regular expression used in > --ereg-argument-array with check_procs? > > We want to ignore one of the processes running on a machine but when we > try to use negative lookahead the regex is not processed correctly > because it reads ! as a bash internal command: > > ./check_procs -w 25 -c 35 -m CPU -v --ereg-argument-array=^((?!john).)*$ > ./check_procs -w 25 -c 35 -m CPU -v --ereg-argument-array=^((?john > --show passwd.ldap).)*$ > bash: syntax error near unexpected token `(' > > And the Nagios web output shows: NRPE: Unable to read output > > Does anyone have any suggestions? > > Best Regards, > Camron > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 cwfox at us.fujitsu.com Tue May 22 00:08:14 2012 From: cwfox at us.fujitsu.com (Camron W. Fox) Date: Mon, 21 May 2012 12:08:14 -1000 Subject: check_procs and negating regex in --ereg-argument-array In-Reply-To: <4FBAB3CF.7060204@nagios.com> References: <4FBA9FC8.2070905@us.fujitsu.com> <4FBAB3CF.7060204@nagios.com> Message-ID: <4FBABCCE.9010709@us.fujitsu.com> On 12/05/21 11:29 AM, Alex Griffin wrote: > To get around the issue of bash interpreting your regex characters as > something else, simply wrap the regex in single quotes: > > ./check_procs -w 25 -c 35 -m CPU -v --ereg-argument-array='^((?!john).)*$' > > Alex Griffin Alex, I already tried that and this was the error: /usr/lib64/nagios/plugins/check_procs -w 25 -c 35 -m CPU -v --ereg-argument-array='^((?!john).)*$' PROCS UNKNOWN: Could not compile regular expression - Invalid preceding regular expression with the message on the web output being: PROCS UNKNOWN: Could not compile regular expression - Invalid preceding regular expression Best Regards, Camron -- Camron W. Fox Hilo Office High Performance Computing Group Fujitsu Management Services of America, Inc. E-mail: cwfox at us.fujitsu.com ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ajay.jethani at redlinetrading.com Tue May 22 00:41:38 2012 From: ajay.jethani at redlinetrading.com (Ajay Jethani) Date: Mon, 21 May 2012 18:41:38 -0400 Subject: Nagios - can it send email when leaving a service comment? Message-ID: I'd like nagios to send an email after I leave a service comment through the web dashboard. The purpose of this would be that it would send a mail to the contact list that someone is working on the issue at hand and to track this information over time (how long it takes to resolve and issue and what the solution was and so forth). Is support for Nagios being able to send a mail when leaving a service comment built in? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 s.felici at mclink.eu Tue May 22 09:46:31 2012 From: s.felici at mclink.eu (Simone Felici) Date: Tue, 22 May 2012 09:46:31 +0200 Subject: High Service Check Latency Message-ID: <4FBB4457.9090905@mclink.eu> Hello! Yes, it's a common problem, but cannot figure out how to debug it. I've a distributed setup with a master server collecting >9.000 passive services sent from other servers, all with active latencies near 0. The master server checks *only* itself as active services, ~40 services, most of them every 5 minutes. AFAIK passive services should not affect "active service check latency" statistics. Looking into retention.dat file, the high latencies are all related to the local executed active services. Actual stats: Nagios Stats 3.2.3 Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org) Last Modified: 10-03-2010 License: GPL CURRENT STATUS DATA ------------------------------------------------------ Status File: /usr/local/nagios/var/status.dat Status File Age: 0d 0h 0m 7s Status File Version: 3.2.3 Program Running Time: 0d 20h 40m 53s Nagios PID: 9360 Used/High/Total Command Buffers: 0 / 7 / 10000 Total Services: 9098 Services Checked: 9098 Services Scheduled: 33 Services Actively Checked: 39 Services Passively Checked: 9059 Total Service State Change: 0.000 / 100.000 / 1.351 % Active Service Latency: 4.156 / 7943.743 / 6163.392 sec <<<<<<<< Active Service Execution Time: 0.010 / 2.485 / 0.319 sec Active Service State Change: 0.000 / 22.890 / 2.443 % Active Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Passive Service Latency: 0.088 / 7.914 / 1.997 sec Passive Service State Change: 0.000 / 100.000 / 1.346 % Passive Services Last 1/5/15/60 min: 1851 / 7501 / 8084 / 8392 Services Ok/Warn/Unk/Crit: 8784 / 78 / 76 / 160 Services Flapping: 4 Services In Downtime: 112 Total Hosts: 1912 Hosts Checked: 1912 Hosts Scheduled: 0 Hosts Actively Checked: 74 Host Passively Checked: 1838 Total Host State Change: 0.000 / 46.910 / 0.135 % Active Host Latency: 0.000 / 1425.848 / 1104.205 sec Active Host Execution Time: 0.012 / 0.402 / 0.096 sec Active Host State Change: 0.000 / 0.000 / 0.000 % Active Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Passive Host Latency: 0.000 / 639.353 / 1.197 sec Passive Host State Change: 0.000 / 46.910 / 0.140 % Passive Hosts Last 1/5/15/60 min: 1 / 12 / 27 / 70 Hosts Up/Down/Unreach: 1850 / 57 / 5 Hosts Flapping: 0 Hosts In Downtime: 35 Active Host Checks Last 1/5/15 min: 42 / 194 / 565 Scheduled: 0 / 0 / 0 On-demand: 42 / 194 / 565 Parallel: 0 / 0 / 0 Serial: 0 / 0 / 0 Cached: 42 / 194 / 565 Passive Host Checks Last 1/5/15 min: 1 / 14 / 45 Active Service Checks Last 1/5/15 min: 0 / 0 / 0 Scheduled: 0 / 0 / 0 On-demand: 0 / 0 / 0 Cached: 0 / 0 / 0 Passive Service Checks Last 1/5/15 min: 2311 / 9235 / 12988 External Commands Last 1/5/15 min: 0 / 1 / 1 I've some broker modules to handle sql logging and distributed setup. Other parameters that could be interesting: command_check_interval=-1 service_inter_check_delay_method=s max_concurrent_checks=80 check_result_reaper_frequency=2 max_check_result_reaper_time=30 obsess_over_services=0 obsess_over_hosts=0 Looking on suggesions by the proc: Nagios Core 3.2.3 Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 10-03-2010 License: GPL Website: http://www.nagios.org Timing information on object configuration processing is listed below. You can use this information to see if precaching your object configuration would be useful. Object Config Source: Config files (uncached) OBJECT CONFIG PROCESSING TIMES (* = Potential for precache savings with -u option) ---------------------------------- Read: 0.703470 sec Resolve: 0.018964 sec * Recomb Contactgroups: 0.454370 sec * Recomb Hostgroups: 0.010414 sec * Dup Services: 0.025101 sec * Recomb Servicegroups: 0.000211 sec * Duplicate: 0.003912 sec * Inherit: 0.008386 sec * Recomb Contacts: 0.000000 sec * Sort: 0.000003 sec * Register: 0.050582 sec Free: 0.006160 sec ============ TOTAL: 1.281574 sec * = 0.521362 sec (40.68%) estimated savings RETENTION DATA TIMES ---------------------------------- Read and Process: 0.514352 sec ============ TOTAL: 0.514352 sec Timing information on configuration verification is listed below. CONFIG VERIFICATION TIMES (* = Potential for speedup with -x option) ---------------------------------- Object Relationships: 0.185991 sec Circular Paths: 0.020317 sec * Misc: 0.009450 sec ============ TOTAL: 0.215758 sec * = 0.020317 sec (9.4%) estimated savings EVENT SCHEDULING TIMES ------------------------------------- Get service info: 0.014388 sec Get host info info: 0.002899 sec Get service params: 0.000010 sec Schedule service times: 0.000679 sec Schedule service events: 0.000231 sec Get host params: 0.000000 sec Schedule host times: 0.000102 sec Schedule host events: 0.000051 sec ============ TOTAL: 0.018360 sec Projected scheduling information for host and service checks is listed below. This information assumes that you are going to start running Nagios with your current config files. HOST SCHEDULING INFORMATION --------------------------- Total hosts: 1912 Total scheduled hosts: 0 Host inter-check delay method: SMART Average host check interval: 0.00 sec Host inter-check delay: 0.00 sec Max host check spread: 15 min First scheduled check: N/A Last scheduled check: N/A SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 9098 Total scheduled services: 33 Service inter-check delay method: SMART Average service check interval: 1770.91 sec Inter-check delay: 9.09 sec Interleave factor method: SMART Average services per host: 4.76 Service interleave factor: 1 Max service check spread: 5 min First scheduled check: Tue May 22 09:41:22 2012 Last scheduled check: Tue May 22 09:46:12 2012 CHECK PROCESSING INFORMATION ---------------------------- Check result reaper interval: 2 sec Max concurrent service checks: 80 PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. If I force a schedule of an active check, I can see how the force is immediatly logged into nagios.log, but executed with the high delay. Is there a way I can debug or what parameter should I tune? Increasing logging could help? I've still looked on the nagios tuning page, but doesn't help me much. Some suggestions based on the information provided? Thank's a lot! Simon ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Tue May 22 10:05:40 2012 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Tue, 22 May 2012 17:05:40 +0900 Subject: High Service Check Latency In-Reply-To: <4FBB4457.9090905@mclink.eu> References: <4FBB4457.9090905@mclink.eu> Message-ID: <201205220805.AA05355@S2007337.jp.fujitsu.com> Hello. My case was Nagios latency was caused by java. Little tuning with java helped me out. # java and nagios had absolutely no relations. Thanks, Yu >Hello! > >Yes, it's a common problem, but cannot figure out how to debug it. >I've a distributed setup with a master server collecting >9.000 passive services sent from other >servers, all with active latencies near 0. The master server checks *only* itself as active >services, ~40 services, most of them every 5 minutes. AFAIK passive services should not affect >"active service check latency" statistics. Looking into retention.dat file, the high latencies are >all related to the local executed active services. Actual stats: > >Nagios Stats 3.2.3 >Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org) >Last Modified: 10-03-2010 >License: GPL > >CURRENT STATUS DATA >------------------------------------------------------ >Status File: /usr/local/nagios/var/status.dat >Status File Age: 0d 0h 0m 7s >Status File Version: 3.2.3 > >Program Running Time: 0d 20h 40m 53s >Nagios PID: 9360 >Used/High/Total Command Buffers: 0 / 7 / 10000 > >Total Services: 9098 >Services Checked: 9098 >Services Scheduled: 33 >Services Actively Checked: 39 >Services Passively Checked: 9059 >Total Service State Change: 0.000 / 100.000 / 1.351 % >Active Service Latency: 4.156 / 7943.743 / 6163.392 sec <<<<<<<< >Active Service Execution Time: 0.010 / 2.485 / 0.319 sec >Active Service State Change: 0.000 / 22.890 / 2.443 % >Active Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 >Passive Service Latency: 0.088 / 7.914 / 1.997 sec >Passive Service State Change: 0.000 / 100.000 / 1.346 % >Passive Services Last 1/5/15/60 min: 1851 / 7501 / 8084 / 8392 >Services Ok/Warn/Unk/Crit: 8784 / 78 / 76 / 160 >Services Flapping: 4 >Services In Downtime: 112 > >Total Hosts: 1912 >Hosts Checked: 1912 >Hosts Scheduled: 0 >Hosts Actively Checked: 74 >Host Passively Checked: 1838 >Total Host State Change: 0.000 / 46.910 / 0.135 % >Active Host Latency: 0.000 / 1425.848 / 1104.205 sec >Active Host Execution Time: 0.012 / 0.402 / 0.096 sec >Active Host State Change: 0.000 / 0.000 / 0.000 % >Active Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 >Passive Host Latency: 0.000 / 639.353 / 1.197 sec >Passive Host State Change: 0.000 / 46.910 / 0.140 % >Passive Hosts Last 1/5/15/60 min: 1 / 12 / 27 / 70 >Hosts Up/Down/Unreach: 1850 / 57 / 5 >Hosts Flapping: 0 >Hosts In Downtime: 35 > >Active Host Checks Last 1/5/15 min: 42 / 194 / 565 > Scheduled: 0 / 0 / 0 > On-demand: 42 / 194 / 565 > Parallel: 0 / 0 / 0 > Serial: 0 / 0 / 0 > Cached: 42 / 194 / 565 >Passive Host Checks Last 1/5/15 min: 1 / 14 / 45 >Active Service Checks Last 1/5/15 min: 0 / 0 / 0 > Scheduled: 0 / 0 / 0 > On-demand: 0 / 0 / 0 > Cached: 0 / 0 / 0 >Passive Service Checks Last 1/5/15 min: 2311 / 9235 / 12988 > >External Commands Last 1/5/15 min: 0 / 1 / 1 > > >I've some broker modules to handle sql logging and distributed setup. Other parameters that could be >interesting: > >command_check_interval=-1 >service_inter_check_delay_method=s >max_concurrent_checks=80 >check_result_reaper_frequency=2 >max_check_result_reaper_time=30 >obsess_over_services=0 >obsess_over_hosts=0 > >Looking on suggesions by the proc: > >Nagios Core 3.2.3 >Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors >Copyright (c) 1999-2009 Ethan Galstad >Last Modified: 10-03-2010 >License: GPL > >Website: http://www.nagios.org >Timing information on object configuration processing is listed >below. You can use this information to see if precaching your >object configuration would be useful. > >Object Config Source: Config files (uncached) > >OBJECT CONFIG PROCESSING TIMES (* = Potential for precache savings with -u option) >---------------------------------- >Read: 0.703470 sec >Resolve: 0.018964 sec * >Recomb Contactgroups: 0.454370 sec * >Recomb Hostgroups: 0.010414 sec * >Dup Services: 0.025101 sec * >Recomb Servicegroups: 0.000211 sec * >Duplicate: 0.003912 sec * >Inherit: 0.008386 sec * >Recomb Contacts: 0.000000 sec * >Sort: 0.000003 sec * >Register: 0.050582 sec >Free: 0.006160 sec > ============ >TOTAL: 1.281574 sec * = 0.521362 sec (40.68%) estimated savings > > >RETENTION DATA TIMES >---------------------------------- >Read and Process: 0.514352 sec > ============ >TOTAL: 0.514352 sec > > >Timing information on configuration verification is listed below. > >CONFIG VERIFICATION TIMES (* = Potential for speedup with -x option) >---------------------------------- >Object Relationships: 0.185991 sec >Circular Paths: 0.020317 sec * >Misc: 0.009450 sec > ============ >TOTAL: 0.215758 sec * = 0.020317 sec (9.4%) estimated savings > > >EVENT SCHEDULING TIMES >------------------------------------- >Get service info: 0.014388 sec >Get host info info: 0.002899 sec >Get service params: 0.000010 sec >Schedule service times: 0.000679 sec >Schedule service events: 0.000231 sec >Get host params: 0.000000 sec >Schedule host times: 0.000102 sec >Schedule host events: 0.000051 sec > ============ >TOTAL: 0.018360 sec > > >Projected scheduling information for host and service checks >is listed below. This information assumes that you are going >to start running Nagios with your current config files. > >HOST SCHEDULING INFORMATION >--------------------------- >Total hosts: 1912 >Total scheduled hosts: 0 >Host inter-check delay method: SMART >Average host check interval: 0.00 sec >Host inter-check delay: 0.00 sec >Max host check spread: 15 min >First scheduled check: N/A >Last scheduled check: N/A > > >SERVICE SCHEDULING INFORMATION >------------------------------- >Total services: 9098 >Total scheduled services: 33 >Service inter-check delay method: SMART >Average service check interval: 1770.91 sec >Inter-check delay: 9.09 sec >Interleave factor method: SMART >Average services per host: 4.76 >Service interleave factor: 1 >Max service check spread: 5 min >First scheduled check: Tue May 22 09:41:22 2012 >Last scheduled check: Tue May 22 09:46:12 2012 > > >CHECK PROCESSING INFORMATION >---------------------------- >Check result reaper interval: 2 sec >Max concurrent service checks: 80 > > >PERFORMANCE SUGGESTIONS >----------------------- >I have no suggestions - things look okay. > > > >If I force a schedule of an active check, I can see how the force is immediatly logged into >nagios.log, but executed with the high delay. >Is there a way I can debug or what parameter should I tune? Increasing logging could help? >I've still looked on the nagios tuning page, but doesn't help me much. Some suggestions based on the >information provided? > >Thank's a lot! > >Simon > > > > > > > > > >------------------------------------------------------------------------------ >Live Security Virtual Conference >Exclusive live event will cover all the ways today's security and >threat landscape has changed and how IT managers can respond. Discussions >will include endpoint security, mobile security and the latest in malware >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >_______________________________________________ >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 > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 xml.devel at gmail.com Tue May 22 11:10:33 2012 From: xml.devel at gmail.com (Kumar, Ashish) Date: Tue, 22 May 2012 14:40:33 +0530 Subject: Monitoring shared filesystems Message-ID: Dear fellow Nagios users, We have a bunch of servers on which we have shared filesystems. The filesystem actually resides on the SAN storage and are connected to physical servers. Let's say /home is shared among server1 and server2. When /home breaches the WARNING or CRITICAL threshold it raises two tickets, one from each server. I tried utilising the check_cluster and check_cluster2 plugins to raise only one ticket when there is a problem instead of two. I have the following definitions... "Disk Monitor /home" is being monitored on server1 and server2 using NRPE with notifications disabled. hostgroups ========== define hostgroup { hostgroup_name clustered_servers alias Clustered servers members server1,server2 } servicecluster.cfg ================== define service { service_description Clustered disk /home hostgroup_name clustered_servers check_command check_cluster_service2!$SERVICESTATEID:server1:Disk Monitor /home$,$SERVICESTATEID:server2:Disk Monitor /home$ max_check_attempts 3 check_interval 2 retry_interval 1 notification_interval 15 contacts sysadms register 1 } It seems when the hostgroup_name expands internally in Nagios it creates two service checks in both the servers so it is understood that there will be two alerts. What changes can I make to raise only one ticket? In certain cases we have around 10 servers with shared filesystems, so you can understand the havoc it creates. Please let me know if you have any questions. Thanks, Ashish -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 nagios at flatto.net Tue May 22 11:17:42 2012 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 22 May 2012 10:17:42 +0100 Subject: High Service Check Latency In-Reply-To: <4FBB4457.9090905@mclink.eu> References: <4FBB4457.9090905@mclink.eu> Message-ID: <4FBB59B6.5010100@flatto.net> NDO and a large DB cause an issue to the nagios core that is causing high latency and can bring nagios to halt. If you are also running a performance gathering solution it can contribute to the hight latency . On 22/05/12 08:46, Simone Felici wrote: > Hello! > > Yes, it's a common problem, but cannot figure out how to debug it. > I've a distributed setup with a master server collecting>9.000 passive services sent from other > servers, all with active latencies near 0. The master server checks *only* itself as active > services, ~40 services, most of them every 5 minutes. AFAIK passive services should not affect > "active service check latency" statistics. Looking into retention.dat file, the high latencies are > all related to the local executed active services. Actual stats: > > Nagios Stats 3.2.3 > Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org) > Last Modified: 10-03-2010 > License: GPL > > CURRENT STATUS DATA > ------------------------------------------------------ > Status File: /usr/local/nagios/var/status.dat > Status File Age: 0d 0h 0m 7s > Status File Version: 3.2.3 > > Program Running Time: 0d 20h 40m 53s > Nagios PID: 9360 > Used/High/Total Command Buffers: 0 / 7 / 10000 > > Total Services: 9098 > Services Checked: 9098 > Services Scheduled: 33 > Services Actively Checked: 39 > Services Passively Checked: 9059 > Total Service State Change: 0.000 / 100.000 / 1.351 % > Active Service Latency: 4.156 / 7943.743 / 6163.392 sec<<<<<<<< > Active Service Execution Time: 0.010 / 2.485 / 0.319 sec > Active Service State Change: 0.000 / 22.890 / 2.443 % > Active Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 > Passive Service Latency: 0.088 / 7.914 / 1.997 sec > Passive Service State Change: 0.000 / 100.000 / 1.346 % > Passive Services Last 1/5/15/60 min: 1851 / 7501 / 8084 / 8392 > Services Ok/Warn/Unk/Crit: 8784 / 78 / 76 / 160 > Services Flapping: 4 > Services In Downtime: 112 > > Total Hosts: 1912 > Hosts Checked: 1912 > Hosts Scheduled: 0 > Hosts Actively Checked: 74 > Host Passively Checked: 1838 > Total Host State Change: 0.000 / 46.910 / 0.135 % > Active Host Latency: 0.000 / 1425.848 / 1104.205 sec > Active Host Execution Time: 0.012 / 0.402 / 0.096 sec > Active Host State Change: 0.000 / 0.000 / 0.000 % > Active Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 > Passive Host Latency: 0.000 / 639.353 / 1.197 sec > Passive Host State Change: 0.000 / 46.910 / 0.140 % > Passive Hosts Last 1/5/15/60 min: 1 / 12 / 27 / 70 > Hosts Up/Down/Unreach: 1850 / 57 / 5 > Hosts Flapping: 0 > Hosts In Downtime: 35 > > Active Host Checks Last 1/5/15 min: 42 / 194 / 565 > Scheduled: 0 / 0 / 0 > On-demand: 42 / 194 / 565 > Parallel: 0 / 0 / 0 > Serial: 0 / 0 / 0 > Cached: 42 / 194 / 565 > Passive Host Checks Last 1/5/15 min: 1 / 14 / 45 > Active Service Checks Last 1/5/15 min: 0 / 0 / 0 > Scheduled: 0 / 0 / 0 > On-demand: 0 / 0 / 0 > Cached: 0 / 0 / 0 > Passive Service Checks Last 1/5/15 min: 2311 / 9235 / 12988 > > External Commands Last 1/5/15 min: 0 / 1 / 1 > > > I've some broker modules to handle sql logging and distributed setup. Other parameters that could be > interesting: > > command_check_interval=-1 > service_inter_check_delay_method=s > max_concurrent_checks=80 > check_result_reaper_frequency=2 > max_check_result_reaper_time=30 > obsess_over_services=0 > obsess_over_hosts=0 > > Looking on suggesions by the proc: > > Nagios Core 3.2.3 > Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors > Copyright (c) 1999-2009 Ethan Galstad > Last Modified: 10-03-2010 > License: GPL > > Website: http://www.nagios.org > Timing information on object configuration processing is listed > below. You can use this information to see if precaching your > object configuration would be useful. > > Object Config Source: Config files (uncached) > > OBJECT CONFIG PROCESSING TIMES (* = Potential for precache savings with -u option) > ---------------------------------- > Read: 0.703470 sec > Resolve: 0.018964 sec * > Recomb Contactgroups: 0.454370 sec * > Recomb Hostgroups: 0.010414 sec * > Dup Services: 0.025101 sec * > Recomb Servicegroups: 0.000211 sec * > Duplicate: 0.003912 sec * > Inherit: 0.008386 sec * > Recomb Contacts: 0.000000 sec * > Sort: 0.000003 sec * > Register: 0.050582 sec > Free: 0.006160 sec > ============ > TOTAL: 1.281574 sec * = 0.521362 sec (40.68%) estimated savings > > > RETENTION DATA TIMES > ---------------------------------- > Read and Process: 0.514352 sec > ============ > TOTAL: 0.514352 sec > > > Timing information on configuration verification is listed below. > > CONFIG VERIFICATION TIMES (* = Potential for speedup with -x option) > ---------------------------------- > Object Relationships: 0.185991 sec > Circular Paths: 0.020317 sec * > Misc: 0.009450 sec > ============ > TOTAL: 0.215758 sec * = 0.020317 sec (9.4%) estimated savings > > > EVENT SCHEDULING TIMES > ------------------------------------- > Get service info: 0.014388 sec > Get host info info: 0.002899 sec > Get service params: 0.000010 sec > Schedule service times: 0.000679 sec > Schedule service events: 0.000231 sec > Get host params: 0.000000 sec > Schedule host times: 0.000102 sec > Schedule host events: 0.000051 sec > ============ > TOTAL: 0.018360 sec > > > Projected scheduling information for host and service checks > is listed below. This information assumes that you are going > to start running Nagios with your current config files. > > HOST SCHEDULING INFORMATION > --------------------------- > Total hosts: 1912 > Total scheduled hosts: 0 > Host inter-check delay method: SMART > Average host check interval: 0.00 sec > Host inter-check delay: 0.00 sec > Max host check spread: 15 min > First scheduled check: N/A > Last scheduled check: N/A > > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 9098 > Total scheduled services: 33 > Service inter-check delay method: SMART > Average service check interval: 1770.91 sec > Inter-check delay: 9.09 sec > Interleave factor method: SMART > Average services per host: 4.76 > Service interleave factor: 1 > Max service check spread: 5 min > First scheduled check: Tue May 22 09:41:22 2012 > Last scheduled check: Tue May 22 09:46:12 2012 > > > CHECK PROCESSING INFORMATION > ---------------------------- > Check result reaper interval: 2 sec > Max concurrent service checks: 80 > > > PERFORMANCE SUGGESTIONS > ----------------------- > I have no suggestions - things look okay. > > > > If I force a schedule of an active check, I can see how the force is immediatly logged into > nagios.log, but executed with the high delay. > Is there a way I can debug or what parameter should I tune? Increasing logging could help? > I've still looked on the nagios tuning page, but doesn't help me much. Some suggestions based on the > information provided? > > Thank's a lot! > > Simon > > > > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 s.felici at mclink.eu Tue May 22 11:48:12 2012 From: s.felici at mclink.eu (Simone Felici) Date: Tue, 22 May 2012 11:48:12 +0200 Subject: High Service Check Latency In-Reply-To: <4FBB59B6.5010100@flatto.net> References: <4FBB4457.9090905@mclink.eu> <4FBB59B6.5010100@flatto.net> Message-ID: <4FBB60DC.4070402@mclink.eu> This could be the case. Is there a way I can log and explicit find out some traces that could point me to the real causes? I'm collecting on MySQL everything is generated by nagios itself: status and performance data, which are a lot of informations: 7GB of runtime statistics. Il 22/05/2012 11:17, Assaf Flatto ha scritto: > NDO and a large DB cause an issue to the nagios core that is causing > high latency and can bring nagios to halt. > If you are also running a performance gathering solution it can > contribute to the hight latency . > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 benny at bennyvision.com Tue May 22 13:55:04 2012 From: benny at bennyvision.com (C. Bensend) Date: Tue, 22 May 2012 06:55:04 -0500 Subject: High Service Check Latency In-Reply-To: <4FBB4457.9090905@mclink.eu> References: <4FBB4457.9090905@mclink.eu> Message-ID: <59b24b3b7c7be70009f7b804a36c2f02.squirrel@webmail.stinkweasel.net> > I've some broker modules to handle sql logging and distributed setup. I bet you're using NDOUtils. I wouldn't recommend that. I couldn't keep a Nagios server with under 6000 services limping along when NDOUtils was running. Eventually, the check latencies would go through the roof and the entire server would get farther and farther behind. I went to Livestatus. It took me all of 20 minutes to adjust my reports to use the new interface, and I haven't restart my Nagios daemon since (other than normal maintenance). -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 s.felici at mclink.eu Tue May 22 14:55:16 2012 From: s.felici at mclink.eu (Simone Felici) Date: Tue, 22 May 2012 14:55:16 +0200 Subject: High Service Check Latency In-Reply-To: <59b24b3b7c7be70009f7b804a36c2f02.squirrel@webmail.stinkweasel.net> References: <4FBB4457.9090905@mclink.eu> <59b24b3b7c7be70009f7b804a36c2f02.squirrel@webmail.stinkweasel.net> Message-ID: <4FBB8CB4.4080405@mclink.eu> Il 22/05/2012 13:55, C. Bensend ha scritto: > I bet you're using NDOUtils. I wouldn't recommend that. I couldn't > keep a Nagios server with under 6000 services limping along when > NDOUtils was running. Eventually, the check latencies would go > through the roof and the entire server would get farther and farther > behind. > > I went to Livestatus. It took me all of 20 minutes to adjust my > reports to use the new interface, and I haven't restart my Nagios > daemon since (other than normal maintenance). > Yes, you're right. My problem is, the solution is implemented into OPSView Community edition. It's not a problem to alter-modify installation, btw the result is maybe some functionality in the whole system (gui or whatever) would not work anymore. Time to move to other nagios installation? Maybe, but not right now. For now I would like to know a way to identify (and possible solve) the actual high latency. I've no idea if I can enable ndo logging or nagios logging to identify issues or bottlenecks. Simon ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 nagios at flatto.net Tue May 22 16:25:05 2012 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 22 May 2012 15:25:05 +0100 Subject: High Service Check Latency In-Reply-To: <4FBB8CB4.4080405@mclink.eu> References: <4FBB4457.9090905@mclink.eu> <59b24b3b7c7be70009f7b804a36c2f02.squirrel@webmail.stinkweasel.net> <4FBB8CB4.4080405@mclink.eu> Message-ID: <4FBBA1C1.70607@flatto.net> On 22/05/12 13:55, Simone Felici wrote: > Il 22/05/2012 13:55, C. Bensend ha scritto: > >> I bet you're using NDOUtils. I wouldn't recommend that. I couldn't >> keep a Nagios server with under 6000 services limping along when >> NDOUtils was running. Eventually, the check latencies would go >> through the roof and the entire server would get farther and farther >> behind. >> >> I went to Livestatus. It took me all of 20 minutes to adjust my >> reports to use the new interface, and I haven't restart my Nagios >> daemon since (other than normal maintenance). >> > Yes, you're right. My problem is, the solution is implemented into OPSView Community edition. It's > not a problem to alter-modify installation, btw the result is maybe some functionality in the whole > system (gui or whatever) would not work anymore. Time to move to other nagios installation? Maybe, > but not right now. > For now I would like to know a way to identify (and possible solve) the actual high latency. I've no > idea if I can enable ndo logging or nagios logging to identify issues or bottlenecks. > > Simon One thing I found to help with performance with NDO was to make sure the DB is trimmed on a regular basis . tables timedevents, services , logentries and other ones grow very fast to large size and nagios is having trouble writing to the DB if the table is larger the 450MB . since i was using the NDO for nagviz the data was mostly not needed so i used to truncate those tables. If you do use the DB , replicate it to a secondary DB and use that as your queries master .and trim the one nagios writes to , but make sure that if the trimming is done , the data is not removed from the replicated server. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 mguthrie at nagios.com Tue May 22 16:29:09 2012 From: mguthrie at nagios.com (Mike Guthrie) Date: Tue, 22 May 2012 09:29:09 -0500 Subject: Nagios - can it send email when leaving a service comment? In-Reply-To: References: Message-ID: <4FBBA2B5.9030802@nagios.com> If you go to "Acknowledge" a host or service in a problem state, there is a checkbox for whether or not to send a notification. If you want the notification use the "Acknowle this service problem" link instead of the "Add Comment" link. On 5/21/2012 5:41 PM, Ajay Jethani wrote: > I'd like nagios to send an email after I leave a service comment > through the web dashboard. > The purpose of this would be that it would send a mail to the contact > list that someone is working on the issue at hand and to track this > information over time (how long it takes to resolve and issue and what > the solution was and so forth). > > Is support for Nagios being able to send a mail when leaving a service > comment built in? > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 mguthrie at nagios.com Tue May 22 16:34:46 2012 From: mguthrie at nagios.com (Mike Guthrie) Date: Tue, 22 May 2012 09:34:46 -0500 Subject: High Service Check Latency In-Reply-To: <4FBB8CB4.4080405@mclink.eu> References: <4FBB4457.9090905@mclink.eu> <59b24b3b7c7be70009f7b804a36c2f02.squirrel@webmail.stinkweasel.net> <4FBB8CB4.4080405@mclink.eu> Message-ID: <4FBBA406.4090407@nagios.com> What kind of information do you have about average CPU load or I\O wait time? Whether Nagios is using ndoutils or not there will be a hardware limit as to how many disk writes it can handle in a given period of time. Even though you're only running a few active checks, it could be a symptom that your machine is having to wait on itself to write to disk for other things as well. The doc below is written for Nagios XI, but of a lot of the items apply to Core as well. I would consider exploring some options with a RAM disk in order to reduce disk activity. http://assets.nagios.com/downloads/nagiosxi/docs/Utilizing_A_RAM_Disk_In_NagiosXI.pdf On 5/22/2012 7:55 AM, Simone Felici wrote: > Il 22/05/2012 13:55, C. Bensend ha scritto: > >> I bet you're using NDOUtils. I wouldn't recommend that. I couldn't >> keep a Nagios server with under 6000 services limping along when >> NDOUtils was running. Eventually, the check latencies would go >> through the roof and the entire server would get farther and farther >> behind. >> >> I went to Livestatus. It took me all of 20 minutes to adjust my >> reports to use the new interface, and I haven't restart my Nagios >> daemon since (other than normal maintenance). >> > Yes, you're right. My problem is, the solution is implemented into OPSView Community edition. It's > not a problem to alter-modify installation, btw the result is maybe some functionality in the whole > system (gui or whatever) would not work anymore. Time to move to other nagios installation? Maybe, > but not right now. > For now I would like to know a way to identify (and possible solve) the actual high latency. I've no > idea if I can enable ndo logging or nagios logging to identify issues or bottlenecks. > > Simon > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 s.felici at mclink.eu Wed May 23 11:39:08 2012 From: s.felici at mclink.eu (Simone Felici) Date: Wed, 23 May 2012 11:39:08 +0200 Subject: High Service Check Latency In-Reply-To: <4FBBA1C1.70607@flatto.net> References: <4FBB4457.9090905@mclink.eu> <59b24b3b7c7be70009f7b804a36c2f02.squirrel@webmail.stinkweasel.net> <4FBB8CB4.4080405@mclink.eu> <4FBBA1C1.70607@flatto.net> Message-ID: <4FBCB03C.3060006@mclink.eu> Il 22/05/2012 16:25, Assaf Flatto ha scritto: > One thing I found to help with performance with NDO was to make sure the DB is trimmed on a regular > basis . > tables timedevents, services , logentries and other ones grow very fast to large size and nagios is > having trouble writing to the DB if the table is larger the 450MB . > > since i was using the NDO for nagviz the data was mostly not needed so i used to truncate those tables. > > If you do use the DB , replicate it to a secondary DB and use that as your queries master .and trim > the one nagios writes to , but make sure that if the trimming is done , the data is not removed from > the replicated server. Thank's for this suggestion, I'll look to optimize as best as possible the database. Hope it helps! Simon ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 s.felici at mclink.eu Wed May 23 11:52:12 2012 From: s.felici at mclink.eu (Simone Felici) Date: Wed, 23 May 2012 11:52:12 +0200 Subject: High Service Check Latency In-Reply-To: <4FBBA406.4090407@nagios.com> References: <4FBB4457.9090905@mclink.eu> <59b24b3b7c7be70009f7b804a36c2f02.squirrel@webmail.stinkweasel.net> <4FBB8CB4.4080405@mclink.eu> <4FBBA406.4090407@nagios.com> Message-ID: <4FBCB34C.4060005@mclink.eu> So, cpuload is stable around 5.00 - 5.50. IO wait is difficult to identify. Using top I can read an average of 0% with some peaks up to 4%. Using iotop the process kjournald is jumping on first position often with peaks to 10-20%, back to 0 immediatly. Second place for nagios process. But the 1sec refresh is changing very often the situation. Semms really interesting your doc, also I'll try some solutions. I'll use sym links to not alter any configuration file. Should do the trick as well. I'll let you know! Thank you! Simon Il 22/05/2012 16:34, Mike Guthrie ha scritto: > What kind of information do you have about average CPU load or I\O wait > time? Whether Nagios is using ndoutils or not there will be a hardware > limit as to how many disk writes it can handle in a given period of > time. Even though you're only running a few active checks, it could be > a symptom that your machine is having to wait on itself to write to disk > for other things as well. The doc below is written for Nagios XI, but > of a lot of the items apply to Core as well. I would consider exploring > some options with a RAM disk in order to reduce disk activity. > > http://assets.nagios.com/downloads/nagiosxi/docs/Utilizing_A_RAM_Disk_In_NagiosXI.pdf > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 agriffin at nagios.com Wed May 23 16:41:40 2012 From: agriffin at nagios.com (Alex Griffin) Date: Wed, 23 May 2012 09:41:40 -0500 Subject: check_procs and negating regex in --ereg-argument-array In-Reply-To: <4FBABCCE.9010709@us.fujitsu.com> References: <4FBA9FC8.2070905@us.fujitsu.com> <4FBAB3CF.7060204@nagios.com> <4FBABCCE.9010709@us.fujitsu.com> Message-ID: <4FBCF724.2090406@nagios.com> Okay, then it appears check_procs does not support that syntax. Negation of longer strings like that requires a backtracking implementation of "regular expressions" (the quotes are there because this kind of regular expression is actually NOT a regular expression in the strict computer science sense), and is not supported by most traditional UNIX tools. Unfortunately, I'm not sure there's a good way to make this work. Hopefully someone else can come up with an alternative solution. Alex Griffin --- Tech Team agriffin at nagios.com On 05/21/2012 05:08 PM, Camron W. Fox wrote: > On 12/05/21 11:29 AM, Alex Griffin wrote: >> To get around the issue of bash interpreting your regex characters as >> something else, simply wrap the regex in single quotes: >> >> ./check_procs -w 25 -c 35 -m CPU -v --ereg-argument-array='^((?!john).)*$' >> >> Alex Griffin > > Alex, > > I already tried that and this was the error: > > /usr/lib64/nagios/plugins/check_procs -w 25 -c 35 -m CPU -v > --ereg-argument-array='^((?!john).)*$' > PROCS UNKNOWN: Could not compile regular expression - Invalid preceding > regular expression > > with the message on the web output being: PROCS UNKNOWN: Could not > compile regular expression - Invalid preceding regular expression > > Best Regards, > Camron > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 mark.elsen at gmail.com Thu May 24 07:48:15 2012 From: mark.elsen at gmail.com (Mark Elsen) Date: Thu, 24 May 2012 07:48:15 +0200 Subject: Loosing NAGIOS_* env variables in 3.4.1 Message-ID: - I have some 'home-written' notification scripts launched from NAGIOS ; now when using nagios 3.4.1 , all NAGIOS_* variables are gone. (printenv listing). How come ? How can I get them back ? M. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 m.borsani at it.net Thu May 24 10:21:27 2012 From: m.borsani at it.net (Marco Borsani) Date: Thu, 24 May 2012 10:21:27 +0200 Subject: passive check always Pending Message-ID: <005401cd3986$3d36e0e0$b7a4a2a0$@it.net> Hi all. I supposed to use "initial_state" parameter to see a particular state waiting the first output from a passive check, but it is still in pending state. How can I solve it ? Must I use other parameters together it? I can't use the check_dummy active command because it deletes the error before it is really solved.I disabled active checks Thanks Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 linuxtovishesh at gmail.com Thu May 24 15:43:32 2012 From: linuxtovishesh at gmail.com (vishesh kumar) Date: Thu, 24 May 2012 09:43:32 -0400 Subject: nrpe on ssl Message-ID: Hi Members, I am new to this list and nagios. I want to know how i can verify that nagios nrpe_check connecting to nrpe daemon via ssl . Thanks Vishesh Kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 swilkerson at nagios.com Thu May 24 16:27:39 2012 From: swilkerson at nagios.com (Scott Wilkerson) Date: Thu, 24 May 2012 09:27:39 -0500 Subject: nrpe on ssl In-Reply-To: References: Message-ID: <4FBE455B.2000805@nagios.com> Vishesh, The current default for NRPE is to use SSL. Additionally, you can specify allowed_hosts and the NRPE will only accept connection from the allowed hosts. Scott Wilkerson Technical Support Specialist ___ Email: swilkerson at nagios.com Web: www.nagios.com On 5/24/2012 8:43 AM, vishesh kumar wrote: > Hi Members, > > I am new to this list and nagios. > > I want to know how i can verify that nagios nrpe_check connecting to > nrpe daemon via ssl . > > > Thanks > Vishesh Kumar > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ismael.puerto at seres.es Thu May 24 16:33:38 2012 From: ismael.puerto at seres.es (Ismael Puerto) Date: Thu, 24 May 2012 16:33:38 +0200 Subject: nrpe on ssl In-Reply-To: References: Message-ID: <4FBE46C2.7010702@seres.es> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 ar at xlrs.de Thu May 24 16:49:47 2012 From: ar at xlrs.de (Axel) Date: Thu, 24 May 2012 16:49:47 +0200 Subject: nrpe on ssl In-Reply-To: References: Message-ID: <4FBE4A8B.1020602@xlrs.de> You can use tcpdump and wireshark to check the tcp and ssl handshake. Regards, Axel Am 24.05.2012 15:43, schrieb vishesh kumar: > Hi Members, > > I am new to this list and nagios. > > I want to know how i can verify that nagios nrpe_check connecting to > nrpe daemon via ssl . > > > Thanks > Vishesh Kumar > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 nagios at flatto.net Thu May 24 17:08:12 2012 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 24 May 2012 16:08:12 +0100 Subject: Loosing NAGIOS_* env variables in 3.4.1 In-Reply-To: References: Message-ID: <4FBE4EDC.7040901@flatto.net> Did you backup your system ? Did you overwrite your existing configuration files ? If the env variables were for the nagios user , have you looked at the profile configuration files ? On 24/05/12 06:48, Mark Elsen wrote: > > - I have some 'home-written' notification scripts launched from > NAGIOS ; now when using > nagios 3.4.1 , all NAGIOS_* variables are gone. (printenv listing). > > How come ? > How can I get them back ? > > M. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Thu May 24 22:52:59 2012 From: ae at op5.se (Andreas Ericsson) Date: Thu, 24 May 2012 22:52:59 +0200 Subject: is Multiple instances of broker_module possible? In-Reply-To: <457748077.38673.1337305428617.JavaMail.root@zmbox02> References: <457748077.38673.1337305428617.JavaMail.root@zmbox02> Message-ID: <4FBE9FAB.5060408@op5.se> On 05/18/2012 03:43 AM, Sugianto So wrote: > Hi All, > > > Since I'm having a constant database crash with my centreon+nagios > installation, I'm thinking to run 2 brokers, each feeding data to > different servers. is running multiple instances of broker_module > possible? > It should be. Try and find out. -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Fri May 25 00:13:23 2012 From: ae at op5.se (Andreas Ericsson) Date: Fri, 25 May 2012 00:13:23 +0200 Subject: Loosing NAGIOS_* env variables in 3.4.1 In-Reply-To: References: Message-ID: <4FBEB283.1070206@op5.se> On 05/24/2012 07:48 AM, Mark Elsen wrote: > - I have some 'home-written' notification scripts launched from NAGIOS ; > now when using > nagios 3.4.1 , all NAGIOS_* variables are gone. (printenv listing). > > How come ? > How can I get them back ? > Make sure you're not using large_installation_tweaks and that you have enable_environment_macros=1 set in nagios.cfg. -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 mark.elsen at gmail.com Fri May 25 08:59:35 2012 From: mark.elsen at gmail.com (Mark Elsen) Date: Fri, 25 May 2012 08:59:35 +0200 Subject: Loosing NAGIOS_* env variables in 3.4.1 In-Reply-To: <4FBEB283.1070206@op5.se> References: <4FBEB283.1070206@op5.se> Message-ID: > > - I have some 'home-written' notification scripts launched from NAGIOS > ; > > now when using > > nagios 3.4.1 , all NAGIOS_* variables are gone. (printenv listing). > > > > How come ? > > How can I get them back ? > > > > >+ Make sure you're not using large_installation_tweaks and that you > have > >+ enable_environment_macros=1 set in nagios.cfg. > Tx! I explicitly needed : enable_environment_macros=1 In nagios.cfg when using 3.4.1 , to get my problem >resolved<. I wasn't using this setting before (nor was it set to 0). M. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 madlists at teaparty.net Fri May 25 11:33:21 2012 From: madlists at teaparty.net (Tom Yates) Date: Fri, 25 May 2012 10:33:21 +0100 (BST) Subject: nrpe on ssl In-Reply-To: <4FBE4A8B.1020602@xlrs.de> References: <4FBE4A8B.1020602@xlrs.de> Message-ID: On Thu, 24 May 2012, Axel wrote: > You can use tcpdump and wireshark to check the tcp and ssl handshake. as axel says, this is the best way to be *sure* it's happening under cover of SSL. in case you want to see it done, here's one happening under SSL: [user at www ~]$ sudo tcpdump -n -n -A port 5666 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes 10:23:11.568787 IP 78.31.111.49.45411 > 193.219.118.100.5666: S 1958463879:1958463879(0) win 14600 E..<.. at .9.jvN.o1..vd.c."t.........9..w......... ..(2........ 10:23:11.568816 IP 193.219.118.100.5666 > 78.31.111.49.45411: S 4064423968:4064423968(0) ack 1958463880 win 5792 E..<.. at .@.E,..vdN.o1.".c.B0 t.................. ......(2.... 10:23:11.574693 IP 78.31.111.49.45411 > 193.219.118.100.5666: . ack 1 win 457 E..4.. at .9.j}N.o1..vd.c."t....B0!....?Q..... ..(3.... 10:23:11.575019 IP 78.31.111.49.45411 > 193.219.118.100.5666: P 1:78(77) ack 1 win 457 E..... at .9.j/N.o1..vd.c."t....B0!........... ..(3........H...D..O.OH...`+.%.Kp.gOG. 10:23:11.575036 IP 193.219.118.100.5666 > 78.31.111.49.45411: . ack 78 win 46 E..4.. at .@..b..vdN.o1.".c.B0!t....... at ...... ......(3 10:23:11.576362 IP 193.219.118.100.5666 > 78.31.111.49.45411: P 1:240(239) ack 78 win 46 E..#.. at .@..r..vdN.o1.".c.B0!t.......z9..... ......(3....Q...M..O.O.f...F..Xc:..3h~ 10:23:11.581549 IP 78.31.111.49.45411 > 193.219.118.100.5666: . ack 240 win 490 E..4.. at .9.j{N.o1..vd.c."t....B1.....=...... ..(4.... as you can see, the ASCII-rendered contents look like gibberish. here's one *not* happening under SSL: [user at www ~]$ sudo tcpdump -n -n -A port 5666 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes 10:27:50.403064 IP 78.31.111.49.45449 > 193.219.118.100.5666: S 2022207245:2022207245(0) win 14600 ......9............d..."x.o ............ 10:27:50.403095 IP 193.219.118.100.5666 > 78.31.111.49.45449: S 1624596014:1624596014(0) ack 2022207246 win 5792 E..<.. at .@.E,..vdN.o1."..`.^.x.o......L......... ..`G........ 10:27:50.408395 IP 78.31.111.49.45449 > 193.219.118.100.5666: . ack 1 win 457 E..4.. at .9.R"N.o1..vd..."x.o.`.^/....J...... ......`G 10:27:50.409395 IP 78.31.111.49.45449 > 193.219.118.100.5666: P 1:1037(1036) ack 1 win 457 E.. at ..@.9.N.N.o1..vd..."x.o.`.^/....:...... ......`G........i7check_mysql......... 10:27:50.410281 IP 193.219.118.100.5666 > 78.31.111.49.45449: . ack 1037 win 62 E..4>b at .@.....vdN.o1."..`.^/x.s....>Hf..... ..`N.... 10:27:50.427262 IP 193.219.118.100.5666 > 78.31.111.49.45449: P 1:1037(1036) ack 1037 win 62 E..@>c at .@.....vdN.o1."..`.^/x.s....>^...... ..`_........d=.d..QUERY OK: 'select * note the name of the check (check_mysql) and the result (QUERY OK...) being passed back in plaintext. -- Tom Yates - http://www.teaparty.net ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 linuxtovishesh at gmail.com Fri May 25 15:04:04 2012 From: linuxtovishesh at gmail.com (vishesh kumar) Date: Fri, 25 May 2012 09:04:04 -0400 Subject: nrpe on ssl In-Reply-To: References: <4FBE4A8B.1020602@xlrs.de> Message-ID: Thanks to all. I verified through tcpdump and its over ssl On Fri, May 25, 2012 at 5:33 AM, Tom Yates wrote: > On Thu, 24 May 2012, Axel wrote: > > > You can use tcpdump and wireshark to check the tcp and ssl handshake. > > as axel says, this is the best way to be *sure* it's happening under cover > of SSL. in case you want to see it done, here's one happening under SSL: > > [user at www ~]$ sudo tcpdump -n -n -A port 5666 > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes > 10:23:11.568787 IP 78.31.111.49.45411 > 193.219.118.100.5666: S > 1958463879:1958463879(0) win 14600 0,nop,wscale 5> > E..<.. at .9.jvN.o1..vd.c."t.........9..w......... > ..(2........ > 10:23:11.568816 IP 193.219.118.100.5666 > 78.31.111.49.45411: S > 4064423968:4064423968(0) ack 1958463880 win 5792 3184336621 318187570,nop,wscale 7> > E..<.. at .@.E,..vdN.o1.".c.B0 t.................. > ......(2.... > 10:23:11.574693 IP 78.31.111.49.45411 > 193.219.118.100.5666: . ack 1 win > 457 > E..4.. at .9.j}N.o1..vd.c."t....B0!....?Q..... > ..(3.... > 10:23:11.575019 IP 78.31.111.49.45411 > 193.219.118.100.5666: P 1:78(77) > ack 1 win 457 > E..... at .9.j/N.o1..vd.c."t....B0!........... > ..(3........H...D..O.OH...`+.%.Kp.gOG. > 10:23:11.575036 IP 193.219.118.100.5666 > 78.31.111.49.45411: . ack 78 win > 46 > E..4.. at .@..b..vdN.o1.".c.B0!t....... at ...... > ......(3 > 10:23:11.576362 IP 193.219.118.100.5666 > 78.31.111.49.45411: P 1:240(239) > ack 78 win 46 > E..#.. at .@..r..vdN.o1.".c.B0!t.......z9..... > ......(3....Q...M..O.O.f...F..Xc:..3h~ > 10:23:11.581549 IP 78.31.111.49.45411 > 193.219.118.100.5666: . ack 240 > win 490 > E..4.. at .9.j{N.o1..vd.c."t....B1.....=...... > ..(4.... > > as you can see, the ASCII-rendered contents look like gibberish. here's > one *not* happening under SSL: > > [user at www ~]$ sudo tcpdump -n -n -A port 5666 > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes > 10:27:50.403064 IP 78.31.111.49.45449 > 193.219.118.100.5666: S > 2022207245:2022207245(0) win 14600 0,nop,wscale 5> > ......9............d..."x.o > ............ > 10:27:50.403095 IP 193.219.118.100.5666 > 78.31.111.49.45449: S > 1624596014:1624596014(0) ack 2022207246 win 5792 3184615495 318215453,nop,wscale 7> > E..<.. at .@.E,..vdN.o1."..`.^.x.o......L......... > ..`G........ > 10:27:50.408395 IP 78.31.111.49.45449 > 193.219.118.100.5666: . ack 1 win > 457 > E..4.. at .9.R"N.o1..vd..."x.o.`.^/....J...... > ......`G > 10:27:50.409395 IP 78.31.111.49.45449 > 193.219.118.100.5666: P > 1:1037(1036) ack 1 win 457 > E.. at ..@.9.N.N.o1..vd..."x.o.`.^/....:...... > ......`G........i7check_mysql......... > 10:27:50.410281 IP 193.219.118.100.5666 > 78.31.111.49.45449: . ack 1037 > win 62 > E..4>b at .@.....vdN.o1."..`.^/x.s....>Hf..... > ..`N.... > 10:27:50.427262 IP 193.219.118.100.5666 > 78.31.111.49.45449: P > 1:1037(1036) ack 1037 win 62 > E..@>c at .@.....vdN.o1."..`.^/x.s....>^...... > ..`_........d=.d..QUERY OK: 'select * > > note the name of the check (check_mysql) and the result (QUERY OK...) > being passed back in plaintext. > > > -- > > Tom Yates - http://www.teaparty.net > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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://linuxmantra.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 mnagel at willingminds.com Fri May 25 14:52:16 2012 From: mnagel at willingminds.com (Mark D. Nagel) Date: Fri, 25 May 2012 05:52:16 -0700 Subject: Loosing NAGIOS_* env variables in 3.4.1 In-Reply-To: References: <4FBEB283.1070206@op5.se> Message-ID: <4FBF8080.1090103@willingminds.com> On 5/24/2012 11:59 PM, Mark Elsen wrote: > > > > - I have some 'home-written' notification scripts launched > from NAGIOS ; > > now when using nagios 3.4.1 , all NAGIOS_* variables are gone. > (printenv listing). > > >+ Make sure you're not using large_installation_tweaks and > that you have > >+ enable_environment_macros=1 set in nagios.cfg. > > > > Tx! I explicitly needed : > > enable_environment_macros=1 > > In nagios.cfg when using 3.4.1 , to get my problem >resolved<. I > wasn't using this setting before (nor was it set to 0). It sure would be neat if this was something you could enable environment macros per command. Then you could have the default be off to get better performance for checks, but still get them for notification commands, which is often the main place they are useful. Mark -- Mark D. Nagel, CCIE #3177 Principal Consultant, Willing Minds LLC (http://www.willingminds.com) cell: 949-279-5817, desk: 714-495-4001, fax: 714-646-8277 ** For faster support response time, please ** email support at willingminds.com or call 714-495-4000 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 ajay.jethani at redlinetrading.com Fri May 25 15:29:53 2012 From: ajay.jethani at redlinetrading.com (Ajay Jethani) Date: Fri, 25 May 2012 09:29:53 -0400 Subject: Manually run custom command via nagios dashboard possible? Message-ID: I'd like the nagios dashboard to allow me to run commands MANUALLY when I see there is an issue. For example, when a service goes into the 'CRITICAL state' I would check the dashboard and do a sanity check by looking at the performance output and perhaps even log onto the machine. I'd like to keep the dashboard open and click a hyperlink that executes a command that I choose on the remote machine. I know there is the concept of event handlers which can AUTOMATICALLY execute a command when a service check returns a failure, but I'd prefer to do this type of healing manually. Does nagios offer an ability to run a custom command/script I choose via the dashboard? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Fri May 25 16:21:57 2012 From: ae at op5.se (Andreas Ericsson) Date: Fri, 25 May 2012 16:21:57 +0200 Subject: Manually run custom command via nagios dashboard possible? In-Reply-To: References: Message-ID: <4FBF9585.1050503@op5.se> On 05/25/2012 03:29 PM, Ajay Jethani wrote: > I'd like the nagios dashboard to allow me to run commands MANUALLY when I > see there is an issue. > For example, when a service goes into the 'CRITICAL state' I would check > the dashboard and do a sanity check by looking at the performance output > and perhaps even log onto the machine. I'd like to keep the dashboard open > and click a hyperlink that executes a command that I choose on the remote > machine. > > I know there is the concept of event handlers which can AUTOMATICALLY > execute a command when a service check returns a failure, but I'd prefer to > do this type of healing manually. > > Does nagios offer an ability to run a custom command/script I choose via > the dashboard? > No. That would be akin to building in a secure shell client into Nagios, which is something we'll most likely never (ever) do. Most people who've wanted to do similar things make a separate page for it, point action_url or notes_url to that page, and then handle stuff in a script of their own. -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Fri May 25 16:23:24 2012 From: ae at op5.se (Andreas Ericsson) Date: Fri, 25 May 2012 16:23:24 +0200 Subject: Loosing NAGIOS_* env variables in 3.4.1 In-Reply-To: <4FBF8080.1090103@willingminds.com> References: <4FBEB283.1070206@op5.se> <4FBF8080.1090103@willingminds.com> Message-ID: <4FBF95DC.4080004@op5.se> On 05/25/2012 02:52 PM, Mark D. Nagel wrote: > On 5/24/2012 11:59 PM, Mark Elsen wrote: >> >> >> > - I have some 'home-written' notification scripts launched >> from NAGIOS ; >> > now when using nagios 3.4.1 , all NAGIOS_* variables are gone. >> (printenv listing). >> >> >+ Make sure you're not using large_installation_tweaks and >> that you have >> >+ enable_environment_macros=1 set in nagios.cfg. >> >> >> >> Tx! I explicitly needed : >> >> enable_environment_macros=1 >> >> In nagios.cfg when using 3.4.1 , to get my problem>resolved<. I >> wasn't using this setting before (nor was it set to 0). > > > It sure would be neat if this was something you could enable environment > macros per command. Then you could have the default be off to get > better performance for checks, but still get them for notification > commands, which is often the main place they are useful. > They're hardly useful there either, tbh, and if you really need them you can just put them up as command-line macros before the command you wish to run, like so: NAGIOS_SOMEVAR="$NAGIOS_SOMEVAR$" /path/to/something -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 mnagel at willingminds.com Fri May 25 16:34:42 2012 From: mnagel at willingminds.com (Mark D. Nagel) Date: Fri, 25 May 2012 07:34:42 -0700 Subject: Loosing NAGIOS_* env variables in 3.4.1 In-Reply-To: <4FBF95DC.4080004@op5.se> References: <4FBEB283.1070206@op5.se> <4FBF8080.1090103@willingminds.com> <4FBF95DC.4080004@op5.se> Message-ID: <4FBF9882.2050206@willingminds.com> On 5/25/2012 7:23 AM, Andreas Ericsson wrote: > They're hardly useful there either, tbh, and if you really need them > you can just put them up as command-line macros before the command you > wish to run, like so: NAGIOS_SOMEVAR="$NAGIOS_SOMEVAR$" > /path/to/something Sure, that would work, but then you have to enumerate a whole mess of stuff, including new custom fields as added, etc. Would be a lot easier to have a command option to do it. But this is definitely a way to go until that is available (if ever). The way we handle notifications, having access to all those values is very handy since they feed into templates that detail what occurred, what to do, etc. Thanks, Mark -- Mark D. Nagel, CCIE #3177 Principal Consultant, Willing Minds LLC (http://www.willingminds.com) cell: 949-279-5817, desk: 714-495-4001, fax: 714-646-8277 ** For faster support response time, please ** email support at willingminds.com or call 714-495-4000 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 edgarosy at gmail.com Fri May 25 17:02:11 2012 From: edgarosy at gmail.com (Miguel Lanz) Date: Fri, 25 May 2012 09:02:11 -0600 Subject: astaro firewall nagios-plugin Message-ID: Hello everyone, Is there a way maybe through a nagios-plugin that would allow you to get traps off of an astaro firewall? for example if the firewall reach a certain amount of bandwidth get a nagios notification etc. Thanks for your help. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 ajay.jethani at redlinetrading.com Fri May 25 17:19:43 2012 From: ajay.jethani at redlinetrading.com (Ajay Jethani) Date: Fri, 25 May 2012 11:19:43 -0400 Subject: Manually run custom command via nagios dashboard possible? In-Reply-To: <4FBF9585.1050503@op5.se> References: <4FBF9585.1050503@op5.se> Message-ID: Is there a recommended or a sample framework (outside of nagios) that would be useful in implementing that page or is the page that it would point to something that is mostly home-grown by developers? On Fri, May 25, 2012 at 10:21 AM, Andreas Ericsson wrote: > On 05/25/2012 03:29 PM, Ajay Jethani wrote: > > I'd like the nagios dashboard to allow me to run commands MANUALLY when I > > see there is an issue. > > For example, when a service goes into the 'CRITICAL state' I would check > > the dashboard and do a sanity check by looking at the performance output > > and perhaps even log onto the machine. I'd like to keep the dashboard > open > > and click a hyperlink that executes a command that I choose on the remote > > machine. > > > > I know there is the concept of event handlers which can AUTOMATICALLY > > execute a command when a service check returns a failure, but I'd prefer > to > > do this type of healing manually. > > > > Does nagios offer an ability to run a custom command/script I choose via > > the dashboard? > > > > No. That would be akin to building in a secure shell client into Nagios, > which is something we'll most likely never (ever) do. > > Most people who've wanted to do similar things make a separate page for > it, point action_url or notes_url to that page, and then handle stuff > in a script of their own. > > -- > 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. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Sat May 26 11:20:35 2012 From: ae at op5.se (Andreas Ericsson) Date: Sat, 26 May 2012 11:20:35 +0200 Subject: Manually run custom command via nagios dashboard possible? In-Reply-To: References: <4FBF9585.1050503@op5.se> Message-ID: <4FC0A063.20807@op5.se> top-post. don't Please On 05/25/2012 05:19 PM, Ajay Jethani wrote: > Is there a recommended or a sample framework (outside of nagios) that would > be useful in implementing that page or is the page that it would point to > something that is mostly home-grown by developers? > The latter. > > On Fri, May 25, 2012 at 10:21 AM, Andreas Ericsson wrote: > >> On 05/25/2012 03:29 PM, Ajay Jethani wrote: >>> I'd like the nagios dashboard to allow me to run commands MANUALLY when I >>> see there is an issue. >>> For example, when a service goes into the 'CRITICAL state' I would check >>> the dashboard and do a sanity check by looking at the performance output >>> and perhaps even log onto the machine. I'd like to keep the dashboard >> open >>> and click a hyperlink that executes a command that I choose on the remote >>> machine. >>> >>> I know there is the concept of event handlers which can AUTOMATICALLY >>> execute a command when a service check returns a failure, but I'd prefer >> to >>> do this type of healing manually. >>> >>> Does nagios offer an ability to run a custom command/script I choose via >>> the dashboard? >>> >> >> No. That would be akin to building in a secure shell client into Nagios, >> which is something we'll most likely never (ever) do. >> >> Most people who've wanted to do similar things make a separate page for >> it, point action_url or notes_url to that page, and then handle stuff >> in a script of their own. >> >> -- >> 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. >> > -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Mon May 28 06:34:42 2012 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Mon, 28 May 2012 13:34:42 +0900 Subject: Compile problem linking iconv library (nagios 3.4.1) Message-ID: <201205280434.AA05376@S2007337.jp.fujitsu.com> Hi ! I had some trouble displaying Japanese characters on UI. I am guessing that this occured because of the link error to iconv library during the compileation. configure:5977: checking for main in -liconv configure:6004: gcc -o conftest -g -O2 conftest.c -liconv >&5 /usr/bin/ld: cannot find -liconv According to the ldconfig , libiconv seems to be cached properly. ldconfig -p | grep iconv libiconv.so.2 (libc6) => /usr/lib/libiconv.so.2 I have tried setting , LD_LIBRARY_PATH or iibdir but it made no difference. Does anyone had similar problem with the link error with iconv? Thanks, Yu ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Mon May 28 06:39:21 2012 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Mon, 28 May 2012 13:39:21 +0900 Subject: Compile problem linking iconv library (nagios 3.4.1) In-Reply-To: <201205280434.AA05376@S2007337.jp.fujitsu.com> References: <201205280434.AA05376@S2007337.jp.fujitsu.com> Message-ID: <201205280439.AA05377@S2007337.jp.fujitsu.com> I am using ja_JP.UTF-8 for character code. Yu Watanabe ????????: >Hi ! > >I had some trouble displaying Japanese characters on UI. >I am guessing that this occured because of the link error to iconv library >during the compileation. > >configure:5977: checking for main in -liconv >configure:6004: gcc -o conftest -g -O2 conftest.c -liconv >&5 >/usr/bin/ld: cannot find -liconv > >According to the ldconfig , libiconv seems to be cached properly. > >ldconfig -p | grep iconv > libiconv.so.2 (libc6) => /usr/lib/libiconv.so.2 > >I have tried setting , LD_LIBRARY_PATH or iibdir but >it made no difference. > >Does anyone had similar problem with the link error with iconv? > >Thanks, >Yu ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 xml.devel at gmail.com Mon May 28 10:44:07 2012 From: xml.devel at gmail.com (Kumar, Ashish) Date: Mon, 28 May 2012 14:14:07 +0530 Subject: Manually run custom command via nagios dashboard possible? In-Reply-To: References: <4FBF9585.1050503@op5.se> Message-ID: On 25 May 2012 20:49, Ajay Jethani wrote: > Is there a recommended or a sample framework (outside of nagios) that > would be useful in implementing that page or is the page that it would > point to something that is mostly home-grown by developers? You may want to try nagstamon (http://nagstamon.ifw-dresden.de/). It's a small and beautiful desktop application which sits in your system tray and displays the live health of your IT infrastructure. It gives you the ability to directly SSH/RDP to your desired host, which can be extended and made simple by setting up one time passwordless authentication on your *nix servers. After using it you don't even need to keep a constant eye on Nagios dashboard. Think about all the time and efforts saved :) Hope this will be of some help. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 miskobs at yahoo.com Tue May 29 08:06:35 2012 From: miskobs at yahoo.com (Bratislav Stojkovic) Date: Mon, 28 May 2012 23:06:35 -0700 (PDT) Subject: (no subject) Message-ID: <1338271595.15463.YahooMailNeo@web160706.mail.bf1.yahoo.com> http://cateringequipmentstore.biz/admin111/myiq.php?sheep1.jpg -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 nagios at flatto.net Tue May 29 13:50:46 2012 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 29 May 2012 12:50:46 +0100 Subject: astaro firewall nagios-plugin In-Reply-To: References: Message-ID: <4FC4B816.6070409@flatto.net> take a look at the exchange.nagios.com or try to see what is the SNMP implementation you have on that firewall. On 25/05/12 16:02, Miguel Lanz wrote: > Hello everyone, > > Is there a way maybe through a nagios-plugin that would allow you to > get traps off of an astaro firewall? for example if the firewall reach > a certain amount of bandwidth get a nagios notification etc. > > Thanks for your help. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 edgarosy at gmail.com Tue May 29 14:39:16 2012 From: edgarosy at gmail.com (Edgar Lanz) Date: Tue, 29 May 2012 06:39:16 -0600 Subject: astaro firewall nagios-plugin In-Reply-To: <4FC4B816.6070409@flatto.net> References: <4FC4B816.6070409@flatto.net> Message-ID: Thanks for your feed back. CONFIDENTIALITY NOTICE: This message and any attachment(s) are solely for the use of the intended recipient(s) identified above and may contain information that is proprietary, privileged, or confidential. If you are not an intended recipient, you may not review, retransmit, or otherwise use this message or any attachment. If you have received this message in error, please immediately notify the sender by reply e-mail and delete this message. On May 29, 2012, at 5:50 AM, Assaf Flatto wrote: > take a look at the exchange.nagios.com > > or try to see what is the SNMP implementation you have on that firewall. > > > > On 25/05/12 16:02, Miguel Lanz wrote: >> >> Hello everyone, >> >> Is there a way maybe through a nagios-plugin that would allow you to get traps off of an astaro firewall? for example if the firewall reach a certain amount of bandwidth get a nagios notification etc. >> >> Thanks for your help. >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> _______________________________________________ >> 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 > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 linuxtovishesh at gmail.com Tue May 29 15:32:59 2012 From: linuxtovishesh at gmail.com (vishesh kumar) Date: Tue, 29 May 2012 09:32:59 -0400 Subject: Data Visualization in Nagios Message-ID: Hi Members, I want to present nagios data in graphics . What should i use for simple for network traffic , disk usage etc in simple graphics . I worked on cacti but i don't know how to integrate it with Nagios . On google searching ,I found NagiosGraph as one of the option . What you suggest ?N Thanks -Vishesh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 daniel.wittenberg.r0ko at statefarm.com Tue May 29 15:58:54 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Tue, 29 May 2012 13:58:54 +0000 Subject: Data Visualization in Nagios In-Reply-To: References: Message-ID: <4288A518A157EC4C8873FEE74F778BF01B4D4D@WPSDGQHH.OPR.STATEFARM.ORG> Take a look at pnp4nagios as well. Dan From: vishesh kumar [mailto:linuxtovishesh at gmail.com] Sent: Tuesday, May 29, 2012 8:33 AM To: Nagios Users List Subject: [Nagios-users] Data Visualization in Nagios Hi Members, I want to present nagios data in graphics . What should i use for simple for network traffic , disk usage etc in simple graphics . I worked on cacti but i don't know how to integrate it with Nagios . On google searching ,I found NagiosGraph as one of the option . What you suggest ? N Thanks -Vishesh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 May 29 16:24:00 2012 From: work at paul.dubuc.org (Paul Dubuc) Date: Tue, 29 May 2012 10:24:00 -0400 Subject: Data Visualization in Nagios In-Reply-To: References: Message-ID: <4FC4DC00.2030500@paul.dubuc.org> I recommend PNP4Nagios, especially if you have a large quantity of data and services to graph. The installation options offer better scalability than NagiosGraph. vishesh kumar wrote: > Hi Members, > > I want to present nagios data in graphics . What should i use for simple for > network traffic , disk usage etc in simple graphics . I worked on cacti but i > don't know how to integrate it with Nagios . > On google searching ,I found NagiosGraph as one of the option . What you suggest ? > > > N > > Thanks > -Vishesh > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 May 29 16:46:00 2012 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Tue, 29 May 2012 14:46:00 +0000 Subject: Data Visualization in Nagios In-Reply-To: <4FC4DC00.2030500@paul.dubuc.org> References: <4FC4DC00.2030500@paul.dubuc.org> Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853D263A46@HC-EXMBX03.herefordshire.gov.uk> I'd also add mk_livestatus and rrdcached into the mix with pnp4nagios. Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk -----Original Message----- From: Paul Dubuc [mailto:work at paul.dubuc.org] Sent: 29 May 2012 15:24 To: Nagios Users List Subject: Re: [Nagios-users] Data Visualization in Nagios I recommend PNP4Nagios, especially if you have a large quantity of data and services to graph. The installation options offer better scalability than NagiosGraph. vishesh kumar wrote: > Hi Members, > > I want to present nagios data in graphics . What should i use for > simple for network traffic , disk usage etc in simple graphics . I > worked on cacti but i don't know how to integrate it with Nagios . > On google searching ,I found NagiosGraph as one of the option . What you suggest ? > > > N > > Thanks > -Vishesh > > > ---------------------------------------------------------------------- > -------- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions will include endpoint security, mobile security and the > latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ?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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 dey.ranjib at gmail.com Tue May 29 19:31:36 2012 From: dey.ranjib at gmail.com (ranjib dey) Date: Tue, 29 May 2012 23:01:36 +0530 Subject: Data Visualization in Nagios In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B853D263A46@HC-EXMBX03.herefordshire.gov.uk> References: <4FC4DC00.2030500@paul.dubuc.org> <7CA580B59C1ABD45B4614ED90D4C7B853D263A46@HC-EXMBX03.herefordshire.gov.uk> Message-ID: pnp4nagios and graphite (use the graphios bridge to push nagios data automatically into graphite). with graphite you'll be able to compose custom graphs, combine multiple metrics. regards ranjib On Tue, May 29, 2012 at 8:16 PM, Randal, Phil wrote: > I'd also add mk_livestatus and rrdcached into the mix with pnp4nagios. > > Cheers, > > Phil > > -- > Phil Randal > Infrastructure Engineer > Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT > Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk > > -----Original Message----- > From: Paul Dubuc [mailto:work at paul.dubuc.org] > Sent: 29 May 2012 15:24 > To: Nagios Users List > Subject: Re: [Nagios-users] Data Visualization in Nagios > > I recommend PNP4Nagios, especially if you have a large quantity of data > and services to graph. The installation options offer better scalability > than NagiosGraph. > > vishesh kumar wrote: > > Hi Members, > > > > I want to present nagios data in graphics . What should i use for > > simple for network traffic , disk usage etc in simple graphics . I > > worked on cacti but i don't know how to integrate it with Nagios . > > On google searching ,I found NagiosGraph as one of the option . What you > suggest ? > > > > > > N > > > > Thanks > > -Vishesh > > > > > > ---------------------------------------------------------------------- > > -------- > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. > > Discussions will include endpoint security, mobile security and the > > latest in malware threats. > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > > > > _______________________________________________ > > 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 > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and threat > landscape has changed and how IT managers can respond. Discussions will > include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 > ?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. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 edg at greenberg.org Tue May 29 15:21:25 2012 From: edg at greenberg.org (Ed Greenberg) Date: Tue, 29 May 2012 09:21:25 -0400 Subject: Critical Passive Alerts do not show up as unhandled In-Reply-To: References: Message-ID: <4FC4CD55.8030103@greenberg.org> I have some passive alerts that I fire with nsca. When they are critical, they show up as critical in the service problems, but not in Unhandled service problems. Since they are unhandled, how can I make them show up in Unhandled, until acknowledged or cleared? Thanks, Ed ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 alexeyt at tehila.gov.il Mon May 28 14:19:04 2012 From: alexeyt at tehila.gov.il (Alexey Terentiev) Date: Mon, 28 May 2012 12:19:04 +0000 Subject: check_mysql Message-ID: <4F6AD801E18F804B81041BBC4B71ECD0272505D1@Tehila-Exch01.tehila.gov.il> Hi! I am trying to install the nagios plugins with check-mysql parameter, but its keep failing. It seems that all the librarys needed for the check_msql are installed on the server. But just to make sure, can you send me the names of the libs required? And also when I use the "with-mysql=..." where should I point it? Sincerely yours, Alexey Terentiev -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 ck at claudiokuenzler.com Wed May 30 08:26:36 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Wed, 30 May 2012 08:26:36 +0200 Subject: check_mysql In-Reply-To: <4F6AD801E18F804B81041BBC4B71ECD0272505D1@Tehila-Exch01.tehila.gov.il> References: <4F6AD801E18F804B81041BBC4B71ECD0272505D1@Tehila-Exch01.tehila.gov.il> Message-ID: On Mon, May 28, 2012 at 2:19 PM, Alexey Terentiev wrote: > Hi!**** > > ** ** > > I am trying to install the nagios plugins with check-mysql parameter, but > its keep failing. > Show error message please. Usually it already tells you what is missing. > **** > > It seems that all the librarys needed for the check_msql are installed on > the server.**** > > ** ** > > But just to make sure, can you send me the names of the libs required? > Depends on your OS/distro. On Debian you will have to install libmysqlclient-dev. > **** > > And also when I use the ?with-mysql=?? where should I point it?**** > > ** ** > > Sincerely yours,**** > > Alexey Terentiev**** > > ** ** > > ** ** > > ** ** > > ** ** > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Wed May 30 09:20:44 2012 From: giles at coochey.net (Giles Coochey) Date: Wed, 30 May 2012 08:20:44 +0100 Subject: check_mysql In-Reply-To: <4F6AD801E18F804B81041BBC4B71ECD0272505D1@Tehila-Exch01.tehila.gov.il> References: <4F6AD801E18F804B81041BBC4B71ECD0272505D1@Tehila-Exch01.tehila.gov.il> Message-ID: <4FC5CA4C.90608@coochey.net> On 28/05/2012 13:19, Alexey Terentiev wrote: > > Hi! > > I am trying to install the nagios plugins with check-mysql parameter, > but its keep failing. > > It seems that all the librarys needed for the check_msql are installed > on the server. > > But just to make sure, can you send me the names of the libs required? > > And also when I use the "with-mysql=..." where should I point it? > > Sincerely yours, > > Alexey Terentiev > > > > > On Centos / RedHat you're going to be looking for something like: [root at mgmt1 ~]# locate libmysql /usr/lib64/mysql/libmysqlclient.so /usr/lib64/mysql/libmysqlclient.so.16 /usr/lib64/mysql/libmysqlclient.so.16.0.0 /usr/lib64/mysql/libmysqlclient_r.so /usr/lib64/mysql/libmysqlclient_r.so.16 /usr/lib64/mysql/libmysqlclient_r.so.16.0.0 [root at mgmt1 ~]# -- Regards, Giles Coochey, CCNA, CCNAS NetSecSpec Ltd +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: 4928 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 linuxtovishesh at gmail.com Wed May 30 13:08:08 2012 From: linuxtovishesh at gmail.com (vishesh kumar) Date: Wed, 30 May 2012 07:08:08 -0400 Subject: Data Visualization in Nagios In-Reply-To: References: <4FC4DC00.2030500@paul.dubuc.org> <7CA580B59C1ABD45B4614ED90D4C7B853D263A46@HC-EXMBX03.herefordshire.gov.uk> Message-ID: Thanks to all, pnp4nagios is really amazing. I installed pnp4nagios and its working great . On http://localhost/php4nagios page i can see multiple graphs for localhost . Now i want similar graphs for my remote system , so should i need to install pnp4nagios on remote system as well . I am able to monitor network services via nrpe , so what i should do to get graphs for remote system as well. Thanks On Tue, May 29, 2012 at 1:31 PM, ranjib dey wrote: > pnp4nagios -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Wed May 30 14:53:28 2012 From: work at paul.dubuc.org (Paul Dubuc) Date: Wed, 30 May 2012 08:53:28 -0400 Subject: Data Visualization in Nagios In-Reply-To: References: <4FC4DC00.2030500@paul.dubuc.org> <7CA580B59C1ABD45B4614ED90D4C7B853D263A46@HC-EXMBX03.herefordshire.gov.uk> Message-ID: <4FC61848.1010409@paul.dubuc.org> vishesh kumar wrote: > Thanks to all,? pnp4nagios is really amazing. > > I installed pnp4nagios and its working great . On http://localhost/php4nagios > page i can see multiple graphs for localhost . > > Now i want similar graphs for my remote system , so should i need to install > ?pnp4nagios on remote system as well . I am able to monitor network services > via nrpe , so what i should do to get graphs for remote system as well.? > > Thanks > PNP4Nagios uses the performance data returned by the plugin and passed to it by Nagios, so you should only need PNP4Nagios installed with Nagios. You can subscribe to the pnp4nagios-users mailing list here. https://lists.sourceforge.net/lists/listinfo/pnp4nagios-users The people on it are usually very good about answering questions about it. Paul Dubuc ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Wed May 30 14:56:54 2012 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Wed, 30 May 2012 12:56:54 +0000 Subject: Data Visualization in Nagios In-Reply-To: References: <4FC4DC00.2030500@paul.dubuc.org> <7CA580B59C1ABD45B4614ED90D4C7B853D263A46@HC-EXMBX03.herefordshire.gov.uk> Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853D266751@HC-EXMBX03.herefordshire.gov.uk> You don't have to do anything on your remote system. If your nagios checks are returning performance data they'll automatically be graphed. Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk From: vishesh kumar [mailto:linuxtovishesh at gmail.com] Sent: 30 May 2012 12:08 To: Nagios Users List Subject: Re: [Nagios-users] Data Visualization in Nagios Thanks to all, pnp4nagios is really amazing. I installed pnp4nagios and its working great . On http://localhost/php4nagios page i can see multiple graphs for localhost . Now i want similar graphs for my remote system , so should i need to install pnp4nagios on remote system as well . I am able to monitor network services via nrpe , so what i should do to get graphs for remote system as well. Thanks On Tue, May 29, 2012 at 1:31 PM, ranjib dey > wrote: pnp4nagios "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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Wed May 30 15:17:33 2012 From: work at paul.dubuc.org (Paul Dubuc) Date: Wed, 30 May 2012 09:17:33 -0400 Subject: Data Visualization in Nagios In-Reply-To: <4FC61848.1010409@paul.dubuc.org> References: <4FC4DC00.2030500@paul.dubuc.org> <7CA580B59C1ABD45B4614ED90D4C7B853D263A46@HC-EXMBX03.herefordshire.gov.uk> <4FC61848.1010409@paul.dubuc.org> Message-ID: <4FC61DED.7090303@paul.dubuc.org> > vishesh kumar wrote: >> Thanks to all,? pnp4nagios is really amazing. I agree. >> >> I installed pnp4nagios and its working great . On http://localhost/php4nagios >> page i can see multiple graphs for localhost . >> >> Now i want similar graphs for my remote system , so should i need to install >> ?pnp4nagios on remote system as well . I am able to monitor network services >> via nrpe , so what i should do to get graphs for remote system as well.? >> >> Thanks You should be seeing graphs for all plugins that provide valid performance data. localhost may be the default for that page, but you should also see links to graphs for other host services by modifying the URL query or (better) getting to them by defining the action_url for your hosts and services to link to them: http://docs.pnp4nagios.org/pnp-0.6/webfe ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 agriffin at nagios.com Wed May 30 16:39:51 2012 From: agriffin at nagios.com (Alex Griffin) Date: Wed, 30 May 2012 09:39:51 -0500 Subject: passive check always Pending In-Reply-To: <005401cd3986$3d36e0e0$b7a4a2a0$@it.net> References: <005401cd3986$3d36e0e0$b7a4a2a0$@it.net> Message-ID: <4FC63137.9090600@nagios.com> The initial_state parameter is only for active checks. Passive services will remain in a pending state until they receive their first check results. Alex Griffin --- Tech Team agriffin at nagios.com On 05/24/2012 03:21 AM, Marco Borsani wrote: > Hi all. > > I supposed to use ?initial_state? parameter to see a particular state > waiting the first output from a passive check, but it is still in > pending state. > > How can I solve it ? > > Must I use other parameters together it? > > I can?t use the check_dummy active command because it deletes the error > before it is really solved?I disabled active checks > > Thanks > > Marco > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 agriffin at nagios.com Wed May 30 16:45:08 2012 From: agriffin at nagios.com (Alex Griffin) Date: Wed, 30 May 2012 09:45:08 -0500 Subject: Critical Passive Alerts do not show up as unhandled In-Reply-To: <4FC4CD55.8030103@greenberg.org> References: <4FC4CD55.8030103@greenberg.org> Message-ID: <4FC63274.3040001@nagios.com> From the Nagios Core docs: > Unhandled services problems are those that are not acknowledged, are not currently in scheduled downtime, and for which checks are currently enabled. If I read that right, I think it means that passive checks will never show up in the unhandled service problems. Alex Griffin --- Tech Team agriffin at nagios.com On 05/29/2012 08:21 AM, Ed Greenberg wrote: > I have some passive alerts that I fire with nsca. When they are > critical, they show up as critical in the service problems, but not in > Unhandled service problems. Since they are unhandled, how can I make > them show up in Unhandled, until acknowledged or cleared? > > Thanks, > > Ed > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 agriffin at nagios.com Wed May 30 16:51:30 2012 From: agriffin at nagios.com (Alex Griffin) Date: Wed, 30 May 2012 09:51:30 -0500 Subject: Manually run custom command via nagios dashboard possible? In-Reply-To: References: <4FBF9585.1050503@op5.se> Message-ID: <4FC633F2.2050204@nagios.com> You could set up something like Ajaxterm so that you could log in to your nagios server from a web browser. Alex Griffin --- Tech Team agriffin at nagios.com On 05/25/2012 10:19 AM, Ajay Jethani wrote: > Is there a recommended or a sample framework (outside of nagios) that > would be useful in implementing that page or is the page that it would > point to something that is mostly home-grown by developers? > > > On Fri, May 25, 2012 at 10:21 AM, Andreas Ericsson > wrote: > > On 05/25/2012 03:29 PM, Ajay Jethani wrote: > > I'd like the nagios dashboard to allow me to run commands > MANUALLY when I > > see there is an issue. > > For example, when a service goes into the 'CRITICAL state' I > would check > > the dashboard and do a sanity check by looking at the performance > output > > and perhaps even log onto the machine. I'd like to keep the > dashboard open > > and click a hyperlink that executes a command that I choose on > the remote > > machine. > > > > I know there is the concept of event handlers which can AUTOMATICALLY > > execute a command when a service check returns a failure, but I'd > prefer to > > do this type of healing manually. > > > > Does nagios offer an ability to run a custom command/script I > choose via > > the dashboard? > > > > No. That would be akin to building in a secure shell client into Nagios, > which is something we'll most likely never (ever) do. > > Most people who've wanted to do similar things make a separate page for > it, point action_url or notes_url to that page, and then handle stuff > in a script of their own. > > -- > 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. > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 agriffin at nagios.com Wed May 30 17:27:51 2012 From: agriffin at nagios.com (Alex Griffin) Date: Wed, 30 May 2012 10:27:51 -0500 Subject: Compile problem linking iconv library (nagios 3.4.1) In-Reply-To: <201205280439.AA05377@S2007337.jp.fujitsu.com> References: <201205280434.AA05376@S2007337.jp.fujitsu.com> <201205280439.AA05377@S2007337.jp.fujitsu.com> Message-ID: <4FC63C77.2070709@nagios.com> Unfortunately, I think this is actually a long-standing bug in Nagios Core. International characters are only displayed correctly from plugin output. They are not displayed correctly when read from object definitions, and are not allowed in text fields in the web interface like submitting passive check results. Alex Griffin --- Tech Team agriffin at nagios.com On 05/27/2012 11:39 PM, Yu Watanabe wrote: > I am using ja_JP.UTF-8 for character code. > > Yu Watanabe ????????: >> Hi ! >> >> I had some trouble displaying Japanese characters on UI. >> I am guessing that this occured because of the link error to iconv library >> during the compileation. >> >> configure:5977: checking for main in -liconv >> configure:6004: gcc -o conftest -g -O2 conftest.c -liconv>&5 >> /usr/bin/ld: cannot find -liconv >> >> According to the ldconfig , libiconv seems to be cached properly. >> >> ldconfig -p | grep iconv >> libiconv.so.2 (libc6) => /usr/lib/libiconv.so.2 >> >> I have tried setting , LD_LIBRARY_PATH or iibdir but >> it made no difference. >> >> Does anyone had similar problem with the link error with iconv? >> >> Thanks, >> Yu > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 h_nashrah at hotmail.com Wed May 30 09:14:00 2012 From: h_nashrah at hotmail.com (hassan nashrah) Date: Wed, 30 May 2012 12:14:00 +0500 Subject: oracle_nagios_check In-Reply-To: References: Message-ID: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 mohamed.bakouk at gmail.com Thu May 31 00:33:32 2012 From: mohamed.bakouk at gmail.com (mohamed bakouk) Date: Wed, 30 May 2012 22:33:32 +0000 Subject: nagios Message-ID: bonsoir, j'ai bien suiver la documentation d'instalation de nagios (etape par etape),l'interface nagios est bien la. le probleme c'est que "localhost" est tjrs down voici le msg d'errurs localhost down return code 127 is out of bound -plugins my be messing -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 allanc at chickenandporn.com Thu May 31 00:54:41 2012 From: allanc at chickenandporn.com (Allan Clark) Date: Wed, 30 May 2012 15:54:41 -0700 Subject: nagios In-Reply-To: References: Message-ID: 2012/5/30 mohamed bakouk > bonsoir, > j'ai bien suiver la documentation d'instalation de nagios (etape par > etape),l'interface nagios est bien la. > le probleme c'est que "localhost" est tjrs down > voici le msg d'errurs localhost down return code 127 is out of bound -plugins > my be messing > Error #127 seems to imply that the plugin cannot be found -- c'est message indique que le plugin n'est pas la ? C'est plugin peut-etre dedans un package s'appelle "nagios-plugins" ou "nagios-{qqchose}-plugins" Peut-etre v?rifier que vous avez installe ce package "nagios-plugins" ou "nagios-{qqchose}-plugins" d'accord votre distribution. Vous n'avec ?crit si vous avez Redhat, CentOS, Debian, Slackware, quelle version (distribution et Nagios), etc, peut-?tre les escrivez? Pardon my bad french, wanted to send a quick response :) Allan > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 > -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Thu May 31 06:21:28 2012 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Thu, 31 May 2012 09:51:28 +0530 Subject: Warning: Size of service_message struct (8376 bytes) is > POSIX-guaranteed atomic write size (512 bytes). Message-ID: Hi, I am running Nagios on CentOS release 5.5 (Final). Any clue about the below warning? Please let me know if any one needs any additional information. /usr/sbin/nagios -v /etc/nagios/nagios.cfg Nagios 2.12 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 05-19-2008 License: GPL Reading configuration data... Running pre-flight check on configuration data... *Warning: Size of service_message struct (8376 bytes) is > POSIX-guaranteed atomic write size (512 bytes). Service checks results may get lost or mangled!* Checking services... Checked 341 services. Checking hosts... Checked 27 hosts. Checking host groups... Checked 13 host groups. Checking service groups... Checked 3 service groups. Checking contacts... Checked 27 contacts. Checking contact groups... Checked 10 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 77 commands. Checking time periods... Checked 4 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 1 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Peter.Shankland at ricoh-rpl.com Thu May 31 12:13:56 2012 From: Peter.Shankland at ricoh-rpl.com (Peter.Shankland at ricoh-rpl.com) Date: Thu, 31 May 2012 11:13:56 +0100 Subject: check_snmp_ibm_imm.sh Plugin Help Message-ID: Hi all, I am trying to use the check_snmp_ibm_imm.sh plugin from Nagios Exchange ( http://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/IBM/check_snmp_ibm_imm-2Esh/details ) but am having issues with getting a status back through Nagios - command line seems to work fine. As an example, when I run "./check_snmp_ibm_imm.sh -H -C -T voltage" at the command line of the Nagios server I get output: So this shows that the plugin is working fine. However, when I then translate that into Nagios with the new command of: I just get the following: It is obviously something I am doing wrong in Nagios but could do with a push in the right direction :) Thanks. Pete. Peter Shankland TECHNICAL NETWORK SPECIALIST IT DEPARTMENT DD:+44 (0) 1952 205160 F:+44 (0) 1952 213100 M:+44 (0) 7919 444077 E: Peter.Shankland at ricoh-rpl.com Ricoh UK Products Limited Priorslee | Telford | Shropshire | TF2 9NS T: +44 (0) 1952 290090 Please do not print this email unless absolutely necessary in order to save paper and energy, and you will contribute to resource conservation and CO2 reduction. This email including attachments is intended for the addressee(s) only. It may be labelled confidential/ private and contain confidential/private information. Please respect the wishes of the sender in the way you treat this email and the information contained within. If in doubt clarify the wishes of the sender before acting. If you have received this email in error, you may not review, copy or forward this message in whole or in part. Ricoh UK Products employees should delete from their system and notify us of the error via the ISMS Security Incident Reporting database. External recipients should delete from their system and alert us via email, advising the name of the sender and the time and date of receipt. Any views expressed in this email may not necessarily reflect those of Ricoh UK Products Ltd. You should ensure that the onward transmission, opening or use of this message or attachments will not adversely affect your system or data and carry out anti-virus checks before downloading. Internet communications are not secure and therefore Ricoh UK Products Ltd accepts no responsibility for any direct, indirect or consequential damage resulting from the transmission of this message. Registered in England No. 1763860 Registered Office: Ricoh UK Products Limited, Priorslee, Telford, Shropshire, TF2 9NS -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 4228 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 8445 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 5723 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 1119 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 566 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 linuxtovishesh at gmail.com Thu May 31 12:49:17 2012 From: linuxtovishesh at gmail.com (vishesh kumar) Date: Thu, 31 May 2012 06:49:17 -0400 Subject: Data Visualization in Nagios In-Reply-To: <4FC61DED.7090303@paul.dubuc.org> References: <4FC4DC00.2030500@paul.dubuc.org> <7CA580B59C1ABD45B4614ED90D4C7B853D263A46@HC-EXMBX03.herefordshire.gov.uk> <4FC61848.1010409@paul.dubuc.org> <4FC61DED.7090303@paul.dubuc.org> Message-ID: Thanks to all. pnp4nagios now working fine for me . On Wed, May 30, 2012 at 9:17 AM, Paul Dubuc wrote: > > vishesh kumar wrote: >> >>> Thanks to all,? pnp4nagios is really amazing. >>> >> > I agree. > > > >>> I installed pnp4nagios and its working great . On >>> http://localhost/php4nagios >>> page i can see multiple graphs for localhost . >>> >>> Now i want similar graphs for my remote system , so should i need to >>> install >>> ?pnp4nagios on remote system as well . I am able to monitor network >>> services >>> via nrpe , so what i should do to get graphs for remote system as well.? >>> >>> Thanks >>> >> > You should be seeing graphs for all plugins that provide valid performance > data. localhost may be the default for that page, but you should also see > links to graphs for other host services by modifying the URL query or > (better) getting to them by defining the action_url for your hosts and > services to link to them: > > http://docs.pnp4nagios.org/**pnp-0.6/webfe > -- http://linuxmantra.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 linuxtovishesh at gmail.com Thu May 31 12:57:21 2012 From: linuxtovishesh at gmail.com (vishesh kumar) Date: Thu, 31 May 2012 06:57:21 -0400 Subject: Plugin to Monitor Network Interface Message-ID: Hi Members, I want to set php4nagios to display input/output graph via nagios . I need your suggestion on what plugin i should use to monitor network traffic on a particular interface . Thanks Vishesh Kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 May 31 13:37:31 2012 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Thu, 31 May 2012 11:37:31 +0000 Subject: Plugin to Monitor Network Interface In-Reply-To: References: Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853D26B6F1@HC-EXMBX03.herefordshire.gov.uk> If you've SNMP enabled on your servers, easiest way is via check_iftraffic3.pl It would help if you specified which operating system(s) the monitored box(es) run(s). Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk From: vishesh kumar [mailto:linuxtovishesh at gmail.com] Sent: 31 May 2012 11:57 To: Nagios Users List Subject: [Nagios-users] Plugin to Monitor Network Interface Hi Members, I want to set php4nagios to display input/output graph via nagios . I need your suggestion on what plugin i should use to monitor network traffic on a particular interface . Thanks Vishesh Kumar "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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 daniel.wittenberg.r0ko at statefarm.com Thu May 31 15:46:21 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Thu, 31 May 2012 13:46:21 +0000 Subject: Warning: Size of service_message struct (8376 bytes) is > POSIX-guaranteed atomic write size (512 bytes). In-Reply-To: References: Message-ID: <4288A518A157EC4C8873FEE74F778BF01BF178@WPSDGQHH.OPR.STATEFARM.ORG> I personally haven't seen that, have you looked at using a more recent version? Dan From: Kaushal Shriyan [mailto:kaushalshriyan at gmail.com] Sent: Wednesday, May 30, 2012 11:21 PM To: nagios Mailinglist Subject: [Nagios-users] Warning: Size of service_message struct (8376 bytes) is > POSIX-guaranteed atomic write size (512 bytes). Hi, I am running Nagios on CentOS release 5.5 (Final). Any clue about the below warning? Please let me know if any one needs any additional information. /usr/sbin/nagios -v /etc/nagios/nagios.cfg Nagios 2.12 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 05-19-2008 License: GPL Reading configuration data... Running pre-flight check on configuration data... Warning: Size of service_message struct (8376 bytes) is > POSIX-guaranteed atomic write size (512 bytes). Service checks results may get lost or mangled! Checking services... Checked 341 services. Checking hosts... Checked 27 hosts. Checking host groups... Checked 13 host groups. Checking service groups... Checked 3 service groups. Checking contacts... Checked 27 contacts. Checking contact groups... Checked 10 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 77 commands. Checking time periods... Checked 4 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 1 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 Thu May 31 16:26:08 2012 From: frnkblk at iname.com (Frank Bulk) Date: Thu, 31 May 2012 09:26:08 -0500 Subject: Plugin to Monitor Network Interface In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B853D26B6F1@HC-EXMBX03.herefordshire.gov.uk> References: <7CA580B59C1ABD45B4614ED90D4C7B853D26B6F1@HC-EXMBX03.herefordshire.gov.uk> Message-ID: <002301cd3f39$5210c950$f6325bf0$@iname.com> +1 From: Randal, Phil [mailto:phil.randal at hoopleltd.co.uk] Sent: Thursday, May 31, 2012 6:38 AM To: Nagios Users List Subject: Re: [Nagios-users] Plugin to Monitor Network Interface If you've SNMP enabled on your servers, easiest way is via check_iftraffic3.pl It would help if you specified which operating system(s) the monitored box(es) run(s). Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk From: vishesh kumar [mailto:linuxtovishesh at gmail.com] Sent: 31 May 2012 11:57 To: Nagios Users List Subject: [Nagios-users] Plugin to Monitor Network Interface Hi Members, I want to set php4nagios to display input/output graph via nagios . I need your suggestion on what plugin i should use to monitor network traffic on a particular interface . Thanks Vishesh Kumar "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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- 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 mad at b-care.net Thu May 31 16:57:45 2012 From: mad at b-care.net (MAD) Date: Thu, 31 May 2012 16:57:45 +0200 Subject: JMX requests without java Message-ID: <4FC786E9.7080108@b-care.net> Hi list, I have to monitor a bunch of JVM by collecting some JMX data. I was wondering if there is a way to submit JMX requests without installing java on my Nagios server. Usually I would use the SNMP Java agent but it doesn't show all the data I need, and I can't install the JMX4Perl agent on the monitored servers. Does somebody have an idea? Thanks, Marc-Andr? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 daniel.wittenberg.r0ko at statefarm.com Thu May 31 17:06:05 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Thu, 31 May 2012 15:06:05 +0000 Subject: JMX requests without java In-Reply-To: <4FC786E9.7080108@b-care.net> References: <4FC786E9.7080108@b-care.net> Message-ID: <4288A518A157EC4C8873FEE74F778BF01BF3EA@WPSDGQHH.OPR.STATEFARM.ORG> I don't remember the details, but I thought you could setup one host with jmx4perl and use that as a proxy for the other hosts, something like that work ? Dan -----Original Message----- From: MAD [mailto:mad at b-care.net] Sent: Thursday, May 31, 2012 9:58 AM To: Nagios-Users Subject: [Nagios-users] JMX requests without java Hi list, I have to monitor a bunch of JVM by collecting some JMX data. I was wondering if there is a way to submit JMX requests without installing java on my Nagios server. Usually I would use the SNMP Java agent but it doesn't show all the data I need, and I can't install the JMX4Perl agent on the monitored servers. Does somebody have an idea? Thanks, Marc-Andr? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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 Thu May 31 19:58:09 2012 From: work at paul.dubuc.org (Paul Dubuc) Date: Thu, 31 May 2012 13:58:09 -0400 Subject: JMX requests without java In-Reply-To: <4FC786E9.7080108@b-care.net> References: <4FC786E9.7080108@b-care.net> Message-ID: <4FC7B131.5090309@paul.dubuc.org> MAD wrote: > Hi list, > > I have to monitor a bunch of JVM by collecting some JMX data. I was > wondering if there is a way to submit JMX requests without installing > java on my Nagios server. > > Usually I would use the SNMP Java agent but it doesn't show all the data > I need, and I can't install the JMX4Perl agent on the monitored servers. > Does somebody have an idea? > > Thanks, > Use Jmx4Perl (http://labs.consol.de/lang/de/jmx4perl/) with Jolokia (http://labs.consol.de/lang/de/jolokia/). It does not require you to install Java on the Nagios server. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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