From xml.devel at gmail.com Wed Jun 1 08:27:04 2011 From: xml.devel at gmail.com (Kumar, Ashish) Date: Wed, 1 Jun 2011 11:57:04 +0530 Subject: Scheduled downtime and host checks In-Reply-To: References: Message-ID: On 1 June 2011 00:29, Jim Avery wrote: > On 31 May 2011 17:18, Kumar, Ashish wrote: > > Hello Everyone, > > > > I had been under the impression that no service checks would be executed > on > > a server during scheduled downtime but it seems otherwise. > > > > Would I be right in assuming all service checks will still be performed > on a > > server during a scheduled downtime? > > > > I tried checking the documentation but there seems to be no information > > regarding this. > > > > Any hints are most welcome. > > No, scheduled downtime only affects notifications, and the stats you > see in the availability cgi. Service and host checks run as normal > during scheduled downtime. Thanks Jim for the explanation but I do not see any rational reason to execute host and service checks while the monitored host is scheduled for "fixed" downtime. > This is useful because it allows you to > check the stats of those hosts and services are ok before the > scheduled downtime period ends. > But if the host/services are offline after the scheduled "fixed" downtime period ends it will send the notifications anyway (or would it not?) I wish there was a way to disable active checks while a host has scheduled downtime set. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev -------------- 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 jeffrey.w.watts at gmail.com Wed Jun 1 16:26:26 2011 From: jeffrey.w.watts at gmail.com (Jeffrey Watts) Date: Wed, 1 Jun 2011 09:26:26 -0500 Subject: Scheduled downtime and host checks In-Reply-To: References: Message-ID: On Wed, Jun 1, 2011 at 1:27 AM, Kumar, Ashish wrote: > >> No, scheduled downtime only affects notifications, and the stats you >> see in the availability cgi. Service and host checks run as normal >> during scheduled downtime. > > > Thanks Jim for the explanation but I do not see any rational reason to > execute host and service checks while the monitored host is scheduled for > "fixed" downtime. > There are plenty of rational reasons. Just because you disagree with the default behavior doesn't mean it's irrational. Many, many, many times I put systems into scheduled, fixed downtime and still want checks to be executed. For example, if I know the netadmins are going to be reconfiguring networking at one of our datacenters I will schedule fixed downtime for the period of their maintenance for the servers/switches/routers affected. However, I do want to see what's up and down during that time so I can tell when they start and finish their work, and what they're affecting. That's a perfectly rational reason to do checks during maintenance. > This is useful because it allows you to >> check the stats of those hosts and services are ok before the >> scheduled downtime period ends. >> > > But if the host/services are offline after the scheduled "fixed" downtime > period ends it will send the notifications anyway (or would it not?) > > I wish there was a way to disable active checks while a host has scheduled > downtime set. > If the hosts and services are down after the downtime ends yes it will send notifications, as clearly either: 1) The maintenance window wasn't long enough. 2) Someone broke something, or something died for another reason during maintenance Sounds like proper behavior. As far as your question goes, you can disable active checks manually, or you can write a script that sets downtime and disables active checks at the same time. You could then run it (manually or via 'at' or something else) to re-enable active checks. Or hack the Nagios source code and add that option yourself. I believe in the last week or so someone posted a sample script for setting downtime via a script, so you might search the archives. Jeffrey. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev -------------- 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 roberto.nunnari at supsi.ch Wed Jun 1 16:41:08 2011 From: roberto.nunnari at supsi.ch (Roberto Nunnari) Date: Wed, 01 Jun 2011 16:41:08 +0200 Subject: Services are dependent on the host they run on? In-Reply-To: <4DE3C8A5.6050902@supsi.ch> References: <4DDE83EF.5070204@supsi.ch> <70D7A4219FE365439DA53582BA6D8F2E176AFBC8@HCSD-MAIL2> <4DDE904A.3080701@flatto.net> <4DDF4C12.8060704@supsi.ch> <13579FFE8B208F4DBA327EE25F804AABFE12A6A2@swvbpheaglxmb02.health.local> <4DE3C8A5.6050902@supsi.ch> Message-ID: <4DE64F84.3020701@supsi.ch> Roberto Nunnari wrote: > Hi Gerald. > > > Ortner, Gerald wrote: >> What host/service check interval/max check attempts do you use? >> Maybe the host check interval is much longer than the service check interval. >> If the services become hard state critical before the host check does, the service notifications will be sent, as Nagios isn't aware of the host problem. >> I don't know how Nagios behaves if the host is only in soft state? > > I believe that may be the problem. > The service and host check interval were all 1 minute. > Maybe, if the checks on the services happen to fail before the checks on > the host, then notification for all failed services will be sent anyways. > > This assumes that nagios doesn't care about service dependency on the > host running the service when the host is in soft state critical, but > only when the host is in hard state critical. > > I modified host/service check interval as follow: > define host { > ... > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > ... > } > define service { > ... > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 2 > ... > } > > The above should always give host checks for the host to reach a hard > state critical before the services in case the host goes down. > > I've already run an easy test and the result confirmed what stated > above, but I'll run some more tests as soon as possible, maybe already > tomorrow, and report the results here. Hi all. I can confirm that now I can no longer reproduce that undesired behavior. So it seems that it was a misconfiguration of the host/service check interval/max check attempts. I would be very helpful though, if 'nagios -v' would signal that, at least as a warning. If I'll ever get round to, I'd be pleased to contribute a patch for that. Thank you very much and best regards. Roberto Nunnari > > Thank you to all. > Robi > >> hth >> gerald >> >>> -----Urspr?ngliche Nachricht----- >>> Von: Roberto Nunnari [mailto:roberto.nunnari at supsi.ch] >>> Gesendet: Freitag, 27. Mai 2011 09:01 >>> An: Nagios Users List >>> Betreff: Re: [Nagios-users] Services are dependent on the host they run on? >>> >>> Hi Mark. >>> >>> >>> Frost, Mark {PBC} wrote: >>>> Maybe I'm missing something but I thought that suppressing notifications >>> for services on the same host when the host goes down is the default >>> behavior. It's only when you have to suppress notifications from different >>> hosts that you need host/service dependencies. >>> >>> That's exactly what I was expecting, but it doesn't seem to work that way.. at >>> least not for me. >>> >>> Yesterday for instance, a host went down because of a hd controller failure, >>> and I received 22 sms.. >>> >>> Robi >>> >>> >>>> Mark >>>> >>>> -----Original Message----- >>>> From: Assaf Flatto [mailto:nagios at flatto.net] >>>> Sent: Thursday, May 26, 2011 1:39 PM >>>> To: Nagios Users List >>>> Subject: Re: [Nagios-users] Services are dependent on the host they run >>> on? >>>> Martin Hugo wrote: >>>>> Hi Robi, >>>>> >>>>> I have never done it but I know you can make hosts/services children that >>> will not report if the parent is down. >>>>> Hope this puts you on the right track. >>>>> >>>>> Marty >>>>> >>>>> -----Original Message----- >>>>> From: Roberto Nunnari [mailto:roberto.nunnari at supsi.ch] >>>>> Sent: Thursday, May 26, 2011 12:47 PM >>>>> To: nagios-users at lists.sourceforge.net >>>>> Subject: [Nagios-users] Services are dependent on the host they run on? >>>>> >>>>> Hi all. >>>>> >>>>> Some time ago, I've installed and configured nagios to monitor our IT >>>>> infrastructure. >>>>> >>>>> It works very well and we're happy with it. >>>>> >>>>> There's still one problem though: >>>>> When a host goes down, nagios sends notifications not only for host >>>>> down, but also for all services running on that host. When a host >>>>> goes down, I would like nagios to only send notifications about the >>>>> host down, and not for all the services running on that host. >>>>> >>>>> How can I achive that? >>>>> May it be a configuration error from my side? I thought that to >>>>> nagios, services would be dependent from the host running them.. >>>>> >>>>> Any hint/advice/guidance is very welcome. >>>>> >>>>> Thank you and best regards. >>>>> >>>>> Robi >>>>> >>>> check out service dependencies >>>> >>>> http://nagios.sourceforge.net/docs/3_0/dependencies.html ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Craig.Stewart at corp.xplornet.com Wed Jun 1 16:47:52 2011 From: Craig.Stewart at corp.xplornet.com (Craig Stewart) Date: Wed, 01 Jun 2011 11:47:52 -0300 Subject: Non obvious 127 plugin error Message-ID: <4DE65118.7050607@corp.xplornet.com> Good day folks, I've spent the better part of a week using Google and combing forums for an answer to this question without much luck. First the specs: Nagios version 3.2.3 Nagios and associated plugins installed on CentOS 5.6 and Fedora 15 servers via package management (i.e. yum) I have a couple plugins that simply won't execute. One of which is the check_dig command. I'll use this for an example. >From the commands.cfg file for Nagios: define command{ command_name check_dns command_line /usr/lib/nagios/plugins/check_dig -H $HOSTADDRESS$ -l $ARG1$ -a $ARG2$ -w $ARG3$ -c $ARG4$ -t $ARG5$ } >From the Nagios log file: [1306863226] Warning: Return code of 127 for check of service 'DNS-Check' on host 'TS-TOR-DNS-1' was out of bounds. Make sure the plugin you're trying to run actually exists. Okay, first to see if it exists: [root at nms ~]# locate check_dig /usr/lib/nagios/plugins/check_dig [root at nms ~]# Ownership and permissions check: [root at nms ~]# ls -l /usr/lib/nagios/plugins/check_dig -rwxr-xr-x. 1 nagios nagios 43292 Mar 23 15:42 /usr/lib/nagios/plugins/check_dig [root at nms ~]# Try running it as root: [root at nms ~]# /usr/lib/nagios/plugins/check_dig *BLANKED* -l *BLANKED* -a *BLANKED* -c 5 -w 0.25 DNS OK - 0.005 seconds response time (*BLANKED*. 900 IN A *BLANKED*)|time=0.004967s;0.250000;5.000000;0.000000 So it works as root. Now to try as Nagios user: [root at nms ~]# su - nagios -bash-4.2$ /usr/lib/nagios/plugins/check_dig *BLANKED* -l *BLANKED* -a *BLANKED* -c 5 -w 0.25 DNS OK - 0.005 seconds response time (*BLANKED*. 900 IN A *BLANKED*)|time=0.004967s;0.250000;5.000000;0.000000 It works as the Nagios user as well. So, I'm sure you can see my confusion. The plugin exists and is executable for a user on the system, but even when called directly as opposed to using the $USER1$ macro, the Nagios process can't run it. Any thoughts anyone? Cheers! Craig -- Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 1 17:00:34 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Wed, 01 Jun 2011 11:00:34 -0400 Subject: Scheduled downtime and host checks In-Reply-To: References: Message-ID: <4DE65412.2000906@paul.dubuc.org> Jeffrey Watts wrote: > On Wed, Jun 1, 2011 at 1:27 AM, Kumar, Ashish > wrote: > > > No, scheduled downtime only affects notifications, and the stats you > see in the availability cgi. Service and host checks run as normal > during scheduled downtime. > > > Thanks Jim for the explanation but I do not see any rational reason > to execute host and service checks while the monitored host is > scheduled for "fixed" downtime. > > > There are plenty of rational reasons. Just because you disagree with > the default behavior doesn't mean it's irrational. Many, many, many > times I put systems into scheduled, fixed downtime and still want checks > to be executed. For example, if I know the netadmins are going to be > reconfiguring networking at one of our datacenters I will schedule fixed > downtime for the period of their maintenance for the > servers/switches/routers affected. > > However, I do want to see what's up and down during that time so I can > tell when they start and finish their work, and what they're affecting. > That's a perfectly rational reason to do checks during maintenance. > > This is useful because it allows you to > check the stats of those hosts and services are ok before the > scheduled downtime period ends. > > > But if the host/services are offline after the scheduled "fixed" > downtime period ends it will send the notifications anyway (or would > it not?) > > I wish there was a way to disable active checks while a host has > scheduled downtime set. > > > If the hosts and services are down after the downtime ends yes it will > send notifications, as clearly either: > > 1) The maintenance window wasn't long enough. > 2) Someone broke something, or something died for another reason during > maintenance > > Sounds like proper behavior. > > As far as your question goes, you can disable active checks manually, or > you can write a script that sets downtime and disables active checks at > the same time. You could then run it (manually or via 'at' or something > else) to re-enable active checks. Or hack the Nagios source code and > add that option yourself. I believe in the last week or so someone > posted a sample script for setting downtime via a script, so you might > search the archives. > > Jeffrey. You give some very good reasons for Nagios current behavior during a downtime. But I agree with the original request that there be an option to disable checks during a downtime because there are equally rational reasons to do so. There are some cases where we really should not be running service checks during down times because of the extra load they put on our system when they fail. Many of our checks fail in this case by timing out and they use relatively scarce (shared) and resource intensive processes (web browser sessions run under SeleniumRC). Timeouts tend to be long for these checks so there is more contention for these processes when all the checks using them start failing, and they're run more often until they all go into a 'hard' failure state, etc. Maybe we can live with this, but it would be easier on the system to just inhibit checks we know are going to fail during certain regularly scheduled down times. There may be plenty of other examples where running lots of failing tests during a downtime end up using significant system resources. We implement our regular downtimes by using by defining the uptime with a timeperiod and using that for the check_period and notification_period of our services. The problem with that is that all the services get scheduled to run at the exact second that our "downtime" ends. So we have to define a concurrency limit and rely on nagios nudging checks out when the limit is reached in order to spread the schedule out again. It would be very nice to be able to define regular downtimes with timeperiods and have the option of inhibiting checks as well as notifications during those downtimes without bunching up the scheduling queue when the downtime ends. ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 asmodeus.be Wed Jun 1 17:51:10 2011 From: nagios at asmodeus.be (Pascal Vandeputte) Date: Wed, 1 Jun 2011 17:51:10 +0200 Subject: distributed host checks: freshness checking issues In-Reply-To: <201105311724.39206.nagios@asmodeus.be> References: <201105311724.39206.nagios@asmodeus.be> Message-ID: <201106011751.10909.nagios@asmodeus.be> Okay, I got some new information: when I look at the Scheduling Queue, I see that the master is still scheduling active checks for some reason. In nagios.cfg I specified "execute_host_checks=0" and each host stanza has "check_interval 0" which should prevent any scheduled active host checking, right? It's also weird that the queue is falling behind fast... Half a day after the last nagios reload, the "next check" of a host is scheduled several hours earlier than the time shown in the "last check" column :s In the attached screenshot, it's just a couple of minutes behind but Nagios was reloaded 10 minutes earlier. Things I tried in the mean time in nagios.cfg: use_retained_program_state=0 use_retained_scheduling_info=0 (in case something from the state file was keeping Nagios from using the new settings) check_result_reaper_frequency=2 (this last change was suggested when running "nagios -s nagios.cfg") But nothing seems to fix this. Now, after reading http://nagios.sourceforge.net/docs/3_0/hostchecks.html one more time, I'm beginning to fear that it's impossible to make the master only run the check_command when doing freshness checks: "If you set the check_interval option in your host definition to zero (0), Nagios will not perform checks of the hosts on a regular basis. It will, however, still perform on-demand checks of the host as needed for other parts of the monitoring logic." Those other parts of the monitoring logic are e.g. the "host reachability logic" and some more things. If those still cause on-demand checks, which only result in a "stale" warning, then it looks quite bad for anyone trying to monitor hosts in remote private networks. And then I started fiddling with host check caching for on-demand host checks. http://nagios.sourceforge.net/docs/3_0/cachedchecks.html After increasing cached_host_check_horizon to 300 seconds (the biggest host check_interval we use), all of these on-demand checks should get their data from the last cached check. And indeed, no more wild mood swings in the host states! Yay! After a quick test it seems that my problem is now solved. Touch wood. I'd rather just have an option to *really* disable host checks altogether, after all that's what you think you're doing with "execute_host_checks=0", according to the documentation at http://nagios.sourceforge.net/docs/3_0/configmain.html On the other hand, letting nagios look at old results in the cache is probably not that different from doing no checks at all. I'm only worried that the caching may delay notifications in some cases, but we'll have to experience this I guess. Can anyone confirm that my reasoning is correct? That the master will *always* keep on doing *some* host checks no matter what you configure? Best regards, Pascal -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.png Type: image/png Size: 89969 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martin_Hugo at hboe.org Wed Jun 1 19:11:08 2011 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Wed, 1 Jun 2011 17:11:08 +0000 Subject: Non obvious 127 plugin error In-Reply-To: <4DE65118.7050607@corp.xplornet.com> References: <4DE65118.7050607@corp.xplornet.com> Message-ID: <70D7A4219FE365439DA53582BA6D8F2E176B13D1@HCSD-MAIL2> Hi Craig, Not sure if it will help you but when I had a check reporting a similar plug-in error that ran just fine from the terminal I removed the password variable from the comd def and hard-coded the pwd in there instead. Worked for me. Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-771-7243 (Fax) -----Original Message----- From: Craig Stewart [mailto:Craig.Stewart at corp.xplornet.com] Sent: Wednesday, June 01, 2011 10:48 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Non obvious 127 plugin error Good day folks, I've spent the better part of a week using Google and combing forums for an answer to this question without much luck. First the specs: Nagios version 3.2.3 Nagios and associated plugins installed on CentOS 5.6 and Fedora 15 servers via package management (i.e. yum) I have a couple plugins that simply won't execute. One of which is the check_dig command. I'll use this for an example. >From the commands.cfg file for Nagios: define command{ command_name check_dns command_line /usr/lib/nagios/plugins/check_dig -H $HOSTADDRESS$ -l $ARG1$ -a $ARG2$ -w $ARG3$ -c $ARG4$ -t $ARG5$ } >From the Nagios log file: [1306863226] Warning: Return code of 127 for check of service 'DNS-Check' on host 'TS-TOR-DNS-1' was out of bounds. Make sure the plugin you're trying to run actually exists. Okay, first to see if it exists: [root at nms ~]# locate check_dig /usr/lib/nagios/plugins/check_dig [root at nms ~]# Ownership and permissions check: [root at nms ~]# ls -l /usr/lib/nagios/plugins/check_dig -rwxr-xr-x. 1 nagios nagios 43292 Mar 23 15:42 /usr/lib/nagios/plugins/check_dig [root at nms ~]# Try running it as root: [root at nms ~]# /usr/lib/nagios/plugins/check_dig *BLANKED* -l *BLANKED* -a *BLANKED* -c 5 -w 0.25 DNS OK - 0.005 seconds response time (*BLANKED*. 900 IN A *BLANKED*)|time=0.004967s;0.250000;5.000000;0.000000 So it works as root. Now to try as Nagios user: [root at nms ~]# su - nagios -bash-4.2$ /usr/lib/nagios/plugins/check_dig *BLANKED* -l *BLANKED* -a *BLANKED* -c 5 -w 0.25 DNS OK - 0.005 seconds response time (*BLANKED*. 900 IN A *BLANKED*)|time=0.004967s;0.250000;5.000000;0.000000 It works as the Nagios user as well. So, I'm sure you can see my confusion. The plugin exists and is executable for a user on the system, but even when called directly as opposed to using the $USER1$ macro, the Nagios process can't run it. Any thoughts anyone? Cheers! Craig -- Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Wed Jun 1 19:20:45 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 1 Jun 2011 19:20:45 +0200 Subject: Non obvious 127 plugin error In-Reply-To: <4DE65118.7050607@corp.xplornet.com> References: <4DE65118.7050607@corp.xplornet.com> Message-ID: <373A7AC6-0EC8-4320-824C-E644E7C3A6B9@linux.it> Please, Switch on debug and paste here the "final command" Ciao, Giorgio Il giorno 01/giu/2011, alle ore 16:47, Craig Stewart ha scritto: > Good day folks, > > I've spent the better part of a week using Google and combing forums for > an answer to this question without much luck. First the specs: > > Nagios version 3.2.3 > Nagios and associated plugins installed on CentOS 5.6 and Fedora 15 > servers via package management (i.e. yum) > > I have a couple plugins that simply won't execute. One of which is the > check_dig command. I'll use this for an example. > >> From the commands.cfg file for Nagios: > > define command{ > command_name check_dns > command_line /usr/lib/nagios/plugins/check_dig -H $HOSTADDRESS$ -l > $ARG1$ -a $ARG2$ -w $ARG3$ -c $ARG4$ -t $ARG5$ > } > >> From the Nagios log file: > > [1306863226] Warning: Return code of 127 for check of service > 'DNS-Check' on host 'TS-TOR-DNS-1' was out of bounds. Make sure the > plugin you're trying to run actually exists. > > > Okay, first to see if it exists: > > [root at nms ~]# locate check_dig > /usr/lib/nagios/plugins/check_dig > [root at nms ~]# > > Ownership and permissions check: > > [root at nms ~]# ls -l /usr/lib/nagios/plugins/check_dig > -rwxr-xr-x. 1 nagios nagios 43292 Mar 23 15:42 > /usr/lib/nagios/plugins/check_dig > [root at nms ~]# > > Try running it as root: > [root at nms ~]# /usr/lib/nagios/plugins/check_dig *BLANKED* -l *BLANKED* > -a *BLANKED* -c 5 -w 0.25 > DNS OK - 0.005 seconds response time (*BLANKED*. 900 IN A > *BLANKED*)|time=0.004967s;0.250000;5.000000;0.000000 > > So it works as root. Now to try as Nagios user: > [root at nms ~]# su - nagios > -bash-4.2$ /usr/lib/nagios/plugins/check_dig *BLANKED* -l *BLANKED* -a > *BLANKED* -c 5 -w 0.25 > DNS OK - 0.005 seconds response time (*BLANKED*. 900 IN A > *BLANKED*)|time=0.004967s;0.250000;5.000000;0.000000 > > It works as the Nagios user as well. > > So, I'm sure you can see my confusion. The plugin exists and is > executable for a user on the system, but even when called directly as > opposed to using the $USER1$ macro, the Nagios process can't run it. > > Any thoughts anyone? > > Cheers! > > Craig > > -- > Craig Stewart > Systems Integration Analyst > Craig.Stewart at corp.xplornet.com > Xplornet - Broadband, Everywhere > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Craig.Stewart at corp.xplornet.com Wed Jun 1 20:50:18 2011 From: Craig.Stewart at corp.xplornet.com (Craig Stewart) Date: Wed, 01 Jun 2011 15:50:18 -0300 Subject: Non obvious 127 plugin error In-Reply-To: <373A7AC6-0EC8-4320-824C-E644E7C3A6B9@linux.it> References: <4DE65118.7050607@corp.xplornet.com> <373A7AC6-0EC8-4320-824C-E644E7C3A6B9@linux.it> Message-ID: <4DE689EA.4050108@corp.xplornet.com> Giorgio, Here's the final command: [1306952706.565337] [2048.1] [pid=3753] Done. Final output: '/usr/lib/nagios/plugins/check_dig -H 72.45.111.250 -l www.xplornet.com -a 142.166.86.46 -w 0.5 -c 1 -t 5' I assume that's what you meant? I'm also seeing this in the debug log: [1306952721.202757] [016.1] [pid=3753] HOST: TS-WIN-DNS-1, SERVICE: DNS-Check, CHECK TYPE: Active, OPTIONS: 0, SCHEDULED: Yes, RESCHEDULE: Yes, EXITED OK: Yes, RETURN CODE: 127, OUTPUT: (null) Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere On 06/01/2011 02:20 PM, Giorgio Zarrelli wrote: > Please, > > Switch on debug and paste here the "final command" > > Ciao, > > Giorgio > > Il giorno 01/giu/2011, alle ore 16:47, Craig Stewart > ha scritto: > >> Good day folks, >> >> I've spent the better part of a week using Google and combing forums for >> an answer to this question without much luck. First the specs: >> >> Nagios version 3.2.3 >> Nagios and associated plugins installed on CentOS 5.6 and Fedora 15 >> servers via package management (i.e. yum) >> >> I have a couple plugins that simply won't execute. One of which is the >> check_dig command. I'll use this for an example. >> >>> From the commands.cfg file for Nagios: >> >> define command{ >> command_name check_dns >> command_line /usr/lib/nagios/plugins/check_dig -H $HOSTADDRESS$ -l >> $ARG1$ -a $ARG2$ -w $ARG3$ -c $ARG4$ -t $ARG5$ >> } >> >>> From the Nagios log file: >> >> [1306863226] Warning: Return code of 127 for check of service >> 'DNS-Check' on host 'TS-TOR-DNS-1' was out of bounds. Make sure the >> plugin you're trying to run actually exists. >> >> >> Okay, first to see if it exists: >> >> [root at nms ~]# locate check_dig >> /usr/lib/nagios/plugins/check_dig >> [root at nms ~]# >> >> Ownership and permissions check: >> >> [root at nms ~]# ls -l /usr/lib/nagios/plugins/check_dig >> -rwxr-xr-x. 1 nagios nagios 43292 Mar 23 15:42 >> /usr/lib/nagios/plugins/check_dig >> [root at nms ~]# >> >> Try running it as root: >> [root at nms ~]# /usr/lib/nagios/plugins/check_dig *BLANKED* -l *BLANKED* >> -a *BLANKED* -c 5 -w 0.25 >> DNS OK - 0.005 seconds response time (*BLANKED*. 900 IN A >> *BLANKED*)|time=0.004967s;0.250000;5.000000;0.000000 >> >> So it works as root. Now to try as Nagios user: >> [root at nms ~]# su - nagios >> -bash-4.2$ /usr/lib/nagios/plugins/check_dig *BLANKED* -l *BLANKED* -a >> *BLANKED* -c 5 -w 0.25 >> DNS OK - 0.005 seconds response time (*BLANKED*. 900 IN A >> *BLANKED*)|time=0.004967s;0.250000;5.000000;0.000000 >> >> It works as the Nagios user as well. >> >> So, I'm sure you can see my confusion. The plugin exists and is >> executable for a user on the system, but even when called directly as >> opposed to using the $USER1$ macro, the Nagios process can't run it. >> >> Any thoughts anyone? >> >> Cheers! >> >> Craig >> >> -- >> Craig Stewart >> Systems Integration Analyst >> Craig.Stewart at corp.xplornet.com >> Xplornet - Broadband, Everywhere >> >> > ------------------------------------------------------------------------------ >> Simplify data backup and recovery for your virtual environment with > vRanger. >> Installation's a snap, and flexible recovery options mean your data is > safe, >> secure and there when you need it. Data protection magic? >> Nope - It's vRanger. Get your free trial download today. >> http://p.sf.net/sfu/quest-sfdev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- > This message has been scanned by MailScanner > ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Wed Jun 1 21:18:55 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 1 Jun 2011 21:18:55 +0200 Subject: Non obvious 127 plugin error In-Reply-To: <4DE689EA.4050108@corp.xplornet.com> References: <4DE65118.7050607@corp.xplornet.com> <373A7AC6-0EC8-4320-824C-E644E7C3A6B9@linux.it> <4DE689EA.4050108@corp.xplornet.com> Message-ID: <467A183D-00BA-4715-8AA8-21E3EF21CB2C@linux.it> Hi, I'm curious. Please, do a su - as the apache user and execute the check as that user. Ciao, Giorgio Il giorno 01/giu/2011, alle ore 20:50, Craig Stewart ha scritto: > Giorgio, > > Here's the final command: > > [1306952706.565337] [2048.1] [pid=3753] Done. Final output: > '/usr/lib/nagios/plugins/check_dig -H 72.45.111.250 -l www.xplornet.com > -a 142.166.86.46 -w 0.5 -c 1 -t 5' > > I assume that's what you meant? > > I'm also seeing this in the debug log: > > [1306952721.202757] [016.1] [pid=3753] HOST: TS-WIN-DNS-1, SERVICE: > DNS-Check, CHECK TYPE: Active, OPTIONS: 0, SCHEDULED: Yes, RESCHEDULE: > Yes, EXITED OK: Yes, RETURN CODE: 127, OUTPUT: (null) > > > > Craig Stewart > Systems Integration Analyst > Craig.Stewart at corp.xplornet.com > Xplornet - Broadband, Everywhere > > On 06/01/2011 02:20 PM, Giorgio Zarrelli wrote: >> Please, >> >> Switch on debug and paste here the "final command" >> >> Ciao, >> >> Giorgio >> >> Il giorno 01/giu/2011, alle ore 16:47, Craig Stewart >> ha scritto: >> >>> Good day folks, >>> >>> I've spent the better part of a week using Google and combing forums for >>> an answer to this question without much luck. First the specs: >>> >>> Nagios version 3.2.3 >>> Nagios and associated plugins installed on CentOS 5.6 and Fedora 15 >>> servers via package management (i.e. yum) >>> >>> I have a couple plugins that simply won't execute. One of which is the >>> check_dig command. I'll use this for an example. >>> >>>> From the commands.cfg file for Nagios: >>> >>> define command{ >>> command_name check_dns >>> command_line /usr/lib/nagios/plugins/check_dig -H $HOSTADDRESS$ -l >>> $ARG1$ -a $ARG2$ -w $ARG3$ -c $ARG4$ -t $ARG5$ >>> } >>> >>>> From the Nagios log file: >>> >>> [1306863226] Warning: Return code of 127 for check of service >>> 'DNS-Check' on host 'TS-TOR-DNS-1' was out of bounds. Make sure the >>> plugin you're trying to run actually exists. >>> >>> >>> Okay, first to see if it exists: >>> >>> [root at nms ~]# locate check_dig >>> /usr/lib/nagios/plugins/check_dig >>> [root at nms ~]# >>> >>> Ownership and permissions check: >>> >>> [root at nms ~]# ls -l /usr/lib/nagios/plugins/check_dig >>> -rwxr-xr-x. 1 nagios nagios 43292 Mar 23 15:42 >>> /usr/lib/nagios/plugins/check_dig >>> [root at nms ~]# >>> >>> Try running it as root: >>> [root at nms ~]# /usr/lib/nagios/plugins/check_dig *BLANKED* -l *BLANKED* >>> -a *BLANKED* -c 5 -w 0.25 >>> DNS OK - 0.005 seconds response time (*BLANKED*. 900 IN A >>> *BLANKED*)|time=0.004967s;0.250000;5.000000;0.000000 >>> >>> So it works as root. Now to try as Nagios user: >>> [root at nms ~]# su - nagios >>> -bash-4.2$ /usr/lib/nagios/plugins/check_dig *BLANKED* -l *BLANKED* -a >>> *BLANKED* -c 5 -w 0.25 >>> DNS OK - 0.005 seconds response time (*BLANKED*. 900 IN A >>> *BLANKED*)|time=0.004967s;0.250000;5.000000;0.000000 >>> >>> It works as the Nagios user as well. >>> >>> So, I'm sure you can see my confusion. The plugin exists and is >>> executable for a user on the system, but even when called directly as >>> opposed to using the $USER1$ macro, the Nagios process can't run it. >>> >>> Any thoughts anyone? >>> >>> Cheers! >>> >>> Craig >>> >>> -- >>> Craig Stewart >>> Systems Integration Analyst >>> Craig.Stewart at corp.xplornet.com >>> Xplornet - Broadband, Everywhere >>> >>> >> ------------------------------------------------------------------------------ >>> Simplify data backup and recovery for your virtual environment with >> vRanger. >>> Installation's a snap, and flexible recovery options mean your data is >> safe, >>> secure and there when you need it. Data protection magic? >>> Nope - It's vRanger. Get your free trial download today. >>> http://p.sf.net/sfu/quest-sfdev2dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> ------------------------------------------------------------------------------ >> Simplify data backup and recovery for your virtual environment with vRanger. >> Installation's a snap, and flexible recovery options mean your data is safe, >> secure and there when you need it. Data protection magic? >> Nope - It's vRanger. Get your free trial download today. >> http://p.sf.net/sfu/quest-sfdev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> -- >> This message has been scanned by MailScanner >> ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Craig.Stewart at corp.xplornet.com Wed Jun 1 21:23:05 2011 From: Craig.Stewart at corp.xplornet.com (Craig Stewart) Date: Wed, 01 Jun 2011 16:23:05 -0300 Subject: Non obvious 127 plugin error In-Reply-To: <467A183D-00BA-4715-8AA8-21E3EF21CB2C@linux.it> References: <4DE65118.7050607@corp.xplornet.com> <373A7AC6-0EC8-4320-824C-E644E7C3A6B9@linux.it> <4DE689EA.4050108@corp.xplornet.com> <467A183D-00BA-4715-8AA8-21E3EF21CB2C@linux.it> Message-ID: <4DE69199.70608@corp.xplornet.com> Giorgio As apache user: bash-4.2$ /usr/lib/nagios/plugins/check_dig -H 72.45.111.250 -l www.xplornet.com -a 142.166.86.46 -w 0.5 -c 1 -t 5 DNS OK - 0.096 seconds response time (www.xplornet.com. 864 IN A 142.166.86.46)|time=0.095553s;0.500000;1.000000;0.000000 You understand my confusion. Craig Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Tel: (506) 328-1245 Cell: (506) 425-0111 Xplornet - Broadband, Everywhere On 06/01/2011 04:18 PM, Giorgio Zarrelli wrote: > Hi, > > I'm curious. Please, do a su - as the apache user and execute the check > as that user. > > Ciao, > > Giorgio ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Craig.Stewart at corp.xplornet.com Wed Jun 1 21:24:08 2011 From: Craig.Stewart at corp.xplornet.com (Craig Stewart) Date: Wed, 01 Jun 2011 16:24:08 -0300 Subject: Non obvious 127 plugin error In-Reply-To: <70D7A4219FE365439DA53582BA6D8F2E176B13D1@HCSD-MAIL2> References: <4DE65118.7050607@corp.xplornet.com> <70D7A4219FE365439DA53582BA6D8F2E176B13D1@HCSD-MAIL2> Message-ID: <4DE691D8.5050706@corp.xplornet.com> Matin, Not quite sure what you mean. As far as I know I don't have a password variable in my command definition. Craig -- Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Tel: (506) 328-1245 Cell: (506) 425-0111 Xplornet - Broadband, Everywhere On 06/01/2011 02:11 PM, Martin Hugo wrote: > Hi Craig, > > Not sure if it will help you but when I had a check reporting a similar > plug-in error that ran just fine from the terminal I removed the > password variable from the comd def and hard-coded the pwd in there > instead. Worked for me. > > Martin T. Hugo > Network Administrator > Hilliard City Schools > 614-921-7102 (Ph) > 614-771-7243 (Fax) > > -----Original Message----- > From: Craig Stewart [mailto:Craig.Stewart at corpxplornet.com > ] > Sent: Wednesday, June 01, 2011 10:48 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Non obvious 127 plugin error > > Good day folks, > > I've spent the better part of a week using Google and combing forums for > an answer to this question without much luck. First the specs: > > Nagios version 3.2.3 > Nagios and associated plugins installed on CentOS 5.6 and Fedora 15 > servers via package management (i.e. yum) > > I have a couple plugins that simply won't execute. One of which is the > check_dig command. I'll use this for an example. > >>From the commands.cfg file for Nagios: > > define command{ > command_name check_dns > command_line /usr/lib/nagios/plugins/check_dig -H > $HOSTADDRESS$ -l > $ARG1$ -a $ARG2$ -w $ARG3$ -c $ARG4$ -t $ARG5$ > } > >>From the Nagios log file: > > [1306863226] Warning: Return code of 127 for check of service > 'DNS-Check' on host 'TS-TOR-DNS-1' was out of bounds. Make sure the > plugin you're trying to run actually exists. > > > Okay, first to see if it exists: > > [root at nms ~]# locate check_dig > /usr/lib/nagios/plugins/check_dig > [root at nms ~]# > > Ownership and permissions check: > > [root at nms ~]# ls -l /usr/lib/nagios/plugins/check_dig > -rwxr-xr-x. 1 nagios nagios 43292 Mar 23 15:42 > /usr/lib/nagios/plugins/check_dig > [root at nms ~]# > > Try running it as root: > [root at nms ~]# /usr/lib/nagios/plugins/check_dig *BLANKED* -l *BLANKED* > -a *BLANKED* -c 5 -w 0.25 > DNS OK - 0.005 seconds response time (*BLANKED*. 900 IN A > *BLANKED*)|time=0.004967s;0.250000;5.000000;0.000000 > > So it works as root. Now to try as Nagios user: > [root at nms ~]# su - nagios > -bash-4.2$ /usr/lib/nagios/plugins/check_dig *BLANKED* -l *BLANKED* -a > *BLANKED* -c 5 -w 0.25 > DNS OK - 0.005 seconds response time (*BLANKED*. 900 IN A > *BLANKED*)|time=0.004967s;0.250000;5.000000;0.000000 > > It works as the Nagios user as well. > > So, I'm sure you can see my confusion. The plugin exists and is > executable for a user on the system, but even when called directly as > opposed to using the $USER1$ macro, the Nagios process can't run it. > > Any thoughts anyone? > > Cheers! > > Craig > > -- > Craig Stewart > Systems Integration Analyst > Craig.Stewart at corp.xplornet.com > Xplornet - Broadband, Everywhere > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- > This message has been scanned by MailScanner > ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Wed Jun 1 22:07:43 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 1 Jun 2011 22:07:43 +0200 Subject: Non obvious 127 plugin error In-Reply-To: <4DE69199.70608@corp.xplornet.com> References: <4DE65118.7050607@corp.xplornet.com> <373A7AC6-0EC8-4320-824C-E644E7C3A6B9@linux.it> <4DE689EA.4050108@corp.xplornet.com> <467A183D-00BA-4715-8AA8-21E3EF21CB2C@linux.it> <4DE69199.70608@corp.xplornet.com> Message-ID: I understand your confusion. Undortunately I will be om holiday until monday and I won't be able to use a real computer for some tests. Anyway, I will think about it. Ciao, Giorgio Il giorno 01/giu/2011, alle ore 21:23, Craig Stewart ha scritto: > Giorgio > > As apache user: > > bash-4.2$ /usr/lib/nagios/plugins/check_dig -H 72.45.111.250 -l > www.xplornet.com -a 142.166.86.46 -w 0.5 -c 1 -t 5 > DNS OK - 0.096 seconds response time (www.xplornet.com. 864 IN A > 142.166.86.46)|time=0.095553s;0.500000;1.000000;0.000000 > > > You understand my confusion. > > Craig > > Craig Stewart > Systems Integration Analyst > Craig.Stewart at corp.xplornet.com Tel: (506) 328-1245 Cell: (506) 425-0111 > Xplornet - Broadband, Everywhere > > On 06/01/2011 04:18 PM, Giorgio Zarrelli wrote: >> Hi, >> >> I'm curious. Please, do a su - as the apache user and execute the check >> as that user. >> >> Ciao, >> >> Giorgio ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinp at norchemlab.com Wed Jun 1 22:15:08 2011 From: justinp at norchemlab.com (Justin T Pryzby) Date: Wed, 1 Jun 2011 13:15:08 -0700 Subject: Non obvious 127 plugin error In-Reply-To: <4DE69199.70608@corp.xplornet.com> References: <4DE65118.7050607@corp.xplornet.com> <373A7AC6-0EC8-4320-824C-E644E7C3A6B9@linux.it> <4DE689EA.4050108@corp.xplornet.com> <467A183D-00BA-4715-8AA8-21E3EF21CB2C@linux.it> <4DE69199.70608@corp.xplornet.com> Message-ID: <20110601201508.GA25008@norchemlab.com> You can also strace the main nagios process: strace -fs999 -e execve -p PID_OF_NAGIOS or sudo strace -fs999 -e execve -p `ps o pid h -C nagios3 --sort start_time |sed q` 2>&1 |grep -Fw execve |grep -Fw check_dig 127 is the return status of the shell when a command isn't found: justinp at justinp:~$ asdf; echo $? bash: asdf: command not found 127 man sh => /EXIT STATUS/ Justin On Wed, Jun 01, 2011 at 04:23:05PM -0300, Craig Stewart wrote: > Giorgio > > As apache user: > > bash-4.2$ /usr/lib/nagios/plugins/check_dig -H 72.45.111.250 -l > www.xplornet.com -a 142.166.86.46 -w 0.5 -c 1 -t 5 > DNS OK - 0.096 seconds response time (www.xplornet.com. 864 IN A > 142.166.86.46)|time=0.095553s;0.500000;1.000000;0.000000 > > > You understand my confusion. > > Craig > > Craig Stewart > Systems Integration Analyst > Craig.Stewart at corp.xplornet.com Tel: (506) 328-1245 Cell: (506) 425-0111 > Xplornet - Broadband, Everywhere > > On 06/01/2011 04:18 PM, Giorgio Zarrelli wrote: > > Hi, > > > > I'm curious. Please, do a su - as the apache user and execute the check > > as that user. > > > > Ciao, > > > > Giorgio > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From clintd at waikato.ac.nz Wed Jun 1 22:36:12 2011 From: clintd at waikato.ac.nz (Clint Dilks) Date: Thu, 2 Jun 2011 08:36:12 +1200 Subject: Non obvious 127 plugin error In-Reply-To: <20110601201508.GA25008@norchemlab.com> References: <4DE65118.7050607@corp.xplornet.com> <373A7AC6-0EC8-4320-824C-E644E7C3A6B9@linux.it> <4DE689EA.4050108@corp.xplornet.com> <467A183D-00BA-4715-8AA8-21E3EF21CB2C@linux.it> <4DE69199.70608@corp.xplornet.com> <20110601201508.GA25008@norchemlab.com> Message-ID: Hi Just wondering if SE Linux is disabled on your system? If not check your audit log and see if access to the plugin is being denied On Thu, Jun 2, 2011 at 8:15 AM, Justin T Pryzby wrote: > You can also strace the main nagios process: > strace -fs999 -e execve -p PID_OF_NAGIOS > or > sudo strace -fs999 -e execve -p `ps o pid h -C nagios3 --sort start_time > |sed q` 2>&1 |grep -Fw execve |grep -Fw check_dig > > 127 is the return status of the shell when a command isn't found: > justinp at justinp:~$ asdf; echo $? > bash: asdf: command not found > 127 > > man sh => /EXIT STATUS/ > > Justin > > On Wed, Jun 01, 2011 at 04:23:05PM -0300, Craig Stewart wrote: > > Giorgio > > > > As apache user: > > > > bash-4.2$ /usr/lib/nagios/plugins/check_dig -H 72.45.111.250 -l > > www.xplornet.com -a 142.166.86.46 -w 0.5 -c 1 -t 5 > > DNS OK - 0.096 seconds response time (www.xplornet.com. 864 IN A > > 142.166.86.46)|time=0.095553s;0.500000;1.000000;0.000000 > > > > > > You understand my confusion. > > > > Craig > > > > Craig Stewart > > Systems Integration Analyst > > Craig.Stewart at corp.xplornet.com Tel: (506) 328-1245 Cell: (506) 425-0111 > > Xplornet - Broadband, Everywhere > > > > On 06/01/2011 04:18 PM, Giorgio Zarrelli wrote: > > > Hi, > > > > > > I'm curious. Please, do a su - as the apache user and execute the check > > > as that user. > > > > > > Ciao, > > > > > > Giorgio > > > > > ------------------------------------------------------------------------------ > > Simplify data backup and recovery for your virtual environment with > vRanger. > > Installation's a snap, and flexible recovery options mean your data is > safe, > > secure and there when you need it. Data protection magic? > > Nope - It's vRanger. Get your free trial download today. > > http://p.sf.net/sfu/quest-sfdev2dev > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with > vRanger. > Installation's a snap, and flexible recovery options mean your data is > safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev -------------- 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 eduardosilvestre at me.com Wed Jun 1 23:27:19 2011 From: eduardosilvestre at me.com (Eduardo Silvestre) Date: Wed, 01 Jun 2011 22:27:19 +0100 Subject: check_memcached and hits/misses In-Reply-To: <4DE3285A.1050507@gmail.com> References: <4DE3285A.1050507@gmail.com> Message-ID: <2367FD5A-2DEB-4730-AF91-29B431D35CB5@me.com> For e.g... How can you check if memcache is "full"? Sent from my iPad On 30/05/2011, at 06:17, quanta wrote: > In my opinion, you shouldn't check the sudden increase in misses. > You should check the get_misses value and alert when it is greater than > a threshold. > > $ echo "stats" | nc -w 1 | awk '/get_misses/ { print $3 }' > > On 12/09/2010 11:55 PM, P?r ?slund wrote: >> Hi, >> >> I'm searching for a nagios check that looks at hits and misses. >> >> Been using check_memcached for checking memcached status and right now >> I will continue to do that checking that memcached is answering and >> got free memory. >> >> However, the issue with check_memcached is that it's looking at the >> hits/misses ratio since start up of the memcached-process. >> Whereas I need to know if a sudden increase in misses instead between >> polls has occured. >> >> Is anyone familiar with a such check for Nagios? >> >> Best regards, >> -p >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, > you get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaelv at citypath.com Thu Jun 2 07:44:32 2011 From: michaelv at citypath.com (Michael Vaknine) Date: Thu, 2 Jun 2011 08:44:32 +0300 Subject: Notifications configuration problem Message-ID: <000001cc20e8$28255ae0$787010a0$@com> Hi, I hope I am on the right place and if not please accept my apologies and simply ignore. I am usuing Nagios Core version 3.2.3 with check_mk v1.1.9i7 I am monitoring some servers on a different site and usuing ADSL line for this. I have problems with the ADSL Each time I get a notification that a server is down and then after 5seconds I get a notification that the server is up again. Is there a way to configure a notification that Nagios will think that it has a problem only if it is persistent more than 5 minutes or so? Thanks Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev -------------- 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 Craig.Stewart at corp.xplornet.com Thu Jun 2 14:43:42 2011 From: Craig.Stewart at corp.xplornet.com (Craig Stewart) Date: Thu, 02 Jun 2011 09:43:42 -0300 Subject: Non obvious 127 plugin error In-Reply-To: References: <4DE65118.7050607@corp.xplornet.com><373A7AC6-0EC8-4320-824C-E644E7C3A6B9@linux.it><4DE689EA.4050108@corp.xplornet.com><467A183D-00BA-4715-8AA8-21E3EF21CB2C@linux.it><4DE69199.70608@corp.xplornet.com><20110601201508.GA25008@norchemlab.com> Message-ID: <4DE7857E.8090208@corp.xplornet.com> All, SELinux was enabled (DOH!) and has been now disabled. Didn't fix my problem though. Thanks for that Clint, I don't know HOW many times SELinux has bitten me. Should know by now. I ran the strace as suggested by Justin and saw THIS little tidbit flash by: 11769 execve("/bin/sh", ["sh", "-c", "/usr/lib/nagios/plugins/check_dig -H 142.166.86.18 -l www.xplornet.com -a 142.166.86.46 -w 0.5 -c 1 -t 5"], [/* 189 vars */]) = -1 E2BIG (Argument list too long) 11751 --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11769, si_status=127, si_utime=0, si_stime=0} (Child exited) -- Argument list too long???? So, SOMETHING (I suspect the shell) doesn't like that many arguments passed. Well, making progress. By the way, this is a bone stock OS install (Fedora 15 currently) and I haven't tweaked anything. Cheers all! Craig -- Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere On 06/01/2011 05:36 PM, Clint Dilks wrote: > Hi > > Just wondering if SE Linux is disabled on your system? If not check > your audit log and see if access to the plugin is being denied > > On Thu, Jun 2, 2011 at 8:15 AM, Justin T Pryzby > wrote: > > You can also strace the main nagios process: > strace -fs999 -e execve -p PID_OF_NAGIOS > or > sudo strace -fs999 -e execve -p `ps o pid h -C nagios3 --sort > start_time |sed q` 2>&1 |grep -Fw execve |grep -Fw check_dig > > 127 is the return status of the shell when a command isn't found: > justinp at justinp:~$ asdf; echo $? > bash: asdf: command not found > 127 > > man sh => /EXIT STATUS/ > > Justin > > On Wed, Jun 01, 2011 at 04:23:05PM -0300, Craig Stewart wrote: > > Giorgio > > > > As apache user: > > > > bash-4.2$ /usr/lib/nagios/plugins/check_dig -H 72.45.111.250 > -l > > www.xplornet.com -a 142.166.86.46 -w 0.5 > -c 1 -t 5 > > DNS OK - 0.096 seconds response time (www.xplornet.com > . 864 IN A > > 142.166.86.46)|time=0.095553s;0.500000;1.000000;0.000000 > > > > > > You understand my confusion. > > > > Craig > > > > Craig Stewart > > Systems Integration Analyst > > Craig.Stewart at corp.xplornet.com > Tel: (506) 328-1245 > Cell: (506) 425-0111 > > > Xplornet - Broadband, Everywhere > > > > On 06/01/2011 04:18 PM, Giorgio Zarrelli wrote: > > > Hi, > > > > > > I'm curious. Please, do a su - as the apache user and execute > the check > > > as that user. > > > > > > Ciao, > > > > > > Giorgio > > > > > ------------------------------------------------------------------------------ > > Simplify data backup and recovery for your virtual environment > with vRanger. > > Installation's a snap, and flexible recovery options mean your > data is safe, > > secure and there when you need it. Data protection magic? > > Nope - It's vRanger. Get your free trial download today. > > http://p.sf.net/sfu/quest-sfdev2dev > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with > vRanger. > Installation's a snap, and flexible recovery options mean your data > is safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > This message has been scanned for viruses and > dangerous content by *MailScanner* , and is > believed to be clean. ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at conundrum.com Thu Jun 2 15:17:53 2011 From: matt at conundrum.com (Matthew Pounsett) Date: Thu, 2 Jun 2011 09:17:53 -0400 Subject: Notifications configuration problem In-Reply-To: <000001cc20e8$28255ae0$787010a0$@com> References: <000001cc20e8$28255ae0$787010a0$@com> Message-ID: On 2011-06-02, at 01:44, Michael Vaknine wrote: > I am monitoring some servers on a different site and usuing ADSL line for this. > I have problems with the ADSL Each time I get a notification that a server is down and then after 5seconds I get a notification that the server is up again. > Is there a way to configure a notification that Nagios will think that it has a problem only if it is persistent more than 5 minutes or so? For this you use max_check_attempts. This tells nagios how many times in a row the check must be in a non-OK state before it sends an alert. Combining max_check_attempts with the two interval settings (check_interval, retry_interval) determines how much time passes while those checks are being done. ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Thu Jun 2 15:43:44 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Thu, 2 Jun 2011 15:43:44 +0200 Subject: Non obvious 127 plugin error In-Reply-To: <4DE7857E.8090208@corp.xplornet.com> References: <4DE65118.7050607@corp.xplornet.com> <373A7AC6-0EC8-4320-824C-E644E7C3A6B9@linux.it> <4DE689EA.4050108@corp.xplornet.com> <467A183D-00BA-4715-8AA8-21E3EF21CB2C@linux.it> <4DE69199.70608@corp.xplornet.com> <20110601201508.GA25008@norchemlab.com> <4DE7857E.8090208@corp.xplornet.com> Message-ID: <0B5F3ADB-3695-4045-90C4-B503E63CC17E@linux.it> Check wether your shell is a Dash or a Bash. That means, check where the /bin/sh symlink is pointing to. Ciao, Giorgio Il giorno 02/giu/2011, alle ore 14:43, Craig Stewart ha scritto: > All, > > SELinux was enabled (DOH!) and has been now disabled. Didn't fix my > problem though. Thanks for that Clint, I don't know HOW many times > SELinux has bitten me. Should know by now. > > I ran the strace as suggested by Justin and saw THIS little tidbit flash by: > > 11769 execve("/bin/sh", ["sh", "-c", "/usr/lib/nagios/plugins/check_dig > -H 142.166.86.18 -l www.xplornet.com -a 142.166.86.46 -w 0.5 -c 1 -t > 5"], [/* 189 vars */]) = -1 E2BIG (Argument list too long) > 11751 --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11769, > si_status=127, si_utime=0, si_stime=0} (Child exited) -- > > Argument list too long???? So, SOMETHING (I suspect the shell) doesn't > like that many arguments passed. Well, making progress. > > By the way, this is a bone stock OS install (Fedora 15 currently) and I > haven't tweaked anything. > > Cheers all! > > Craig > -- > Craig Stewart > Systems Integration Analyst > Craig.Stewart at corp.xplornet.com > Xplornet - Broadband, Everywhere > > On 06/01/2011 05:36 PM, Clint Dilks wrote: >> Hi >> >> Just wondering if SE Linux is disabled on your system? If not check >> your audit log and see if access to the plugin is being denied >> >> On Thu, Jun 2, 2011 at 8:15 AM, Justin T Pryzby > > wrote: >> >> You can also strace the main nagios process: >> strace -fs999 -e execve -p PID_OF_NAGIOS >> or >> sudo strace -fs999 -e execve -p `ps o pid h -C nagios3 --sort >> start_time |sed q` 2>&1 |grep -Fw execve |grep -Fw check_dig >> >> 127 is the return status of the shell when a command isn't found: >> justinp at justinp:~$ asdf; echo $? >> bash: asdf: command not found >> 127 >> >> man sh => /EXIT STATUS/ >> >> Justin >> >> On Wed, Jun 01, 2011 at 04:23:05PM -0300, Craig Stewart wrote: >>> Giorgio >>> >>> As apache user: >>> >>> bash-4.2$ /usr/lib/nagios/plugins/check_dig -H 72.45.111.250 >> -l >>> www.xplornet.com -a 142.166.86.46 -w 0.5 >> -c 1 -t 5 >>> DNS OK - 0.096 seconds response time (www.xplornet.com >> . 864 IN A >>> 142.166.86.46)|time=0.095553s;0.500000;1.000000;0.000000 >>> >>> >>> You understand my confusion. >>> >>> Craig >>> >>> Craig Stewart >>> Systems Integration Analyst >>> Craig.Stewart at corp.xplornet.com >> Tel: (506) 328-1245 >> Cell: (506) 425-0111 >> >>> Xplornet - Broadband, Everywhere >>> >>> On 06/01/2011 04:18 PM, Giorgio Zarrelli wrote: >>>> Hi, >>>> >>>> I'm curious. Please, do a su - as the apache user and execute >> the check >>>> as that user. >>>> >>>> Ciao, >>>> >>>> Giorgio >>> >>> >> ------------------------------------------------------------------------------ >>> Simplify data backup and recovery for your virtual environment >> with vRanger. >>> Installation's a snap, and flexible recovery options mean your >> data is safe, >>> secure and there when you need it. Data protection magic? >>> Nope - It's vRanger. Get your free trial download today. >>> http://p.sf.net/sfu/quest-sfdev2dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >> >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> ------------------------------------------------------------------------------ >> Simplify data backup and recovery for your virtual environment with >> vRanger. >> Installation's a snap, and flexible recovery options mean your data >> is safe, >> secure and there when you need it. Data protection magic? >> Nope - It's vRanger. Get your free trial download today. >> http://p.sf.net/sfu/quest-sfdev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> -- >> This message has been scanned for viruses and >> dangerous content by *MailScanner* , and is >> believed to be clean. > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Craig.Stewart at corp.xplornet.com Thu Jun 2 15:58:00 2011 From: Craig.Stewart at corp.xplornet.com (Craig Stewart) Date: Thu, 02 Jun 2011 10:58:00 -0300 Subject: Non obvious 127 plugin error In-Reply-To: <0B5F3ADB-3695-4045-90C4-B503E63CC17E@linux.it> References: <4DE65118.7050607@corp.xplornet.com><373A7AC6-0EC8-4320-824C-E644E7C3A6B9@linux.it><4DE689EA.4050108@corp.xplornet.com><467A183D-00BA-4715-8AA8-21E3EF21CB2C@linux.it><4DE69199.70608@corp.xplornet.com><20110601201508.GA25008@norchemlab.com><4DE7857E.8090208@corp.xplornet.com> <0B5F3ADB-3695-4045-90C4-B503E63CC17E@linux.it> Message-ID: <4DE796E8.2090901@corp.xplornet.com> Giorgio, It's bash. [root at nms tmp]# ls -l /bin/sh lrwxrwxrwx. 1 root root 4 May 31 11:39 /bin/sh -> bash [root at nms tmp]# I've been doing a bit of reading and it looks like the maximum arguments is a kernel setting built at compile time. I'm having a hard time wrapping my head around how the check works when run directly and fails when called by the Nagios process. I'm starting to wonder if I should point the /bin/sh to something like csh or some such as a test. Craig -- Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Tel: (506) 328-1245 Cell: (506) 425-0111 Xplornet - Broadband, Everywhere On 06/02/2011 10:43 AM, Giorgio Zarrelli wrote: > Check wether your shell is a Dash or a Bash. That means, check where the > /bin/sh symlink is pointing to. > > Ciao, > > Giorgio > > Il giorno 02/giu/2011, alle ore 14:43, Craig Stewart > ha scritto: > >> All, >> >> SELinux was enabled (DOH!) and has been now disabled. Didn't fix my >> problem though. Thanks for that Clint, I don't know HOW many times >> SELinux has bitten me. Should know by now. >> >> I ran the strace as suggested by Justin and saw THIS little tidbit > flash by: >> >> 11769 execve("/bin/sh", ["sh", "-c", "/usr/lib/nagios/plugins/check_dig >> -H 142.166.86.18 -l www.xplornet.com -a 142.166.86.46 -w 0.5 -c 1 -t >> 5"], [/* 189 vars */]) = -1 E2BIG (Argument list too long) >> 11751 --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11769, >> si_status=127, si_utime=0, si_stime=0} (Child exited) -- >> >> Argument list too long???? So, SOMETHING (I suspect the shell) doesn't >> like that many arguments passed. Well, making progress. >> >> By the way, this is a bone stock OS install (Fedora 15 currently) and I >> haven't tweaked anything. >> >> Cheers all! >> >> Craig >> -- >> Craig Stewart >> Systems Integration Analyst >> Craig.Stewart at corp.xplornet.com >> Xplornet - Broadband, Everywhere >> >> On 06/01/2011 05:36 PM, Clint Dilks wrote: >>> Hi >>> >>> Just wondering if SE Linux is disabled on your system? If not check >>> your audit log and see if access to the plugin is being denied >>> >>> On Thu, Jun 2, 2011 at 8:15 AM, Justin T Pryzby >> > wrote: >>> >>> You can also strace the main nagios process: >>> strace -fs999 -e execve -p PID_OF_NAGIOS >>> or >>> sudo strace -fs999 -e execve -p `ps o pid h -C nagios3 --sort >>> start_time |sed q` 2>&1 |grep -Fw execve |grep -Fw check_dig >>> >>> 127 is the return status of the shell when a command isn't found: >>> justinp at justinp:~$ asdf; echo $? >>> bash: asdf: command not found >>> 127 >>> >>> man sh => /EXIT STATUS/ >>> >>> Justin >>> >>> On Wed, Jun 01, 2011 at 04:23:05PM -0300, Craig Stewart wrote: >>>> Giorgio >>>> >>>> As apache user: >>>> >>>> bash-4.2$ /usr/lib/nagios/plugins/check_dig -H 72.45.111.250 >>> -l >>>> www.xplornet.com -a 142.166.86.46 -w 0.5 >>> -c 1 -t 5 >>>> DNS OK - 0.096 seconds response time (www.xplornet.com >>> . 864 IN A >>>> 142.166.86.46)|time=0.095553s;0.500000;1.000000;0.000000 >>>> >>>> >>>> You understand my confusion. >>>> >>>> Craig >>>> >>>> Craig Stewart >>>> Systems Integration Analyst >>>> Craig.Stewart at corp.xplornet.com >>> > Tel: (506) 328-1245 >>> Cell: (506) 425-0111 >>> >>>> Xplornet - Broadband, Everywhere >>>> >>>> On 06/01/2011 04:18 PM, Giorgio Zarrelli wrote: >>>>> Hi, >>>>> >>>>> I'm curious. Please, do a su - as the apache user and execute >>> the check >>>>> as that user. >>>>> >>>>> Ciao, >>>>> >>>>> Giorgio >>>> >>>> >>> > ------------------------------------------------------------------------------ >>>> Simplify data backup and recovery for your virtual environment >>> with vRanger. >>>> Installation's a snap, and flexible recovery options mean your >>> data is safe, >>>> secure and there when you need it. Data protection magic? >>>> Nope - It's vRanger. Get your free trial download today. >>>> http://p.sf.net/sfu/quest-sfdev2dev >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>> >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/null >>>> >>> >>> > ------------------------------------------------------------------------------ >>> Simplify data backup and recovery for your virtual environment with >>> vRanger. >>> Installation's a snap, and flexible recovery options mean your data >>> is safe, >>> secure and there when you need it. Data protection magic? >>> Nope - It's vRanger. Get your free trial download today. >>> http://p.sf.net/sfu/quest-sfdev2dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> >>> >>> -- >>> This message has been scanned for viruses and >>> dangerous content by *MailScanner* , and is >>> believed to be clean. >> >> > ------------------------------------------------------------------------------ >> Simplify data backup and recovery for your virtual environment with > vRanger. >> Installation's a snap, and flexible recovery options mean your data is > safe, >> secure and there when you need it. Data protection magic? >> Nope - It's vRanger. Get your free trial download today. >> http://p.sf.net/sfu/quest-sfdev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- > This message has been scanned by MailScanner > ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Thu Jun 2 16:30:35 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Thu, 2 Jun 2011 16:30:35 +0200 Subject: Non obvious 127 plugin error In-Reply-To: <4DE796E8.2090901@corp.xplornet.com> References: <4DE65118.7050607@corp.xplornet.com> <373A7AC6-0EC8-4320-824C-E644E7C3A6B9@linux.it> <4DE689EA.4050108@corp.xplornet.com> <467A183D-00BA-4715-8AA8-21E3EF21CB2C@linux.it> <4DE69199.70608@corp.xplornet.com> <20110601201508.GA25008@norchemlab.com> <4DE7857E.8090208@corp.xplornet.com> <0B5F3ADB-3695-4045-90C4-B503E63CC17E@linux.it> <4DE796E8.2090901@corp.xplornet.com> Message-ID: We are making guesses, so check ulimits.conf Ciao, Giorgio Il giorno 02/giu/2011, alle ore 15:58, Craig Stewart ha scritto: > Giorgio, > > It's bash. > > [root at nms tmp]# ls -l /bin/sh > lrwxrwxrwx. 1 root root 4 May 31 11:39 /bin/sh -> bash > [root at nms tmp]# > > I've been doing a bit of reading and it looks like the maximum arguments > is a kernel setting built at compile time. I'm having a hard time > wrapping my head around how the check works when run directly and fails > when called by the Nagios process. > > I'm starting to wonder if I should point the /bin/sh to something like > csh or some such as a test. > > Craig > -- > Craig Stewart > Systems Integration Analyst > Craig.Stewart at corp.xplornet.com Tel: (506) 328-1245 Cell: (506) 425-0111 > Xplornet - Broadband, Everywhere > > On 06/02/2011 10:43 AM, Giorgio Zarrelli wrote: >> Check wether your shell is a Dash or a Bash. That means, check where the >> /bin/sh symlink is pointing to. >> >> Ciao, >> >> Giorgio >> >> Il giorno 02/giu/2011, alle ore 14:43, Craig Stewart >> ha scritto: >> >>> All, >>> >>> SELinux was enabled (DOH!) and has been now disabled. Didn't fix my >>> problem though. Thanks for that Clint, I don't know HOW many times >>> SELinux has bitten me. Should know by now. >>> >>> I ran the strace as suggested by Justin and saw THIS little tidbit >> flash by: >>> >>> 11769 execve("/bin/sh", ["sh", "-c", "/usr/lib/nagios/plugins/check_dig >>> -H 142.166.86.18 -l www.xplornet.com -a 142.166.86.46 -w 0.5 -c 1 -t >>> 5"], [/* 189 vars */]) = -1 E2BIG (Argument list too long) >>> 11751 --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11769, >>> si_status=127, si_utime=0, si_stime=0} (Child exited) -- >>> >>> Argument list too long???? So, SOMETHING (I suspect the shell) doesn't >>> like that many arguments passed. Well, making progress. >>> >>> By the way, this is a bone stock OS install (Fedora 15 currently) and I >>> haven't tweaked anything. >>> >>> Cheers all! >>> >>> Craig >>> -- >>> Craig Stewart >>> Systems Integration Analyst >>> Craig.Stewart at corp.xplornet.com >>> Xplornet - Broadband, Everywhere >>> >>> On 06/01/2011 05:36 PM, Clint Dilks wrote: >>>> Hi >>>> >>>> Just wondering if SE Linux is disabled on your system? If not check >>>> your audit log and see if access to the plugin is being denied >>>> >>>> On Thu, Jun 2, 2011 at 8:15 AM, Justin T Pryzby >>> > wrote: >>>> >>>> You can also strace the main nagios process: >>>> strace -fs999 -e execve -p PID_OF_NAGIOS >>>> or >>>> sudo strace -fs999 -e execve -p `ps o pid h -C nagios3 --sort >>>> start_time |sed q` 2>&1 |grep -Fw execve |grep -Fw check_dig >>>> >>>> 127 is the return status of the shell when a command isn't found: >>>> justinp at justinp:~$ asdf; echo $? >>>> bash: asdf: command not found >>>> 127 >>>> >>>> man sh => /EXIT STATUS/ >>>> >>>> Justin >>>> >>>> On Wed, Jun 01, 2011 at 04:23:05PM -0300, Craig Stewart wrote: >>>>> Giorgio >>>>> >>>>> As apache user: >>>>> >>>>> bash-4.2$ /usr/lib/nagios/plugins/check_dig -H 72.45.111.250 >>>> -l >>>>> www.xplornet.com -a 142.166.86.46 -w 0.5 >>>> -c 1 -t 5 >>>>> DNS OK - 0.096 seconds response time (www.xplornet.com >>>> . 864 IN A >>>>> 142.166.86.46)|time=0.095553s;0.500000;1.000000;0.000000 >>>>> >>>>> >>>>> You understand my confusion. >>>>> >>>>> Craig >>>>> >>>>> Craig Stewart >>>>> Systems Integration Analyst >>>>> Craig.Stewart at corp.xplornet.com >>>> > > Tel: (506) 328-1245 >>>> Cell: (506) 425-0111 >>>> >>>>> Xplornet - Broadband, Everywhere >>>>> >>>>> On 06/01/2011 04:18 PM, Giorgio Zarrelli wrote: >>>>>> Hi, >>>>>> >>>>>> I'm curious. Please, do a su - as the apache user and execute >>>> the check >>>>>> as that user. >>>>>> >>>>>> Ciao, >>>>>> >>>>>> Giorgio >>>>> >>>>> >>>> >> ------------------------------------------------------------------------------ >>>>> Simplify data backup and recovery for your virtual environment >>>> with vRanger. >>>>> Installation's a snap, and flexible recovery options mean your >>>> data is safe, >>>>> secure and there when you need it. Data protection magic? >>>>> Nope - It's vRanger. Get your free trial download today. >>>>> http://p.sf.net/sfu/quest-sfdev2dev >>>>> _______________________________________________ >>>>> Nagios-users mailing list >>>>> Nagios-users at lists.sourceforge.net >>>> >>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>> reporting any issue. >>>>> ::: Messages without supporting info will risk being sent to /dev/null >>>>> >>>> >>>> >> ------------------------------------------------------------------------------ >>>> Simplify data backup and recovery for your virtual environment with >>>> vRanger. >>>> Installation's a snap, and flexible recovery options mean your data >>>> is safe, >>>> secure and there when you need it. Data protection magic? >>>> Nope - It's vRanger. Get your free trial download today. >>>> http://p.sf.net/sfu/quest-sfdev2dev >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>> reporting any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/null >>>> >>>> >>>> >>>> -- >>>> This message has been scanned for viruses and >>>> dangerous content by *MailScanner* , and is >>>> believed to be clean. >>> >>> >> ------------------------------------------------------------------------------ >>> Simplify data backup and recovery for your virtual environment with >> vRanger. >>> Installation's a snap, and flexible recovery options mean your data is >> safe, >>> secure and there when you need it. Data protection magic? >>> Nope - It's vRanger. Get your free trial download today. >>> http://p.sf.net/sfu/quest-sfdev2dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> ------------------------------------------------------------------------------ >> Simplify data backup and recovery for your virtual environment with vRanger. >> Installation's a snap, and flexible recovery options mean your data is safe, >> secure and there when you need it. Data protection magic? >> Nope - It's vRanger. Get your free trial download today. >> http://p.sf.net/sfu/quest-sfdev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> -- >> This message has been scanned by MailScanner >> ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DCeola at twgi.net Thu Jun 2 18:47:28 2011 From: DCeola at twgi.net (Daniel Ceola) Date: Thu, 2 Jun 2011 16:47:28 +0000 Subject: Check_NRPE on AIX In-Reply-To: References: Message-ID: <40B7337A7D70B149A34D5A0FD9FDFA8C01EED9@twgiex.twgi.net> I've finally gotten a chance to look at this again. Thank you to those that responded with helpful information. However, I just realized that I am working on an AIX 5.1 system, and since the binaries I'm using are written for 5.3, there are compatibility issues which seem to be causing my problems. I may need to look around for a different solution, to monitor my AIX system. Thanks, Daniel Ceola From: Kyle O'Donnell [mailto:nagios at isprime.org] Sent: Thursday, May 19, 2011 11:51 PM To: Nagios Users List Subject: Re: [Nagios-users] Check_NRPE on AIX Those are the binaries that I compiled and uploaded a couple years ago. We are still using them today, but if you have any issues let me know. I would suggest running the check_disk with the -x /proc as it is in nrpe as the same user nrpe is running as via command line to ensure it behaves as expected I have had no issue using sudo on aix btw. --kyleo On May 18, 2011 9:32 AM, "Daniel Ceola" > wrote: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 -------------- 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 Craig.Stewart at corp.xplornet.com Thu Jun 2 18:04:15 2011 From: Craig.Stewart at corp.xplornet.com (Craig Stewart) Date: Thu, 02 Jun 2011 13:04:15 -0300 Subject: Non obvious 127 plugin error In-Reply-To: References: <4DE65118.7050607@corp.xplornet.com> <373A7AC6-0EC8-4320-824C-E644E7C3A6B9@linux.it> <4DE689EA.4050108@corp.xplornet.com> <467A183D-00BA-4715-8AA8-21E3EF21CB2C@linux.it> <4DE69199.70608@corp.xplornet.com> <20110601201508.GA25008@norchemlab.com> <4DE7857E.8090208@corp.xplornet.com> <0B5F3ADB-3695-4045-90C4-B503E63CC17E@linux.it> <4DE796E8.2090901@corp.xplornet.com> Message-ID: <4DE7B47F.4000500@corp.xplornet.com> Giorgio, I appreciate all your guesses. As far as the ulimits.conf file was, this system didn't have one! I did run the ulimits -a as the nagios user anf got this: -bash-4.2$ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 32100 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 1024 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited -bash-4.2$ Craig Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere On 06/02/2011 11:30 AM, Giorgio Zarrelli wrote: > We are making guesses, so check ulimits.conf > > Ciao, > > Giorgio > > Il giorno 02/giu/2011, alle ore 15:58, Craig Stewart > ha scritto: > >> Giorgio, >> >> It's bash. >> >> [root at nms tmp]# ls -l /bin/sh >> lrwxrwxrwx. 1 root root 4 May 31 11:39 /bin/sh -> bash >> [root at nms tmp]# >> >> I've been doing a bit of reading and it looks like the maximum arguments >> is a kernel setting built at compile time. I'm having a hard time >> wrapping my head around how the check works when run directly and fails >> when called by the Nagios process. >> >> I'm starting to wonder if I should point the /bin/sh to something like >> csh or some such as a test. >> >> Craig >> -- >> Craig Stewart >> Systems Integration Analyst >> Craig.Stewart at corp.xplornet.com Tel: (506) 328-1245 Cell: (506) 425-0111 >> Xplornet - Broadband, Everywhere >> >> On 06/02/2011 10:43 AM, Giorgio Zarrelli wrote: >>> Check wether your shell is a Dash or a Bash. That means, check where the >>> /bin/sh symlink is pointing to. >>> >>> Ciao, >>> >>> Giorgio >>> >>> Il giorno 02/giu/2011, alle ore 14:43, Craig Stewart >>> ha scritto: >>> >>>> All, >>>> >>>> SELinux was enabled (DOH!) and has been now disabled. Didn't fix my >>>> problem though. Thanks for that Clint, I don't know HOW many times >>>> SELinux has bitten me. Should know by now. >>>> >>>> I ran the strace as suggested by Justin and saw THIS little tidbit >>> flash by: >>>> >>>> 11769 execve("/bin/sh", ["sh", "-c", "/usr/lib/nagios/plugins/check_dig >>>> -H 142.166.86.18 -l www.xplornet.com -a 142.166.86.46 -w 0.5 -c 1 -t >>>> 5"], [/* 189 vars */]) = -1 E2BIG (Argument list too long) >>>> 11751 --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11769, >>>> si_status=127, si_utime=0, si_stime=0} (Child exited) -- >>>> >>>> Argument list too long???? So, SOMETHING (I suspect the shell) doesn't >>>> like that many arguments passed. Well, making progress. >>>> >>>> By the way, this is a bone stock OS install (Fedora 15 currently) and I >>>> haven't tweaked anything. >>>> >>>> Cheers all! >>>> >>>> Craig >>>> -- >>>> Craig Stewart >>>> Systems Integration Analyst >>>> Craig.Stewart at corp.xplornet.com >>>> Xplornet - Broadband, Everywhere >>>> >>>> On 06/01/2011 05:36 PM, Clint Dilks wrote: >>>>> Hi >>>>> >>>>> Just wondering if SE Linux is disabled on your system? If not check >>>>> your audit log and see if access to the plugin is being denied >>>>> >>>>> On Thu, Jun 2, 2011 at 8:15 AM, Justin T Pryzby >>>> > wrote: >>>>> >>>>> You can also strace the main nagios process: >>>>> strace -fs999 -e execve -p PID_OF_NAGIOS >>>>> or >>>>> sudo strace -fs999 -e execve -p `ps o pid h -C nagios3 --sort >>>>> start_time |sed q` 2>&1 |grep -Fw execve |grep -Fw check_dig >>>>> >>>>> 127 is the return status of the shell when a command isn't found: >>>>> justinp at justinp:~$ asdf; echo $? >>>>> bash: asdf: command not found >>>>> 127 >>>>> >>>>> man sh => /EXIT STATUS/ >>>>> >>>>> Justin >>>>> >>>>> On Wed, Jun 01, 2011 at 04:23:05PM -0300, Craig Stewart wrote: >>>>>> Giorgio >>>>>> >>>>>> As apache user: >>>>>> >>>>>> bash-4.2$ /usr/lib/nagios/plugins/check_dig -H 72.45.111.250 >>>>> -l >>>>>> www.xplornet.com -a 142.166.86.46 -w 0.5 >>>>> -c 1 -t 5 >>>>>> DNS OK - 0.096 seconds response time (www.xplornet.com >>>>> . 864 IN A >>>>>> 142.166.86.46)|time=0.095553s;0.500000;1.000000;0.000000 >>>>>> >>>>>> >>>>>> You understand my confusion. >>>>>> >>>>>> Craig >>>>>> >>>>>> Craig Stewart >>>>>> Systems Integration Analyst >>>>>> Craig.Stewart at corp.xplornet.com >>>>> >> >> Tel: (506) 328-1245 >>>>> Cell: (506) 425-0111 >>>>> >>>>>> Xplornet - Broadband, Everywhere >>>>>> >>>>>> On 06/01/2011 04:18 PM, Giorgio Zarrelli wrote: >>>>>>> Hi, >>>>>>> >>>>>>> I'm curious. Please, do a su - as the apache user and execute >>>>> the check >>>>>>> as that user. >>>>>>> >>>>>>> Ciao, >>>>>>> >>>>>>> Giorgio >>>>>> >>>>>> >>>>> >>> > ------------------------------------------------------------------------------ >>>>>> Simplify data backup and recovery for your virtual environment >>>>> with vRanger. >>>>>> Installation's a snap, and flexible recovery options mean your >>>>> data is safe, >>>>>> secure and there when you need it. Data protection magic? >>>>>> Nope - It's vRanger. Get your free trial download today. >>>>>> http://p.sf.net/sfu/quest-sfdev2dev >>>>>> _______________________________________________ >>>>>> Nagios-users mailing list >>>>>> Nagios-users at lists.sourceforge.net >>>>> >>>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>>> reporting any issue. >>>>>> ::: Messages without supporting info will risk being sent to /dev/null >>>>>> >>>>> >>>>> >>> > ------------------------------------------------------------------------------ >>>>> Simplify data backup and recovery for your virtual environment with >>>>> vRanger. >>>>> Installation's a snap, and flexible recovery options mean your data >>>>> is safe, >>>>> secure and there when you need it. Data protection magic? >>>>> Nope - It's vRanger. Get your free trial download today. >>>>> http://p.sf.net/sfu/quest-sfdev2dev >>>>> _______________________________________________ >>>>> Nagios-users mailing list >>>>> Nagios-users at lists.sourceforge.net >>>>> >>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>>> reporting any issue. >>>>> ::: Messages without supporting info will risk being sent to > /dev/null >>>>> >>>>> >>>>> >>>>> -- >>>>> This message has been scanned for viruses and >>>>> dangerous content by *MailScanner* , > and is >>>>> believed to be clean. >>>> >>>> >>> > ------------------------------------------------------------------------------ >>>> Simplify data backup and recovery for your virtual environment with >>> vRanger. >>>> Installation's a snap, and flexible recovery options mean your data is >>> safe, >>>> secure and there when you need it. Data protection magic? >>>> Nope - It's vRanger. Get your free trial download today. >>>> http://p.sf.net/sfu/quest-sfdev2dev >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> > ------------------------------------------------------------------------------ >>> Simplify data backup and recovery for your virtual environment with > vRanger. >>> Installation's a snap, and flexible recovery options mean your data > is safe, >>> secure and there when you need it. Data protection magic? >>> Nope - It's vRanger. Get your free trial download today. >>> http://p.sf.net/sfu/quest-sfdev2dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> -- >>> This message has been scanned by MailScanner >>> > > -- > This message has been scanned by MailScanner > ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinp at norchemlab.com Thu Jun 2 19:07:42 2011 From: justinp at norchemlab.com (Justin T Pryzby) Date: Thu, 2 Jun 2011 10:07:42 -0700 Subject: Non obvious 127 plugin error In-Reply-To: <4DE7857E.8090208@corp.xplornet.com> References: <4DE65118.7050607@corp.xplornet.com> <373A7AC6-0EC8-4320-824C-E644E7C3A6B9@linux.it> <4DE689EA.4050108@corp.xplornet.com> <467A183D-00BA-4715-8AA8-21E3EF21CB2C@linux.it> <4DE69199.70608@corp.xplornet.com> <20110601201508.GA25008@norchemlab.com> <4DE7857E.8090208@corp.xplornet.com> Message-ID: <20110602170742.GA15646@norchemlab.com> Ah, I think it may be due to a ngaios setting of "enable_environment_macros": nagios.sourceforge.net/docs/3_0/configmain.html Nagios [can] export all sorts of data relating to the state of the check, and that can be useful, but it seems as if your configuration is too big or complicated or such to fit. Do your other checks work? What if you make their argument list as long as for check_dig? I think it's possible that some checks are run with bigger inherited environment than other checks, due to servicegroups and such. The execve() E2BIG error is due to a kernel limit on the size of "argument list plus environment". You could also write a check (or replace the check_dig command) with something like "set >/var/lib/nagios3/nagios-environment" or some other nagios-writable path. There shouldn't be more than (say) a kilobyte of environment. It's also possible that you're sourceing something huge like /etc/bash_completion, but that doesn't explain why it doesn't affect your user accounts and other nagios checks. Or you can rerun the strace with "-v" to cause the environment to be displayed. Justin On Thu, Jun 02, 2011 at 09:43:42AM -0300, Craig Stewart wrote: > All, > > SELinux was enabled (DOH!) and has been now disabled. Didn't fix my > problem though. Thanks for that Clint, I don't know HOW many times > SELinux has bitten me. Should know by now. > > I ran the strace as suggested by Justin and saw THIS little tidbit flash by: > > 11769 execve("/bin/sh", ["sh", "-c", "/usr/lib/nagios/plugins/check_dig > -H 142.166.86.18 -l www.xplornet.com -a 142.166.86.46 -w 0.5 -c 1 -t > 5"], [/* 189 vars */]) = -1 E2BIG (Argument list too long) > 11751 --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11769, > si_status=127, si_utime=0, si_stime=0} (Child exited) -- > > Argument list too long???? So, SOMETHING (I suspect the shell) doesn't > like that many arguments passed. Well, making progress. > > By the way, this is a bone stock OS install (Fedora 15 currently) and I > haven't tweaked anything. > > Cheers all! > > Craig > -- > Craig Stewart > Systems Integration Analyst > Craig.Stewart at corp.xplornet.com > Xplornet - Broadband, Everywhere > > On 06/01/2011 05:36 PM, Clint Dilks wrote: > > Hi > > > > Just wondering if SE Linux is disabled on your system? If not check > > your audit log and see if access to the plugin is being denied > > > > On Thu, Jun 2, 2011 at 8:15 AM, Justin T Pryzby > > wrote: > > > > You can also strace the main nagios process: > > strace -fs999 -e execve -p PID_OF_NAGIOS > > or > > sudo strace -fs999 -e execve -p `ps o pid h -C nagios3 --sort > > start_time |sed q` 2>&1 |grep -Fw execve |grep -Fw check_dig > > > > 127 is the return status of the shell when a command isn't found: > > justinp at justinp:~$ asdf; echo $? > > bash: asdf: command not found > > 127 > > > > man sh => /EXIT STATUS/ > > > > Justin > > > > On Wed, Jun 01, 2011 at 04:23:05PM -0300, Craig Stewart wrote: > > > Giorgio > > > > > > As apache user: > > > > > > bash-4.2$ /usr/lib/nagios/plugins/check_dig -H 72.45.111.250 > > -l > > > www.xplornet.com -a 142.166.86.46 -w 0.5 > > -c 1 -t 5 > > > DNS OK - 0.096 seconds response time (www.xplornet.com > > . 864 IN A > > > 142.166.86.46)|time=0.095553s;0.500000;1.000000;0.000000 > > > > > > > > > You understand my confusion. > > > > > > Craig > > > > > > Craig Stewart > > > Systems Integration Analyst > > > Craig.Stewart at corp.xplornet.com > > Tel: (506) 328-1245 > > Cell: (506) 425-0111 > > > > > Xplornet - Broadband, Everywhere > > > > > > On 06/01/2011 04:18 PM, Giorgio Zarrelli wrote: > > > > Hi, > > > > > > > > I'm curious. Please, do a su - as the apache user and execute > > the check > > > > as that user. > > > > > > > > Ciao, > > > > > > > > Giorgio > > > > > > > > ------------------------------------------------------------------------------ > > > Simplify data backup and recovery for your virtual environment > > with vRanger. > > > Installation's a snap, and flexible recovery options mean your > > data is safe, > > > secure and there when you need it. Data protection magic? > > > Nope - It's vRanger. Get your free trial download today. > > > http://p.sf.net/sfu/quest-sfdev2dev > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > ------------------------------------------------------------------------------ > > Simplify data backup and recovery for your virtual environment with > > vRanger. > > Installation's a snap, and flexible recovery options mean your data > > is safe, > > secure and there when you need it. Data protection magic? > > Nope - It's vRanger. Get your free trial download today. > > http://p.sf.net/sfu/quest-sfdev2dev > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > -- > > This message has been scanned for viruses and > > dangerous content by *MailScanner* , and is > > believed to be clean. > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Craig.Stewart at corp.xplornet.com Thu Jun 2 19:33:15 2011 From: Craig.Stewart at corp.xplornet.com (Craig Stewart) Date: Thu, 02 Jun 2011 14:33:15 -0300 Subject: Non obvious 127 plugin error In-Reply-To: <20110602170742.GA15646@norchemlab.com> References: <4DE65118.7050607@corp.xplornet.com><373A7AC6-0EC8-4320-824C-E644E7C3A6B9@linux.it><4DE689EA.4050108@corp.xplornet.com><467A183D-00BA-4715-8AA8-21E3EF21CB2C@linux.it><4DE69199.70608@corp.xplornet.com><20110601201508.GA25008@norchemlab.com><4DE7857E.8090208@corp.xplornet.com> <20110602170742.GA15646@norchemlab.com> Message-ID: <4DE7C95B.7020402@corp.xplornet.com> Justin, I ran across that one as well and set the following in nagios.cfg: enable_environment_macros=0 This didn't help. I do have a fairly large config (about 8k hosts and 12k service checks) but I didn't think it was THAT big. Actually the check_dig command isn't the only one that isn't working. The "service-notify-by-email" command also barfs on the output of SOME checks, not all. This is simply a "printf blah blah blah" command defined in Nagios, not a compiled plug in. The check_ping command works, but I understand it's just a wrapper for the ping command itself. A number of custom bash and perl check commands work, but admittedly I simply pass the $HOSTNAME$ to them as an argument. I've rewritten the DNS-Check command so that everything except the $HOSTNAME$ is "hard coded" but I don't think this will work. I'm admittedly grasping at straws now. This is what the command line will look like: /usr/lib/nagios/plugins/check_dns -s $HOSTADDRESS$ -H www.xplornet.com -a 142.166.86.46 -w 0.25 -c 5 -t 10 Craig Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere On 06/02/2011 02:07 PM, Justin T Pryzby wrote: > Ah, I think it may be due to a ngaios setting of > "enable_environment_macros": > nagios.sourceforge.net/docs/3_0/configmain.html > > Nagios [can] export all sorts of data relating to the state of the > check, and that can be useful, but it seems as if your configuration > is too big or complicated or such to fit. Do your other checks work? > What if you make their argument list as long as for check_dig? > I think it's possible that some checks are run with bigger inherited > environment than other checks, due to servicegroups and such. The > execve() E2BIG error is due to a kernel limit on the size of "argument > list plus environment". You could also write a check (or replace the > check_dig command) with something like "set >>/var/lib/nagios3/nagios-environment" or some other nagios-writable > path. There shouldn't be more than (say) a kilobyte of environment. > It's also possible that you're sourceing something huge like > /etc/bash_completion, but that doesn't explain why it doesn't affect > your user accounts and other nagios checks. Or you can rerun the > strace with "-v" to cause the environment to be displayed. > > Justin > ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Craig.Stewart at corp.xplornet.com Thu Jun 2 20:53:55 2011 From: Craig.Stewart at corp.xplornet.com (Craig Stewart) Date: Thu, 02 Jun 2011 15:53:55 -0300 Subject: Non obvious 127 plugin error In-Reply-To: <4DE7C95B.7020402@corp.xplornet.com> References: <4DE65118.7050607@corp.xplornet.com><373A7AC6-0EC8-4320-824C-E644E7C3A6B9@linux.it><4DE689EA.4050108@corp.xplornet.com><467A183D-00BA-4715-8AA8-21E3EF21CB2C@linux.it><4DE69199.70608@corp.xplornet.com><20110601201508.GA25008@norchemlab.com><4DE7857E.8090208@corp.xplornet.com><20110602170742.GA15646@norchemlab.com> <4DE7C95B.7020402@corp.xplornet.com> Message-ID: <4DE7DC43.4090103@corp.xplornet.com> All, Just an update: Appending "enable_environment_macros=0" to the end of the nagios.cfg file as opposed to putting it just after all the file declarations appears to have fixed it. I didn't think it was that sensitive to placement in the config file. Thanks all! Craig -- Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Tel: (506) 328-1245 Cell: (506) 425-0111 Xplornet - Broadband, Everywhere On 06/02/2011 02:33 PM, Craig Stewart wrote: > Justin, > > I ran across that one as well and set the following in nagios.cfg: > > enable_environment_macros=0 > > This didn't help. I do have a fairly large config (about 8k hosts and > 12k service checks) but I didn't think it was THAT big. ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 3 01:29:15 2011 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Fri, 03 Jun 2011 09:29:15 +1000 Subject: Checking multiple TCP ports for a single status? In-Reply-To: <4DE3511C.9090400@gmail.com> References: <20101229183916.GB31320@teddy.fas.com> <31B0FE0A1A8166409E9DF35C6DEECB240555D0B9@WPSCV6MM.OPR.STATEFARM.ORG> <4DE3511C.9090400@gmail.com> Message-ID: <4DE81CCB.9040008@edcint.co.nz> Something a little more powerful and generic that can be used in multiple scenarios check_multi See: http://exchange.nagios.org/directory/Plugins/Others/check_multi/details On 30/05/2011 6:11 PM, quanta wrote: > Take a look at this: > http://www.theillien.com/Sys_Admin_v12/html/v14/i12/a6_l2.htm > > On 12/30/2010 01:56 AM, Daniel Wittenberg wrote: >> Write a simple script that does both checks and returns results? >> >> Dan >> >> -----Original Message----- >> From: stan [mailto:stanb at panix.com] >> Sent: Wednesday, December 29, 2010 12:39 PM >> To: nagios List >> Subject: [Nagios-users] Checking multiple TCP ports for a single status? >> >> >> I think I need to verify that both port 135, and 445 are avaialble on >> some >> Windows amchines. As I understand it, both of these need to be up. I'd >> like >> to make this a single check. Looks like check_tcp will only accept a >> single >> -p argument. Is this correct? If so, is there a way I can AND to >> different >> check_tcp runs, and report a single status back to Nagios? >> >> > ------------------------------------------------------------------------------ > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, > you get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1375 / Virus Database: 1509/3668 - Release Date: 05/29/11 > > -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 -------------- 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 Navdeep.Sidhu at tatatel.co.in Fri Jun 3 12:41:14 2011 From: Navdeep.Sidhu at tatatel.co.in (Navdeep Sidhu) Date: Fri, 3 Jun 2011 16:11:14 +0530 Subject: RRDTool exits with errors -> ERROR: can't make a graph without contents In-Reply-To: References: Message-ID: <9169798C154CD846B738065B6A75DABF011B20E8@PB-CHD-MBX02> Hi I'm using Nagios 2.8 with RRD tool version 1.0.50 & PNP version 0.3 installed. Nagios is running on RHEL-4 I'm facing an issue in RRD Tool. Recently I have configured this tool for Cisco devices (under serviceextinfo.cfg file) so that memory & CPU utilization should be available in graphs however I'm getting following error when trying to view the graphs RRDTool exits with errors -> ERROR: can't make a graph without contents This tool is working fine with Intel platform servers & displaying the graphs however not working in Cisco devices. Kindly help Regards Navdeep Sidhu ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 -------------- 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 nibin.vm at piserve.com Fri Jun 3 13:11:38 2011 From: nibin.vm at piserve.com (Nibin VM) Date: Fri, 3 Jun 2011 16:41:38 +0530 Subject: RRDTool exits with errors -> ERROR: can't make a graph without contents In-Reply-To: <9169798C154CD846B738065B6A75DABF011B20E8@PB-CHD-MBX02> References: <9169798C154CD846B738065B6A75DABF011B20E8@PB-CHD-MBX02> Message-ID: in what mode you have configured pnp4nagios? On Fri, Jun 3, 2011 at 4:11 PM, Navdeep Sidhu wrote: > Hi > > > > I'm using Nagios 2.8 with RRD tool version 1.0.50 & PNP version 0.3 > installed. Nagios is running on RHEL-4 > > > > I'm facing an issue in RRD Tool. Recently I have configured this tool for > Cisco devices (under serviceextinfo.cfg file) so that memory & CPU > utilization should be available in graphs however I'm getting following > error when trying to view the graphs > > > > *RRDTool exits with errors -> ERROR: can't make a graph without contents * > > > > This tool is working fine with Intel platform servers & displaying the > graphs however not working in Cisco devices. > > > > Kindly help > > > > Regards > > Navdeep Sidhu > > ====================================== > i-choose online store at www.tataindicom.com > Your Comfort. Your Convenience. Your Choice. > ====================================== > > DISCLAIMER: > The information contained in this message (including any attachments) is > confidential and may be privileged. If you have received it by mistake > please notify the sender by return e-mail and permanently delete this > message and any attachments from your system. Any dissemination, use, > review, distribution, printing or copying of this message in whole or in > part is strictly prohibited. Please note that e-mails are susceptible to > change. TATA TELESERVICES LTD. (including its group companies) shall not be > liable for the improper or incomplete transmission of the information > contained in this communication nor for any delay in its receipt or damage > to your system. TATA TELESERVICES LTD. (or its group companies) does not > guarantee that the integrity of this communication has been maintained or > that this communication is free of viruses, interceptions or interferences. > > > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with > vRanger. > Installation's a snap, and flexible recovery options mean your data is > safe, > secure and there when you need it. Discover what all the cheering's about. > Get your free trial download today. > http://p.sf.net/sfu/quest-dev2dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Regards, Nibin. --------------------------------- Nibin.V.M Systems Engineer(Unix) PiServe.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 -------------- 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 justinp at norchemlab.com Fri Jun 3 20:43:23 2011 From: justinp at norchemlab.com (Justin T Pryzby) Date: Fri, 3 Jun 2011 11:43:23 -0700 Subject: Non obvious 127 plugin error In-Reply-To: <4DE7DC43.4090103@corp.xplornet.com> References: <373A7AC6-0EC8-4320-824C-E644E7C3A6B9@linux.it> <4DE689EA.4050108@corp.xplornet.com> <467A183D-00BA-4715-8AA8-21E3EF21CB2C@linux.it> <4DE69199.70608@corp.xplornet.com> <20110601201508.GA25008@norchemlab.com> <4DE7857E.8090208@corp.xplornet.com> <20110602170742.GA15646@norchemlab.com> <4DE7C95B.7020402@corp.xplornet.com> <4DE7DC43.4090103@corp.xplornet.com> Message-ID: <20110603184323.GA8425@norchemlab.com> The placement of the option may be significant if that option is set somewhere else in the file, or in another file referenced by "cfg_file" or "cfg_dir" options. Our nagios-spawned environment has 6K of data, and NAGIOS_SERVICEGROUPMEMBERS, in particular, is about 1k of that. Justin On Thu, Jun 02, 2011 at 02:33:15PM -0300, Craig Stewart wrote: > This didn't help. I do have a fairly large config (about 8k hosts and > 12k service checks) but I didn't think it was THAT big. On Thu, Jun 02, 2011 at 03:53:55PM -0300, Craig Stewart wrote: > Appending "enable_environment_macros=0" to the end of the nagios.cfg > file as opposed to putting it just after all the file declarations > appears to have fixed it. I didn't think it was that sensitive to > placement in the config file. On 06/02/2011 02:33 PM, Craig Stewart wrote: >> I ran across that one as well and set the following in nagios.cfg: >> >> enable_environment_macros=0 >> >> This didn't help. I do have a fairly large config (about 8k hosts and >> 12k service checks) but I didn't think it was THAT big. ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From HPrins at multidataservices.com Fri Jun 3 21:33:07 2011 From: HPrins at multidataservices.com (Henry R. Prins) Date: Fri, 3 Jun 2011 19:33:07 +0000 Subject: Has anyone else seen this? Message-ID: Hey guys, I have two web servers which I have been monitoring. define host{ use web-server host_name MDS-Support alias MDS Support on Apache Web Server address 67.88.41.150 parents rtr-t1-ext-150 contact_groups webadmins } define host{ use web-server host_name MDS-Main-Website alias multidataservices main website address www.multidataservices.com parents Internet contact_groups webadmins } But somehow I got this message today when one of the two was not responding: ***** Nagios ***** Notification Type: PROBLEM Service: HTTP Host: MDS Support on Apache Web Server Address: www.multidataservices.com State: CRITICAL Date/Time: Fri Jun 3 15:03:22 EDT 2011 Additional Info: CRITICAL - Socket timeout after 10 seconds It seems the Host Name is for one entry and the Address is from the other. Anyone know what I am doing wrong? Henry. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 -------------- 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 roberto.nunnari at supsi.ch Sat Jun 4 00:52:17 2011 From: roberto.nunnari at supsi.ch (Roberto Nunnari) Date: Sat, 04 Jun 2011 00:52:17 +0200 Subject: Has anyone else seen this? In-Reply-To: References: Message-ID: <4DE965A1.4030304@supsi.ch> Henry R. Prins wrote: > Hey guys, > > I have two web servers which I have been monitoring. > > define host{ > use web-server > host_name MDS-Support > alias MDS Support on Apache Web Server > address 67.88.41.150 > parents rtr-t1-ext-150 > contact_groups webadmins > } > > define host{ > use web-server > host_name MDS-Main-Website > alias multidataservices main website > address www.multidataservices.com > parents Internet > contact_groups webadmins > } > > > But somehow I got this message today when one of the two was not responding: > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: HTTP > Host: MDS Support on Apache Web Server > Address: www.multidataservices.com > State: CRITICAL > > Date/Time: Fri Jun 3 15:03:22 EDT 2011 > > Additional Info: > > CRITICAL - Socket timeout after 10 seconds > > > It seems the Host Name is for one entry and the Address is from the > other. Anyone know what I am doing wrong? > > Henry. Humm.. I believe it would be better to set as address the IP address and not the dns name.. Then, if you define the service for checking the http service, use the http command that also takes the virtulHost name. Hope this helps. Best regards. Robi ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Sat Jun 4 08:44:41 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Sat, 4 Jun 2011 08:44:41 +0200 Subject: Has anyone else seen this? In-Reply-To: References: Message-ID: Pleae, Paste the web-server template the http service and commando definitions and related template. Ciao, Giorgio Il giorno 03/giu/2011, alle ore 21:33, "Henry R. Prins" ha scritto: > Hey guys, > > > > I have two web servers which I have been monitoring. > > > > define host{ > > use web-server > > host_name MDS-Support > > alias MDS Support on Apache Web Server > > address 67.88.41.150 > > parents rtr-t1-ext-150 > > contact_groups webadmins > > } > > > > define host{ > > use web-server > > host_name MDS-Main-Website > > alias multidataservices main website > > address www.multidataservices.com > > parents Internet > > contact_groups webadmins > > } > > > > > > But somehow I got this message today when one of the two was not responding: > > > > ***** Nagios ***** > > > > Notification Type: PROBLEM > > > > Service: HTTP > > Host: MDS Support on Apache Web Server > > Address: www.multidataservices.com > > State: CRITICAL > > > > Date/Time: Fri Jun 3 15:03:22 EDT 2011 > > > > Additional Info: > > > > CRITICAL - Socket timeout after 10 seconds > > > > > > > > It seems the Host Name is for one entry and the Address is from the other. Anyone know what I am doing wrong? > > > > Henry. > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Discover what all the cheering's about. > Get your free trial download today. > http://p.sf.net/sfu/quest-dev2dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 -------------- 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 member at linkedin.com Sat Jun 4 20:05:34 2011 From: member at linkedin.com (Huang Streit via LinkedIn) Date: Sat, 4 Jun 2011 18:05:34 +0000 (UTC) Subject: Invitation to connect on LinkedIn Message-ID: <1967822313.1625792.1307210734086.JavaMail.app@ela4-bed33.prod> LinkedIn ------------ Huang Streit requested to add you as a connection on LinkedIn: ------------------------------------------ Lei, I'd like to add you to my professional network on LinkedIn. - Huang Accept invitation from Huang Streit http://www.linkedin.com/e/y49s6u-goivips2-1o/Vg1FBpStI6_M-eFLExlo-pjnfalPIPkLyx3rkqjZdRi1FOrPNoT/blk/I1396170129_3/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYPnPAOcj0TcjoVcP59bSQMqP9Qu6lkbPgNejkPdjoMcjcLrCBxbOYWrSlI/EML_comm_afe/ View invitation from Huang Streit http://www.linkedin.com/e/y49s6u-goivips2-1o/Vg1FBpStI6_M-eFLExlo-pjnfalPIPkLyx3rkqjZdRi1FOrPNoT/blk/I1396170129_3/3dvej8Nc3sNdzAPckALqnpPbOYWrSlI/svi/ ------------------------------------------ DID YOU KNOW your LinkedIn profile helps you control your public image when people search for you? Setting your profile as public means your LinkedIn profile will come up when people enter your name in leading search engines. Take control of your image! http://www.linkedin.com/e/y49s6u-goivips2-1o/ewp/inv-22/ -- (c) 2011, LinkedIn Corporation -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 -------------- 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 d.palermo at enteautonomovolturno.it Sat Jun 4 15:52:20 2011 From: d.palermo at enteautonomovolturno.it (Dario Palermo) Date: Sat, 4 Jun 2011 13:52:20 +0000 Subject: R: Has anyone else seen this? - Email found in subject In-Reply-To: References: Message-ID: Please post the service "HTTP" configuration also. Bye, Dario Palermo Da: Henry R. Prins [mailto:HPrins at multidataservices.com] Inviato: venerd? 3 giugno 2011 21:33 A: 'nagios-users at lists.sourceforge.net' Oggetto: [Nagios-users] Has anyone else seen this? - Email found in subject Hey guys, I have two web servers which I have been monitoring. define host{ use web-server host_name MDS-Support alias MDS Support on Apache Web Server address 67.88.41.150 parents rtr-t1-ext-150 contact_groups webadmins } define host{ use web-server host_name MDS-Main-Website alias multidataservices main website address www.multidataservices.com parents Internet contact_groups webadmins } But somehow I got this message today when one of the two was not responding: ***** Nagios ***** Notification Type: PROBLEM Service: HTTP Host: MDS Support on Apache Web Server Address: www.multidataservices.com State: CRITICAL Date/Time: Fri Jun 3 15:03:22 EDT 2011 Additional Info: CRITICAL - Socket timeout after 10 seconds It seems the Host Name is for one entry and the Address is from the other. Anyone know what I am doing wrong? Henry. __________ Informazioni da ESET NOD32 Antivirus, versione del database delle firme digitali 6178 (20110603) __________ Il messaggio ? stato controllato da ESET NOD32 Antivirus. www.nod32.it -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 -------------- 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 Navdeep.Sidhu at tatatel.co.in Mon Jun 6 06:58:05 2011 From: Navdeep.Sidhu at tatatel.co.in (Navdeep Sidhu) Date: Mon, 6 Jun 2011 10:28:05 +0530 Subject: Nagios-users Digest, Vol 61, Issue 3 In-Reply-To: References: Message-ID: <9169798C154CD846B738065B6A75DABF011DE949@PB-CHD-MBX02> Hi Nibin I'm not aware in which mode I had configured pnp4nagios (my apologies). Anyways I'm pasting excerpt of my host configuration & serviceextinfo file so that you can get the clear picture. In fact, in Nagios web console, I'm able to see Memory & CPU utilization of Cisco devices however unable to view the graphs. I'm using check_snmp_mem.pl plugin to capture Memory utilization of Cisco devices. Let me know if any other info required from me. I would really appreciate your help in this regard. Excerpts of host Configuration File define command{ command_name process-service-perfdata command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl } Excerpts of Serviceextinfo File define serviceextinfo{ host_name L3-Switch service_description MEM action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$ } Regards Navdeep Sidhu -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: Saturday, June 04, 2011 12:15 PM To: nagios-users at lists.sourceforge.net Subject: Nagios-users Digest, Vol 61, Issue 3 Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: Check_NRPE on AIX (Daniel Ceola) 2. Re: Non obvious 127 plugin error (Craig Stewart) 3. Re: Non obvious 127 plugin error (Justin T Pryzby) 4. Re: Non obvious 127 plugin error (Craig Stewart) 5. Re: Non obvious 127 plugin error (Craig Stewart) 6. Re: Checking multiple TCP ports for a single status? (Matthew Jurgens) 7. RRDTool exits with errors -> ERROR: can't make a graph without contents (Navdeep Sidhu) 8. Re: RRDTool exits with errors -> ERROR: can't make a graph without contents (Nibin VM) 9. Re: Non obvious 127 plugin error (Justin T Pryzby) 10. Has anyone else seen this? (Henry R. Prins) 11. Re: Has anyone else seen this? (Roberto Nunnari) 12. Re: Has anyone else seen this? (Giorgio Zarrelli) ---------------------------------------------------------------------- Message: 1 Date: Thu, 2 Jun 2011 16:47:28 +0000 From: Daniel Ceola Subject: Re: [Nagios-users] Check_NRPE on AIX To: Nagios Users List Message-ID: <40B7337A7D70B149A34D5A0FD9FDFA8C01EED9 at twgiex.twgi.net> Content-Type: text/plain; charset="us-ascii" I've finally gotten a chance to look at this again. Thank you to those that responded with helpful information. However, I just realized that I am working on an AIX 5.1 system, and since the binaries I'm using are written for 5.3, there are compatibility issues which seem to be causing my problems. I may need to look around for a different solution, to monitor my AIX system. Thanks, Daniel Ceola From: Kyle O'Donnell [mailto:nagios at isprime.org] Sent: Thursday, May 19, 2011 11:51 PM To: Nagios Users List Subject: Re: [Nagios-users] Check_NRPE on AIX Those are the binaries that I compiled and uploaded a couple years ago. We are still using them today, but if you have any issues let me know. I would suggest running the check_disk with the -x /proc as it is in nrpe as the same user nrpe is running as via command line to ensure it behaves as expected I have had no issue using sudo on aix btw. --kyleo On May 18, 2011 9:32 AM, "Daniel Ceola" > wrote: -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Thu, 02 Jun 2011 13:04:15 -0300 From: Craig Stewart Subject: Re: [Nagios-users] Non obvious 127 plugin error To: Giorgio Zarrelli Cc: Nagios Users List Message-ID: <4DE7B47F.4000500 at corp.xplornet.com> Content-Type: text/plain; charset=ISO-8859-1 Giorgio, I appreciate all your guesses. As far as the ulimits.conf file was, this system didn't have one! I did run the ulimits -a as the nagios user anf got this: -bash-4.2$ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 32100 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 1024 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited -bash-4.2$ Craig Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere On 06/02/2011 11:30 AM, Giorgio Zarrelli wrote: > We are making guesses, so check ulimits.conf > > Ciao, > > Giorgio > > Il giorno 02/giu/2011, alle ore 15:58, Craig Stewart > ha scritto: > >> Giorgio, >> >> It's bash. >> >> [root at nms tmp]# ls -l /bin/sh >> lrwxrwxrwx. 1 root root 4 May 31 11:39 /bin/sh -> bash >> [root at nms tmp]# >> >> I've been doing a bit of reading and it looks like the maximum arguments >> is a kernel setting built at compile time. I'm having a hard time >> wrapping my head around how the check works when run directly and fails >> when called by the Nagios process. >> >> I'm starting to wonder if I should point the /bin/sh to something like >> csh or some such as a test. >> >> Craig >> -- >> Craig Stewart >> Systems Integration Analyst >> Craig.Stewart at corp.xplornet.com Tel: (506) 328-1245 Cell: (506) 425-0111 >> Xplornet - Broadband, Everywhere >> >> On 06/02/2011 10:43 AM, Giorgio Zarrelli wrote: >>> Check wether your shell is a Dash or a Bash. That means, check where the >>> /bin/sh symlink is pointing to. >>> >>> Ciao, >>> >>> Giorgio >>> >>> Il giorno 02/giu/2011, alle ore 14:43, Craig Stewart >>> ha scritto: >>> >>>> All, >>>> >>>> SELinux was enabled (DOH!) and has been now disabled. Didn't fix my >>>> problem though. Thanks for that Clint, I don't know HOW many times >>>> SELinux has bitten me. Should know by now. >>>> >>>> I ran the strace as suggested by Justin and saw THIS little tidbit >>> flash by: >>>> >>>> 11769 execve("/bin/sh", ["sh", "-c", "/usr/lib/nagios/plugins/check_dig >>>> -H 142.166.86.18 -l www.xplornet.com -a 142.166.86.46 -w 0.5 -c 1 -t >>>> 5"], [/* 189 vars */]) = -1 E2BIG (Argument list too long) >>>> 11751 --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11769, >>>> si_status=127, si_utime=0, si_stime=0} (Child exited) -- >>>> >>>> Argument list too long???? So, SOMETHING (I suspect the shell) doesn't >>>> like that many arguments passed. Well, making progress. >>>> >>>> By the way, this is a bone stock OS install (Fedora 15 currently) and I >>>> haven't tweaked anything. >>>> >>>> Cheers all! >>>> >>>> Craig >>>> -- >>>> Craig Stewart >>>> Systems Integration Analyst >>>> Craig.Stewart at corp.xplornet.com >>>> Xplornet - Broadband, Everywhere >>>> >>>> On 06/01/2011 05:36 PM, Clint Dilks wrote: >>>>> Hi >>>>> >>>>> Just wondering if SE Linux is disabled on your system? If not check >>>>> your audit log and see if access to the plugin is being denied >>>>> >>>>> On Thu, Jun 2, 2011 at 8:15 AM, Justin T Pryzby >>>> > wrote: >>>>> >>>>> You can also strace the main nagios process: >>>>> strace -fs999 -e execve -p PID_OF_NAGIOS >>>>> or >>>>> sudo strace -fs999 -e execve -p `ps o pid h -C nagios3 --sort >>>>> start_time |sed q` 2>&1 |grep -Fw execve |grep -Fw check_dig >>>>> >>>>> 127 is the return status of the shell when a command isn't found: >>>>> justinp at justinp:~$ asdf; echo $? >>>>> bash: asdf: command not found >>>>> 127 >>>>> >>>>> man sh => /EXIT STATUS/ >>>>> >>>>> Justin >>>>> >>>>> On Wed, Jun 01, 2011 at 04:23:05PM -0300, Craig Stewart wrote: >>>>>> Giorgio >>>>>> >>>>>> As apache user: >>>>>> >>>>>> bash-4.2$ /usr/lib/nagios/plugins/check_dig -H 72.45.111.250 >>>>> -l >>>>>> www.xplornet.com -a 142.166.86.46 -w 0.5 >>>>> -c 1 -t 5 >>>>>> DNS OK - 0.096 seconds response time (www.xplornet.com >>>>> . 864 IN A >>>>>> 142.166.86.46)|time=0.095553s;0.500000;1.000000;0.000000 >>>>>> >>>>>> >>>>>> You understand my confusion. >>>>>> >>>>>> Craig >>>>>> >>>>>> Craig Stewart >>>>>> Systems Integration Analyst >>>>>> Craig.Stewart at corp.xplornet.com >>>>> >> >> Tel: (506) 328-1245 >>>>> Cell: (506) 425-0111 >>>>> >>>>>> Xplornet - Broadband, Everywhere >>>>>> >>>>>> On 06/01/2011 04:18 PM, Giorgio Zarrelli wrote: >>>>>>> Hi, >>>>>>> >>>>>>> I'm curious. Please, do a su - as the apache user and execute >>>>> the check >>>>>>> as that user. >>>>>>> >>>>>>> Ciao, >>>>>>> >>>>>>> Giorgio >>>>>> >>>>>> >>>>> >>> > ------------------------------------------------------------------------ ------ >>>>>> Simplify data backup and recovery for your virtual environment >>>>> with vRanger. >>>>>> Installation's a snap, and flexible recovery options mean your >>>>> data is safe, >>>>>> secure and there when you need it. Data protection magic? >>>>>> Nope - It's vRanger. Get your free trial download today. >>>>>> http://p.sf.net/sfu/quest-sfdev2dev >>>>>> _______________________________________________ >>>>>> Nagios-users mailing list >>>>>> Nagios-users at lists.sourceforge.net >>>>> >>>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>>> reporting any issue. >>>>>> ::: Messages without supporting info will risk being sent to /dev/null >>>>>> >>>>> >>>>> >>> > ------------------------------------------------------------------------ ------ >>>>> Simplify data backup and recovery for your virtual environment with >>>>> vRanger. >>>>> Installation's a snap, and flexible recovery options mean your data >>>>> is safe, >>>>> secure and there when you need it. Data protection magic? >>>>> Nope - It's vRanger. Get your free trial download today. >>>>> http://p.sf.net/sfu/quest-sfdev2dev >>>>> _______________________________________________ >>>>> Nagios-users mailing list >>>>> Nagios-users at lists.sourceforge.net >>>>> >>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>>> reporting any issue. >>>>> ::: Messages without supporting info will risk being sent to > /dev/null >>>>> >>>>> >>>>> >>>>> -- >>>>> This message has been scanned for viruses and >>>>> dangerous content by *MailScanner* , > and is >>>>> believed to be clean. >>>> >>>> >>> > ------------------------------------------------------------------------ ------ >>>> Simplify data backup and recovery for your virtual environment with >>> vRanger. >>>> Installation's a snap, and flexible recovery options mean your data is >>> safe, >>>> secure and there when you need it. Data protection magic? >>>> Nope - It's vRanger. Get your free trial download today. >>>> http://p.sf.net/sfu/quest-sfdev2dev >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> > ------------------------------------------------------------------------ ------ >>> Simplify data backup and recovery for your virtual environment with > vRanger. >>> Installation's a snap, and flexible recovery options mean your data > is safe, >>> secure and there when you need it. Data protection magic? >>> Nope - It's vRanger. Get your free trial download today. >>> http://p.sf.net/sfu/quest-sfdev2dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> -- >>> This message has been scanned by MailScanner >>> > > -- > This message has been scanned by MailScanner > ------------------------------ Message: 3 Date: Thu, 2 Jun 2011 10:07:42 -0700 From: Justin T Pryzby Subject: Re: [Nagios-users] Non obvious 127 plugin error To: nagios-users at lists.sourceforge.net Message-ID: <20110602170742.GA15646 at norchemlab.com> Content-Type: text/plain; charset=us-ascii Ah, I think it may be due to a ngaios setting of "enable_environment_macros": nagios.sourceforge.net/docs/3_0/configmain.html Nagios [can] export all sorts of data relating to the state of the check, and that can be useful, but it seems as if your configuration is too big or complicated or such to fit. Do your other checks work? What if you make their argument list as long as for check_dig? I think it's possible that some checks are run with bigger inherited environment than other checks, due to servicegroups and such. The execve() E2BIG error is due to a kernel limit on the size of "argument list plus environment". You could also write a check (or replace the check_dig command) with something like "set >/var/lib/nagios3/nagios-environment" or some other nagios-writable path. There shouldn't be more than (say) a kilobyte of environment. It's also possible that you're sourceing something huge like /etc/bash_completion, but that doesn't explain why it doesn't affect your user accounts and other nagios checks. Or you can rerun the strace with "-v" to cause the environment to be displayed. Justin On Thu, Jun 02, 2011 at 09:43:42AM -0300, Craig Stewart wrote: > All, > > SELinux was enabled (DOH!) and has been now disabled. Didn't fix my > problem though. Thanks for that Clint, I don't know HOW many times > SELinux has bitten me. Should know by now. > > I ran the strace as suggested by Justin and saw THIS little tidbit flash by: > > 11769 execve("/bin/sh", ["sh", "-c", "/usr/lib/nagios/plugins/check_dig > -H 142.166.86.18 -l www.xplornet.com -a 142.166.86.46 -w 0.5 -c 1 -t > 5"], [/* 189 vars */]) = -1 E2BIG (Argument list too long) > 11751 --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11769, > si_status=127, si_utime=0, si_stime=0} (Child exited) -- > > Argument list too long???? So, SOMETHING (I suspect the shell) doesn't > like that many arguments passed. Well, making progress. > > By the way, this is a bone stock OS install (Fedora 15 currently) and I > haven't tweaked anything. > > Cheers all! > > Craig > -- > Craig Stewart > Systems Integration Analyst > Craig.Stewart at corp.xplornet.com > Xplornet - Broadband, Everywhere > > On 06/01/2011 05:36 PM, Clint Dilks wrote: > > Hi > > > > Just wondering if SE Linux is disabled on your system? If not check > > your audit log and see if access to the plugin is being denied > > > > On Thu, Jun 2, 2011 at 8:15 AM, Justin T Pryzby > > wrote: > > > > You can also strace the main nagios process: > > strace -fs999 -e execve -p PID_OF_NAGIOS > > or > > sudo strace -fs999 -e execve -p `ps o pid h -C nagios3 --sort > > start_time |sed q` 2>&1 |grep -Fw execve |grep -Fw check_dig > > > > 127 is the return status of the shell when a command isn't found: > > justinp at justinp:~$ asdf; echo $? > > bash: asdf: command not found > > 127 > > > > man sh => /EXIT STATUS/ > > > > Justin > > > > On Wed, Jun 01, 2011 at 04:23:05PM -0300, Craig Stewart wrote: > > > Giorgio > > > > > > As apache user: > > > > > > bash-4.2$ /usr/lib/nagios/plugins/check_dig -H 72.45.111.250 > > -l > > > www.xplornet.com -a 142.166.86.46 -w 0.5 > > -c 1 -t 5 > > > DNS OK - 0.096 seconds response time (www.xplornet.com > > . 864 IN A > > > 142.166.86.46)|time=0.095553s;0.500000;1.000000;0.000000 > > > > > > > > > You understand my confusion. > > > > > > Craig > > > > > > Craig Stewart > > > Systems Integration Analyst > > > Craig.Stewart at corp.xplornet.com > > Tel: (506) 328-1245 > > Cell: (506) 425-0111 > > > > > Xplornet - Broadband, Everywhere > > > > > > On 06/01/2011 04:18 PM, Giorgio Zarrelli wrote: > > > > Hi, > > > > > > > > I'm curious. Please, do a su - as the apache user and execute > > the check > > > > as that user. > > > > > > > > Ciao, > > > > > > > > Giorgio > > > > > > > > ------------------------------------------------------------------------ ------ > > > Simplify data backup and recovery for your virtual environment > > with vRanger. > > > Installation's a snap, and flexible recovery options mean your > > data is safe, > > > secure and there when you need it. Data protection magic? > > > Nope - It's vRanger. Get your free trial download today. > > > http://p.sf.net/sfu/quest-sfdev2dev > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > ------------------------------------------------------------------------ ------ > > Simplify data backup and recovery for your virtual environment with > > vRanger. > > Installation's a snap, and flexible recovery options mean your data > > is safe, > > secure and there when you need it. Data protection magic? > > Nope - It's vRanger. Get your free trial download today. > > http://p.sf.net/sfu/quest-sfdev2dev > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > -- > > This message has been scanned for viruses and > > dangerous content by *MailScanner* , and is > > believed to be clean. > > ------------------------------------------------------------------------ ------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------ Message: 4 Date: Thu, 02 Jun 2011 14:33:15 -0300 From: Craig Stewart Subject: Re: [Nagios-users] Non obvious 127 plugin error To: Nagios Users List Message-ID: <4DE7C95B.7020402 at corp.xplornet.com> Content-Type: text/plain; charset=ISO-8859-1 Justin, I ran across that one as well and set the following in nagios.cfg: enable_environment_macros=0 This didn't help. I do have a fairly large config (about 8k hosts and 12k service checks) but I didn't think it was THAT big. Actually the check_dig command isn't the only one that isn't working. The "service-notify-by-email" command also barfs on the output of SOME checks, not all. This is simply a "printf blah blah blah" command defined in Nagios, not a compiled plug in. The check_ping command works, but I understand it's just a wrapper for the ping command itself. A number of custom bash and perl check commands work, but admittedly I simply pass the $HOSTNAME$ to them as an argument. I've rewritten the DNS-Check command so that everything except the $HOSTNAME$ is "hard coded" but I don't think this will work. I'm admittedly grasping at straws now. This is what the command line will look like: /usr/lib/nagios/plugins/check_dns -s $HOSTADDRESS$ -H www.xplornet.com -a 142.166.86.46 -w 0.25 -c 5 -t 10 Craig Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere On 06/02/2011 02:07 PM, Justin T Pryzby wrote: > Ah, I think it may be due to a ngaios setting of > "enable_environment_macros": > nagios.sourceforge.net/docs/3_0/configmain.html > > Nagios [can] export all sorts of data relating to the state of the > check, and that can be useful, but it seems as if your configuration > is too big or complicated or such to fit. Do your other checks work? > What if you make their argument list as long as for check_dig? > I think it's possible that some checks are run with bigger inherited > environment than other checks, due to servicegroups and such. The > execve() E2BIG error is due to a kernel limit on the size of "argument > list plus environment". You could also write a check (or replace the > check_dig command) with something like "set >>/var/lib/nagios3/nagios-environment" or some other nagios-writable > path. There shouldn't be more than (say) a kilobyte of environment. > It's also possible that you're sourceing something huge like > /etc/bash_completion, but that doesn't explain why it doesn't affect > your user accounts and other nagios checks. Or you can rerun the > strace with "-v" to cause the environment to be displayed. > > Justin > ------------------------------ Message: 5 Date: Thu, 02 Jun 2011 15:53:55 -0300 From: Craig Stewart Subject: Re: [Nagios-users] Non obvious 127 plugin error To: Nagios Users List Message-ID: <4DE7DC43.4090103 at corp.xplornet.com> Content-Type: text/plain; charset=ISO-8859-1 All, Just an update: Appending "enable_environment_macros=0" to the end of the nagios.cfg file as opposed to putting it just after all the file declarations appears to have fixed it. I didn't think it was that sensitive to placement in the config file. Thanks all! Craig -- Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Tel: (506) 328-1245 Cell: (506) 425-0111 Xplornet - Broadband, Everywhere On 06/02/2011 02:33 PM, Craig Stewart wrote: > Justin, > > I ran across that one as well and set the following in nagios.cfg: > > enable_environment_macros=0 > > This didn't help. I do have a fairly large config (about 8k hosts and > 12k service checks) but I didn't think it was THAT big. ------------------------------ Message: 6 Date: Fri, 03 Jun 2011 09:29:15 +1000 From: Matthew Jurgens Subject: Re: [Nagios-users] Checking multiple TCP ports for a single status? To: Nagios Users List Message-ID: <4DE81CCB.9040008 at edcint.co.nz> Content-Type: text/plain; charset="iso-8859-1" Something a little more powerful and generic that can be used in multiple scenarios check_multi See: http://exchange.nagios.org/directory/Plugins/Others/check_multi/details On 30/05/2011 6:11 PM, quanta wrote: > Take a look at this: > http://www.theillien.com/Sys_Admin_v12/html/v14/i12/a6_l2.htm > > On 12/30/2010 01:56 AM, Daniel Wittenberg wrote: >> Write a simple script that does both checks and returns results? >> >> Dan >> >> -----Original Message----- >> From: stan [mailto:stanb at panix.com] >> Sent: Wednesday, December 29, 2010 12:39 PM >> To: nagios List >> Subject: [Nagios-users] Checking multiple TCP ports for a single status? >> >> >> I think I need to verify that both port 135, and 445 are avaialble on >> some >> Windows amchines. As I understand it, both of these need to be up. I'd >> like >> to make this a single check. Looks like check_tcp will only accept a >> single >> -p argument. Is this correct? If so, is there a way I can AND to >> different >> check_tcp runs, and report a single status back to Nagios? >> >> > ------------------------------------------------------------------------ ------ > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, > you get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1375 / Virus Database: 1509/3668 - Release Date: 05/29/11 > > -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 7 Date: Fri, 3 Jun 2011 16:11:14 +0530 From: "Navdeep Sidhu" Subject: [Nagios-users] RRDTool exits with errors -> ERROR: can't make a graph without contents To: Message-ID: <9169798C154CD846B738065B6A75DABF011B20E8 at PB-CHD-MBX02> Content-Type: text/plain; charset="us-ascii" Hi I'm using Nagios 2.8 with RRD tool version 1.0.50 & PNP version 0.3 installed. Nagios is running on RHEL-4 I'm facing an issue in RRD Tool. Recently I have configured this tool for Cisco devices (under serviceextinfo.cfg file) so that memory & CPU utilization should be available in graphs however I'm getting following error when trying to view the graphs RRDTool exits with errors -> ERROR: can't make a graph without contents This tool is working fine with Intel platform servers & displaying the graphs however not working in Cisco devices. Kindly help Regards Navdeep Sidhu ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 8 Date: Fri, 3 Jun 2011 16:41:38 +0530 From: Nibin VM Subject: Re: [Nagios-users] RRDTool exits with errors -> ERROR: can't make a graph without contents To: Nagios Users List Message-ID: Content-Type: text/plain; charset="iso-8859-1" in what mode you have configured pnp4nagios? On Fri, Jun 3, 2011 at 4:11 PM, Navdeep Sidhu wrote: > Hi > > > > I'm using Nagios 2.8 with RRD tool version 1.0.50 & PNP version 0.3 > installed. Nagios is running on RHEL-4 > > > > I'm facing an issue in RRD Tool. Recently I have configured this tool for > Cisco devices (under serviceextinfo.cfg file) so that memory & CPU > utilization should be available in graphs however I'm getting following > error when trying to view the graphs > > > > *RRDTool exits with errors -> ERROR: can't make a graph without contents * > > > > This tool is working fine with Intel platform servers & displaying the > graphs however not working in Cisco devices. > > > > Kindly help > > > > Regards > > Navdeep Sidhu > > ====================================== > i-choose online store at www.tataindicom.com > Your Comfort. Your Convenience. Your Choice. > ====================================== > > DISCLAIMER: > The information contained in this message (including any attachments) is > confidential and may be privileged. If you have received it by mistake > please notify the sender by return e-mail and permanently delete this > message and any attachments from your system. Any dissemination, use, > review, distribution, printing or copying of this message in whole or in > part is strictly prohibited. Please note that e-mails are susceptible to > change. TATA TELESERVICES LTD. (including its group companies) shall not be > liable for the improper or incomplete transmission of the information > contained in this communication nor for any delay in its receipt or damage > to your system. TATA TELESERVICES LTD. (or its group companies) does not > guarantee that the integrity of this communication has been maintained or > that this communication is free of viruses, interceptions or interferences. > > > > ------------------------------------------------------------------------ ------ > Simplify data backup and recovery for your virtual environment with > vRanger. > Installation's a snap, and flexible recovery options mean your data is > safe, > secure and there when you need it. Discover what all the cheering's about. > Get your free trial download today. > http://p.sf.net/sfu/quest-dev2dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Regards, Nibin. --------------------------------- Nibin.V.M Systems Engineer(Unix) PiServe.com -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 9 Date: Fri, 3 Jun 2011 11:43:23 -0700 From: Justin T Pryzby Subject: Re: [Nagios-users] Non obvious 127 plugin error To: Nagios Users List Message-ID: <20110603184323.GA8425 at norchemlab.com> Content-Type: text/plain; charset=us-ascii The placement of the option may be significant if that option is set somewhere else in the file, or in another file referenced by "cfg_file" or "cfg_dir" options. Our nagios-spawned environment has 6K of data, and NAGIOS_SERVICEGROUPMEMBERS, in particular, is about 1k of that. Justin On Thu, Jun 02, 2011 at 02:33:15PM -0300, Craig Stewart wrote: > This didn't help. I do have a fairly large config (about 8k hosts and > 12k service checks) but I didn't think it was THAT big. On Thu, Jun 02, 2011 at 03:53:55PM -0300, Craig Stewart wrote: > Appending "enable_environment_macros=0" to the end of the nagios.cfg > file as opposed to putting it just after all the file declarations > appears to have fixed it. I didn't think it was that sensitive to > placement in the config file. On 06/02/2011 02:33 PM, Craig Stewart wrote: >> I ran across that one as well and set the following in nagios.cfg: >> >> enable_environment_macros=0 >> >> This didn't help. I do have a fairly large config (about 8k hosts and >> 12k service checks) but I didn't think it was THAT big. ------------------------------ Message: 10 Date: Fri, 3 Jun 2011 19:33:07 +0000 From: "Henry R. Prins" Subject: [Nagios-users] Has anyone else seen this? To: "'nagios-users at lists.sourceforge.net'" Message-ID: Content-Type: text/plain; charset="us-ascii" Hey guys, I have two web servers which I have been monitoring. define host{ use web-server host_name MDS-Support alias MDS Support on Apache Web Server address 67.88.41.150 parents rtr-t1-ext-150 contact_groups webadmins } define host{ use web-server host_name MDS-Main-Website alias multidataservices main website address www.multidataservices.com parents Internet contact_groups webadmins } But somehow I got this message today when one of the two was not responding: ***** Nagios ***** Notification Type: PROBLEM Service: HTTP Host: MDS Support on Apache Web Server Address: www.multidataservices.com State: CRITICAL Date/Time: Fri Jun 3 15:03:22 EDT 2011 Additional Info: CRITICAL - Socket timeout after 10 seconds It seems the Host Name is for one entry and the Address is from the other. Anyone know what I am doing wrong? Henry. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 11 Date: Sat, 04 Jun 2011 00:52:17 +0200 From: Roberto Nunnari Subject: Re: [Nagios-users] Has anyone else seen this? To: Nagios Users List , HPrins at multidataservices.com Message-ID: <4DE965A1.4030304 at supsi.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Henry R. Prins wrote: > Hey guys, > > I have two web servers which I have been monitoring. > > define host{ > use web-server > host_name MDS-Support > alias MDS Support on Apache Web Server > address 67.88.41.150 > parents rtr-t1-ext-150 > contact_groups webadmins > } > > define host{ > use web-server > host_name MDS-Main-Website > alias multidataservices main website > address www.multidataservices.com > parents Internet > contact_groups webadmins > } > > > But somehow I got this message today when one of the two was not responding: > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: HTTP > Host: MDS Support on Apache Web Server > Address: www.multidataservices.com > State: CRITICAL > > Date/Time: Fri Jun 3 15:03:22 EDT 2011 > > Additional Info: > > CRITICAL - Socket timeout after 10 seconds > > > It seems the Host Name is for one entry and the Address is from the > other. Anyone know what I am doing wrong? > > Henry. Humm.. I believe it would be better to set as address the IP address and not the dns name.. Then, if you define the service for checking the http service, use the http command that also takes the virtulHost name. Hope this helps. Best regards. Robi ------------------------------ Message: 12 Date: Sat, 4 Jun 2011 08:44:41 +0200 From: Giorgio Zarrelli Subject: Re: [Nagios-users] Has anyone else seen this? To: Nagios Users List Cc: "nagios-users at lists.sourceforge.net" Message-ID: Content-Type: text/plain; charset="us-ascii" Pleae, Paste the web-server template the http service and commando definitions and related template. Ciao, Giorgio Il giorno 03/giu/2011, alle ore 21:33, "Henry R. Prins" ha scritto: > Hey guys, > > > > I have two web servers which I have been monitoring. > > > > define host{ > > use web-server > > host_name MDS-Support > > alias MDS Support on Apache Web Server > > address 67.88.41.150 > > parents rtr-t1-ext-150 > > contact_groups webadmins > > } > > > > define host{ > > use web-server > > host_name MDS-Main-Website > > alias multidataservices main website > > address www.multidataservices.com > > parents Internet > > contact_groups webadmins > > } > > > > > > But somehow I got this message today when one of the two was not responding: > > > > ***** Nagios ***** > > > > Notification Type: PROBLEM > > > > Service: HTTP > > Host: MDS Support on Apache Web Server > > Address: www.multidataservices.com > > State: CRITICAL > > > > Date/Time: Fri Jun 3 15:03:22 EDT 2011 > > > > Additional Info: > > > > CRITICAL - Socket timeout after 10 seconds > > > > > > > > It seems the Host Name is for one entry and the Address is from the other. Anyone know what I am doing wrong? > > > > Henry. > > ------------------------------------------------------------------------ ------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Discover what all the cheering's about. > Get your free trial download today. > http://p.sf.net/sfu/quest-dev2dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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... ------------------------------ ------------------------------------------------------------------------ ------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 ------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest, Vol 61, Issue 3 ******************************************* ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 -------------- 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 Navdeep.Sidhu at tatatel.co.in Mon Jun 6 07:20:29 2011 From: Navdeep.Sidhu at tatatel.co.in (Navdeep Sidhu) Date: Mon, 6 Jun 2011 10:50:29 +0530 Subject: RRDTool exits with errors -> ERROR: can't make a graph without contents References: Message-ID: <9169798C154CD846B738065B6A75DABF011DE98F@PB-CHD-MBX02> Hi Nibin I'm not aware in which mode I had configured pnp4nagios (my apologies). Anyways I'm pasting excerpt of my host configuration & serviceextinfo file so that you can get the clear picture. In fact, in Nagios web console, I'm able to see Memory & CPU utilization of Cisco devices however unable to view the graphs. I'm using check_snmp_mem.pl plugin to capture Memory utilization of Cisco devices. Let me know if any other info required from me. I would really appreciate your help in this regard. Excerpts of host Configuration File define command{ command_name process-service-perfdata command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl } Excerpts of Serviceextinfo File define serviceextinfo{ host_name L3-Switch service_description MEM action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$ } Regards Navdeep Sidhu -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: Saturday, June 04, 2011 12:15 PM To: nagios-users at lists.sourceforge.net Subject: Nagios-users Digest, Vol 61, Issue 3 Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: Check_NRPE on AIX (Daniel Ceola) 2. Re: Non obvious 127 plugin error (Craig Stewart) 3. Re: Non obvious 127 plugin error (Justin T Pryzby) 4. Re: Non obvious 127 plugin error (Craig Stewart) 5. Re: Non obvious 127 plugin error (Craig Stewart) 6. Re: Checking multiple TCP ports for a single status? (Matthew Jurgens) 7. RRDTool exits with errors -> ERROR: can't make a graph without contents (Navdeep Sidhu) 8. Re: RRDTool exits with errors -> ERROR: can't make a graph without contents (Nibin VM) 9. Re: Non obvious 127 plugin error (Justin T Pryzby) 10. Has anyone else seen this? (Henry R. Prins) 11. Re: Has anyone else seen this? (Roberto Nunnari) 12. Re: Has anyone else seen this? (Giorgio Zarrelli) ---------------------------------------------------------------------- Message: 1 Date: Thu, 2 Jun 2011 16:47:28 +0000 From: Daniel Ceola Subject: Re: [Nagios-users] Check_NRPE on AIX To: Nagios Users List Message-ID: <40B7337A7D70B149A34D5A0FD9FDFA8C01EED9 at twgiex.twgi.net> Content-Type: text/plain; charset="us-ascii" I've finally gotten a chance to look at this again. Thank you to those that responded with helpful information. However, I just realized that I am working on an AIX 5.1 system, and since the binaries I'm using are written for 5.3, there are compatibility issues which seem to be causing my problems. I may need to look around for a different solution, to monitor my AIX system. Thanks, Daniel Ceola From: Kyle O'Donnell [mailto:nagios at isprime.org] Sent: Thursday, May 19, 2011 11:51 PM To: Nagios Users List Subject: Re: [Nagios-users] Check_NRPE on AIX Those are the binaries that I compiled and uploaded a couple years ago. We are still using them today, but if you have any issues let me know. I would suggest running the check_disk with the -x /proc as it is in nrpe as the same user nrpe is running as via command line to ensure it behaves as expected I have had no issue using sudo on aix btw. --kyleo On May 18, 2011 9:32 AM, "Daniel Ceola" > wrote: -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Thu, 02 Jun 2011 13:04:15 -0300 From: Craig Stewart Subject: Re: [Nagios-users] Non obvious 127 plugin error To: Giorgio Zarrelli Cc: Nagios Users List Message-ID: <4DE7B47F.4000500 at corp.xplornet.com> Content-Type: text/plain; charset=ISO-8859-1 Giorgio, I appreciate all your guesses. As far as the ulimits.conf file was, this system didn't have one! I did run the ulimits -a as the nagios user anf got this: -bash-4.2$ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 32100 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 1024 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited -bash-4.2$ Craig Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere On 06/02/2011 11:30 AM, Giorgio Zarrelli wrote: > We are making guesses, so check ulimits.conf > > Ciao, > > Giorgio > > Il giorno 02/giu/2011, alle ore 15:58, Craig Stewart > ha scritto: > >> Giorgio, >> >> It's bash. >> >> [root at nms tmp]# ls -l /bin/sh >> lrwxrwxrwx. 1 root root 4 May 31 11:39 /bin/sh -> bash >> [root at nms tmp]# >> >> I've been doing a bit of reading and it looks like the maximum arguments >> is a kernel setting built at compile time. I'm having a hard time >> wrapping my head around how the check works when run directly and fails >> when called by the Nagios process. >> >> I'm starting to wonder if I should point the /bin/sh to something like >> csh or some such as a test. >> >> Craig >> -- >> Craig Stewart >> Systems Integration Analyst >> Craig.Stewart at corp.xplornet.com Tel: (506) 328-1245 Cell: (506) 425-0111 >> Xplornet - Broadband, Everywhere >> >> On 06/02/2011 10:43 AM, Giorgio Zarrelli wrote: >>> Check wether your shell is a Dash or a Bash. That means, check where the >>> /bin/sh symlink is pointing to. >>> >>> Ciao, >>> >>> Giorgio >>> >>> Il giorno 02/giu/2011, alle ore 14:43, Craig Stewart >>> ha scritto: >>> >>>> All, >>>> >>>> SELinux was enabled (DOH!) and has been now disabled. Didn't fix my >>>> problem though. Thanks for that Clint, I don't know HOW many times >>>> SELinux has bitten me. Should know by now. >>>> >>>> I ran the strace as suggested by Justin and saw THIS little tidbit >>> flash by: >>>> >>>> 11769 execve("/bin/sh", ["sh", "-c", "/usr/lib/nagios/plugins/check_dig >>>> -H 142.166.86.18 -l www.xplornet.com -a 142.166.86.46 -w 0.5 -c 1 -t >>>> 5"], [/* 189 vars */]) = -1 E2BIG (Argument list too long) >>>> 11751 --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11769, >>>> si_status=127, si_utime=0, si_stime=0} (Child exited) -- >>>> >>>> Argument list too long???? So, SOMETHING (I suspect the shell) doesn't >>>> like that many arguments passed. Well, making progress. >>>> >>>> By the way, this is a bone stock OS install (Fedora 15 currently) and I >>>> haven't tweaked anything. >>>> >>>> Cheers all! >>>> >>>> Craig >>>> -- >>>> Craig Stewart >>>> Systems Integration Analyst >>>> Craig.Stewart at corp.xplornet.com >>>> Xplornet - Broadband, Everywhere >>>> >>>> On 06/01/2011 05:36 PM, Clint Dilks wrote: >>>>> Hi >>>>> >>>>> Just wondering if SE Linux is disabled on your system? If not check >>>>> your audit log and see if access to the plugin is being denied >>>>> >>>>> On Thu, Jun 2, 2011 at 8:15 AM, Justin T Pryzby >>>> > wrote: >>>>> >>>>> You can also strace the main nagios process: >>>>> strace -fs999 -e execve -p PID_OF_NAGIOS >>>>> or >>>>> sudo strace -fs999 -e execve -p `ps o pid h -C nagios3 --sort >>>>> start_time |sed q` 2>&1 |grep -Fw execve |grep -Fw check_dig >>>>> >>>>> 127 is the return status of the shell when a command isn't found: >>>>> justinp at justinp:~$ asdf; echo $? >>>>> bash: asdf: command not found >>>>> 127 >>>>> >>>>> man sh => /EXIT STATUS/ >>>>> >>>>> Justin >>>>> >>>>> On Wed, Jun 01, 2011 at 04:23:05PM -0300, Craig Stewart wrote: >>>>>> Giorgio >>>>>> >>>>>> As apache user: >>>>>> >>>>>> bash-4.2$ /usr/lib/nagios/plugins/check_dig -H 72.45.111.250 >>>>> -l >>>>>> www.xplornet.com -a 142.166.86.46 -w 0.5 >>>>> -c 1 -t 5 >>>>>> DNS OK - 0.096 seconds response time (www.xplornet.com >>>>> . 864 IN A >>>>>> 142.166.86.46)|time=0.095553s;0.500000;1.000000;0.000000 >>>>>> >>>>>> >>>>>> You understand my confusion. >>>>>> >>>>>> Craig >>>>>> >>>>>> Craig Stewart >>>>>> Systems Integration Analyst >>>>>> Craig.Stewart at corp.xplornet.com >>>>> >> >> Tel: (506) 328-1245 >>>>> Cell: (506) 425-0111 >>>>> >>>>>> Xplornet - Broadband, Everywhere >>>>>> >>>>>> On 06/01/2011 04:18 PM, Giorgio Zarrelli wrote: >>>>>>> Hi, >>>>>>> >>>>>>> I'm curious. Please, do a su - as the apache user and execute >>>>> the check >>>>>>> as that user. >>>>>>> >>>>>>> Ciao, >>>>>>> >>>>>>> Giorgio >>>>>> >>>>>> >>>>> >>> > ------------------------------------------------------------------------ ------ >>>>>> Simplify data backup and recovery for your virtual environment >>>>> with vRanger. >>>>>> Installation's a snap, and flexible recovery options mean your >>>>> data is safe, >>>>>> secure and there when you need it. Data protection magic? >>>>>> Nope - It's vRanger. Get your free trial download today. >>>>>> http://p.sf.net/sfu/quest-sfdev2dev >>>>>> _______________________________________________ >>>>>> Nagios-users mailing list >>>>>> Nagios-users at lists.sourceforge.net >>>>> >>>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>>> reporting any issue. >>>>>> ::: Messages without supporting info will risk being sent to /dev/null >>>>>> >>>>> >>>>> >>> > ------------------------------------------------------------------------ ------ >>>>> Simplify data backup and recovery for your virtual environment with >>>>> vRanger. >>>>> Installation's a snap, and flexible recovery options mean your data >>>>> is safe, >>>>> secure and there when you need it. Data protection magic? >>>>> Nope - It's vRanger. Get your free trial download today. >>>>> http://p.sf.net/sfu/quest-sfdev2dev >>>>> _______________________________________________ >>>>> Nagios-users mailing list >>>>> Nagios-users at lists.sourceforge.net >>>>> >>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>>> reporting any issue. >>>>> ::: Messages without supporting info will risk being sent to > /dev/null >>>>> >>>>> >>>>> >>>>> -- >>>>> This message has been scanned for viruses and >>>>> dangerous content by *MailScanner* , > and is >>>>> believed to be clean. >>>> >>>> >>> > ------------------------------------------------------------------------ ------ >>>> Simplify data backup and recovery for your virtual environment with >>> vRanger. >>>> Installation's a snap, and flexible recovery options mean your data is >>> safe, >>>> secure and there when you need it. Data protection magic? >>>> Nope - It's vRanger. Get your free trial download today. >>>> http://p.sf.net/sfu/quest-sfdev2dev >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> > ------------------------------------------------------------------------ ------ >>> Simplify data backup and recovery for your virtual environment with > vRanger. >>> Installation's a snap, and flexible recovery options mean your data > is safe, >>> secure and there when you need it. Data protection magic? >>> Nope - It's vRanger. Get your free trial download today. >>> http://p.sf.net/sfu/quest-sfdev2dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> -- >>> This message has been scanned by MailScanner >>> > > -- > This message has been scanned by MailScanner > ------------------------------ Message: 3 Date: Thu, 2 Jun 2011 10:07:42 -0700 From: Justin T Pryzby Subject: Re: [Nagios-users] Non obvious 127 plugin error To: nagios-users at lists.sourceforge.net Message-ID: <20110602170742.GA15646 at norchemlab.com> Content-Type: text/plain; charset=us-ascii Ah, I think it may be due to a ngaios setting of "enable_environment_macros": nagios.sourceforge.net/docs/3_0/configmain.html Nagios [can] export all sorts of data relating to the state of the check, and that can be useful, but it seems as if your configuration is too big or complicated or such to fit. Do your other checks work? What if you make their argument list as long as for check_dig? I think it's possible that some checks are run with bigger inherited environment than other checks, due to servicegroups and such. The execve() E2BIG error is due to a kernel limit on the size of "argument list plus environment". You could also write a check (or replace the check_dig command) with something like "set >/var/lib/nagios3/nagios-environment" or some other nagios-writable path. There shouldn't be more than (say) a kilobyte of environment. It's also possible that you're sourceing something huge like /etc/bash_completion, but that doesn't explain why it doesn't affect your user accounts and other nagios checks. Or you can rerun the strace with "-v" to cause the environment to be displayed. Justin On Thu, Jun 02, 2011 at 09:43:42AM -0300, Craig Stewart wrote: > All, > > SELinux was enabled (DOH!) and has been now disabled. Didn't fix my > problem though. Thanks for that Clint, I don't know HOW many times > SELinux has bitten me. Should know by now. > > I ran the strace as suggested by Justin and saw THIS little tidbit flash by: > > 11769 execve("/bin/sh", ["sh", "-c", "/usr/lib/nagios/plugins/check_dig > -H 142.166.86.18 -l www.xplornet.com -a 142.166.86.46 -w 0.5 -c 1 -t > 5"], [/* 189 vars */]) = -1 E2BIG (Argument list too long) > 11751 --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11769, > si_status=127, si_utime=0, si_stime=0} (Child exited) -- > > Argument list too long???? So, SOMETHING (I suspect the shell) doesn't > like that many arguments passed. Well, making progress. > > By the way, this is a bone stock OS install (Fedora 15 currently) and I > haven't tweaked anything. > > Cheers all! > > Craig > -- > Craig Stewart > Systems Integration Analyst > Craig.Stewart at corp.xplornet.com > Xplornet - Broadband, Everywhere > > On 06/01/2011 05:36 PM, Clint Dilks wrote: > > Hi > > > > Just wondering if SE Linux is disabled on your system? If not check > > your audit log and see if access to the plugin is being denied > > > > On Thu, Jun 2, 2011 at 8:15 AM, Justin T Pryzby > > wrote: > > > > You can also strace the main nagios process: > > strace -fs999 -e execve -p PID_OF_NAGIOS > > or > > sudo strace -fs999 -e execve -p `ps o pid h -C nagios3 --sort > > start_time |sed q` 2>&1 |grep -Fw execve |grep -Fw check_dig > > > > 127 is the return status of the shell when a command isn't found: > > justinp at justinp:~$ asdf; echo $? > > bash: asdf: command not found > > 127 > > > > man sh => /EXIT STATUS/ > > > > Justin > > > > On Wed, Jun 01, 2011 at 04:23:05PM -0300, Craig Stewart wrote: > > > Giorgio > > > > > > As apache user: > > > > > > bash-4.2$ /usr/lib/nagios/plugins/check_dig -H 72.45.111.250 > > -l > > > www.xplornet.com -a 142.166.86.46 -w 0.5 > > -c 1 -t 5 > > > DNS OK - 0.096 seconds response time (www.xplornet.com > > . 864 IN A > > > 142.166.86.46)|time=0.095553s;0.500000;1.000000;0.000000 > > > > > > > > > You understand my confusion. > > > > > > Craig > > > > > > Craig Stewart > > > Systems Integration Analyst > > > Craig.Stewart at corp.xplornet.com > > Tel: (506) 328-1245 > > Cell: (506) 425-0111 > > > > > Xplornet - Broadband, Everywhere > > > > > > On 06/01/2011 04:18 PM, Giorgio Zarrelli wrote: > > > > Hi, > > > > > > > > I'm curious. Please, do a su - as the apache user and execute > > the check > > > > as that user. > > > > > > > > Ciao, > > > > > > > > Giorgio > > > > > > > > ------------------------------------------------------------------------ ------ > > > Simplify data backup and recovery for your virtual environment > > with vRanger. > > > Installation's a snap, and flexible recovery options mean your > > data is safe, > > > secure and there when you need it. Data protection magic? > > > Nope - It's vRanger. Get your free trial download today. > > > http://p.sf.net/sfu/quest-sfdev2dev > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > ------------------------------------------------------------------------ ------ > > Simplify data backup and recovery for your virtual environment with > > vRanger. > > Installation's a snap, and flexible recovery options mean your data > > is safe, > > secure and there when you need it. Data protection magic? > > Nope - It's vRanger. Get your free trial download today. > > http://p.sf.net/sfu/quest-sfdev2dev > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > -- > > This message has been scanned for viruses and > > dangerous content by *MailScanner* , and is > > believed to be clean. > > ------------------------------------------------------------------------ ------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------ Message: 4 Date: Thu, 02 Jun 2011 14:33:15 -0300 From: Craig Stewart Subject: Re: [Nagios-users] Non obvious 127 plugin error To: Nagios Users List Message-ID: <4DE7C95B.7020402 at corp.xplornet.com> Content-Type: text/plain; charset=ISO-8859-1 Justin, I ran across that one as well and set the following in nagios.cfg: enable_environment_macros=0 This didn't help. I do have a fairly large config (about 8k hosts and 12k service checks) but I didn't think it was THAT big. Actually the check_dig command isn't the only one that isn't working. The "service-notify-by-email" command also barfs on the output of SOME checks, not all. This is simply a "printf blah blah blah" command defined in Nagios, not a compiled plug in. The check_ping command works, but I understand it's just a wrapper for the ping command itself. A number of custom bash and perl check commands work, but admittedly I simply pass the $HOSTNAME$ to them as an argument. I've rewritten the DNS-Check command so that everything except the $HOSTNAME$ is "hard coded" but I don't think this will work. I'm admittedly grasping at straws now. This is what the command line will look like: /usr/lib/nagios/plugins/check_dns -s $HOSTADDRESS$ -H www.xplornet.com -a 142.166.86.46 -w 0.25 -c 5 -t 10 Craig Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere On 06/02/2011 02:07 PM, Justin T Pryzby wrote: > Ah, I think it may be due to a ngaios setting of > "enable_environment_macros": > nagios.sourceforge.net/docs/3_0/configmain.html > > Nagios [can] export all sorts of data relating to the state of the > check, and that can be useful, but it seems as if your configuration > is too big or complicated or such to fit. Do your other checks work? > What if you make their argument list as long as for check_dig? > I think it's possible that some checks are run with bigger inherited > environment than other checks, due to servicegroups and such. The > execve() E2BIG error is due to a kernel limit on the size of "argument > list plus environment". You could also write a check (or replace the > check_dig command) with something like "set >>/var/lib/nagios3/nagios-environment" or some other nagios-writable > path. There shouldn't be more than (say) a kilobyte of environment. > It's also possible that you're sourceing something huge like > /etc/bash_completion, but that doesn't explain why it doesn't affect > your user accounts and other nagios checks. Or you can rerun the > strace with "-v" to cause the environment to be displayed. > > Justin > ------------------------------ Message: 5 Date: Thu, 02 Jun 2011 15:53:55 -0300 From: Craig Stewart Subject: Re: [Nagios-users] Non obvious 127 plugin error To: Nagios Users List Message-ID: <4DE7DC43.4090103 at corp.xplornet.com> Content-Type: text/plain; charset=ISO-8859-1 All, Just an update: Appending "enable_environment_macros=0" to the end of the nagios.cfg file as opposed to putting it just after all the file declarations appears to have fixed it. I didn't think it was that sensitive to placement in the config file. Thanks all! Craig -- Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Tel: (506) 328-1245 Cell: (506) 425-0111 Xplornet - Broadband, Everywhere On 06/02/2011 02:33 PM, Craig Stewart wrote: > Justin, > > I ran across that one as well and set the following in nagios.cfg: > > enable_environment_macros=0 > > This didn't help. I do have a fairly large config (about 8k hosts and > 12k service checks) but I didn't think it was THAT big. ------------------------------ Message: 6 Date: Fri, 03 Jun 2011 09:29:15 +1000 From: Matthew Jurgens Subject: Re: [Nagios-users] Checking multiple TCP ports for a single status? To: Nagios Users List Message-ID: <4DE81CCB.9040008 at edcint.co.nz> Content-Type: text/plain; charset="iso-8859-1" Something a little more powerful and generic that can be used in multiple scenarios check_multi See: http://exchange.nagios.org/directory/Plugins/Others/check_multi/details On 30/05/2011 6:11 PM, quanta wrote: > Take a look at this: > http://www.theillien.com/Sys_Admin_v12/html/v14/i12/a6_l2.htm > > On 12/30/2010 01:56 AM, Daniel Wittenberg wrote: >> Write a simple script that does both checks and returns results? >> >> Dan >> >> -----Original Message----- >> From: stan [mailto:stanb at panix.com] >> Sent: Wednesday, December 29, 2010 12:39 PM >> To: nagios List >> Subject: [Nagios-users] Checking multiple TCP ports for a single status? >> >> >> I think I need to verify that both port 135, and 445 are avaialble on >> some >> Windows amchines. As I understand it, both of these need to be up. I'd >> like >> to make this a single check. Looks like check_tcp will only accept a >> single >> -p argument. Is this correct? If so, is there a way I can AND to >> different >> check_tcp runs, and report a single status back to Nagios? >> >> > ------------------------------------------------------------------------ ------ > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, > you get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1375 / Virus Database: 1509/3668 - Release Date: 05/29/11 > > -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 7 Date: Fri, 3 Jun 2011 16:11:14 +0530 From: "Navdeep Sidhu" Subject: [Nagios-users] RRDTool exits with errors -> ERROR: can't make a graph without contents To: Message-ID: <9169798C154CD846B738065B6A75DABF011B20E8 at PB-CHD-MBX02> Content-Type: text/plain; charset="us-ascii" Hi I'm using Nagios 2.8 with RRD tool version 1.0.50 & PNP version 0.3 installed. Nagios is running on RHEL-4 I'm facing an issue in RRD Tool. Recently I have configured this tool for Cisco devices (under serviceextinfo.cfg file) so that memory & CPU utilization should be available in graphs however I'm getting following error when trying to view the graphs RRDTool exits with errors -> ERROR: can't make a graph without contents This tool is working fine with Intel platform servers & displaying the graphs however not working in Cisco devices. Kindly help Regards Navdeep Sidhu ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 8 Date: Fri, 3 Jun 2011 16:41:38 +0530 From: Nibin VM Subject: Re: [Nagios-users] RRDTool exits with errors -> ERROR: can't make a graph without contents To: Nagios Users List Message-ID: Content-Type: text/plain; charset="iso-8859-1" in what mode you have configured pnp4nagios? On Fri, Jun 3, 2011 at 4:11 PM, Navdeep Sidhu wrote: > Hi > > > > I'm using Nagios 2.8 with RRD tool version 1.0.50 & PNP version 0.3 > installed. Nagios is running on RHEL-4 > > > > I'm facing an issue in RRD Tool. Recently I have configured this tool for > Cisco devices (under serviceextinfo.cfg file) so that memory & CPU > utilization should be available in graphs however I'm getting following > error when trying to view the graphs > > > > *RRDTool exits with errors -> ERROR: can't make a graph without contents * > > > > This tool is working fine with Intel platform servers & displaying the > graphs however not working in Cisco devices. > > > > Kindly help > > > > Regards > > Navdeep Sidhu > > ====================================== > i-choose online store at www.tataindicom.com > Your Comfort. Your Convenience. Your Choice. > ====================================== > > DISCLAIMER: > The information contained in this message (including any attachments) is > confidential and may be privileged. If you have received it by mistake > please notify the sender by return e-mail and permanently delete this > message and any attachments from your system. Any dissemination, use, > review, distribution, printing or copying of this message in whole or in > part is strictly prohibited. Please note that e-mails are susceptible to > change. TATA TELESERVICES LTD. (including its group companies) shall not be > liable for the improper or incomplete transmission of the information > contained in this communication nor for any delay in its receipt or damage > to your system. TATA TELESERVICES LTD. (or its group companies) does not > guarantee that the integrity of this communication has been maintained or > that this communication is free of viruses, interceptions or interferences. > > > > ------------------------------------------------------------------------ ------ > Simplify data backup and recovery for your virtual environment with > vRanger. > Installation's a snap, and flexible recovery options mean your data is > safe, > secure and there when you need it. Discover what all the cheering's about. > Get your free trial download today. > http://p.sf.net/sfu/quest-dev2dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Regards, Nibin. --------------------------------- Nibin.V.M Systems Engineer(Unix) PiServe.com -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 9 Date: Fri, 3 Jun 2011 11:43:23 -0700 From: Justin T Pryzby Subject: Re: [Nagios-users] Non obvious 127 plugin error To: Nagios Users List Message-ID: <20110603184323.GA8425 at norchemlab.com> Content-Type: text/plain; charset=us-ascii The placement of the option may be significant if that option is set somewhere else in the file, or in another file referenced by "cfg_file" or "cfg_dir" options. Our nagios-spawned environment has 6K of data, and NAGIOS_SERVICEGROUPMEMBERS, in particular, is about 1k of that. Justin On Thu, Jun 02, 2011 at 02:33:15PM -0300, Craig Stewart wrote: > This didn't help. I do have a fairly large config (about 8k hosts and > 12k service checks) but I didn't think it was THAT big. On Thu, Jun 02, 2011 at 03:53:55PM -0300, Craig Stewart wrote: > Appending "enable_environment_macros=0" to the end of the nagios.cfg > file as opposed to putting it just after all the file declarations > appears to have fixed it. I didn't think it was that sensitive to > placement in the config file. On 06/02/2011 02:33 PM, Craig Stewart wrote: >> I ran across that one as well and set the following in nagios.cfg: >> >> enable_environment_macros=0 >> >> This didn't help. I do have a fairly large config (about 8k hosts and >> 12k service checks) but I didn't think it was THAT big. ------------------------------ Message: 10 Date: Fri, 3 Jun 2011 19:33:07 +0000 From: "Henry R. Prins" Subject: [Nagios-users] Has anyone else seen this? To: "'nagios-users at lists.sourceforge.net'" Message-ID: Content-Type: text/plain; charset="us-ascii" Hey guys, I have two web servers which I have been monitoring. define host{ use web-server host_name MDS-Support alias MDS Support on Apache Web Server address 67.88.41.150 parents rtr-t1-ext-150 contact_groups webadmins } define host{ use web-server host_name MDS-Main-Website alias multidataservices main website address www.multidataservices.com parents Internet contact_groups webadmins } But somehow I got this message today when one of the two was not responding: ***** Nagios ***** Notification Type: PROBLEM Service: HTTP Host: MDS Support on Apache Web Server Address: www.multidataservices.com State: CRITICAL Date/Time: Fri Jun 3 15:03:22 EDT 2011 Additional Info: CRITICAL - Socket timeout after 10 seconds It seems the Host Name is for one entry and the Address is from the other. Anyone know what I am doing wrong? Henry. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 11 Date: Sat, 04 Jun 2011 00:52:17 +0200 From: Roberto Nunnari Subject: Re: [Nagios-users] Has anyone else seen this? To: Nagios Users List , HPrins at multidataservices.com Message-ID: <4DE965A1.4030304 at supsi.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Henry R. Prins wrote: > Hey guys, > > I have two web servers which I have been monitoring. > > define host{ > use web-server > host_name MDS-Support > alias MDS Support on Apache Web Server > address 67.88.41.150 > parents rtr-t1-ext-150 > contact_groups webadmins > } > > define host{ > use web-server > host_name MDS-Main-Website > alias multidataservices main website > address www.multidataservices.com > parents Internet > contact_groups webadmins > } > > > But somehow I got this message today when one of the two was not responding: > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: HTTP > Host: MDS Support on Apache Web Server > Address: www.multidataservices.com > State: CRITICAL > > Date/Time: Fri Jun 3 15:03:22 EDT 2011 > > Additional Info: > > CRITICAL - Socket timeout after 10 seconds > > > It seems the Host Name is for one entry and the Address is from the > other. Anyone know what I am doing wrong? > > Henry. Humm.. I believe it would be better to set as address the IP address and not the dns name.. Then, if you define the service for checking the http service, use the http command that also takes the virtulHost name. Hope this helps. Best regards. Robi ------------------------------ Message: 12 Date: Sat, 4 Jun 2011 08:44:41 +0200 From: Giorgio Zarrelli Subject: Re: [Nagios-users] Has anyone else seen this? To: Nagios Users List Cc: "nagios-users at lists.sourceforge.net" Message-ID: Content-Type: text/plain; charset="us-ascii" Pleae, Paste the web-server template the http service and commando definitions and related template. Ciao, Giorgio Il giorno 03/giu/2011, alle ore 21:33, "Henry R. Prins" ha scritto: > Hey guys, > > > > I have two web servers which I have been monitoring. > > > > define host{ > > use web-server > > host_name MDS-Support > > alias MDS Support on Apache Web Server > > address 67.88.41.150 > > parents rtr-t1-ext-150 > > contact_groups webadmins > > } > > > > define host{ > > use web-server > > host_name MDS-Main-Website > > alias multidataservices main website > > address www.multidataservices.com > > parents Internet > > contact_groups webadmins > > } > > > > > > But somehow I got this message today when one of the two was not responding: > > > > ***** Nagios ***** > > > > Notification Type: PROBLEM > > > > Service: HTTP > > Host: MDS Support on Apache Web Server > > Address: www.multidataservices.com > > State: CRITICAL > > > > Date/Time: Fri Jun 3 15:03:22 EDT 2011 > > > > Additional Info: > > > > CRITICAL - Socket timeout after 10 seconds > > > > > > > > It seems the Host Name is for one entry and the Address is from the other. Anyone know what I am doing wrong? > > > > Henry. > > ------------------------------------------------------------------------ ------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Discover what all the cheering's about. > Get your free trial download today. > http://p.sf.net/sfu/quest-dev2dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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... ------------------------------ ------------------------------------------------------------------------ ------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 ------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest, Vol 61, Issue 3 ******************************************* ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 -------------- 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 xml.devel at gmail.com Mon Jun 6 09:52:30 2011 From: xml.devel at gmail.com (Kumar, Ashish) Date: Mon, 6 Jun 2011 13:22:30 +0530 Subject: Monitoring Windows Mount Points Message-ID: Dear fellow Nagios users, I was just wondering if anyone is monitoring Windows mount points? If yes, are there any plugins available for it? I tried searching the archive and Google but couldn't find anything relevant. Any advise/pointers are appreciated. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 -------------- 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 Kristan.Webb at bbc.co.uk Mon Jun 6 10:39:01 2011 From: Kristan.Webb at bbc.co.uk (Kristan Webb) Date: Mon, 6 Jun 2011 09:39:01 +0100 Subject: Monitoring Windows Mount Points In-Reply-To: References: Message-ID: <469133DFA60D7C4DB131A09BCB270A5602B213D9@bbcxue501.national.core.bbc.co.uk> From: Kumar, Ashish [mailto:xml.devel at gmail.com] Sent: 06 June 2011 08:53 To: nagios-users ML Subject: [Nagios-users] Monitoring Windows Mount Points Dear fellow Nagios users, I was just wondering if anyone is monitoring Windows mount points? If yes, are there any plugins available for it? I tried searching the archive and Google but couldn't find anything relevant. Any advise/pointers are appreciated. Thanks ________________________________ Hi, What do you want to monitor exactly? Do you want to check if a share is available remotely or are you running the check from the Windows machine? We use Perl scripts running smbclient: $cmd = '/usr/bin/smbclient //' . $host . '/' . $share . ' -U "' . $username . '" "' . $password . '" -c "dir" 2>/dev/null'; In this case this output is the parsed to check for the age of a particular file, but once you have the output you can do what you want with it. So far these are the error codes I am aware of and what they mean: if ($lastLine =~ m/Error NT_STATUS_BAD_NETWORK_NAME/) { print "UNKNOWN: Can't connect to $host\n"; exit 3; } elsif ($lastLine =~ m/NT_STATUS_BAD_NETWORK_NAME/) { print "UNKNOWN: Can't find share $share\n"; exit 3; } elsif ($lastLine =~ m/NT_STATUS_ACCESS_DENIED/) { print "UNKNOWN: Could not connect to $host, is SMB enabled and $share shared?\n"; exit 3; } elsif ($lastLine =~ m/NT_STATUS_LOGON_FAILURE/) { print "WARNING: Username/Password incorrect\n"; exit 1; } elsif ($lastLine =~ m/NT_STATUS_ACCOUNT_LOCKED_OUT/) { print "CRITICAL: Account Locked\n"; exit 2; } elsif ($lastLine =~ m/NT_STATUS_CONNECTION_REFUSED/) { print "UNKNOWN: Connection refused.\n"; exit 3; } Hope this helps. Kris Kristan Webb BSc Broadcast Engineer, Projects 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 -------------- 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 xml.devel at gmail.com Mon Jun 6 12:10:06 2011 From: xml.devel at gmail.com (Kumar, Ashish) Date: Mon, 6 Jun 2011 15:40:06 +0530 Subject: Monitoring Windows Mount Points In-Reply-To: <469133DFA60D7C4DB131A09BCB270A5602B213D9@bbcxue501.national.core.bbc.co.uk> References: <469133DFA60D7C4DB131A09BCB270A5602B213D9@bbcxue501.national.core.bbc.co.uk> Message-ID: > What do you want to monitor exactly? > Here is a reference to what Windows mount points actually are: http://www.techrepublic.com/blog/datacenter/use-mount-points-if-you-run-out-of-windows-drive-letters/383 However, Windows' SNMP implementation does not publish this information so I was wondering if someone is already monitoring it. Hope this helps. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mariog at absi.be Mon Jun 6 12:52:59 2011 From: mariog at absi.be (Mario Garcia Ortiz) Date: Mon, 6 Jun 2011 12:52:59 +0200 Subject: timeperiods priority Message-ID: Hello i have set up a customized timeperiod to send the alerts during weekdays only outside work hours (6pm-9am) but If there's one week day that is a public holiday then the alerts should be send 24/24.. I wonder how to make it work 100 i have so far made the following monday to friday 18:01:00 - 24:00:00, 00:00:00 - 08:59:00 saturday and sunday 00:00:00 - 24:00:00 may 1 00:00:00 - 24:00:00 january 1 00:00:00 - 24:00:00 would this timeperiod definition do the following; send notification only from 6pm to 9am from monday to friday, except if it's a public holiday in that case it should send at all times. thank you. -- Mario Garcia Ortiz ABSI SA 224 Bd de l'Humanit? 1190 Brussels ?Belgium www.absi.be Tel 00 322 333 40 00 ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tristand at micro-p.com Mon Jun 6 16:10:42 2011 From: tristand at micro-p.com (Tristan Drinkwater) Date: Mon, 6 Jun 2011 14:10:42 +0000 Subject: Reporting emails Message-ID: <764BD5D0154F554C940E12CD96EE9D820CE578@ma-ex-01.micro-p.com> Hey guys, I'm fairly new to Nagios and I'm monitoring about 100 hosts, each doing several checks and things are going great. I'd like to take things up a notch by somehow getting emailed report daily and weekly to tell me what host/services where down, when and for how long? In essence I'm trying to create a systems issues report that I can give to my directory to justify my existence.. :) Many thanks. Tristan ________________________________ Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From geneh at shaw.ca Mon Jun 6 17:49:26 2011 From: geneh at shaw.ca (Gene Horodecki) Date: Mon, 06 Jun 2011 10:49:26 -0500 Subject: Fwd: Question about NDOUtils DB population Message-ID: <4DECF706.1040606@shaw.ca> Sorry if this is a repost. I jumped the gun and posted before I was a member of the list and didn't see my emali go through. Hi there, I have a production environment that runs Nagios + NDOUtils and I got called in because the environment got neglected for a year. When I look at the NDOUtils database, it looks like someone tried to rebuild it because it is populating with statehistory but the hosts, hostgroups, and services tables are blank. I'd like to try to fill these tables in but I don't really understand when NDOUtils populates these tables. I found the original dbconfig script but it just creates the schema with no data. Somehow NDOUtils still knows what the ids are for the services because the keys are there and I might be able to work backwards and populate everything but obviously it would be easier to just understand how ndoutils builds the data and reproduce it. Thanks for the help! ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1382 / Virus Database: 1511/3684 - Release Date: 06/06/11 ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From member at linkedin.com Mon Jun 6 17:55:27 2011 From: member at linkedin.com (anish kumar via LinkedIn) Date: Mon, 6 Jun 2011 15:55:27 +0000 (UTC) Subject: Invitation to connect on LinkedIn Message-ID: <1500993274.5291271.1307375727083.JavaMail.app@ela4-bed33.prod> LinkedIn ------------ anish kumar requested to add you as a connection on LinkedIn: ------------------------------------------ Lei, I'd like to add you to my professional network on LinkedIn. - anish Accept invitation from anish kumar http://www.linkedin.com/e/y49s6u-gollr36u-5y/Vg1FBpStI6_M-eFLExlo-pjnfalPIPkLyx3rkqjZdRi1FOrPNoT/blk/I1400141343_3/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYPnPcQcP4Qcj0Md359bRlhcCdlj7d5bP4RcPAPcz4OcjcLrCBxbOYWrSlI/EML_comm_afe/ View invitation from anish kumar http://www.linkedin.com/e/y49s6u-gollr36u-5y/Vg1FBpStI6_M-eFLExlo-pjnfalPIPkLyx3rkqjZdRi1FOrPNoT/blk/I1400141343_3/3dvcPgPcjgNc30QckALqnpPbOYWrSlI/svi/ ------------------------------------------ DID YOU KNOW you can use your LinkedIn profile as your website? Select a vanity URL and then promote this address on your business cards, email signatures, website, etc http://www.linkedin.com/e/y49s6u-gollr36u-5y/ewp/inv-21/ -- (c) 2011, LinkedIn Corporation -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 -------------- 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.friedrich at univie.ac.at Mon Jun 6 18:03:05 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Mon, 06 Jun 2011 18:03:05 +0200 Subject: Fwd: Question about NDOUtils DB population In-Reply-To: <4DECF706.1040606@shaw.ca> References: <4DECF706.1040606@shaw.ca> Message-ID: <4DECFA39.2030100@univie.ac.at> Gene Horodecki wrote: > Sorry if this is a repost. I jumped the gun and posted before I was a > > member of the list and didn't see my emali go through. > > > Hi there, > > I have a production environment that runs Nagios + NDOUtils and I got > called in because the environment got neglected for a year. When I look > at the NDOUtils database, it looks like someone tried to rebuild it > because it is populating with statehistory but the hosts, hostgroups, > and services tables are blank. make sure config_output_options are set in ndomod.cfg furthermore, check data_process_options for config data to be dumped (and respective nagios.cfg event broker options too) > I'd like to try to fill these tables in but I don't really understand > when NDOUtils populates these tables. I found the original dbconfig > script but it just creates the schema with no data. Somehow NDOUtils > still knows what the ids are for the services because the keys are there > and I might be able to work backwards and populate everything but > obviously it would be easier to just understand how ndoutils builds the > data and reproduce it. the objects table keeps active objects alive, even if the config is not yet dumped. > Thanks for the help! > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1382 / Virus Database: 1511/3684 - Release Date: 06/06/11 > > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Discover what all the cheering's about. > Get your free trial download today. > http://p.sf.net/sfu/quest-dev2dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mloiselle at chan-nh.org Mon Jun 6 19:18:32 2011 From: mloiselle at chan-nh.org (Michael Loiselle) Date: Mon, 6 Jun 2011 13:18:32 -0400 Subject: Help with Plugins Message-ID: <76E9CCB928BA9642A9E2C8DEED9F27A823C981A40A@lhc-ems01.chandom.internal> Greetings, I have only been familiar with Nagios for a few weeks, so please bare with me. I have installed Nagios 3.2.3 with plugins 1.4.15 on Ubuntu Server 10.04. I am currently monitoring a few Windows servers and I would like to monitor switches and routers with check_snmp and check_mrtgtraf found in usr/local/nagios/libexec. I am failing to understand how to take a plugin and turn it into a command, and then a service. Any help with this would be extremely appreciated. Thanks, Mike ________________________________ The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 -------------- 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 geneh at shaw.ca Mon Jun 6 19:59:25 2011 From: geneh at shaw.ca (Gene Horodecki) Date: Mon, 06 Jun 2011 12:59:25 -0500 Subject: Fwd: Question about NDOUtils DB population In-Reply-To: <4DECFA39.2030100@univie.ac.at> References: <4DECF706.1040606@shaw.ca> <4DECFA39.2030100@univie.ac.at> Message-ID: <4DED157D.9090506@shaw.ca> Ok great information, thank you. data_processing_options is -1 (process all) which looks correct. Also the data broker is correct for Nagios 2. My config_output_options are set to 2 however. From what I have read, this would explain why the rest of my database is not getting populated. I will assume I have too much load to run at 1 or 3 for long. What is the correct and lowest impact process for updating the table now? Set the option to 3, reload ndo2db, then set back to 2 and reload again? Will this work, or any other better ways of doing it? Thanks. On 6/6/2011 11:03 AM, Michael Friedrich wrote: > Gene Horodecki wrote: >> Sorry if this is a repost. I jumped the gun and posted before I was a >> >> member of the list and didn't see my emali go through. >> >> >> Hi there, >> >> I have a production environment that runs Nagios + NDOUtils and I got >> called in because the environment got neglected for a year. When I look >> at the NDOUtils database, it looks like someone tried to rebuild it >> because it is populating with statehistory but the hosts, hostgroups, >> and services tables are blank. > make sure config_output_options are set in ndomod.cfg > > furthermore, check data_process_options for config data to be dumped > (and respective nagios.cfg event broker options too) > >> I'd like to try to fill these tables in but I don't really understand >> when NDOUtils populates these tables. I found the original dbconfig >> script but it just creates the schema with no data. Somehow NDOUtils >> still knows what the ids are for the services because the keys are there >> and I might be able to work backwards and populate everything but >> obviously it would be easier to just understand how ndoutils builds the >> data and reproduce it. > the objects table keeps active objects alive, even if the config is not > yet dumped. > >> Thanks for the help! >> >> >> ----- >> No virus found in this message. >> Checked by AVG - www.avg.com >> Version: 10.0.1382 / Virus Database: 1511/3684 - Release Date: 06/06/11 >> >> >> ------------------------------------------------------------------------------ >> Simplify data backup and recovery for your virtual environment with vRanger. >> Installation's a snap, and flexible recovery options mean your data is safe, >> secure and there when you need it. Discover what all the cheering's about. >> Get your free trial download today. >> http://p.sf.net/sfu/quest-dev2dev2 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From loki77 at gmail.com Mon Jun 6 23:12:02 2011 From: loki77 at gmail.com (Michael Barrett) Date: Mon, 6 Jun 2011 14:12:02 -0700 Subject: service escalation on all services of all hosts Message-ID: <44AC6D7A-7FA3-42E2-BC7A-52C0D97E2CA8@gmail.com> Hi, I'm having a problem with an example given in the Tips & Tricks documentation page. Currently I'm running: Nagios Core 3.2.0 Anyway, the tip I'm trying is from here http://nagios.sourceforge.net/docs/nagioscore/3/en/objecttricks.html#serviceescalation The particular tip reads: All Services On Same Host: If you want to create service escalations for all services assigned to a particular host, you can use a wildcard in the service_description directive. The definition below would create a service escalation for all services on host HOST1. All the instances of the service escalation would be identical (i.e. have the same contact groups, notification interval, etc.). If you feel like being particularly adventurous, you can specify a wildcard in both the host_name and service_description directives. Doing so would create a service escalation for all services that you've defined in your configuration files. ########## So I tried the following: define serviceescalation { name email-all first_notification 1 last_notification 0 notification_interval 120 contact_groups ops-group register 0 } define serviceescalation { use email-all host_name * service_description * } And when I go to restart nagios I get the following: Error: Could not expand hostgroups and/or hosts specified in service (config file '/etc/nagios3/conf.d/services.cfg', starting on line 34) Error processing object config files! Anyone know why this is a problem? Am I missing something in the documentation, or is it just incorrect? -- Michael Barrett loki77 at gmail.com ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Jun 7 10:12:25 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 07 Jun 2011 10:12:25 +0200 Subject: distributed host checks: freshness checking issues In-Reply-To: <201106011751.10909.nagios@asmodeus.be> References: <201105311724.39206.nagios@asmodeus.be> <201106011751.10909.nagios@asmodeus.be> Message-ID: <4DEDDD69.6090903@op5.se> On 06/01/2011 05:51 PM, Pascal Vandeputte wrote: > Okay, I got some new information: when I look at the Scheduling Queue, I > see that the master is still scheduling active checks for some reason. > > In nagios.cfg I specified "execute_host_checks=0" and each host stanza has > "check_interval 0" which should prevent any scheduled active host checking, > right? > > It's also weird that the queue is falling behind fast... Half a day after > the last nagios reload, the "next check" of a host is scheduled several > hours earlier than the time shown in the "last check" column :s > In the attached screenshot, it's just a couple of minutes behind but Nagios > was reloaded 10 minutes earlier. > > > Things I tried in the mean time in nagios.cfg: > > use_retained_program_state=0 > use_retained_scheduling_info=0 > (in case something from the state file was keeping Nagios from using the > new settings) > > check_result_reaper_frequency=2 > (this last change was suggested when running "nagios -s nagios.cfg") > > But nothing seems to fix this. > > > Now, after reading > http://nagios.sourceforge.net/docs/3_0/hostchecks.html > one more time, I'm beginning to fear that it's impossible to make the > master only run the check_command when doing freshness checks: > > "If you set the check_interval option in your host definition to zero (0), > Nagios will not perform checks of the hosts on a regular basis. It will, > however, still perform on-demand checks of the host as needed for other > parts of the monitoring logic." > > Those other parts of the monitoring logic are e.g. the "host reachability > logic" and some more things. If those still cause on-demand checks, which > only result in a "stale" warning, then it looks quite bad for anyone trying > to monitor hosts in remote private networks. > > > And then I started fiddling with host check caching for on-demand host > checks. http://nagios.sourceforge.net/docs/3_0/cachedchecks.html > > After increasing cached_host_check_horizon to 300 seconds (the biggest host > check_interval we use), all of these on-demand checks should get their data > from the last cached check. > > And indeed, no more wild mood swings in the host states! Yay! After a quick > test it seems that my problem is now solved. Touch wood. > > I'd rather just have an option to *really* disable host checks altogether, > after all that's what you think you're doing with "execute_host_checks=0", > according to the documentation at > http://nagios.sourceforge.net/docs/3_0/configmain.html > > On the other hand, letting nagios look at old results in the cache is > probably not that different from doing no checks at all. I'm only worried > that the caching may delay notifications in some cases, but we'll have to > experience this I guess. > > > Can anyone confirm that my reasoning is correct? That the master will > *always* keep on doing *some* host checks no matter what you configure? > More or less, yes. It will at least schedule them even if it gets results for them, but eventbroker modules can block even forced host checks. I'd look into using Merlin, DNX or mod_gearman if I were you. It will do what you want with far better performance than NSCA will ever be able to. -- 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. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Jun 7 10:16:38 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 07 Jun 2011 10:16:38 +0200 Subject: Non obvious 127 plugin error In-Reply-To: <4DE7857E.8090208@corp.xplornet.com> References: <4DE65118.7050607@corp.xplornet.com><373A7AC6-0EC8-4320-824C-E644E7C3A6B9@linux.it><4DE689EA.4050108@corp.xplornet.com><467A183D-00BA-4715-8AA8-21E3EF21CB2C@linux.it><4DE69199.70608@corp.xplornet.com><20110601201508.GA25008@norchemlab.com> <4DE7857E.8090208@corp.xplornet.com> Message-ID: <4DEDDE66.9040409@op5.se> On 06/02/2011 02:43 PM, Craig Stewart wrote: > All, > > SELinux was enabled (DOH!) and has been now disabled. Didn't fix my > problem though. Thanks for that Clint, I don't know HOW many times > SELinux has bitten me. Should know by now. > > I ran the strace as suggested by Justin and saw THIS little tidbit flash by: > > 11769 execve("/bin/sh", ["sh", "-c", "/usr/lib/nagios/plugins/check_dig > -H 142.166.86.18 -l www.xplornet.com -a 142.166.86.46 -w 0.5 -c 1 -t > 5"], [/* 189 vars */]) = -1 E2BIG (Argument list too long) > 11751 --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11769, > si_status=127, si_utime=0, si_stime=0} (Child exited) -- > > Argument list too long???? So, SOMETHING (I suspect the shell) doesn't > like that many arguments passed. Well, making progress. > Disable environment macros. They will fsck up the memory used for passing arguments if you have large host- or service-groups. Since the argument and environment memory space is limited to 128K on most systems (a hardcoded value that can't be changed with ulimit), large host or servicegroups can easily consume all of 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. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Jun 7 10:19:56 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 07 Jun 2011 10:19:56 +0200 Subject: timeperiods priority In-Reply-To: References: Message-ID: <4DEDDF2C.9000604@op5.se> On 06/06/2011 12:52 PM, Mario Garcia Ortiz wrote: > Hello > > i have set up a customized timeperiod to send the alerts during > weekdays only outside work hours (6pm-9am) but If there's one week day > that is a public holiday then the alerts should be send 24/24.. I > wonder how to make it work 100 > > i have so far made the following > > monday to friday 18:01:00 - 24:00:00, 00:00:00 - 08:59:00 > saturday and sunday 00:00:00 - 24:00:00 > may 1 00:00:00 - 24:00:00 > january 1 00:00:00 - 24:00:00 > > would this timeperiod definition do the following; > > send notification only from 6pm to 9am from monday to friday, except > if it's a public holiday in that case it should send at all times. > Nope. The "monday to friday" syntax isn't supported, and you can't use seconds in the timeperiod definition. Why you're skipping 2 minutes of the desired time (18:01 and 08:59 instead of 18:00 and 09:00), I have no idea. -- 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. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mariog at absi.be Tue Jun 7 12:55:41 2011 From: mariog at absi.be (Mario Garcia Ortiz) Date: Tue, 7 Jun 2011 12:55:41 +0200 Subject: timeperiods priority In-Reply-To: <4DEDDF2C.9000604@op5.se> References: <4DEDDF2C.9000604@op5.se> Message-ID: it was a typo on my email here is the actual timeperiod snip: monday 00:00-09:00,18:00-24:00 friday 00:00-09:00,17:00-24:00 january 1 00:00-24:00 may 1 00:00-24:00 saturday 00:00-24:00 sunday 00:00-24:00 what i would like to know... does this definition : from monday to friday send notifications from 6pm to 9am. saturday and sundays whole day if there is a bank holiday during the week (monday-friday) notifications are to be sent at all times. thank you. *-- Mario Garcia Ortiz* ABSI SA 224 Bd de l'Humanit? 1190 Brussels Belgium www.absi.be Tel 00 322 333 40 00 On 7 June 2011 10:19, Andreas Ericsson wrote: > On 06/06/2011 12:52 PM, Mario Garcia Ortiz wrote: > > Hello > > > > i have set up a customized timeperiod to send the alerts during > > weekdays only outside work hours (6pm-9am) but If there's one week day > > that is a public holiday then the alerts should be send 24/24.. I > > wonder how to make it work 100 > > > > i have so far made the following > > > > monday to friday 18:01:00 - 24:00:00, 00:00:00 - 08:59:00 > > saturday and sunday 00:00:00 - 24:00:00 > > may 1 00:00:00 - 24:00:00 > > january 1 00:00:00 - 24:00:00 > > > > would this timeperiod definition do the following; > > > > send notification only from 6pm to 9am from monday to friday, except > > if it's a public holiday in that case it should send at all times. > > > > Nope. The "monday to friday" syntax isn't supported, and you > can't use seconds in the timeperiod definition. Why you're > skipping 2 minutes of the desired time (18:01 and 08:59 instead of > 18:00 and 09:00), I have no idea. > > -- > 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 -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at asmodeus.be Tue Jun 7 14:31:34 2011 From: nagios at asmodeus.be (Pascal Vandeputte) Date: Tue, 7 Jun 2011 14:31:34 +0200 Subject: distributed host checks: freshness checking issues In-Reply-To: <201106071428.05195.pascal@asmodeus.be> References: <201105311724.39206.nagios@asmodeus.be> <4DEDDD69.6090903@op5.se> <201106071428.05195.pascal@asmodeus.be> Message-ID: <201106071431.35071.nagios@asmodeus.be> On Tuesday 07 June 2011 10:12:25 Andreas Ericsson wrote: > On 06/01/2011 05:51 PM, Pascal Vandeputte wrote: > > Can anyone confirm that my reasoning is correct? That the master will > > *always* keep on doing *some* host checks no matter what you configure? > > More or less, yes. It will at least schedule them even if it gets results > for them, but eventbroker modules can block even forced host checks. I'd > look into using Merlin, DNX or mod_gearman if I were you. It will do what > you want with far better performance than NSCA will ever be able to. Thank you for the confirmation and the tips! I've done some quick reading on Merlin, DNX and mod_gearman, and while they look very interesting, our Nagios setup is probably a little too complex to distribute the checks automatically the way we're doing it now. We have Nagios slaves ("workers") in multiple, independent locations, and we're exploiting that to the fullest by running different service checks of the same host from different places: checks for "public" services are effectively checked from a remote location, while NRPE checks to the same host are done from within the same datacenter. The configs for each master & slave are generated from the same host/service database. Apparently, send_gearman can be used as a send_nsca replacement, which I'll have to check up on later. It would be cool if it can send multi-line output and performance data. NSCA cannot do multi-line and doesn't seem 100% reliable either. Thank you for your assistance! Greetings, Pascal ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue Jun 7 14:56:33 2011 From: m.borsani at it.net (Marco Borsani) Date: Tue, 7 Jun 2011 14:56:33 +0200 Subject: status.cgi problem Message-ID: <01ff01cc2512$573e6e10$05bb4a30$@it.net> Hi all I installed nagios 3.2.3 on a Centos 5.6 linux server. Sometime, when I open the ?Host Groups -> Grid? page a see following error in the ?Service Status Totals?: References: <4DEDDF2C.9000604@op5.se> Message-ID: <4DEE2793.3080301@op5.se> On 06/07/2011 12:55 PM, Mario Garcia Ortiz wrote: > it was a typo on my email > > here is the actual timeperiod snip: > > monday 00:00-09:00,18:00-24:00 > friday 00:00-09:00,17:00-24:00 > january 1 00:00-24:00 > may 1 00:00-24:00 > saturday 00:00-24:00 > sunday 00:00-24:00 > > > what i would like to know... does this definition : > > from monday to friday send notifications from 6pm to 9am. Nopes. It will only send th from 6pm to 9am on mondays and fridays. Tuesdays, wednesdays and thursdays there will be no notifications, unless they happen to be on january 1 or may 1. > saturday and sundays whole day Yes. > if there is a bank holiday during the week (monday-friday) notifications are > to be sent at all times. > Assuming january 1 and may 1 are the only bank holidays, then yes. -- 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. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Paul.Robbins at rbscoutts.com Tue Jun 7 15:15:42 2011 From: Paul.Robbins at rbscoutts.com (Robbins, Paul (RBS Coutts, CH)) Date: Tue, 7 Jun 2011 15:15:42 +0200 Subject: Duplicate entries in Service Views - NagVis 1.6b1 Message-ID: Hello, I am encountering a problem with NagVis 1.6b1, in the Map view I see duplicate entries when I 'hover' over ServiceViews icons, but NOT for HostGroups. But when I 'click' on one of the Service Group Icons and 'jump' to the Nagios view I then see the 'correct' number of entries, this issue is only seen on the 'first' level view from Nagvis. It is an 'out of the box' installation, with no real configuration changes so far. Thanks Paul Bellow if a the Support Information 'output' NagVis Version 1.6b1 PHP Version 5.2.9 MySQL Version mysql Ver 14.14 Distrib 5.1.34, for pc-solaris2.10 (i386) using readline 5.1 OS SunOS rozrhmonp01 5.10 Generic_144489-04 i86pc i386 i86pc Webserver Information SERVER_SOFTWARE Apache/2.2.11 (Unix) PHP/5.2.9 SCRIPT_FILENAME /u00/app/nagios/nagvis/share/frontend/nagvis-js/index.php SCRIPT_NAME /nagvis/frontend/nagvis-js/index.php REQUEST_TIME 1307452095 (gmdate(): Tue, 07 Jun 2011 13:08:15 +0000) PHP Information error_reporting 8191 safe_mode no max_execution_time 30 seconds memory_limit 128M loaded modules zip, xmlwriter, libxml, xmlrpc, dom, xmlreader, xml, tokenizer, sysvshm, sysvsem, sysvmsg, session, pcre, SimpleXML, sockets, soap, SPL, shmop, standard, Reflection, posix, PDO, mime_magic, mbstring, json, iconv, hash, filter, exif, date, ctype, calendar, bcmath, zlib, openssl, apache2handler, gd, gettext, ldap, mysql, pdo_sqlite, snmp, SQLite Client Information USER_AGENT Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Logon Information Logon Module LogonMixed Logon Var REMOTE_USER REMOTE_USER Logon Create User? 1 Logon Create User Role? Guests Current User Information User Logged In admin (1) User Logon Module CoreAuthModSQLite User Trusted Auth no User Roles [{"roleId":"1","name":"Administrators"}] User Permissions {"*":{"*":{"*":[]}}} ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Jun 7 15:35:55 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 07 Jun 2011 15:35:55 +0200 Subject: distributed host checks: freshness checking issues In-Reply-To: <201106071428.05195.pascal@asmodeus.be> References: <201105311724.39206.nagios@asmodeus.be> <201106011751.10909.nagios@asmodeus.be> <4DEDDD69.6090903@op5.se> <201106071428.05195.pascal@asmodeus.be> Message-ID: <4DEE293B.9030209@op5.se> On 06/07/2011 02:28 PM, Pascal Vandeputte wrote: > On Tuesday 07 June 2011 10:12:25 Andreas Ericsson wrote: >> On 06/01/2011 05:51 PM, Pascal Vandeputte wrote: >>> Can anyone confirm that my reasoning is correct? That the master will >>> *always* keep on doing *some* host checks no matter what you configure? >> >> More or less, yes. It will at least schedule them even if it gets results >> for them, but eventbroker modules can block even forced host checks. I'd >> look into using Merlin, DNX or mod_gearman if I were you. It will do what >> you want with far better performance than NSCA will ever be able to. > > Thank you for the confirmation and the tips! > > I've done some quick reading on Merlin, DNX and mod_gearman, and while they > look very interesting, our Nagios setup is probably a little too complex to > distribute the checks automatically the way we're doing it now. > I doubt it. The largest setup running mod_gearman is checking something like 35000 services. The largest merlin install is running close to 48000. I'm sorry to say I have no figures for DNX. > We have Nagios slaves ("workers") in multiple, independent locations, and > we're exploiting that to the fullest by running different service checks of the > same host from different locations: checks for "public" services are effectively > checked from a remote location, while NRPE checks to the same host are done > from within the same datacenter. The configs for each master& slave are > generated from the same host/service database. > For this you'd have to use two host definitions if you use Merlin, since checks are split to workers based on hostgroup affiliation. Apart from that, everything should work just fine. > Apparently, send_gearman can be used as a send_nsca replacement, which I'll > have to check up on later. It would be cool if it can send multi-line output > and performance data. NSCA cannot do multi-line and doesn't seem 100% reliable > either. > I'm fairly sure it can, but submitting passive checkresults with multiline output is not very well tested and may not work well with Nagios core. It will be particularly problematic if the check output is larger than 4096 bytes, since that's the size of the command pipe. It works flawlessly with Merlin though, as does external command forwarding and a lot of other nifty things that NSCA-based setups simply doesn't handle. -- 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. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From geneh at shaw.ca Tue Jun 7 18:28:54 2011 From: geneh at shaw.ca (Gene Horodecki) Date: Tue, 07 Jun 2011 11:28:54 -0500 Subject: Fwd: Question about NDOUtils DB population In-Reply-To: <4DEDDF5B.8070800@univie.ac.at> References: <4DECF706.1040606@shaw.ca> <4DECFA39.2030100@univie.ac.at> <4DED157D.9090506@shaw.ca> <4DEDDF5B.8070800@univie.ac.at> Message-ID: <4DEE51C6.50307@shaw.ca> Ok yes my retain_state_information=1, and use_retained_program_state=1 so I am ok there. I will set config_output_options=3 and restart the environment. How long can I expect to run before all the configuration data gets populated? On 06/07/2011 3:20 AM, Michael Friedrich wrote: > Gene Horodecki wrote: >> Ok great information, thank you. data_processing_options is -1 >> (process all) which looks correct. Also the data broker is correct >> for Nagios 2. >> >> My config_output_options are set to 2 however. From what I have >> read, this would explain why the rest of my database is not getting >> populated. I will assume I have too much load to run at 1 or 3 for >> long. What is the correct and lowest impact process for updating the >> table now? Set the option to 3, reload ndo2db, then set back to 2 >> and reload again? > > retention data must be enabled in nagios.cfg whilst doing a core > restart will dump that data into ndomod. just reloading ndo2db won't > affect that, it's the core which is required. if you happen to need > original configs, you can use the combined '3' for > config_output_options in order to dump both (only difference will be > the config_type column then, and those being used will be marked as > is_active in the objects table. > > read up here for further information on the table structure ... > http://docs.icinga.org/latest/en/ch12.html > >> >> Will this work, or any other better ways of doing it? Thanks. >> >> On 6/6/2011 11:03 AM, Michael Friedrich wrote: >>> Gene Horodecki wrote: >>>> Sorry if this is a repost. I jumped the gun and posted before I was a >>>> >>>> member of the list and didn't see my emali go through. >>>> >>>> >>>> Hi there, >>>> >>>> I have a production environment that runs Nagios + NDOUtils and I got >>>> called in because the environment got neglected for a year. When I >>>> look >>>> at the NDOUtils database, it looks like someone tried to rebuild it >>>> because it is populating with statehistory but the hosts, hostgroups, >>>> and services tables are blank. >>> make sure config_output_options are set in ndomod.cfg >>> >>> furthermore, check data_process_options for config data to be dumped >>> (and respective nagios.cfg event broker options too) >>> >>>> I'd like to try to fill these tables in but I don't really understand >>>> when NDOUtils populates these tables. I found the original dbconfig >>>> script but it just creates the schema with no data. Somehow NDOUtils >>>> still knows what the ids are for the services because the keys are >>>> there >>>> and I might be able to work backwards and populate everything but >>>> obviously it would be easier to just understand how ndoutils builds >>>> the >>>> data and reproduce it. >>> the objects table keeps active objects alive, even if the config is not >>> yet dumped. >>> >>>> Thanks for the help! >>>> >>>> >>>> ----- >>>> No virus found in this message. >>>> Checked by AVG - www.avg.com >>>> Version: 10.0.1382 / Virus Database: 1511/3684 - Release Date: >>>> 06/06/11 >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> Simplify data backup and recovery for your virtual environment with >>>> vRanger. >>>> Installation's a snap, and flexible recovery options mean your data >>>> is safe, >>>> secure and there when you need it. Discover what all the cheering's >>>> about. >>>> Get your free trial download today. >>>> http://p.sf.net/sfu/quest-dev2dev2 >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>> reporting any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/null >>>> >>> >> >> > > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Tue Jun 7 19:29:10 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Tue, 07 Jun 2011 13:29:10 -0400 Subject: service escalation on all services of all hosts In-Reply-To: <44AC6D7A-7FA3-42E2-BC7A-52C0D97E2CA8@gmail.com> References: <44AC6D7A-7FA3-42E2-BC7A-52C0D97E2CA8@gmail.com> Message-ID: <4DEE5FE6.7090106@paul.dubuc.org> Michael Barrett wrote: > Hi, I'm having a problem with an example given in the Tips& Tricks documentation page. Currently I'm running: Nagios Core 3.2.0 > > Anyway, the tip I'm trying is from here http://nagios.sourceforge.net/docs/nagioscore/3/en/objecttricks.html#serviceescalation > > The particular tip reads: > > All Services On Same Host: > If you want to create service escalations for all services assigned to a particular host, you can use a wildcard in the service_description directive. The definition below would create a service escalation for all services on host HOST1. All the instances of the service escalation would be identical (i.e. have the same contact groups, notification interval, etc.). > > If you feel like being particularly adventurous, you can specify a wildcard in both the host_name and service_description directives. Doing so would create a service escalation for all services that you've defined in your configuration files. > > ########## > > So I tried the following: > > define serviceescalation { > name email-all > first_notification 1 > last_notification 0 > notification_interval 120 > contact_groups ops-group > > register 0 > } > > define serviceescalation { > use email-all > host_name * > service_description * > } > > And when I go to restart nagios I get the following: > > Error: Could not expand hostgroups and/or hosts specified in service (config file '/etc/nagios3/conf.d/services.cfg', starting on line 34) > Error processing object config files! > > > Anyone know why this is a problem? Am I missing something in the documentation, or is it just incorrect? > You probably have some hosts that have no services assigned. Using the wildcard for both host_name and service_description will not work in that case, unfortunately. All hosts specified MUST have a service that matches the given service_description or you will get this error. Paul Dubuc ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Tue Jun 7 19:37:37 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Tue, 07 Jun 2011 19:37:37 +0200 Subject: Fwd: Question about NDOUtils DB population In-Reply-To: <4DEE51C6.50307@shaw.ca> References: <4DECF706.1040606@shaw.ca> <4DECFA39.2030100@univie.ac.at> <4DED157D.9090506@shaw.ca> <4DEDDF5B.8070800@univie.ac.at> <4DEE51C6.50307@shaw.ca> Message-ID: <4DEE61E1.5030904@univie.ac.at> On 07.06.2011 18:28, Gene Horodecki wrote: > Ok yes my retain_state_information=1, and use_retained_program_state=1 > so I am ok there. retention.dat should be written accordingly to this information. > > I will set config_output_options=3 and restart the environment. > > How long can I expect to run before all the configuration data gets > populated? that depends on your config size and the interferring housekeeping on the overall startup procedure. but most likely when the core starts checking hosts and services, the population should be completed either way. make sure ndo2db is running while restarting/reloading nagios core and maybe tail the debug log to see the queries on the tables ... > > > On 06/07/2011 3:20 AM, Michael Friedrich wrote: >> Gene Horodecki wrote: >>> Ok great information, thank you. data_processing_options is -1 >>> (process all) which looks correct. Also the data broker is correct >>> for Nagios 2. >>> >>> My config_output_options are set to 2 however. From what I have >>> read, this would explain why the rest of my database is not getting >>> populated. I will assume I have too much load to run at 1 or 3 for >>> long. What is the correct and lowest impact process for updating >>> the table now? Set the option to 3, reload ndo2db, then set back to >>> 2 and reload again? >> >> retention data must be enabled in nagios.cfg whilst doing a core >> restart will dump that data into ndomod. just reloading ndo2db won't >> affect that, it's the core which is required. if you happen to need >> original configs, you can use the combined '3' for >> config_output_options in order to dump both (only difference will be >> the config_type column then, and those being used will be marked as >> is_active in the objects table. >> >> read up here for further information on the table structure ... >> http://docs.icinga.org/latest/en/ch12.html >> >>> >>> Will this work, or any other better ways of doing it? Thanks. >>> >>> On 6/6/2011 11:03 AM, Michael Friedrich wrote: >>>> Gene Horodecki wrote: >>>>> Sorry if this is a repost. I jumped the gun and posted before I was a >>>>> >>>>> member of the list and didn't see my emali go through. >>>>> >>>>> >>>>> Hi there, >>>>> >>>>> I have a production environment that runs Nagios + NDOUtils and I got >>>>> called in because the environment got neglected for a year. When >>>>> I look >>>>> at the NDOUtils database, it looks like someone tried to rebuild it >>>>> because it is populating with statehistory but the hosts, hostgroups, >>>>> and services tables are blank. >>>> make sure config_output_options are set in ndomod.cfg >>>> >>>> furthermore, check data_process_options for config data to be dumped >>>> (and respective nagios.cfg event broker options too) >>>> >>>>> I'd like to try to fill these tables in but I don't really understand >>>>> when NDOUtils populates these tables. I found the original dbconfig >>>>> script but it just creates the schema with no data. Somehow NDOUtils >>>>> still knows what the ids are for the services because the keys are >>>>> there >>>>> and I might be able to work backwards and populate everything but >>>>> obviously it would be easier to just understand how ndoutils >>>>> builds the >>>>> data and reproduce it. >>>> the objects table keeps active objects alive, even if the config is >>>> not >>>> yet dumped. >>>> >>>>> Thanks for the help! >>>>> >>>>> >>>>> ----- >>>>> No virus found in this message. >>>>> Checked by AVG - www.avg.com >>>>> Version: 10.0.1382 / Virus Database: 1511/3684 - Release Date: >>>>> 06/06/11 >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> >>>>> Simplify data backup and recovery for your virtual environment >>>>> with vRanger. >>>>> Installation's a snap, and flexible recovery options mean your >>>>> data is safe, >>>>> secure and there when you need it. Discover what all the >>>>> cheering's about. >>>>> Get your free trial download today. >>>>> http://p.sf.net/sfu/quest-dev2dev2 >>>>> _______________________________________________ >>>>> Nagios-users mailing list >>>>> Nagios-users at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>>> reporting any issue. >>>>> ::: Messages without supporting info will risk being sent to >>>>> /dev/null >>>>> >>>> >>> >>> >> >> > > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From loki77 at gmail.com Tue Jun 7 19:46:48 2011 From: loki77 at gmail.com (Michael Barrett) Date: Tue, 7 Jun 2011 10:46:48 -0700 Subject: service escalation on all services of all hosts In-Reply-To: <4DEE5FE6.7090106@paul.dubuc.org> References: <44AC6D7A-7FA3-42E2-BC7A-52C0D97E2CA8@gmail.com> <4DEE5FE6.7090106@paul.dubuc.org> Message-ID: Ahh, ok, that would explain it. That's a bummer. Thanks. On Jun 7, 2011, at 10:29 AM, Paul M. Dubuc wrote: > > Michael Barrett wrote: >> Hi, I'm having a problem with an example given in the Tips& Tricks documentation page. Currently I'm running: Nagios Core 3.2.0 >> >> Anyway, the tip I'm trying is from here http://nagios.sourceforge.net/docs/nagioscore/3/en/objecttricks.html#serviceescalation >> >> The particular tip reads: >> >> All Services On Same Host: >> If you want to create service escalations for all services assigned to a particular host, you can use a wildcard in the service_description directive. The definition below would create a service escalation for all services on host HOST1. All the instances of the service escalation would be identical (i.e. have the same contact groups, notification interval, etc.). >> >> If you feel like being particularly adventurous, you can specify a wildcard in both the host_name and service_description directives. Doing so would create a service escalation for all services that you've defined in your configuration files. >> >> ########## >> >> So I tried the following: >> >> define serviceescalation { >> name email-all >> first_notification 1 >> last_notification 0 >> notification_interval 120 >> contact_groups ops-group >> >> register 0 >> } >> >> define serviceescalation { >> use email-all >> host_name * >> service_description * >> } >> >> And when I go to restart nagios I get the following: >> >> Error: Could not expand hostgroups and/or hosts specified in service (config file '/etc/nagios3/conf.d/services.cfg', starting on line 34) >> Error processing object config files! >> >> >> Anyone know why this is a problem? Am I missing something in the documentation, or is it just incorrect? >> > > You probably have some hosts that have no services assigned. Using the wildcard for both host_name and service_description will not work in that case, unfortunately. All hosts specified MUST have a service that matches the given service_description or you will get this error. > > Paul Dubuc -- Michael Barrett loki77 at gmail.com ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Tue Jun 7 20:11:44 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Tue, 07 Jun 2011 14:11:44 -0400 Subject: service escalation on all services of all hosts In-Reply-To: References: <44AC6D7A-7FA3-42E2-BC7A-52C0D97E2CA8@gmail.com> <4DEE5FE6.7090106@paul.dubuc.org> Message-ID: <4DEE69E0.9030009@paul.dubuc.org> Michael Barrett wrote: > Ahh, ok, that would explain it. That's a bummer. Thanks. One way around this is to create a host group where you put hosts that have services assigned: define hostgroup{ hostgroup_name ServiceHosts alias Hosts with Services Assigned register 0 ; hide this hostgroup unless you want it displayed. } Then use a template that assigns hosts to this group: define host{ name service-host register 0 ; this is a template hostgroups +ServiceHosts ; add host to this hostgroup } Make sure every host definition that has services assigned has the use service-host directive in it (or uses a template that does). Alternatively you can just assign the services to the ServiceHosts group in the service definitions instead of using this host template. Then you can define your escalation this way: define serviceescalation { use email-all hostgroup_name ServiceHosts service_description * } Hope this helps. Paul Dubuc > > On Jun 7, 2011, at 10:29 AM, Paul M. Dubuc wrote: > >> >> Michael Barrett wrote: >>> Hi, I'm having a problem with an example given in the Tips& Tricks documentation page. Currently I'm running: Nagios Core 3.2.0 >>> >>> Anyway, the tip I'm trying is from here http://nagios.sourceforge.net/docs/nagioscore/3/en/objecttricks.html#serviceescalation >>> >>> The particular tip reads: >>> >>> All Services On Same Host: >>> If you want to create service escalations for all services assigned to a particular host, you can use a wildcard in the service_description directive. The definition below would create a service escalation for all services on host HOST1. All the instances of the service escalation would be identical (i.e. have the same contact groups, notification interval, etc.). >>> >>> If you feel like being particularly adventurous, you can specify a wildcard in both the host_name and service_description directives. Doing so would create a service escalation for all services that you've defined in your configuration files. >>> >>> ########## >>> >>> So I tried the following: >>> >>> define serviceescalation { >>> name email-all >>> first_notification 1 >>> last_notification 0 >>> notification_interval 120 >>> contact_groups ops-group >>> >>> register 0 >>> } >>> >>> define serviceescalation { >>> use email-all >>> host_name * >>> service_description * >>> } >>> >>> And when I go to restart nagios I get the following: >>> >>> Error: Could not expand hostgroups and/or hosts specified in service (config file '/etc/nagios3/conf.d/services.cfg', starting on line 34) >>> Error processing object config files! >>> >>> >>> Anyone know why this is a problem? Am I missing something in the documentation, or is it just incorrect? >>> >> >> You probably have some hosts that have no services assigned. Using the wildcard for both host_name and service_description will not work in that case, unfortunately. All hosts specified MUST have a service that matches the given service_description or you will get this error. >> >> Paul Dubuc > > -- > Michael Barrett > loki77 at gmail.com > > > > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cmadams at hiwaay.net Tue Jun 7 21:42:45 2011 From: cmadams at hiwaay.net (Chris Adams) Date: Tue, 7 Jun 2011 14:42:45 -0500 Subject: Best way to alert once for multiple sensors Message-ID: <20110607194245.GL10308@hiwaay.net> I have a room with multiple temperature sensors that I am monitoring via SNMP. I would like to set Nagios up such that we only get one alert about any of the sensors going out-of-range (since usually the others will follow over time). I have set a servicedependency chain from sensor 1 to 2 to ..., but that only helps if #1 is the first to alert. If #2 gets hot before #1, I'll get an alert for #2 and then #1. Right now, I've tried to "rank" them in order of most-likely to overheat to least-likely, but that won't really work. Is there a good solution to this? -- Chris Adams Systems and Network Administrator - HiWAAY Internet Services I don't speak for anybody but myself - that's enough trouble. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtuecks at googlemail.com Tue Jun 7 22:42:18 2011 From: dtuecks at googlemail.com (Daniel Tuecks) Date: Tue, 7 Jun 2011 22:42:18 +0200 Subject: Best way to alert once for multiple sensors In-Reply-To: <20110607194245.GL10308@hiwaay.net> References: <20110607194245.GL10308@hiwaay.net> Message-ID: Hi Chris, have a look at 'check_multi'. With this plugin you can combine multiple checks to one single service. Here's an example (and documentation) http://my-plugin.de/wiki/projects/check_multi/examples/network_interface Daniel 2011/6/7 Chris Adams : > I have a room with multiple temperature sensors that I am monitoring via > SNMP. ?I would like to set Nagios up such that we only get one alert > about any of the sensors going out-of-range (since usually the others > will follow over time). > > I have set a servicedependency chain from sensor 1 to 2 to ..., but that > only helps if #1 is the first to alert. ?If #2 gets hot before #1, I'll > get an alert for #2 and then #1. ?Right now, I've tried to "rank" them > in order of most-likely to overheat to least-likely, but that won't > really work. > > Is there a good solution to this? > > -- > Chris Adams > Systems and Network Administrator - HiWAAY Internet Services > I don't speak for anybody but myself - that's enough trouble. > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Tue Jun 7 23:16:03 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Tue, 07 Jun 2011 23:16:03 +0200 Subject: Best way to alert once for multiple sensors In-Reply-To: References: <20110607194245.GL10308@hiwaay.net> Message-ID: <4DEE9513.70905@univie.ac.at> On 07.06.2011 22:42, Daniel Tuecks wrote: > Hi Chris, > > have a look at 'check_multi'. With this plugin you can combine > multiple checks to one single service. > Here's an example (and documentation) > > http://my-plugin.de/wiki/projects/check_multi/examples/network_interface +1 :-) > > Daniel > > 2011/6/7 Chris Adams: >> I have a room with multiple temperature sensors that I am monitoring via >> SNMP. I would like to set Nagios up such that we only get one alert >> about any of the sensors going out-of-range (since usually the others >> will follow over time). >> >> I have set a servicedependency chain from sensor 1 to 2 to ..., but that >> only helps if #1 is the first to alert. If #2 gets hot before #1, I'll >> get an alert for #2 and then #1. Right now, I've tried to "rank" them >> in order of most-likely to overheat to least-likely, but that won't >> really work. >> >> Is there a good solution to this? >> >> -- >> Chris Adams >> Systems and Network Administrator - HiWAAY Internet Services >> I don't speak for anybody but myself - that's enough trouble. >> >> ------------------------------------------------------------------------------ >> EditLive Enterprise is the world's most technically advanced content >> authoring tool. Experience the power of Track Changes, Inline Image >> Editing and ensure content is compliant with Accessibility Checking. >> http://p.sf.net/sfu/ephox-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Wed Jun 8 13:06:26 2011 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Wed, 08 Jun 2011 21:06:26 +1000 Subject: Monitoring Windows Mount Points In-Reply-To: References: <469133DFA60D7C4DB131A09BCB270A5602B213D9@bbcxue501.national.core.bbc.co.uk> Message-ID: <4DEF57B2.30709@edcint.co.nz> > However, Windows' SNMP implementation does not publish this > information so I was wondering if someone is already monitoring it. > What attributes of a mount point are you wishing to monitor? check wmi plus will monitor disk space and disk IO for windows physical and logical drives www.edcint.co.nz/checkwmiplus I have not tested it specifically with mount points but it can operate against volume names, so perhaps it will work against mount points. Can you try and let us know? -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msarro at gmail.com Wed Jun 8 15:18:27 2011 From: msarro at gmail.com (Matty Sarro) Date: Wed, 8 Jun 2011 09:18:27 -0400 Subject: Service keeps disappearing from .cfg file and other questions (newbie alert!) Message-ID: Hey everyone, First, I'm new, so please be gentle :) I have made some recent modifications to our nagios3 files. In resource.cfg I added the following macros: $db_name$, $db_user_name$, and $db_user_pass$. These seem to be ok. I added a service like this: define service { hostgroup_name mysql-servers service_description Mysql FSRW check_command check_mysql_FSRW use generic-service notification_interval 0 } And finally I added a command like this: define command { command_name check_mysql_FSRW command_line $USER1$/check_mysql_query -q "SELECT COUNT(*) FROM entry WHERE period Hello, I have run into a small problem when tried to set up Nagios on a new system from scratch and can't figure out whats wrong. Everything looks to be kinda ok but maybe im overseeing something :) Nagios is returning NULL when checking load on a remote machine. I defined service: define service { use generic-service hostgroup_name linux-servers service_description load check_command check_remote_load!$_HOSTLOADWARNING$!$_HOSTLOADCRITICAL$ servicegroups +load first_notification_delay 10 contact_groups } and i defined a command in command.cfg define command{ command_name check_remote_load command_line $USER1$/check_munin.pl -H $HOSTADDRESS$ -M load -w $ARG1$ -c $ARG2$ } Check_munin.pl is added on a remote machine. Munin is installed on the same machine as Nagios and the IP is in ALLOW list on munin remote node. Also munin.conf contains the entry for the remote host. But for some reason i still get back null when forcing nagios to check the load. Any thoughts on what wrong or how to debug this? :) Best wishes, T?nis -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Jun 8 15:43:10 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 08 Jun 2011 15:43:10 +0200 Subject: Service keeps disappearing from .cfg file and other questions (newbie alert!) In-Reply-To: References: Message-ID: <4DEF7C6E.2040107@op5.se> On 06/08/2011 03:18 PM, Matty Sarro wrote: > Hey everyone, > First, I'm new, so please be gentle :) > > I have made some recent modifications to our nagios3 files. In > resource.cfg I added the following macros: $db_name$, $db_user_name$, > and $db_user_pass$. These seem to be ok. > I added a service like this: > define service { > hostgroup_name mysql-servers > service_description Mysql FSRW > check_command check_mysql_FSRW > use generic-service > notification_interval 0 > } > > > And finally I added a command like this: > define command { > command_name check_mysql_FSRW > command_line $USER1$/check_mysql_query -q "SELECT COUNT(*) FROM > entry WHERE period AND retries=0 AND type=0" -w0:0 -c10 -H $HOSTADDRESS$ -P 3306 -d > $db_name$ -u $db_user_name$ -p $db_user_pass$ > } > > When I have nagios validate everything, it gives no errors. I then > restart nagios for the config to take effect, and it comes up. In the > event log I see some issues with the service (it appears to be trying > to connect to the mysql servers as user nagios, not the specified > user). When I then log back into the server and look at my > services.cfg file, and my commands.cfg file, the entries I added to > both of them have been removed - like they were never there. > Then perhaps you forgot to save, or someone undid your changes from a backup, or some other kind of pilot error happened. It's most certainly not Nagios' fault though, so you're asking in the wrong forum. > So, I guess I have a few questions. > > First, are those entries in the resource.cfg file ok? Does nagios > support the underscores and longer names? Its easier to understand at > a glance than $USER3$ $USER4$ and $USER5$. > > Second, does the command_line look ok? I'm trying to figure out why it > isn't using the username and password I'm passing to it. > Not yet, no. It will some day though. > Finally, why do the command and service keep disappearing out of my > config file? It's making it a pain to troubleshoot. Because someone is removing them, or you're forgetting to save them. Things don't just remove themselves. > Any suggestions or advice would be greatly appreciated. Ask around if anyone's altering the configuration besides you. Files really don't just alter themselves. Trust me on this. -- 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. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Jun 8 15:47:54 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 08 Jun 2011 15:47:54 +0200 Subject: Getting null when checking remote load. In-Reply-To: References: Message-ID: <4DEF7D8A.3010004@op5.se> On 06/08/2011 03:27 PM, T?nis Trei wrote: > Hello, > > I have run into a small problem when tried to set up Nagios on a new system > from scratch and can't figure out whats wrong. Everything looks to be kinda > ok but maybe im overseeing something :) > > Nagios is returning NULL when checking load on a remote machine. > > I defined service: > define service { > use generic-service > hostgroup_name linux-servers > service_description load > check_command > check_remote_load!$_HOSTLOADWARNING$!$_HOSTLOADCRITICAL$ > servicegroups +load > first_notification_delay 10 > contact_groups > } > > and i defined a command in command.cfg > define command{ > command_name check_remote_load > command_line $USER1$/check_munin.pl -H $HOSTADDRESS$ -M load -w > $ARG1$ -c $ARG2$ > } > > Check_munin.pl is added on a remote machine. > Munin is installed on the same machine as Nagios and the IP is in ALLOW list > on munin remote node. > Also munin.conf contains the entry for the remote host. > > But for some reason i still get back null when forcing nagios to check the > load. > > Any thoughts on what wrong or how to debug this? :) > Nagios doesn't automagically run some commands from the remote node. By your explanation, the check_munin.pl script is installed on the remote server and munin is installed on the nagios server. You've either explained the situation extremely poorly or completely misunderstood how networking machines are allowed to talk to each other in the unix world. Either way, you need to rethink your mail, read it out loud a few times and then fix what's broken with the mail or your thinking. If that doesn't cause the bulb to go on in your head, I suggest you get back here with more details about the setup. Use hostnames for the nagios server and the server you're monitoring and explain what's installed where when you mail again; Even if they're fake names, they'll at least give us something to identify the different nodes by so we can be sure what's done where. -- 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. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msarro at gmail.com Wed Jun 8 15:49:16 2011 From: msarro at gmail.com (Matty Sarro) Date: Wed, 8 Jun 2011 09:49:16 -0400 Subject: Service keeps disappearing from .cfg file and other questions (newbie alert!) In-Reply-To: <4DEF7C6E.2040107@op5.se> References: <4DEF7C6E.2040107@op5.se> Message-ID: Its strange, as I've literally got backup copies that I keep copying back into the directory. I validate, make certain that the changes are still there, reload nagios, and suddenly they're gone. I can see the service run two or three times, and then it's suddenly gone from the files. I'll modify the macros to the simpler format, thanks for the advice on that issue. -Matty On Wed, Jun 8, 2011 at 9:43 AM, Andreas Ericsson wrote: > On 06/08/2011 03:18 PM, Matty Sarro wrote: >> Hey everyone, >> First, I'm new, so please be gentle :) >> >> I have made some recent modifications to our nagios3 files. In >> resource.cfg I added the following macros: $db_name$, $db_user_name$, >> and $db_user_pass$. These seem to be ok. >> I added a service like this: >> define service { >> ? ? ? hostgroup_name ? ? ? ? ?mysql-servers >> ? ? ? service_description ? ? ? ? ? ? Mysql FSRW >> ? ? ? check_command ? ? ? ? ? check_mysql_FSRW >> ? ? ? use ? ? ? ? ? ? ? ? ? ? ? ? ? ? generic-service >> ? ? ? notification_interval ? ? ? ? ? 0 >> } >> >> >> And finally I added a command like this: >> define command { >> ? ? ? command_name ? ? ? ? ? ? ? ? ? ?check_mysql_FSRW >> ? ? ? command_line ? ? ? ? ? ? ? ? ? ?$USER1$/check_mysql_query -q "SELECT COUNT(*) FROM >> entry WHERE period> AND retries=0 AND type=0" -w0:0 -c10 -H $HOSTADDRESS$ -P 3306 -d >> $db_name$ -u $db_user_name$ -p $db_user_pass$ >> } >> >> When I have nagios validate everything, it gives no errors. I then >> restart nagios for the config to take effect, and it comes up. In the >> event log I see some issues with the service (it appears to be trying >> to connect to the mysql servers as user nagios, not the specified >> user). When I then log back into the server and look at my >> services.cfg file, and my commands.cfg file, the entries I added to >> both of them have been removed - like they were never there. >> > > Then perhaps you forgot to save, or someone undid your changes from a > backup, or some other kind of pilot error happened. It's most certainly > not Nagios' fault though, so you're asking in the wrong forum. > >> So, I guess I have a few questions. >> >> First, are those entries in the resource.cfg file ok? Does nagios >> support the underscores and longer names? Its easier to understand at >> a glance than $USER3$ $USER4$ and $USER5$. >> >> Second, does the command_line look ok? I'm trying to figure out why it >> isn't using the username and password I'm passing to it. >> > > Not yet, no. It will some day though. > >> Finally, why do the command and service keep disappearing out of my >> config file? It's making it a pain to troubleshoot. > > Because someone is removing them, or you're forgetting to save them. > Things don't just remove themselves. > >> Any suggestions or advice would be greatly appreciated. > > Ask around if anyone's altering the configuration besides you. Files > really don't just alter themselves. Trust me on this. > > -- > 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. > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tonis.trei at gmail.com Wed Jun 8 16:27:27 2011 From: tonis.trei at gmail.com (=?ISO-8859-1?Q?T=F5nis_Trei?=) Date: Wed, 8 Jun 2011 17:27:27 +0300 Subject: Getting null when checking remote load. In-Reply-To: <4DEF7D8A.3010004@op5.se> References: <4DEF7D8A.3010004@op5.se> Message-ID: Hello, Yeah, i started to look through my explanation and seems i didn't explained it good enough while misunderstanding few things myself :) So thanks for pointing it out. I have one sever with address 192.168.0.5 that runs linux, has installed munin-node and i want to monitor its load. Munin-node has the load plugin. Then i have another server with the ip 192.168.0.1 that has installed both Nagios and Munin Server. Now instead of checking the Munin server for graphs, i want Nagios to trigger a plugin that checks the load on the machine. I even changed few things in config to test, but no luck. So Nagios has in command.cfg the following def: define command{ command_name check_remote_load command_line /usr/local/nagios/libexec/check_munin.pl -H $HOSTADDRESS$ -M $ARG1$ -w $ARG2$ -c $ARG3$ } And i have specified the following host with the service: define host { use linux-server host_name Remote_Server address 192.168.0.5 alias RS contacts admin } define service { use generic-service hostgroup_name linux-servers service_description load check_command check_remote_load!load!8!10! servicegroups +load first_notification_delay 10 contact_groups } Munin-node.conf on 192.168.0.5 has the "allow ^192\.168\.0\.1$" And munin.congf on 192.168.0.1 has the following entry: [application;Remote_Server] address 192.168.0.5 use_node_name yes So as i understand nagios should be triggering the check_munin.pl script towards the host Remote_Server. Munin node there should return the load parameters and nagios will return warning on 8 and critical on 10. Please correct me if i got something wrong :) Best wishes, T?nis 2011/6/8 Andreas Ericsson > On 06/08/2011 03:27 PM, T?nis Trei wrote: > > Hello, > > > > I have run into a small problem when tried to set up Nagios on a new > system > > from scratch and can't figure out whats wrong. Everything looks to be > kinda > > ok but maybe im overseeing something :) > > > > Nagios is returning NULL when checking load on a remote machine. > > > > I defined service: > > define service { > > use generic-service > > hostgroup_name linux-servers > > service_description load > > check_command > > check_remote_load!$_HOSTLOADWARNING$!$_HOSTLOADCRITICAL$ > > servicegroups +load > > first_notification_delay 10 > > contact_groups > > } > > > > and i defined a command in command.cfg > > define command{ > > command_name check_remote_load > > command_line $USER1$/check_munin.pl -H $HOSTADDRESS$ -M load > -w > > $ARG1$ -c $ARG2$ > > } > > > > Check_munin.pl is added on a remote machine. > > Munin is installed on the same machine as Nagios and the IP is in ALLOW > list > > on munin remote node. > > Also munin.conf contains the entry for the remote host. > > > > But for some reason i still get back null when forcing nagios to check > the > > load. > > > > Any thoughts on what wrong or how to debug this? :) > > > > Nagios doesn't automagically run some commands from the remote node. > By your explanation, the check_munin.pl script is installed on the > remote server and munin is installed on the nagios server. You've > either explained the situation extremely poorly or completely > misunderstood how networking machines are allowed to talk to each > other in the unix world. > > Either way, you need to rethink your mail, read it out loud a few > times and then fix what's broken with the mail or your thinking. If > that doesn't cause the bulb to go on in your head, I suggest you get > back here with more details about the setup. Use hostnames for the > nagios server and the server you're monitoring and explain what's > installed where when you mail again; Even if they're fake names, > they'll at least give us something to identify the different nodes > by so we can be sure what's done where. > > -- > 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 -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Jun 8 16:47:21 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 08 Jun 2011 16:47:21 +0200 Subject: Getting null when checking remote load. In-Reply-To: References: <4DEF7D8A.3010004@op5.se> Message-ID: <4DEF8B79.5060603@op5.se> On 06/08/2011 04:27 PM, T?nis Trei wrote: > Hello, > > Yeah, i started to look through my explanation and seems i didn't explained > it good enough while misunderstanding few things myself :) > So thanks for pointing it out. > > I have one sever with address 192.168.0.5 that runs linux, has installed > munin-node and i want to monitor its load. > Munin-node has the load plugin. > I assume Munin is some system where "plugin" has a different meaning than it does in Nagios. Bear in mind that I have no idea what munin is or what it does. > Then i have another server with the ip 192.168.0.1 that has installed both > Nagios and Munin Server. > Now instead of checking the Munin server for graphs, i want Nagios to > trigger a plugin that checks the load on the machine. > > I even changed few things in config to test, but no luck. > > So Nagios has in command.cfg the following def: > define command{ > command_name check_remote_load > command_line /usr/local/nagios/libexec/check_munin.pl -H > $HOSTADDRESS$ -M $ARG1$ -w $ARG2$ -c $ARG3$ > } > Is the script /usr/local/nagios/libexec/check_munin.pl located on 192.168.0.1 or on 192.168.0.5? It should reside on 192.168.0.1, and the script itself should connect to 192.168.0.1 with the correct parameters to fetch the data from that particular node. > And i have specified the following host with the service: > define host { > use linux-server > host_name Remote_Server > address 192.168.0.5 > alias RS > contacts admin > } > > define service { > use generic-service > hostgroup_name linux-servers > service_description load > check_command check_remote_load!load!8!10! > servicegroups +load > first_notification_delay 10 > contact_groups > } > > Munin-node.conf on 192.168.0.5 has the "allow ^192\.168\.0\.1$" > > And munin.congf on 192.168.0.1 has the following entry: > [application;Remote_Server] > address 192.168.0.5 > use_node_name yes > > So as i understand nagios should be triggering the check_munin.pl script > towards the host Remote_Server. Munin node there should return the load > parameters and nagios will return warning on 8 and critical on 10. > > Please correct me if i got something wrong :) > You say "use_node_name" in the munin.conf on 192.168.0.1 but still connect via ip address. I don't know anything about Munin, but that seems like one possible source of error if check_munin.pl expects you to pass it a munin node-name. -- 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. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Jun 8 16:59:38 2011 From: m.borsani at it.net (Marco Borsani) Date: Wed, 8 Jun 2011 16:59:38 +0200 Subject: host down , services still checked Message-ID: <009301cc25ec$b345fe00$19d1fa00$@it.net> Hi In old release (Nagios 1.4.5) , when an host stopped , no services configured on it was checked (in Alerts History you saw only the ?HOST ALERT? messages) Right know (Nagios 3.2.3) , I don?t receive service notifications , but all checks still running (in Alerts History I see both ?HOST ALERT? and ?SERVICE ALERT? messages) .. and this is not usefull ! J How can I have same behaviour in Nagios 3.2.3 ? Is there any parameter to set in Nagios.cfg file ? thanks Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tonis.trei at gmail.com Wed Jun 8 17:03:30 2011 From: tonis.trei at gmail.com (=?ISO-8859-1?Q?T=F5nis_Trei?=) Date: Wed, 8 Jun 2011 18:03:30 +0300 Subject: Getting null when checking remote load. In-Reply-To: References: <4DEF7D8A.3010004@op5.se> <4DEF8B79.5060603@op5.se> Message-ID: Hello, Munin is a *networked resource monitoring tool. Its installed on 0.5 machine as a client. The script */usr/local/nagios/libexec/check_munin.pl is located on 0.1 machine and it should make the connection to 0.5 to fetch the information. Well as far as i understand Use_node_name has to be set to YES. Thats atleast what all the howto-s on the web are telling. Didn't sound very logical for me aswell, but example cases i checked had it always on YES. T?nis > > 2011/6/8 Andreas Ericsson > >> On 06/08/2011 04:27 PM, T?nis Trei wrote: >> > Hello, >> > >> > Yeah, i started to look through my explanation and seems i didn't >> explained >> > it good enough while misunderstanding few things myself :) >> > So thanks for pointing it out. >> > >> > I have one sever with address 192.168.0.5 that runs linux, has installed >> > munin-node and i want to monitor its load. >> > Munin-node has the load plugin. >> > >> >> I assume Munin is some system where "plugin" has a different >> meaning than it does in Nagios. Bear in mind that I have no >> idea what munin is or what it does. >> >> > Then i have another server with the ip 192.168.0.1 that has installed >> both >> > Nagios and Munin Server. >> > Now instead of checking the Munin server for graphs, i want Nagios to >> > trigger a plugin that checks the load on the machine. >> > >> > I even changed few things in config to test, but no luck. >> > >> > So Nagios has in command.cfg the following def: >> > define command{ >> > command_name check_remote_load >> > command_line /usr/local/nagios/libexec/check_munin.pl -H >> > $HOSTADDRESS$ -M $ARG1$ -w $ARG2$ -c $ARG3$ >> > } >> > >> >> Is the script /usr/local/nagios/libexec/check_munin.pl located >> on 192.168.0.1 or on 192.168.0.5? It should reside on 192.168.0.1, >> and the script itself should connect to 192.168.0.1 with the >> correct parameters to fetch the data from that particular node. >> >> > And i have specified the following host with the service: >> > define host { >> > use linux-server >> > host_name Remote_Server >> > address 192.168.0.5 >> > alias RS >> > contacts admin >> > } >> > >> > define service { >> > use generic-service >> > hostgroup_name linux-servers >> > service_description load >> > check_command check_remote_load!load!8!10! >> > servicegroups +load >> > first_notification_delay 10 >> > contact_groups >> > } >> > >> > Munin-node.conf on 192.168.0.5 has the "allow ^192\.168\.0\.1$" >> > >> > And munin.congf on 192.168.0.1 has the following entry: >> > [application;Remote_Server] >> > address 192.168.0.5 >> > use_node_name yes >> > >> > So as i understand nagios should be triggering the check_munin.plscript >> > towards the host Remote_Server. Munin node there should return the load >> > parameters and nagios will return warning on 8 and critical on 10. >> > >> > Please correct me if i got something wrong :) >> > >> >> You say "use_node_name" in the munin.conf on 192.168.0.1 but >> still connect via ip address. I don't know anything about >> Munin, but that seems like one possible source of error if >> check_munin.pl expects you to pass it a munin node-name. >> >> -- >> 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 -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Wed Jun 8 19:57:08 2011 From: manikumar85 at gmail.com (Manish Kumar) Date: Wed, 8 Jun 2011 23:27:08 +0530 Subject: How to monitor specific windows services using nsclient++ Message-ID: Hi there, Actually i want to monitor specific windows services using nagios and nsclient++ agent installed on Windows servers... Also i don't know which critical windows services to monitor exactly but my boss says it should be done... Can you people give me some help regarding this.. Thanks...in advance... -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Wed Jun 8 20:05:24 2011 From: benny at bennyvision.com (C. Bensend) Date: Wed, 8 Jun 2011 13:05:24 -0500 Subject: How to monitor specific windows services using nsclient++ In-Reply-To: References: Message-ID: <6d88eedad0b167fa9d6a87ae55508cc2.squirrel@webmail.stinkweasel.net> > Actually i want to monitor specific windows services using nagios and > nsclient++ agent installed on Windows servers... OK. $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c CheckServiceState -a ShowAll "$ARG1$"="$ARG2$" Then, in your Nagios service command definition, call that command with two arguments: 1) The service name from the Windows services snap-in 2) started or stopped, according to what state you want the service to be in during normal operation > Also i don't know which critical windows services to > monitor exactly but my boss says it should be done... Can you people give > me > some help regarding this.. On our Windows systems, we monitor a basic set of standard services: * Disk volume space * CPU utilization * Memory utilization * My NSClient++ version * My NSClient++ configuration version * My plugins version * Windows version (for informational purposes only) Benny -- "You were doing well until everyone died." -- "God", Futurama ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Wed Jun 8 20:05:46 2011 From: manikumar85 at gmail.com (Manish Kumar) Date: Wed, 8 Jun 2011 23:35:46 +0530 Subject: Fwd: How to monitor specific windows services using nsclient++ In-Reply-To: References: Message-ID: In addition to my previous question...just wanted to elaborate.. How i can monitor which important windows services are running on a remote windows servers and their state using NSClient++ installed on the windows servers and check_nt plugin. thanks.. ---------- Forwarded message ---------- From: Manish Kumar Date: Wed, Jun 8, 2011 at 11:27 PM Subject: How to monitor specific windows services using nsclient++ To: nagios-users at lists.sourceforge.net Hi there, Actually i want to monitor specific windows services using nagios and nsclient++ agent installed on Windows servers... Also i don't know which critical windows services to monitor exactly but my boss says it should be done... Can you people give me some help regarding this.. Thanks...in advance... -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Wed Jun 8 20:09:33 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Wed, 8 Jun 2011 20:09:33 +0200 Subject: Fwd: How to monitor specific windows services using nsclient++ In-Reply-To: References: Message-ID: Hi Manish, I personally monitor the following things on a Windows host: - CPU - Memory - Disk (all Partitions) - Standard Services (lanmanserver, .. whatever you want) - Specific Services (e.g. for DNS Server 'dns', DHCP Server....) For the services you will find the names of the services in Manage Computer -> Services. Depending on what your machine is doing, you should create a list for each server, which services to monitor. On Wed, Jun 8, 2011 at 8:05 PM, Manish Kumar wrote: > In addition to my previous question...just wanted to elaborate.. > > How i can monitor which important windows services are running on a remote > windows servers and their state using NSClient++ installed on the windows > servers and check_nt plugin. > > thanks.. > > > ---------- Forwarded message ---------- > From: Manish Kumar > Date: Wed, Jun 8, 2011 at 11:27 PM > Subject: How to monitor specific windows services using nsclient++ > To: nagios-users at lists.sourceforge.net > > > Hi there, > > Actually i want to monitor specific windows services using nagios and > nsclient++ agent installed on Windows servers... > > Also i don't know which critical windows services to > monitor exactly but my boss says it should be done... Can you people give me > some help regarding this.. > > Thanks...in advance... > > > > -- > Thanks > Manish Kumar > http://in.linkedin.com/in/manishkumar85 > > > > > -- > Thanks > Manish Kumar > http://in.linkedin.com/in/manishkumar85 > > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Wed Jun 8 20:35:02 2011 From: manikumar85 at gmail.com (Manish Kumar) Date: Thu, 9 Jun 2011 00:05:02 +0530 Subject: How to monitor specific windows services using nsclient++ In-Reply-To: <6d88eedad0b167fa9d6a87ae55508cc2.squirrel@webmail.stinkweasel.net> References: <6d88eedad0b167fa9d6a87ae55508cc2.squirrel@webmail.stinkweasel.net> Message-ID: Thanks Benny,..but still i couldn't understand is check_nrpe is used for monitoring windows servers because what i know it's for monitoring remote linux servers only.. If yes do i need to install check_nrpe on my Nagios Server.. Also i am already monitoring these basic things but i want to monitor specific services for e.g say mssql running or down..Similarly other important windows services... Thanks.. On Wed, Jun 8, 2011 at 11:35 PM, C. Bensend wrote: > > > Actually i want to monitor specific windows services using nagios and > > nsclient++ agent installed on Windows servers... > > OK. > > $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c CheckServiceState -a > ShowAll "$ARG1$"="$ARG2$" > > Then, in your Nagios service command definition, call that command > with two arguments: > > 1) The service name from the Windows services snap-in > 2) started or stopped, according to what state you want the service > to be in during normal operation > > > Also i don't know which critical windows services to > > monitor exactly but my boss says it should be done... Can you people give > > me > > some help regarding this.. > > On our Windows systems, we monitor a basic set of standard services: > > * Disk volume space > * CPU utilization > * Memory utilization > * My NSClient++ version > * My NSClient++ configuration version > * My plugins version > * Windows version (for informational purposes only) > > Benny > > > -- > "You were doing well until everyone died." > -- "God", Futurama > > > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DCeola at twgi.net Wed Jun 8 20:41:43 2011 From: DCeola at twgi.net (Daniel Ceola) Date: Wed, 8 Jun 2011 18:41:43 +0000 Subject: Fwd: How to monitor specific windows services using nsclient++ In-Reply-To: References: Message-ID: <40B7337A7D70B149A34D5A0FD9FDFA8C020F27@twgiex.twgi.net> Hi, I use NSClient++ to monitor a number of services on our servers here. For example, DNS Server, DHCP Server, IIS, Exchange store, and some services for line of business apps. The command definition I use is: # 'check_nt' command definition define command{ command_name check_nt command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$ } Service definition: #dhcp server define service{ use generic-service host_name servername service_description DHCP Server check_command check_nt!SERVICESTATE!-d SHOWALL -l dhcpserver } # Exchange Store service define service{ use generic-service host_name exchangeserver service_description Exchange Store Service check_command check_nt!SERVICESTATE!-d SHOWALL -l MSExchangeIS } >From what I have read, you need to use the service name that you would use if starting/stopping the service from a command line, rather than the display name from the services.msc snapin. You can easily find the service name by running "sc query" at command prompt from the server (or by looking it up in the system registry) Hope this helps! Thanks, Daniel Ceola From: Manish Kumar [mailto:manikumar85 at gmail.com] Sent: Wednesday, June 08, 2011 2:06 PM To: nagios-users Subject: [Nagios-users] Fwd: How to monitor specific windows services using nsclient++ In addition to my previous question...just wanted to elaborate.. How i can monitor which important windows services are running on a remote windows servers and their state using NSClient++ installed on the windows servers and check_nt plugin. thanks.. ---------- Forwarded message ---------- From: Manish Kumar > Date: Wed, Jun 8, 2011 at 11:27 PM Subject: How to monitor specific windows services using nsclient++ To: nagios-users at lists.sourceforge.net Hi there, Actually i want to monitor specific windows services using nagios and nsclient++ agent installed on Windows servers... Also i don't know which critical windows services to monitor exactly but my boss says it should be done... Can you people give me some help regarding this.. Thanks...in advance... -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Wed Jun 8 20:42:24 2011 From: manikumar85 at gmail.com (Manish Kumar) Date: Thu, 9 Jun 2011 00:12:24 +0530 Subject: Fwd: How to monitor specific windows services using nsclient++ In-Reply-To: References: Message-ID: Hi Claudio, * * Thanks...This is what i am looking for exactly.. - Standard Services (lanmanserver, .. whatever you want) - Specific Services (e.g. for DNS Server 'dns', DHCP Server....) can you give me the exact command syntax that to be written in commands.cfg/windows.cfg something like this... define service{ use generic-service host_name winserver service_description W3SVC check_command check_nt!SERVICESTATE!-d SHOWALL -l W3SVC } Also i would like to get e-mail notification if this particular service gets down or stopped someways.. How to write the command for this.. Thanks.. Manish On Wed, Jun 8, 2011 at 11:39 PM, Claudio Kuenzler wrote: > Hi Manish, > > I personally monitor the following things on a Windows host: > > - CPU > - Memory > - Disk (all Partitions) > - Standard Services (lanmanserver, .. whatever you want) > - Specific Services (e.g. for DNS Server 'dns', DHCP Server....) > > For the services you will find the names of the services in Manage Computer > -> Services. Depending on what your machine is doing, you should create a > list for each server, which services to monitor. > > On Wed, Jun 8, 2011 at 8:05 PM, Manish Kumar wrote: > >> In addition to my previous question...just wanted to elaborate.. >> >> How i can monitor which important windows services are running on a remote >> windows servers and their state using NSClient++ installed on the windows >> servers and check_nt plugin. >> >> thanks.. >> >> >> ---------- Forwarded message ---------- >> From: Manish Kumar >> Date: Wed, Jun 8, 2011 at 11:27 PM >> Subject: How to monitor specific windows services using nsclient++ >> To: nagios-users at lists.sourceforge.net >> >> >> Hi there, >> >> Actually i want to monitor specific windows services using nagios and >> nsclient++ agent installed on Windows servers... >> >> Also i don't know which critical windows services to >> monitor exactly but my boss says it should be done... Can you people give me >> some help regarding this.. >> >> Thanks...in advance... >> >> >> >> -- >> Thanks >> Manish Kumar >> http://in.linkedin.com/in/manishkumar85 >> >> >> >> >> -- >> Thanks >> Manish Kumar >> http://in.linkedin.com/in/manishkumar85 >> >> >> >> ------------------------------------------------------------------------------ >> EditLive Enterprise is the world's most technically advanced content >> authoring tool. Experience the power of Track Changes, Inline Image >> Editing and ensure content is compliant with Accessibility Checking. >> http://p.sf.net/sfu/ephox-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Wed Jun 8 20:43:37 2011 From: benny at bennyvision.com (C. Bensend) Date: Wed, 8 Jun 2011 13:43:37 -0500 Subject: How to monitor specific windows services using nsclient++ In-Reply-To: References: <6d88eedad0b167fa9d6a87ae55508cc2.squirrel@webmail.stinkweasel.net> Message-ID: <5d3915efa76e63e9b8f90cf99afc6a6e.squirrel@webmail.stinkweasel.net> > Thanks Benny,..but still i couldn't understand is check_nrpe is used for > monitoring windows servers because what i know it's for monitoring remote > linux servers only.. If yes do i need to install check_nrpe on my Nagios > Server.. > > Also i am already monitoring these basic things but i want to monitor > specific services for e.g say mssql running or down..Similarly other > important windows services... NSClient++ listens for NRPE requests as well, on TCP port 5666. Hence, if you have NSClient++ installed on your Windows systems, you can use check_nrpe to talk to them. And yes, then you'd need to install the check_nrpe tool on your Nagios server. I prefer using check_nrpe, I only use check_nt for a very small number of services. The command definition I gave you will check a service on a remote Windows server to see if it's running or not. So, open up your Windows services snap-in, and you can check any of the services listed the same way. -- "You were doing well until everyone died." -- "God", Futurama ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at packetalk.net Wed Jun 8 20:16:18 2011 From: jim at packetalk.net (Jim McNamara) Date: Wed, 08 Jun 2011 14:16:18 -0400 Subject: Macro values don't seem to be consistent Message-ID: <1307556978.1873.433.camel@jimsworktop> Hello all. I'm seeing an unexpected behavior in my nagios installs, and I'd appreciate some insight as to what I did incorrectly. This is nagios version 3.2.3 compiled from source. I added the $HOSTALIAS$ macro to the emails nagios generates, as often information in the alias makes it clearer which device has the problem. The host email looks like this: # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n \nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nAbout: $HOSTALIAS$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ } The same modifications were made to the notify-service-by-email as well. This works somewhat as intended, it does add an "About:" line, but the value for $HOSTALIAS$ is not consistent. In the /usr/local/nagios/etc/objects/localhost.cfg file the host is defined as: define host{ use linux-server host_name localhost alias old gray box on the metal stand address 127.0.0.1 hostgroups linux-servers } When I click on Host followed by localhost in the web interface for nagios, I get a page with this data at the top: Host old gray box on the metal stand (localhost) In addition, the line "old gray box on the metal stand" is listed as the alias for localhost in /usr/local/nagios/var/objects.cache: define host { host_name localhost alias old gray box on the metal stand address 127.0.0.1 check_period 24x7 check_command check-host-alive When I receive a host email about localhost, the About: line in the email which should to my understanding contain the value of $HOSTALIAS$, instead has "localhost" listed where the $HOSTALIAS$ (old grey box on the metal stand) is expected. Here is the text of a recent email: ***** Nagios ***** Notification Type: RECOVERY Service: current load Host: localhost About: localhost Address: 127.0.0.1 State: OK Date/Time: Wed Jun 8 13:41:01 EDT 2011 Additional Info: OK - load average: 1.18, 2.55, 2.34 I checked and multiple copies of nagios aren't running, so I'm guessing I did something incorrect with the macro? Interestingly, this is happening to about half of the hosts I'm receiving emails for. Sometimes the $HOSTALIAS$ is correct, and other times it seems $HOSTALIAS$ is incorrect. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Wed Jun 8 20:49:05 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Wed, 8 Jun 2011 20:49:05 +0200 Subject: Fwd: How to monitor specific windows services using nsclient++ In-Reply-To: References: Message-ID: Well this is exactly what you need, you already wrote it. Just replace the Servicename by the service you want to check, eg lanmanserver: define service{ use generic-service host_name winserver service_description Server Services check_command check_nt!SERVICESTATE!-d SHOWALL -l lanmanserver } or for several services at the same time: define service{ use generic-service host_name winserver service_description Server Services check_command check_nt!SERVICESTATE!-d SHOWALL -l lanmanserver, dnsserver } On Wed, Jun 8, 2011 at 8:42 PM, Manish Kumar wrote: > Hi Claudio, > * > * > Thanks...This is what i am looking for exactly.. > > - Standard Services (lanmanserver, .. whatever you want) > - Specific Services (e.g. for DNS Server 'dns', DHCP Server....) > > can you give me the exact command syntax that to be written in > commands.cfg/windows.cfg > > something like this... > > define service{ > use generic-service > host_name winserver > service_description W3SVC > check_command check_nt!SERVICESTATE!-d SHOWALL -l W3SVC > } > > Also i would like to get e-mail notification if this particular service gets down or stopped someways.. > > How to write the command for this.. > > > Thanks.. > > Manish > > > > > On Wed, Jun 8, 2011 at 11:39 PM, Claudio Kuenzler wrote: > >> Hi Manish, >> >> I personally monitor the following things on a Windows host: >> >> - CPU >> - Memory >> - Disk (all Partitions) >> - Standard Services (lanmanserver, .. whatever you want) >> - Specific Services (e.g. for DNS Server 'dns', DHCP Server....) >> >> For the services you will find the names of the services in Manage >> Computer -> Services. Depending on what your machine is doing, you should >> create a list for each server, which services to monitor. >> >> On Wed, Jun 8, 2011 at 8:05 PM, Manish Kumar wrote: >> >>> In addition to my previous question...just wanted to elaborate.. >>> >>> How i can monitor which important windows services are running on a >>> remote windows servers and their state using NSClient++ installed on the >>> windows servers and check_nt plugin. >>> >>> thanks.. >>> >>> >>> ---------- Forwarded message ---------- >>> From: Manish Kumar >>> Date: Wed, Jun 8, 2011 at 11:27 PM >>> Subject: How to monitor specific windows services using nsclient++ >>> To: nagios-users at lists.sourceforge.net >>> >>> >>> Hi there, >>> >>> Actually i want to monitor specific windows services using nagios and >>> nsclient++ agent installed on Windows servers... >>> >>> Also i don't know which critical windows services to >>> monitor exactly but my boss says it should be done... Can you people give me >>> some help regarding this.. >>> >>> Thanks...in advance... >>> >>> >>> >>> -- >>> Thanks >>> Manish Kumar >>> http://in.linkedin.com/in/manishkumar85 >>> >>> >>> >>> >>> -- >>> Thanks >>> Manish Kumar >>> http://in.linkedin.com/in/manishkumar85 >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> EditLive Enterprise is the world's most technically advanced content >>> authoring tool. Experience the power of Track Changes, Inline Image >>> Editing and ensure content is compliant with Accessibility Checking. >>> http://p.sf.net/sfu/ephox-dev2dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> >> ------------------------------------------------------------------------------ >> EditLive Enterprise is the world's most technically advanced content >> authoring tool. Experience the power of Track Changes, Inline Image >> Editing and ensure content is compliant with Accessibility Checking. >> http://p.sf.net/sfu/ephox-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > Thanks > Manish Kumar > http://in.linkedin.com/in/manishkumar85 > > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Wed Jun 8 20:59:37 2011 From: manikumar85 at gmail.com (Manish Kumar) Date: Thu, 9 Jun 2011 00:29:37 +0530 Subject: Fwd: How to monitor specific windows services using nsclient++ In-Reply-To: References: Message-ID: Thanks...@ all for your prompt help..i will try it out.. @Claudio :) exactly.. thanks.. On Thu, Jun 9, 2011 at 12:19 AM, Claudio Kuenzler wrote: > Well this is exactly what you need, you already wrote it. Just replace the > Servicename by the service you want to check, eg lanmanserver: > > define service{ > use generic-service > host_name winserver > service_description Server Services > check_command check_nt!SERVICESTATE!-d SHOWALL -l lanmanserver > } > > > or for several services at the same time: > > define service{ > use generic-service > host_name winserver > service_description Server Services > check_command check_nt!SERVICESTATE!-d SHOWALL -l lanmanserver, dnsserver > } > > > > > On Wed, Jun 8, 2011 at 8:42 PM, Manish Kumar wrote: > >> Hi Claudio, >> * >> * >> Thanks...This is what i am looking for exactly.. >> >> - Standard Services (lanmanserver, .. whatever you want) >> - Specific Services (e.g. for DNS Server 'dns', DHCP Server....) >> >> can you give me the exact command syntax that to be written in >> commands.cfg/windows.cfg >> >> something like this... >> >> define service{ >> use generic-service >> host_name winserver >> service_description W3SVC >> check_command check_nt!SERVICESTATE!-d SHOWALL -l W3SVC >> } >> >> Also i would like to get e-mail notification if this particular service gets down or stopped someways.. >> >> How to write the command for this.. >> >> >> Thanks.. >> >> Manish >> >> >> >> >> On Wed, Jun 8, 2011 at 11:39 PM, Claudio Kuenzler > > wrote: >> >>> Hi Manish, >>> >>> I personally monitor the following things on a Windows host: >>> >>> - CPU >>> - Memory >>> - Disk (all Partitions) >>> - Standard Services (lanmanserver, .. whatever you want) >>> - Specific Services (e.g. for DNS Server 'dns', DHCP Server....) >>> >>> For the services you will find the names of the services in Manage >>> Computer -> Services. Depending on what your machine is doing, you should >>> create a list for each server, which services to monitor. >>> >>> On Wed, Jun 8, 2011 at 8:05 PM, Manish Kumar wrote: >>> >>>> In addition to my previous question...just wanted to elaborate.. >>>> >>>> How i can monitor which important windows services are running on a >>>> remote windows servers and their state using NSClient++ installed on the >>>> windows servers and check_nt plugin. >>>> >>>> thanks.. >>>> >>>> >>>> ---------- Forwarded message ---------- >>>> From: Manish Kumar >>>> Date: Wed, Jun 8, 2011 at 11:27 PM >>>> Subject: How to monitor specific windows services using nsclient++ >>>> To: nagios-users at lists.sourceforge.net >>>> >>>> >>>> Hi there, >>>> >>>> Actually i want to monitor specific windows services using nagios and >>>> nsclient++ agent installed on Windows servers... >>>> >>>> Also i don't know which critical windows services to >>>> monitor exactly but my boss says it should be done... Can you people give me >>>> some help regarding this.. >>>> >>>> Thanks...in advance... >>>> >>>> >>>> >>>> -- >>>> Thanks >>>> Manish Kumar >>>> http://in.linkedin.com/in/manishkumar85 >>>> >>>> >>>> >>>> >>>> -- >>>> Thanks >>>> Manish Kumar >>>> http://in.linkedin.com/in/manishkumar85 >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> EditLive Enterprise is the world's most technically advanced content >>>> authoring tool. Experience the power of Track Changes, Inline Image >>>> Editing and ensure content is compliant with Accessibility Checking. >>>> http://p.sf.net/sfu/ephox-dev2dev >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>> reporting any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/null >>>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> EditLive Enterprise is the world's most technically advanced content >>> authoring tool. Experience the power of Track Changes, Inline Image >>> Editing and ensure content is compliant with Accessibility Checking. >>> http://p.sf.net/sfu/ephox-dev2dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> >> -- >> Thanks >> Manish Kumar >> http://in.linkedin.com/in/manishkumar85 >> >> >> >> ------------------------------------------------------------------------------ >> EditLive Enterprise is the world's most technically advanced content >> authoring tool. Experience the power of Track Changes, Inline Image >> Editing and ensure content is compliant with Accessibility Checking. >> http://p.sf.net/sfu/ephox-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From potxoka at gmail.com Thu Jun 9 00:31:38 2011 From: potxoka at gmail.com (Antonio) Date: Thu, 09 Jun 2011 00:31:38 +0200 Subject: Multiple geographic sites Message-ID: <4DEFF84A.8050100@gmail.com> Hello I have various nagios at multiple geographic sites, to get points of view from different sites. I want to join for example values ??of the 5 nagios and if 80% of equipment has failed, send error message, apart from having a central monitoring site. I mean by that, because a nagios alarm may give notice (the routing table is wrong) and give a false positive. Was to avoid this. Apart from the warning center could these decentralized (if it's the same routes)?. I have seen a similar addon or some time, but now can not find it :-(. anyone know how I can do this? thanks. Greetings ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dey.ranjib at gmail.com Thu Jun 9 06:30:47 2011 From: dey.ranjib at gmail.com (ranjib dey) Date: Thu, 9 Jun 2011 10:00:47 +0530 Subject: Multiple geographic sites In-Reply-To: <4DEFF84A.8050100@gmail.com> References: <4DEFF84A.8050100@gmail.com> Message-ID: NSCA can help you out for centralized monitoring by submitting passive checks from different nagios servers to a central one, but i have never worked on tweaking/aggregating those passive checks and apply custom rules to get a single passive check out of them (but given the flexibility of nagios/nsca, i guess there will be a hacky yet smart way for doing this). Otherwise you can definitely use nrpe to get those remote checks aggregated into your central server and then use your custom script to implement your own logic. On Thu, Jun 9, 2011 at 4:01 AM, Antonio wrote: > Hello > > I have various nagios at multiple geographic sites, to get points of > view from different sites. I want to join for example values of the 5 > nagios and if 80% of equipment has failed, send error message, apart > from having a central monitoring site. I mean by that, because a nagios > alarm may give notice (the routing table is wrong) and give a false > positive. Was to avoid this. Apart from the warning center could these > decentralized (if it's the same routes)?. I have seen a similar addon or > some time, but now can not find it :-(. anyone know how I can do this? > thanks. > > Greetings > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Navdeep.Sidhu at tatatel.co.in Thu Jun 9 07:01:16 2011 From: Navdeep.Sidhu at tatatel.co.in (Navdeep Sidhu) Date: Thu, 9 Jun 2011 10:31:16 +0530 Subject: RRDTool exits with errors -> ERROR: can't make a graph without contents Message-ID: <9169798C154CD846B738065B6A75DABF01216788@PB-CHD-MBX02> Hi I'm using Nagios 2.8 with RRD tool version 1.0.50 & PNP version 0.3 installed. Nagios is running on RHEL-4. I'm facing an issue in RRD Tool. Recently I have configured this tool for Cisco devices (under serviceextinfo.cfg file) so that memory & CPU utilization should be available in graphs however I'm getting following error when trying to view the graphs. RRDTool exits with errors -> ERROR: can't make a graph without contents. This tool is working fine with Intel platform servers & displaying the graphs however not working in Cisco devices. I'm pasting excerpt of my host configuration & serviceextinfo file to provide clear picture. In fact, in Nagios web console, I'm able to see Memory & CPU utilization of Cisco devices however unable to view the graphs. I'm using check_snmp_mem.pl plugin to capture Memory utilization of Cisco devices. Let me know if any other info required from me. Excerpts of host Configuration File define command{ command_name process-service-perfdata command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl } Excerpts of Serviceextinfo File define serviceextinfo{ host_name L3-Switch service_description MEM action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$ } I would really appreciate your help in this regard. Regards Navdeep ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pb at osix.eu Thu Jun 9 08:15:11 2011 From: pb at osix.eu (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Thu, 09 Jun 2011 08:15:11 +0200 Subject: IPv6 support Message-ID: <1307600111.2765.0.camel@endlessdream> Hello! How is the IPv6 support in Nagios Core? with macros, and address6 ? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Jun 9 11:47:01 2011 From: ae at op5.se (Andreas Ericsson) Date: Thu, 09 Jun 2011 11:47:01 +0200 Subject: IPv6 support In-Reply-To: <1307600111.2765.0.camel@endlessdream> References: <1307600111.2765.0.camel@endlessdream> Message-ID: <4DF09695.2080104@op5.se> On 06/09/2011 08:15 AM, Patrik B?t wrote: > Hello! > > How is the IPv6 support in Nagios Core? with macros, and address6 ? > Nagios core doesn't care one whit about ip addresses. Handling DNS lookups and ipv6 addresses is a job for the various plugins. The nagios-plugins project has had ipv6 support for some time. For other plugins you'll have to see for yourself and either write patches or contact the original author for help if you want ipv6 support. -- 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. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.elsen at gmail.com Thu Jun 9 12:57:41 2011 From: mark.elsen at gmail.com (Mark Elsen) Date: Thu, 9 Jun 2011 12:57:41 +0200 Subject: IPv6 support In-Reply-To: <4DF09695.2080104@op5.se> References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> Message-ID: On Thu, Jun 9, 2011 at 11:47 AM, Andreas Ericsson wrote: > On 06/09/2011 08:15 AM, Patrik B?t wrote: >> Hello! >> >> How is the IPv6 support in Nagios Core? with macros, and address6 ? >> > > Nagios core doesn't care one whit about ip addresses. Handling DNS > lookups and ipv6 addresses is a job for the various plugins. The > nagios-plugins project has had ipv6 support for some time. For other > plugins you'll have to see for yourself and either write patches or > contact the original author for help if you want ipv6 support. > That's probably not completely true, because the config files allow you to specify IP addresses, if so desired. If IPv6 aware, these should, at least,be parsed correctly ? M. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From naparuba at gmail.com Thu Jun 9 13:14:50 2011 From: naparuba at gmail.com (nap) Date: Thu, 9 Jun 2011 13:14:50 +0200 Subject: IPv6 support In-Reply-To: References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> Message-ID: On Thu, Jun 9, 2011 at 12:57 PM, Mark Elsen wrote: > On Thu, Jun 9, 2011 at 11:47 AM, Andreas Ericsson wrote: > > That's probably not completely true, because the config files allow you to > specify IP addresses, if so desired. If IPv6 aware, these should, at > least,be > parsed correctly ? > > Hi, In fact no. Like Andreas said, Nagios do not even understand what an IP is. It's just a string for it to be pass to plugins as a macro (still a string). It will not parse it. Jean > M. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Thu Jun 9 14:21:51 2011 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Thu, 09 Jun 2011 22:21:51 +1000 Subject: Fwd: How to monitor specific windows services using nsclient++ In-Reply-To: References: Message-ID: <4DF0BADF.70900@edcint.co.nz> On 9/06/2011 4:59 AM, Manish Kumar wrote: > Thanks...@ all for your prompt help..i will try it out.. > > @Claudio :) exactly.. thanks.. > > What you might find more useful is not to have to install NSClient++ on any servers at all, nor to rely on a "proxy" NSClient++, nor to use NRPE. All of the checks that have been listed so far can be done in a client-less manner using check_wmi_plus www.edcint.co.nz/checkwmiplus The site lists the Nagios command definitions you need. You can check all the services in a single check Here's a manually run example: /opt/nagios/bin/plugins/check_wmi_plus.pl -H win2008r2a -m checkservice -u USER -p PASS -a auto OK - Found 54 Services(s), 51 OK and 3 with problems. 'Shell Hardware Detection' (ShellHWDetection) is Stopped, 'Software Protection' (sppsvc) is Stopped, 'Windows Licensing Monitoring Service' (WLMS) is Stopped.|'Total Service Count'=54; 'Service Count OK State'=51; 'Service Count Problem State'=3; -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pb at osix.eu Thu Jun 9 14:33:50 2011 From: pb at osix.eu (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Thu, 09 Jun 2011 14:33:50 +0200 Subject: IPv6 support In-Reply-To: References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> Message-ID: <1307622830.2765.26.camel@endlessdream> Ok, thanks all for clearing out this! On Thu, 2011-06-09 at 13:14 +0200, nap wrote: > > > On Thu, Jun 9, 2011 at 12:57 PM, Mark Elsen > wrote: > On Thu, Jun 9, 2011 at 11:47 AM, Andreas Ericsson > wrote: > > > That's probably not completely true, because the config files > allow you to > specify IP addresses, if so desired. If IPv6 aware, these > should, at least,be > parsed correctly ? > > > > Hi, > > In fact no. Like Andreas said, Nagios do not even understand what an > IP is. It's just a string for it to be pass to plugins as a macro > (still a string). It will not parse it. > > > Jean > > M. > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Thu Jun 9 14:45:50 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 09 Jun 2011 14:45:50 +0200 Subject: IPv6 support In-Reply-To: References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> Message-ID: <4DF0C07E.8030805@univie.ac.at> nap wrote: > > > On Thu, Jun 9, 2011 at 12:57 PM, Mark Elsen > wrote: > > On Thu, Jun 9, 2011 at 11:47 AM, Andreas Ericsson > wrote: > > That's probably not completely true, because the config files > allow you to > specify IP addresses, if so desired. If IPv6 aware, these should, > at least,be > parsed correctly ? > > Hi, > > In fact no. Like Andreas said, Nagios do not even understand what an > IP is. It's just a string for it to be pass to plugins as a macro > (still a string). It will not parse it. But it's good to have another address6 attribute in the host object in order to assign 2 addresses, use them via macros and not to depend on custom variables. the patch on nagios exchange applies rather clean to nagios upstream. i've tried that myself whilst patching it into icinga, whereas the ipv6 support is happening thanks to that patch, with some slight enhancements to classicui and idoutils, but breaking the abi for other modules using host objects. but i can live with that, having the possibility of easy to use dualstacked monitoring like described here in the common ipv6 approach: https://wiki.icinga.org/display/howtos/Dualstack+%28IPv4%2C+IPv6%29+monitoring+with+Icinga kind regards, michael > > > Jean > > M. > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Thu Jun 9 15:43:14 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Thu, 09 Jun 2011 09:43:14 -0400 Subject: Nagios retries checks too soon. Message-ID: <4DF0CDF2.20109@paul.dubuc.org> Running Nagios 3.2.3, here is an example from the log that shows Nagios retrying a failed check after only 10 seconds. The normal check interval is 7.5 minutes, retry interval is 1 minute, max. check attempts is 3. Note that this test has a timeout of 130 seconds, so it's been running for over 2 minutes when it times out. Does Nagios do retries sooner when the timeout for a check is longer than the retry interval? Is the retry interval measured from the time the previous check starts, or from the time it ends? [06-09-2011 09:16:14] SERVICE ALERT: APS-P55;LoginPage;CRITICAL;SOFT;1;logintest CRITICAL - Timeout (130 sec.) reached [06-09-2011 09:16:24] SERVICE ALERT: APS-P55;LoginPage;OK;SOFT;2;logintest OK ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev From m.borsani at it.net Thu Jun 9 16:15:13 2011 From: m.borsani at it.net (Marco Borsani) Date: Thu, 9 Jun 2011 16:15:13 +0200 Subject: how to use SEND_NSCA Message-ID: <013e01cc26af$a92d91d0$fb88b570$@it.net> Hi all. I use a simple script to test NSCA/send_nsca and send manually passive checks from "nagios C" to "nagios S", using four Nagios macros and it works ;-) Ex.: #> ./mysend.sh $HOSTNAME$ $SERVICEDESC$ $SERVICESTATUSID$ $SERVICEOUTPUT$ How can I automate the sending of all passive service checks? Regards Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Jun 9 17:10:25 2011 From: ae at op5.se (Andreas Ericsson) Date: Thu, 09 Jun 2011 17:10:25 +0200 Subject: Nagios retries checks too soon. In-Reply-To: <4DF0CDF2.20109@paul.dubuc.org> References: <4DF0CDF2.20109@paul.dubuc.org> Message-ID: <4DF0E261.2070607@op5.se> On 06/09/2011 03:43 PM, Paul M. Dubuc wrote: > Running Nagios 3.2.3, here is an example from the log that shows Nagios > retrying a failed check after only 10 seconds. The normal check interval is > 7.5 minutes, retry interval is 1 minute, max. check attempts is 3. > > Note that this test has a timeout of 130 seconds, so it's been running for > over 2 minutes when it times out. Does Nagios do retries sooner when the > timeout for a check is longer than the retry interval? Is the retry interval > measured from the time the previous check starts, or from the time it ends? > I'm not sure. I'm also not sure which behaviour is intended. Arguably, either is correct and Nagios is doing one of two right things. -- 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. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev From michael.friedrich at univie.ac.at Thu Jun 9 17:18:58 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 09 Jun 2011 17:18:58 +0200 Subject: how to use SEND_NSCA In-Reply-To: <013e01cc26af$a92d91d0$fb88b570$@it.net> References: <013e01cc26af$a92d91d0$fb88b570$@it.net> Message-ID: <4DF0E462.7000708@univie.ac.at> Marco Borsani wrote: > > Hi all. > > I use a simple script to test NSCA/send_nsca and send manually passive > checks from "nagios C" to "nagios S", using four Nagios macros and it > works ;-) > > Ex.: > > #> ./mysend.sh $HOSTNAME$ $SERVICEDESC$ $SERVICESTATUSID$ > $SERVICEOUTPUT$ > > How can I automate the sending of all passive service checks? > assign all service definitions with passive checks a checkcommand for calling that commandline, either manually or with heavy templating. > Regards > > Marco > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zac.sanders at tamu.edu Thu Jun 9 18:02:11 2011 From: zac.sanders at tamu.edu (Zac Sanders) Date: Thu, 9 Jun 2011 11:02:11 -0500 Subject: Logging the change of a notification status Message-ID: <1D739842-ACC4-4C41-881A-6DD66341B6C5@tamu.edu> In our environment, we have around 20 people who have the ability to disable and enable notifications of hosts inside of Nagios. Unfortunately, some of these people don't remember to re-enable the notifications once they've completed maintenance. Does anyone know if it's possible to either have Nagios log who disabled notifications, or have it send out an alert when someone disables a notification? Thanks. Zac ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Thu Jun 9 17:30:49 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 9 Jun 2011 11:30:49 -0400 Subject: Checking the status of rsyslog Message-ID: Hi there -- I am running Nagios 3.1.2 with the nrpe 2.12 on an Ubuntu 10.04 64-bit server. I want to monitor the status of the rsyslogd daemon, and be alerted if it is not running. What would be the best plugin to use to monitor the status of this daemon? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Jun 9 18:10:29 2011 From: ae at op5.se (Andreas Ericsson) Date: Thu, 09 Jun 2011 18:10:29 +0200 Subject: IPv6 support In-Reply-To: References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> Message-ID: <4DF0F075.4060000@op5.se> On 06/09/2011 12:57 PM, Mark Elsen wrote: > On Thu, Jun 9, 2011 at 11:47 AM, Andreas Ericsson wrote: >> On 06/09/2011 08:15 AM, Patrik B?t wrote: >>> Hello! >>> >>> How is the IPv6 support in Nagios Core? with macros, and address6 ? >>> >> >> Nagios core doesn't care one whit about ip addresses. Handling DNS >> lookups and ipv6 addresses is a job for the various plugins. The >> nagios-plugins project has had ipv6 support for some time. For other >> plugins you'll have to see for yourself and either write patches or >> contact the original author for help if you want ipv6 support. >> > > That's probably not completely true, because the config files allow you to > specify IP addresses, if so desired. If IPv6 aware, these should, at least,be > parsed correctly ? > They are. Colon is a valid character for configuration files, as are all hexadecimal characters. -- 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. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Jun 9 18:19:40 2011 From: ae at op5.se (Andreas Ericsson) Date: Thu, 09 Jun 2011 18:19:40 +0200 Subject: IPv6 support In-Reply-To: <4DF0C07E.8030805@univie.ac.at> References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> <4DF0C07E.8030805@univie.ac.at> Message-ID: <4DF0F29C.6000108@op5.se> On 06/09/2011 02:45 PM, Michael Friedrich wrote: > nap wrote: >> >> >> On Thu, Jun 9, 2011 at 12:57 PM, Mark Elsen > > wrote: >> >> On Thu, Jun 9, 2011 at 11:47 AM, Andreas Ericsson > > wrote: >> >> That's probably not completely true, because the config files allow >> you to specify IP addresses, if so desired. If IPv6 aware, these >> should, at least,be parsed correctly ? >> >> Hi, >> >> In fact no. Like Andreas said, Nagios do not even understand what >> an IP is. It's just a string for it to be pass to plugins as a >> macro (still a string). It will not parse it. > > But it's good to have another address6 attribute in the host object > in order to assign 2 addresses, use them via macros and not to depend > on custom variables. > Why? If the host is reachable via ip6, it's reachable via ip6 and that's what you configure. If it's not, you configure ip4 instead. Besides; the kernel automagically translates ip4 addresses to ip6 ones on ip6 only interfaces, and does the same for ip6 addresses on ip4-only ones. It's mentioned in the spec that the protected segments for internal use will remain protected in ip6 as well. If they weren't, migrating from one to the other would be complete hell and damn near impossible without superhuman effort. > the patch on nagios exchange applies rather clean to nagios upstream. > i've tried that myself whilst patching it into icinga, whereas the > ipv6 support is happening thanks to that patch, with some slight > enhancements to classicui and idoutils, but breaking the abi for > other modules using host objects. but i can live with that, having > the possibility of easy to use dualstacked monitoring like described > here in the common ipv6 approach: > https://wiki.icinga.org/display/howtos/Dualstack+%28IPv4%2C+IPv6%29+monitoring+with+Icinga > I remain unimpressed. A far cleverer solution would be to have a single check run against all non-protected addresses and let that plugin look up the ip6 address for the host somewhere else (or through a custom variable fetched via livestatus or something, which doesn't break the ABI), and then simply report back if any of them stop working. If this patch had been accompanied by something to make conditional macros and command_line arguments work, I'd have cheered all the way though. -- 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. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eero.volotinen at iki.fi Thu Jun 9 18:25:14 2011 From: eero.volotinen at iki.fi (Eero Volotinen) Date: Thu, 9 Jun 2011 19:25:14 +0300 Subject: Checking the status of rsyslog In-Reply-To: References: Message-ID: 2011/6/9 Kaplan, Andrew H. : > Hi there -- > > I am running Nagios 3.1.2 with the nrpe 2.12 on an Ubuntu 10.04 64-bit > server. I want to monitor > the status of the rsyslogd daemon, and be alerted if it is not running. > > What would be the best plugin to use to monitor the status of this daemon? How about running nrpe-daemon on this server and checking via nrpe using check_proc ? -- Eero ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tristand at micro-p.com Thu Jun 9 18:30:41 2011 From: tristand at micro-p.com (Tristan Drinkwater) Date: Thu, 9 Jun 2011 16:30:41 +0000 Subject: pnp4nagios - Hostname not set Message-ID: <764BD5D0154F554C940E12CD96EE9D820D461C@ma-ex-01.micro-p.com> Hi guys, I've followed the install instruction from here (http://docs.pnp4nagios.org/pnp-0.4/install) to install pnp4nagios v4 on my nagios 3.x running on a fedora 14 box but I'm stuck when verifying the install. When I do http://servername/Nagios/pnp my first error is 'Hostname is not set' followed by 'perfdata folder is empty' and 'no rrd files' I've looked and sure enough there are no rrd files in the folder, plus there is no entry in the log file. To me this suggests that Nagios isn't firing the command 'process-service-perfdata' after completing a check. My commands.cfg file looks correct; # Added by Tristan for PNP 4 Nagios define command { command_name process-service-perfdata command_line /usr/local/nagios/libexec/process_perfdata.pl } define command { command_name process-host-perfdata command_line /usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA } And so is my Nagios.cfg file; process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata these tow are the only things I've changed from the default install. Any ideas what I've missed?? Any tips on how I can drill down further to see what's not happing and why? Thanks in advance :) Regards, Tristan Drinkwater ________________________________ Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Thu Jun 9 20:07:22 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 09 Jun 2011 20:07:22 +0200 Subject: IPv6 support In-Reply-To: <4DF0F29C.6000108@op5.se> References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> <4DF0C07E.8030805@univie.ac.at> <4DF0F29C.6000108@op5.se> Message-ID: <4DF10BDA.4050906@univie.ac.at> -------- Original Message -------- Subject: Re: [Nagios-users] IPv6 support From: Andreas Ericsson To: Nagios Users List Date: 2011-06-09 18:19 > Why? If the host is reachable via ip6, it's reachable via ip6 and > that's what you configure. If it's not, you configure ip4 instead. if you happen to have dualstacked setups in various places, not specifically host monitoring, but dependant on the host itsself to support the dual stacked way. In my environment, I need a lot of diversification between v4 and v6 so it's one of those possible things to make the core being aware of the both attributes as well as both macros as well as the gui to show and reflect that. either single checks on each route, or combined and conditional. > Besides; the kernel automagically translates ip4 addresses to ip6 > ones on ip6 only interfaces, and does the same for ip6 addresses > on ip4-only ones. It's mentioned in the spec that the protected > segments for internal use will remain protected in ip6 as well. > If they weren't, migrating from one to the other would be complete > hell and damn near impossible without superhuman effort. it's nice that the kernel does that on the monitoring box (or respective where the worker executing the check resides), but as said, when it comes to dual stacking, you'll need both addresses. or you'll let your nameservers do the trick (or a local resolver), then you wouldn't need any forward/reverse translations fixed static by some host attributes. but that adds another dependency not always possible/needed/wanted. > I remain unimpressed. A far cleverer solution would be to have a > single check run against all non-protected addresses and let that > plugin look up the ip6 address for the host somewhere else (or > through a custom variable fetched via livestatus or something, which > doesn't break the ABI), and then simply report back if any of them > stop working. It's not the point what's clever and what might be non-clever. it's all about timing constraints and accepting work already done, not having the issues to resolve the problem with the well-known workaround trick. sure nagios/icinga remains playing lego with the various addons and plugins, but as a matter of fact i prefer having it all upstream and available throughout the core, and not injected with or by anything else. livestatus isn't an option either way, but that's offtopic. > If this patch had been accompanied by something to make conditional > macros and command_line arguments work, I'd have cheered all the way > though. I don't really get it what you mean - can you explain that a bit more? kind regards, Michael -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Thu Jun 9 20:14:00 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Thu, 09 Jun 2011 14:14:00 -0400 Subject: Nagios retries checks too soon. In-Reply-To: <4DF0E261.2070607@op5.se> References: <4DF0CDF2.20109@paul.dubuc.org> <4DF0E261.2070607@op5.se> Message-ID: <4DF10D68.5080101@paul.dubuc.org> Andreas Ericsson wrote: > On 06/09/2011 03:43 PM, Paul M. Dubuc wrote: >> Running Nagios 3.2.3, here is an example from the log that shows Nagios >> retrying a failed check after only 10 seconds. The normal check interval is >> 7.5 minutes, retry interval is 1 minute, max. check attempts is 3. >> >> Note that this test has a timeout of 130 seconds, so it's been running for >> over 2 minutes when it times out. Does Nagios do retries sooner when the >> timeout for a check is longer than the retry interval? Is the retry interval >> measured from the time the previous check starts, or from the time it ends? >> > > I'm not sure. I'm also not sure which behaviour is intended. Arguably, either > is correct and Nagios is doing one of two right things. > I'm not sure. If a test times out and Nagios tries again 10 seconds later instead of the 60 seconds specified, that could cause problems; load related problems when you have many of these tests running and timing out and problems for the system under test not having sufficient time to recover before the next check is done. Paul Dubuc ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev From mh+nagios-users at zugschlus.de Thu Jun 9 21:30:34 2011 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Thu, 9 Jun 2011 21:30:34 +0200 Subject: IPv6 support In-Reply-To: <4DF0F29C.6000108@op5.se> References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> <4DF0C07E.8030805@univie.ac.at> <4DF0F29C.6000108@op5.se> Message-ID: <20110609193034.GB23767@torres.zugschlus.de> On Thu, Jun 09, 2011 at 06:19:40PM +0200, Andreas Ericsson wrote: > Why? If the host is reachable via ip6, it's reachable via ip6 and > that's what you configure. If it's not, you configure ip4 instead. So one will need to configure a dual stack host twice, once for IPv4, and once for IPv6, and resort to fancy parent-host or check_multi setups to not be alarmed twice if it's the _host_ being down, and not one of the IP procotols? In fact, not being able to handle the "more-than-one-IP-per-host" in a non-complex way is one of the greatest beefs I have with Nagios (see web server, or a host which serves multiple services on different IP addresses). Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From theflyingcorpse at gmail.com Thu Jun 9 22:10:19 2011 From: theflyingcorpse at gmail.com (Rune "TheFlyingCorpse" Darrud) Date: Thu, 09 Jun 2011 22:10:19 +0200 Subject: RFC/RFP Service sets References: <4DD269A5.5070804@op5.se> Message-ID: On Tue, 17 May 2011 14:27:17 +0200, Andreas Ericsson wrote: > Ahoy (again). > > One of the ideas that surfaced on the Nagios developer meeting in > Bolzano was a concept dubbed "service sets". Consider them basically > "partial host service profiles" and you'll have roughly the right > idea. > > The benefits of adding service sets is that users can share config > settings for various types of hosts rather than some particular check, > and also that the question "does Nagios support monitoring X?" is > quite easily answerable on a higher level than "no, but you can add > checks for this and that, and this too, so it sort of does anyway", > which tends to leave people who have no idea of how Nagios works > quite baffled. > > There are two implementation suggestions so far, perhaps best explained > in sample configuration: > > --%<--%<--%<--%<--%<-- > # compound-in-compound style (aka, "extended template style"): > define service_set { > name windows-services > use windows-service-template > contact_groups windows-admins > parents NSClient > > define service { > description NSClient ; parent of all the others > ... > } > define service { > description Disk usage C > check_command check_nsclient!C!80!90 > .... > } > } > > define service_set { > use database-service-template > name psql-services > contact_groups db-admins > parents PSQL Listener > > define service { > description PSQL Listener; parent of the other ones > .... > } > define service { > description Cache hit ratio > ... > } > define service { > description Slow queries > ... > } > } > > define host { > host_name win-psql1 > service_sets windows-services,psql-services > } > --%<--%<--%<--%<--%<-- > Pros: > * Less typing. > * Config is more normalized with less redundant information. > * Service sets can also double as templates for the services > they contain. > * A service-set is obviously safe-contained and quite easy to > share under whatever name the recipient wishes to set for it. > * Rules can be set so that the 'parents' directive inside a > service_set has to refer to a service inside the service_set, > for which the parents directive is then ignored. > * The service set object will always be created when we're adding > services to it, so we needn't stash them separately for adding > later (ie, much easier to parse). > > Cons: > * The config style used means current config parsers have to be > modified to grok multi-level compounds in order to understand > service-sets. I highly suggest that this concept gets tried out. Nesting WILL be usable elsewhere too and this makes it very readable (like a version of JSON) YES there might be some people complaining but it is in my eyes needed to advance and take nagios into the next decade. How are you thinking in terms of expanding this ? I've started to make a mind map of how it could work. I think it would be really cool if we could use service-set as a combination of a group and a template, by this I mean that you can set "any" attribute in the service-set that the subservice inherits, unless the service is populated with extra data, using : to not fill in a parent, but rather force a non-inheritance without any values inserted in its place, would also be usefull where you dont want it to inherit, without anything better to put there, like a parent of status on the RDP port, when you use the NSClient for other checks to the host. define service_set { name windows-services use windows-service-template contact_groups windows-admins parents NSClient check_period 16x7 max_check_attempts 5 define service { description NSClient ; parent of all the others check_period 24x7 ; This attribute replaces inheritance of the group check_period of 24x7, so its easier to mass update a group and give for just one across a set/group. max_check_attempts 2 ; This ... } define service { description Disk usage C check_command check_nsclient!C!80!90 ... } define service { description World Wide Web Service check_command check_nsclient!CheckServiceState!World Wide Web Service ... } define service { description HTTP Company Site check_command check_http!-u http://company-site-in-NLB.se parents World Wide Web Service ; This replaces inheritance, to a difference service (which is a child of the one(s) set by the service-set. ... } define service { description RDP check_command check_tcp!3389 :parents ; Dont inherit from parent, because this doesnt depend on NSClient. ... } } > --%<--%<--%<--%<--%<-- > # regular object-by-object style > define service { > use windows-service-template > description Disk usage C > service_sets windows-services > parents NSClient > ... > } > > define service { > use windows-service-template > description NSClient > service_sets windows-services > ... > } > > define service { > use database-service-template > description PSQL Listener > service_sets psql-services > ... > } > > define service { > use database-service-template > description Cache hit ratio > parents PSQL Listener > service_sets psql-services > ... > } > > define service { > use database-service-template > parents PSQL Listener > description Slow queries > service_sets psql-services > ... > } > > define host { > host_name win-psql1 > service_sets windows-services,psql-services > } > --%<--%<--%<--%<--%<-- > Pros: > * Can be used very nearly seamlessly with the current configuration > parser. > * Current config parsers need very little modification to work. > * A single service can belong to many service sets without requiring > duplication. > > Cons: > * Harder to separate and isolate service sets for sharing. > * Services get overloaded so they have to belong to either a host, > a hostgroup or a service_set, which leads to more complex logic. > * Service sets will require lookups and they can't be parsed as > efficiently as the compound-in-compound method. Not only is it harder to separate and such, its harder to read and understand, without a tool. Large setups with 10k+ checks, I believe dont use tools for the entire config, because it might be too complex. It wont get easier with this concept, making the leap to use it harder without a (few) good tool(s). > > Please note that the current way of specifying services will still > continue to work, although I'd quite like to deprecate adding > services to hostgroups sometime in the near future, as I feel we're > overloading group objects quite enough as it is. A conversion tool > to create service sets out of the hostgroup-enslaved services would > have to be written before the deprecation and before the end of the > support for such configs though. > > Comments, patches and conversion tools are very welcome. > > Authors of configuration UI's should take plan to ignore both the > service_sets variable in objects and the service_set object type > sometime soon, so they will continue to work before the format is > set in stone but after we've started implementing this. > -- Using Opera's revolutionary email client: http://www.opera.com/mail/ ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev From michael.friedrich at univie.ac.at Thu Jun 9 23:26:42 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 09 Jun 2011 23:26:42 +0200 Subject: pnp4nagios - Hostname not set In-Reply-To: <764BD5D0154F554C940E12CD96EE9D820D461C@ma-ex-01.micro-p.com> References: <764BD5D0154F554C940E12CD96EE9D820D461C@ma-ex-01.micro-p.com> Message-ID: <4DF13A92.6050502@univie.ac.at> On 09.06.2011 18:30, Tristan Drinkwater wrote: > > Hi guys, > > I've followed the install instruction from here > (http://docs.pnp4nagios.org/pnp-0.4/install) to install pnp4nagios v4 > on my nagios 3.x running on a fedora 14 box but I'm stuck when > verifying the install. > any specific reason not to use 0.6.x ? > When I do http://servername/Nagios/pnp my first error is 'Hostname is > not set' followed by 'perfdata folder is empty' and 'no rrd files' > > I've looked and sure enough there are no rrd files in the folder, plus > there is no entry in the log file. > > To me this suggests that Nagios isn't firing the command > 'process-service-perfdata' after completing a check. > > My commands.cfg file looks correct; > > # Added by Tristan for PNP 4 Nagios > > define command { > > command_name process-service-perfdata > > command_line /usr/local/nagios/libexec/process_perfdata.pl > > } > > define command { > > command_name process-host-perfdata > > command_line /usr/local/nagios/libexec/process_perfdata.pl > -d HOSTPERFDATA > > } > > And so is my Nagios.cfg file; > > process_performance_data=1 > > host_perfdata_command=process-host-perfdata > > service_perfdata_command=process-service-perfdata > > these tow are the only things I've changed from the default install. > > Any ideas what I've missed?? > > Any tips on how I can drill down further to see what's not happing and > why? > > Thanks in advance J > > Regards, > > Tristan Drinkwater > > > ------------------------------------------------------------------------ > > Micro Peripherals Limited. > Registered Office: Shorten Brook Way, Altham Business Park, Altham, > Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 > Micro Peripherals Limited. Registered in England No. 1511931. VAT No. > GB 864 4387 91 > > DISCLAIMER: > This e-mail and attachments are confidential and are intended solely > for the use of the individual to > whom it is addressed. Any views or opinions presented are solely those > of the author and do not > necessarily represent those of Micro Peripherals Limited. > If you are not the intended recipient, be advised that you have > received this Email in error and that > any use, dissemination, forwarding, printing, or copying of this Email > is strictly prohibited. If this > transmission is received in error please notify the sender immediately > and delete this message from > your E-mail system. > All electronic transmissions to and from Micro Peripherals Ltd are > recorded and may be monitored. > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nibin.vm at piserve.com Thu Jun 9 23:48:27 2011 From: nibin.vm at piserve.com (Nibin V M) Date: Fri, 10 Jun 2011 03:18:27 +0530 Subject: pnp4nagios - Hostname not set In-Reply-To: <764BD5D0154F554C940E12CD96EE9D820D461C@ma-ex-01.micro-p.com> References: <764BD5D0154F554C940E12CD96EE9D820D461C@ma-ex-01.micro-p.com> Message-ID: do you have the extended output enabled for your check command as per the doc says( that is output after the | symbol ).. On Thu, Jun 9, 2011 at 10:00 PM, Tristan Drinkwater wrote: > Hi guys, > > > > I?ve followed the install instruction from here ( > http://docs.pnp4nagios.org/pnp-0.4/install) to install pnp4nagios v4 on my > nagios 3.x running on a fedora 14 box but I?m stuck when verifying the > install. > > > > When I do http://servername/Nagios/pnp my first error is ?Hostname is not > set? followed by ?perfdata folder is empty? and ?no rrd files? > > > > I?ve looked and sure enough there are no rrd files in the folder, plus > there is no entry in the log file. > > > > To me this suggests that Nagios isn?t firing the command > ?process-service-perfdata? after completing a check. > > > > My commands.cfg file looks correct; > > > > # Added by Tristan for PNP 4 Nagios > > define command { > > command_name process-service-perfdata > > command_line /usr/local/nagios/libexec/process_perfdata.pl > > } > > > > define command { > > command_name process-host-perfdata > > command_line /usr/local/nagios/libexec/process_perfdata.pl -d > HOSTPERFDATA > > } > > > > And so is my Nagios.cfg file; > > > > process_performance_data=1 > > > > host_perfdata_command=process-host-perfdata > > service_perfdata_command=process-service-perfdata > > > > these tow are the only things I?ve changed from the default install. > > > > > > Any ideas what I?ve missed?? > > > > Any tips on how I can drill down further to see what?s not happing and why? > > > > Thanks in advance J > > > > Regards, > > Tristan Drinkwater > > ------------------------------ > > Micro Peripherals Limited. > Registered Office: Shorten Brook Way, Altham Business Park, Altham, > Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 > Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB > 864 4387 91 > > DISCLAIMER: > This e-mail and attachments are confidential and are intended solely for > the use of the individual to > whom it is addressed. Any views or opinions presented are solely those of > the author and do not > necessarily represent those of Micro Peripherals Limited. > If you are not the intended recipient, be advised that you have received > this Email in error and that > any use, dissemination, forwarding, printing, or copying of this Email is > strictly prohibited. If this > transmission is received in error please notify the sender immediately and > delete this message from > your E-mail system. > All electronic transmissions to and from Micro Peripherals Ltd are recorded > and may be monitored. > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Regards, Nibin. --------------------------------- Nibin.V.M Systems Engineer(Unix) PiServe.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jochen.Bern at LINworks.de Fri Jun 10 09:53:59 2011 From: Jochen.Bern at LINworks.de (Jochen Bern) Date: Fri, 10 Jun 2011 09:53:59 +0200 Subject: Nagios retries checks too soon. In-Reply-To: <4DF10D68.5080101@paul.dubuc.org> References: <4DF0CDF2.20109@paul.dubuc.org> <4DF0E261.2070607@op5.se> <4DF10D68.5080101@paul.dubuc.org> Message-ID: <4DF1CD97.9070209@LINworks.de> On 06/09/2011 08:14 PM, Paul M. Dubuc wrote: > Andreas Ericsson wrote: >> I'm not sure. I'm also not sure which behaviour is intended. Arguably, either >> is correct and Nagios is doing one of two right things. > I'm not sure. If a test times out and Nagios tries again 10 seconds later > instead of the 60 seconds specified, that could cause problems; load related > problems when you have many of these tests running and timing out and problems > for the system under test not having sufficient time to recover before the > next check is done. True, but *if* someone has the latter kind of problem, I'd expect him to keep it in mind while writing the configuration, too. IIRC, the actual code adds check_interval/retry_interval to the variable that holds the (previous) scheduled check time - i.e., the time when the previous check supposedly was *started* (assuming negligible check latency). Configuring a retry_interval of one minute for a service whose sustained request rate may be *less* than one per minute sounds dubitable to me. (And I'm a firm nonbeliever in Unix-ish "load" figures, as opposed to actual CPU usage etc., but that's a different rant.) Kind regards, J. Bern -- Jochen Bern, Systemingenieur --- LINworks GmbH Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt PGP (1024D/4096g) FP = D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C27 Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202 Unternehmenssitz Weiterstadt, Gesch?ftsf?hrer Metin Dogan, Oliver Michel ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev From tristand at micro-p.com Fri Jun 10 11:00:27 2011 From: tristand at micro-p.com (Tristan Drinkwater) Date: Fri, 10 Jun 2011 09:00:27 +0000 Subject: pnp4nagios - Hostname not set In-Reply-To: <4DF13A92.6050502@univie.ac.at> References: <764BD5D0154F554C940E12CD96EE9D820D461C@ma-ex-01.micro-p.com> <4DF13A92.6050502@univie.ac.at> Message-ID: <764BD5D0154F554C940E12CD96EE9D820D48C8@ma-ex-01.micro-p.com> Hi, Ok, good shout. I've install the latest version. The config check page looks ok but I'm getting errors where is isn't any rrd data yet. How long does it take to start producing this data when in sync mode? Can I force it along quicker so that I know everything working? Thanks again From: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Sent: 09 June 2011 22:27 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] pnp4nagios - Hostname not set On 09.06.2011 18:30, Tristan Drinkwater wrote: Hi guys, I've followed the install instruction from here (http://docs.pnp4nagios.org/pnp-0.4/install) to install pnp4nagios v4 on my nagios 3.x running on a fedora 14 box but I'm stuck when verifying the install. any specific reason not to use 0.6.x ? When I do http://servername/Nagios/pnp my first error is 'Hostname is not set' followed by 'perfdata folder is empty' and 'no rrd files' I've looked and sure enough there are no rrd files in the folder, plus there is no entry in the log file. To me this suggests that Nagios isn't firing the command 'process-service-perfdata' after completing a check. My commands.cfg file looks correct; # Added by Tristan for PNP 4 Nagios define command { command_name process-service-perfdata command_line /usr/local/nagios/libexec/process_perfdata.pl } define command { command_name process-host-perfdata command_line /usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA } And so is my Nagios.cfg file; process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata these tow are the only things I've changed from the default install. Any ideas what I've missed?? Any tips on how I can drill down further to see what's not happing and why? Thanks in advance :) Regards, Tristan Drinkwater ________________________________ Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jun 10 13:02:04 2011 From: ae at op5.se (Andreas Ericsson) Date: Fri, 10 Jun 2011 13:02:04 +0200 Subject: IPv6 support In-Reply-To: <20110609193034.GB23767@torres.zugschlus.de> References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> <4DF0C07E.8030805@univie.ac.at> <4DF0F29C.6000108@op5.se> <20110609193034.GB23767@torres.zugschlus.de> Message-ID: <4DF1F9AC.70904@op5.se> On 06/09/2011 09:30 PM, Marc Haber wrote: > On Thu, Jun 09, 2011 at 06:19:40PM +0200, Andreas Ericsson wrote: >> Why? If the host is reachable via ip6, it's reachable via ip6 and >> that's what you configure. If it's not, you configure ip4 instead. > > So one will need to configure a dual stack host twice, once for IPv4, > and once for IPv6, and resort to fancy parent-host or check_multi > setups to not be alarmed twice if it's the _host_ being down, and not > one of the IP procotols? > Not really. You can still achieve the exact same functionality with custom variables. What Michael has done is to make one such custom variable "official", which breaks the ABI. He still has to use special plugins to check both ip4 and ip6 addresses at the same time, which is why I think it's quite stupid. > In fact, not being able to handle the "more-than-one-IP-per-host" in a > non-complex way is one of the greatest beefs I have with Nagios (see > web server, or a host which serves multiple services on different IP > addresses). > You can, but with custom variables. How many "official" addresses should Nagios support? 3? 5? Soon we'll run into someone who wants more than that, and then we're left with breaking the ABI again. And again. And again. Breaking the ABI causes major headaches for module developers and users. Custom variables don't break the ABI and causes minor headaches for people with complex environments, who hopefully get paid quite a lot to handle such complexities in an elegant way. Nagios makes that possible, while making the normal case (ip4 *or* ip6) possible. I'm sorry, but I'm not overly moved by your plea. -- 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. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jun 10 13:05:00 2011 From: ae at op5.se (Andreas Ericsson) Date: Fri, 10 Jun 2011 13:05:00 +0200 Subject: IPv6 support In-Reply-To: <4DF10BDA.4050906@univie.ac.at> References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> <4DF0C07E.8030805@univie.ac.at> <4DF0F29C.6000108@op5.se> <4DF10BDA.4050906@univie.ac.at> Message-ID: <4DF1FA5C.1000902@op5.se> On 06/09/2011 08:07 PM, Michael Friedrich wrote: > -------- Original Message -------- > >> If this patch had been accompanied by something to make conditional >> macros and command_line arguments work, I'd have cheered all the way >> though. > > I don't really get it what you mean - can you explain that a bit more? > Sure. If there was some way to configure Nagios so that certain command arguments were only expanded if the number of arguments to the check matches a certain criteria, one could write checks that don't pass half baked argument strings to the plugins, and the complexity would be handled in one place. That would actually gain something, rather than making "address6" an official variable, which gains nothing compared to using a custom variable, but breaks the abi even so. -- 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. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Fri Jun 10 13:26:30 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Fri, 10 Jun 2011 13:26:30 +0200 Subject: IPv6 support In-Reply-To: <4DF1F9AC.70904@op5.se> References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> <4DF0C07E.8030805@univie.ac.at> <4DF0F29C.6000108@op5.se> <20110609193034.GB23767@torres.zugschlus.de> <4DF1F9AC.70904@op5.se> Message-ID: <4DF1FF66.4060600@univie.ac.at> Andreas Ericsson wrote: > Not really. You can still achieve the exact same functionality with > custom variables. What Michael has done is to make one such custom > variable "official", which breaks the ABI. He still has to use special > plugins to check both ip4 and ip6 addresses at the same time, which is > why I think it's quite stupid. the dual check affinity only takes place in the host checking currently (where it does make sense to combine it with check_multi or any other conditional check wrapper). for other purposes you can still define your own checks and services, especially tagged as "PING4" and "PING6" e.g. - but no need to play around with "get the 4 or 6 address from somewhere for the commandline, but just take the ?HOSTADRESS(6)$ macros and be happy as it was demanded. don't get me wrong, i know that abi changes and such make developer's going mad. but from a users perspective this was one of the things demanded the most. at least within the range of those sysadmins already running ipv4 and ipv6 in their productive environments. even more, those virtual appliances and clustered setups would need an even more in deep rewrite, but that's another story (service sets might be a good attempt for that). > You can, but with custom variables. How many "official" addresses should > Nagios support? 3? 5? Soon we'll run into someone who wants more than > that, and then we're left with breaking the ABI again. And again. And > again. Breaking the ABI causes major headaches for module developers and > users. Custom variables don't break the ABI and causes minor headaches > for people with complex environments, who hopefully get paid quite a > lot to handle such complexities in an elegant way. Nagios makes that > possible, while making the normal case (ip4 *or* ip6) possible. using custom variables within the default nagios gui remains impossible to be shown and used without hacking c code. making it available would either cost to allow custom variables to be shown (what regex might be good to show only those? is it really custom then? etc) rather than just supporting the address6 host attribute - which remains implemented by a community members, tested by various and demanded by lots of. -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Navdeep.Sidhu at tatatel.co.in Fri Jun 10 13:37:04 2011 From: Navdeep.Sidhu at tatatel.co.in (Navdeep Sidhu) Date: Fri, 10 Jun 2011 17:07:04 +0530 Subject: RRDTool exits with errors -> ERROR: can't make a graph without contents Message-ID: <9169798C154CD846B738065B6A75DABF01248138@PB-CHD-MBX02> Hi Folks I'm using Nagios 2.8 with RRD tool version 1.0.50 & PNP version 0.3 installed. Nagios is running on RHEL-4. I'm facing an issue in RRD Tool. Recently I have configured this tool for Cisco devices (under serviceextinfo.cfg file) so that memory & CPU utilization should be available in graphs however I'm getting following error when trying to view the graphs. RRDTool exits with errors -> ERROR: can't make a graph without contents. This tool is working fine with Intel platform servers & displaying the graphs however not working in Cisco devices. I'm pasting excerpt of my host configuration & serviceextinfo file to provide clear picture. In fact, in Nagios web console, I'm able to see Memory & CPU utilization of Cisco devices however unable to view the graphs. I'm using check_snmp_mem.pl plugin to capture Memory utilization of Cisco devices. Let me know if any other info required from me. Excerpts of host Configuration File define command{ command_name process-service-perfdata command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl } Excerpts of Serviceextinfo File define serviceextinfo{ host_name L3-Switch service_description MEM action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$ } I would really appreciate your help in this regard. Regards Navdeep From: Navdeep Sidhu Sent: Thursday, June 09, 2011 10:31 AM To: 'nagios-users at lists.sourceforge.net' Subject: RRDTool exits with errors -> ERROR: can't make a graph without contents Importance: High Hi I'm using Nagios 2.8 with RRD tool version 1.0.50 & PNP version 0.3 installed. Nagios is running on RHEL-4. I'm facing an issue in RRD Tool. Recently I have configured this tool for Cisco devices (under serviceextinfo.cfg file) so that memory & CPU utilization should be available in graphs however I'm getting following error when trying to view the graphs. RRDTool exits with errors -> ERROR: can't make a graph without contents. This tool is working fine with Intel platform servers & displaying the graphs however not working in Cisco devices. I'm pasting excerpt of my host configuration & serviceextinfo file to provide clear picture. In fact, in Nagios web console, I'm able to see Memory & CPU utilization of Cisco devices however unable to view the graphs. I'm using check_snmp_mem.pl plugin to capture Memory utilization of Cisco devices. Let me know if any other info required from me. Excerpts of host Configuration File define command{ command_name process-service-perfdata command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl } Excerpts of Serviceextinfo File define serviceextinfo{ host_name L3-Switch service_description MEM action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$ } I would really appreciate your help in this regard. Regards Navdeep ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at asmodeus.be Fri Jun 10 13:42:39 2011 From: nagios at asmodeus.be (Pascal Vandeputte) Date: Fri, 10 Jun 2011 13:42:39 +0200 Subject: distributed host checks: freshness checking issues Message-ID: <201106101342.39869.nagios@asmodeus.be> As good as Merlin sounds, we currently have something that works (including user-friendly managment & provisioning scripts) and unfortunately way too much other things on our plate to invest the appropriate amount of time in this. But I'm certain that I will revisit these ideas in the future, so thanks a lot for all your suggestions! Much appreciated. Best regards, Pascal On Tuesday 07 June 2011 15:35:55 Andreas Ericsson wrote: > On 06/07/2011 02:28 PM, Pascal Vandeputte wrote: > > On Tuesday 07 June 2011 10:12:25 Andreas Ericsson wrote: > >> On 06/01/2011 05:51 PM, Pascal Vandeputte wrote: > >>> Can anyone confirm that my reasoning is correct? That the master will > >>> *always* keep on doing *some* host checks no matter what you configure? > >> > >> More or less, yes. It will at least schedule them even if it gets > >> results for them, but eventbroker modules can block even forced host > >> checks. I'd look into using Merlin, DNX or mod_gearman if I were you. > >> It will do what you want with far better performance than NSCA will > >> ever be able to. > > > > Thank you for the confirmation and the tips! > > > > I've done some quick reading on Merlin, DNX and mod_gearman, and while > > they look very interesting, our Nagios setup is probably a little too > > complex to distribute the checks automatically the way we're doing it > > now. > > I doubt it. The largest setup running mod_gearman is checking something > like 35000 services. The largest merlin install is running close to 48000. > I'm sorry to say I have no figures for DNX. > > > We have Nagios slaves ("workers") in multiple, independent locations, and > > we're exploiting that to the fullest by running different service checks > > of the same host from different locations: checks for "public" services > > are effectively checked from a remote location, while NRPE checks to the > > same host are done from within the same datacenter. The configs for each > > master& slave are generated from the same host/service database. > > For this you'd have to use two host definitions if you use Merlin, since > checks are split to workers based on hostgroup affiliation. Apart from > that, everything should work just fine. > > > Apparently, send_gearman can be used as a send_nsca replacement, which > > I'll have to check up on later. It would be cool if it can send > > multi-line output and performance data. NSCA cannot do multi-line and > > doesn't seem 100% reliable either. > > I'm fairly sure it can, but submitting passive checkresults with multiline > output is not very well tested and may not work well with Nagios core. It > will be particularly problematic if the check output is larger than 4096 > bytes, since that's the size of the command pipe. It works flawlessly with > Merlin though, as does external command forwarding and a lot of other nifty > things that NSCA-based setups simply doesn't handle. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jun 10 14:09:54 2011 From: ae at op5.se (Andreas Ericsson) Date: Fri, 10 Jun 2011 14:09:54 +0200 Subject: IPv6 support In-Reply-To: <4DF1FF66.4060600@univie.ac.at> References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> <4DF0C07E.8030805@univie.ac.at> <4DF0F29C.6000108@op5.se> <20110609193034.GB23767@torres.zugschlus.de> <4DF1F9AC.70904@op5.se> <4DF1FF66.4060600@univie.ac.at> Message-ID: <4DF20992.9000204@op5.se> On 06/10/2011 01:26 PM, Michael Friedrich wrote: > Andreas Ericsson wrote: >> Not really. You can still achieve the exact same functionality with >> custom variables. What Michael has done is to make one such custom >> variable "official", which breaks the ABI. He still has to use special >> plugins to check both ip4 and ip6 addresses at the same time, which is >> why I think it's quite stupid. > > the dual check affinity only takes place in the host checking currently > (where it does make sense to combine it with check_multi or any other > conditional check wrapper). for other purposes you can still define your > own checks and services, especially tagged as "PING4" and "PING6" e.g. - > but no need to play around with "get the 4 or 6 address from somewhere > for the commandline, but just take the ?HOSTADRESS(6)$ macros and be > happy as it was demanded. > > don't get me wrong, i know that abi changes and such make developer's > going mad. but from a users perspective this was one of the things > demanded the most. at least within the range of those sysadmins already > running ipv4 and ipv6 in their productive environments. even more, those > virtual appliances and clustered setups would need an even more in deep > rewrite, but that's another story (service sets might be a good attempt > for that). > Still really nothing for the core to take care of. >> You can, but with custom variables. How many "official" addresses should >> Nagios support? 3? 5? Soon we'll run into someone who wants more than >> that, and then we're left with breaking the ABI again. And again. And >> again. Breaking the ABI causes major headaches for module developers and >> users. Custom variables don't break the ABI and causes minor headaches >> for people with complex environments, who hopefully get paid quite a >> lot to handle such complexities in an elegant way. Nagios makes that >> possible, while making the normal case (ip4 *or* ip6) possible. > > using custom variables within the default nagios gui remains impossible > to be shown and used without hacking c code. making it available would > either cost to allow custom variables to be shown (what regex might be > good to show only those? is it really custom then? etc) rather than just > supporting the address6 host attribute - which remains implemented by a > community members, tested by various and demanded by lots of. > So give _address6 official status *in the ui*. Or make a config item that lets users specify which custom variables to show in the UI. Or show all of them by default. That's a change that actually makes sense, would have been far less intrusive and would have made very nearly everyone happy (especially the "configure which you want to see", with a general switch to show all and then include/exclude parameters to filter passwords and whatnot out of the UI). Wasn't that the real reason behind the patches in the first place? That's at least the only real unique benefit from this over using custom vars. The problem here is actually laziness and possibly poor maintenance. When presented with the patch, you need to ask the submitter; "What purpose does this patch serve and why is it so generally important that we have to break the ABI?" Given some prodding, you would have found out that the user really just wants to see a special custom variable in the web-interface. Achieving that is basically peanuts, given half a day and a junior coder fresh out of kindergarten, so it's quite likely the submitter could have been persuaded to rewrite the patch like that so it would have been easy to maintain it. It would also have made it acceptable in the Nagios core and would have made life easier for those broker module authors that actually care about supporting Icinga and for the users that use modules with it. That turned a bit harsh there. Sorry about that. -- 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. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Fri Jun 10 14:31:56 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Fri, 10 Jun 2011 14:31:56 +0200 Subject: IPv6 support In-Reply-To: <4DF20992.9000204@op5.se> References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> <4DF0C07E.8030805@univie.ac.at> <4DF0F29C.6000108@op5.se> <20110609193034.GB23767@torres.zugschlus.de> <4DF1F9AC.70904@op5.se> <4DF1FF66.4060600@univie.ac.at> <4DF20992.9000204@op5.se> Message-ID: <4DF20EBC.9080602@univie.ac.at> -------- Original Message -------- Subject: Re: [Nagios-users] IPv6 support From: Andreas Ericsson To: Nagios Users List Date: 2011-06-10 14:09 > > So give _address6 official status *in the ui*. Or make a config item > that lets users specify which custom variables to show in the UI. Or > show all of them by default. That's a change that actually makes sense, > would have been far less intrusive and would have made very nearly > everyone happy (especially the "configure which you want to see", with > a general switch to show all and then include/exclude parameters to > filter passwords and whatnot out of the UI). Wasn't that the real > reason behind the patches in the first place? That's at least the only > real unique benefit from this over using custom vars. > > The problem here is actually laziness and possibly poor maintenance. > When presented with the patch, you need to ask the submitter; "What > purpose does this patch serve and why is it so generally important > that we have to break the ABI?" Given some prodding, you would have > found out that the user really just wants to see a special custom > variable in the web-interface. Achieving that is basically peanuts, > given half a day and a junior coder fresh out of kindergarten, so > it's quite likely the submitter could have been persuaded to rewrite > the patch like that so it would have been easy to maintain it. It > would also have made it acceptable in the Nagios core and would have > made life easier for those broker module authors that actually care > about supporting Icinga and for the users that use modules with it. > > That turned a bit harsh there. Sorry about that. conclusion - you won't accept such patches, i can live with the extra work they will cause. even with addons staying compatible with icinga but not supprting the address6 field. everything else still remains compatible and tested. but that's not the point within nagios related stuff. there are other nagios patches pending, still breaking the abi (see some of opsviews patches and those from nagios-devel) which will make a change happen somewhere in the future. so maybe after a while users demand (even those from your customers), and it will hit nagios too. until then, let's just ask people out there what they really want and how *they* would achieve that. either live with it, patch it or even pay for it. -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jun 10 14:48:29 2011 From: ae at op5.se (Andreas Ericsson) Date: Fri, 10 Jun 2011 14:48:29 +0200 Subject: IPv6 support In-Reply-To: <4DF20EBC.9080602@univie.ac.at> References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> <4DF0C07E.8030805@univie.ac.at> <4DF0F29C.6000108@op5.se> <20110609193034.GB23767@torres.zugschlus.de> <4DF1F9AC.70904@op5.se> <4DF1FF66.4060600@univie.ac.at> <4DF20992.9000204@op5.se> <4DF20EBC.9080602@univie.ac.at> Message-ID: <4DF2129D.5090602@op5.se> On 06/10/2011 02:31 PM, Michael Friedrich wrote: > -------- Original Message -------- Subject: Re: [Nagios-users] IPv6 > support From: Andreas Ericsson To: Nagios Users List > Date: 2011-06-10 14:09 >> >> So give _address6 official status *in the ui*. Or make a config >> item that lets users specify which custom variables to show in the >> UI. Or show all of them by default. That's a change that actually >> makes sense, would have been far less intrusive and would have made >> very nearly everyone happy (especially the "configure which you >> want to see", with a general switch to show all and then >> include/exclude parameters to filter passwords and whatnot out of >> the UI). Wasn't that the real reason behind the patches in the >> first place? That's at least the only real unique benefit from this >> over using custom vars. >> >> The problem here is actually laziness and possibly poor >> maintenance. When presented with the patch, you need to ask the >> submitter; "What purpose does this patch serve and why is it so >> generally important that we have to break the ABI?" Given some >> prodding, you would have found out that the user really just wants >> to see a special custom variable in the web-interface. Achieving >> that is basically peanuts, given half a day and a junior coder >> fresh out of kindergarten, so it's quite likely the submitter could >> have been persuaded to rewrite the patch like that so it would have >> been easy to maintain it. It would also have made it acceptable in >> the Nagios core and would have made life easier for those broker >> module authors that actually care about supporting Icinga and for >> the users that use modules with it. >> >> That turned a bit harsh there. Sorry about that. > > conclusion - you won't accept such patches, I won't accept patches that break things when there are easier ways to achieve what the user desires that doesn't break things. > i can live with the extra > work they will cause. even with addons staying compatible with icinga > but not supprting the address6 field. everything else still remains > compatible and tested. but that's not the point within nagios related > stuff. there are other nagios patches pending, still breaking the abi > (see some of opsviews patches and those from nagios-devel) which will > make a change happen somewhere in the future. so maybe after a while > users demand (even those from your customers), and it will hit nagios > too. until then, let's just ask people out there what they really > want and how *they* would achieve that. either live with it, patch it > or even pay for it. > Yup. That's what major releases are for. I guess I'm just a bit whiny because I'd hoped Icinga would stay "compatible with Nagios in all possible ways" as was promised from the beginning. Ah well. We live and we learn. Now it's time for me to learn how much wine I can drink on a friday night without passing out. I'm looking forward to that particular experiment. Cheerios :) -- 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. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pb at osix.eu Fri Jun 10 15:02:14 2011 From: pb at osix.eu (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Fri, 10 Jun 2011 15:02:14 +0200 Subject: IPv6 support In-Reply-To: <4DF2129D.5090602@op5.se> References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> <4DF0C07E.8030805@univie.ac.at> <4DF0F29C.6000108@op5.se> <20110609193034.GB23767@torres.zugschlus.de> <4DF1F9AC.70904@op5.se> <4DF1FF66.4060600@univie.ac.at> <4DF20992.9000204@op5.se> <4DF20EBC.9080602@univie.ac.at> <4DF2129D.5090602@op5.se> Message-ID: <1307710934.2757.4.camel@endlessdream> YEAH finally something good in this thread!!! "Ah well. We live and we learn. Now it's time for me to learn how much wine I can drink on a friday night without passing out. I'm looking forward to that particular experiment. Cheerios :)" Join winehq for a drink and a wine wow.exe maybe ?! :P Over and out! On Fri, 2011-06-10 at 14:48 +0200, Andreas Ericsson wrote: > On 06/10/2011 02:31 PM, Michael Friedrich wrote: > > -------- Original Message -------- Subject: Re: [Nagios-users] IPv6 > > support From: Andreas Ericsson To: Nagios Users List > > Date: 2011-06-10 14:09 > >> > >> So give _address6 official status *in the ui*. Or make a config > >> item that lets users specify which custom variables to show in the > >> UI. Or show all of them by default. That's a change that actually > >> makes sense, would have been far less intrusive and would have made > >> very nearly everyone happy (especially the "configure which you > >> want to see", with a general switch to show all and then > >> include/exclude parameters to filter passwords and whatnot out of > >> the UI). Wasn't that the real reason behind the patches in the > >> first place? That's at least the only real unique benefit from this > >> over using custom vars. > >> > >> The problem here is actually laziness and possibly poor > >> maintenance. When presented with the patch, you need to ask the > >> submitter; "What purpose does this patch serve and why is it so > >> generally important that we have to break the ABI?" Given some > >> prodding, you would have found out that the user really just wants > >> to see a special custom variable in the web-interface. Achieving > >> that is basically peanuts, given half a day and a junior coder > >> fresh out of kindergarten, so it's quite likely the submitter could > >> have been persuaded to rewrite the patch like that so it would have > >> been easy to maintain it. It would also have made it acceptable in > >> the Nagios core and would have made life easier for those broker > >> module authors that actually care about supporting Icinga and for > >> the users that use modules with it. > >> > >> That turned a bit harsh there. Sorry about that. > > > > conclusion - you won't accept such patches, > > I won't accept patches that break things when there are easier ways > to achieve what the user desires that doesn't break things. > > > i can live with the extra > > work they will cause. even with addons staying compatible with icinga > > but not supprting the address6 field. everything else still remains > > compatible and tested. but that's not the point within nagios related > > stuff. there are other nagios patches pending, still breaking the abi > > (see some of opsviews patches and those from nagios-devel) which will > > make a change happen somewhere in the future. so maybe after a while > > users demand (even those from your customers), and it will hit nagios > > too. until then, let's just ask people out there what they really > > want and how *they* would achieve that. either live with it, patch it > > or even pay for it. > > > > Yup. That's what major releases are for. I guess I'm just a bit whiny > because I'd hoped Icinga would stay "compatible with Nagios in all > possible ways" as was promised from the beginning. > > Ah well. We live and we learn. Now it's time for me to learn how much > wine I can drink on a friday night without passing out. I'm looking > forward to that particular experiment. Cheerios :) > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pb at osix.eu Fri Jun 10 15:03:38 2011 From: pb at osix.eu (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Fri, 10 Jun 2011 15:03:38 +0200 Subject: IPv6 support In-Reply-To: <4DF1FA5C.1000902@op5.se> References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> <4DF0C07E.8030805@univie.ac.at> <4DF0F29C.6000108@op5.se> <4DF10BDA.4050906@univie.ac.at> <4DF1FA5C.1000902@op5.se> Message-ID: <1307711018.2757.6.camel@endlessdream> Why not just have a /usr/local/nagios/etc/ipv6.txt and a ping.sh that look in this file for the ipv4 address and get a ipv6 andress and ping6 that address? On Fri, 2011-06-10 at 13:05 +0200, Andreas Ericsson wrote: > On 06/09/2011 08:07 PM, Michael Friedrich wrote: > > -------- Original Message -------- > > > >> If this patch had been accompanied by something to make conditional > >> macros and command_line arguments work, I'd have cheered all the way > >> though. > > > > I don't really get it what you mean - can you explain that a bit more? > > > > Sure. If there was some way to configure Nagios so that certain command > arguments were only expanded if the number of arguments to the check > matches a certain criteria, one could write checks that don't pass half > baked argument strings to the plugins, and the complexity would be > handled in one place. That would actually gain something, rather than > making "address6" an official variable, which gains nothing compared > to using a custom variable, but breaks the abi even so. > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Fri Jun 10 16:14:53 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Fri, 10 Jun 2011 16:14:53 +0200 Subject: IPv6 support In-Reply-To: <1307711018.2757.6.camel@endlessdream> References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> <4DF0C07E.8030805@univie.ac.at> <4DF0F29C.6000108@op5.se> <4DF10BDA.4050906@univie.ac.at> <4DF1FA5C.1000902@op5.se> <1307711018.2757.6.camel@endlessdream> Message-ID: <4DF226DD.3030809@univie.ac.at> -------- Original Message -------- Subject: Re: [Nagios-users] IPv6 support From: Patrik B?t To: Nagios Users List Date: 2011-06-10 15:03 > Why not just have a /usr/local/nagios/etc/ipv6.txt > > and a ping.sh that look in this file for the ipv4 address and get a ipv6 > andress and ping6 that address? sure that's one of those workarounds. i wouldn't mind dropping it when it comes to performance issues (e.g. having a long list in it being parsed) resulting in check latencies. but that#s truly another story. > > On Fri, 2011-06-10 at 13:05 +0200, Andreas Ericsson wrote: >> On 06/09/2011 08:07 PM, Michael Friedrich wrote: >>> -------- Original Message -------- >>> >>>> If this patch had been accompanied by something to make conditional >>>> macros and command_line arguments work, I'd have cheered all the way >>>> though. >>> I don't really get it what you mean - can you explain that a bit more? >>> >> Sure. If there was some way to configure Nagios so that certain command >> arguments were only expanded if the number of arguments to the check >> matches a certain criteria, one could write checks that don't pass half >> baked argument strings to the plugins, and the complexity would be >> handled in one place. That would actually gain something, rather than >> making "address6" an official variable, which gains nothing compared >> to using a custom variable, but breaks the abi even so. >> -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Fri Jun 10 16:20:59 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Fri, 10 Jun 2011 16:20:59 +0200 Subject: IPv6 support In-Reply-To: <4DF2129D.5090602@op5.se> References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> <4DF0C07E.8030805@univie.ac.at> <4DF0F29C.6000108@op5.se> <20110609193034.GB23767@torres.zugschlus.de> <4DF1F9AC.70904@op5.se> <4DF1FF66.4060600@univie.ac.at> <4DF20992.9000204@op5.se> <4DF20EBC.9080602@univie.ac.at> <4DF2129D.5090602@op5.se> Message-ID: <4DF2284B.4040205@univie.ac.at> -------- Original Message -------- Subject: Re: [Nagios-users] IPv6 support From: Andreas Ericsson To: Michael Friedrich Date: 2011-06-10 14:48 >> conclusion - you won't accept such patches, > I won't accept patches that break things when there are easier ways > to achieve what the user desires that doesn't break things. ok, point taken. good to have the counterpart in such a discussion :) > Yup. That's what major releases are for. I guess I'm just a bit whiny > because I'd hoped Icinga would stay "compatible with Nagios in all > possible ways" as was promised from the beginning. i wasn't there in the very beginning, but from my perspective it's still backward compatible while reaching out for new things. try compiling livestatus against the nagios header files it uses, but against icinga. it will work in productive environments (otherwise community feedback would have been provided - which we already had, remember those contactgroup functions you've removed upstream, and i did too). so maybe you'd just give it a git pull, configure, make all, make fullinstall and use merlin against it. i'm pretty sure it will work out. > Ah well. We live and we learn. Now it's time for me to learn how much > wine I can drink on a friday night without passing out. I'm looking > forward to that particular experiment. Cheerios :) uh. wine. have fun then :-) -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msarro at gmail.com Fri Jun 10 17:47:56 2011 From: msarro at gmail.com (Matty Sarro) Date: Fri, 10 Jun 2011 11:47:56 -0400 Subject: Service keeps disappearing from .cfg file and other questions (newbie alert!) In-Reply-To: References: <4DEF7C6E.2040107@op5.se> Message-ID: Just as a followup, it appears the server was actually being managed by a Puppet install, and that was removing my configurations. Thanks! :) On Wed, Jun 8, 2011 at 9:49 AM, Matty Sarro wrote: > Its strange, as I've literally got backup copies that I keep copying > back into the directory. I validate, make certain that the changes are > still there, reload nagios, and suddenly they're gone. I can see the > service run two or three times, and then it's suddenly gone from the > files. > > I'll modify the macros to the simpler format, thanks for the advice on > that issue. > -Matty > > On Wed, Jun 8, 2011 at 9:43 AM, Andreas Ericsson wrote: >> On 06/08/2011 03:18 PM, Matty Sarro wrote: >>> Hey everyone, >>> First, I'm new, so please be gentle :) >>> >>> I have made some recent modifications to our nagios3 files. In >>> resource.cfg I added the following macros: $db_name$, $db_user_name$, >>> and $db_user_pass$. These seem to be ok. >>> I added a service like this: >>> define service { >>> ? ? ? hostgroup_name ? ? ? ? ?mysql-servers >>> ? ? ? service_description ? ? ? ? ? ? Mysql FSRW >>> ? ? ? check_command ? ? ? ? ? check_mysql_FSRW >>> ? ? ? use ? ? ? ? ? ? ? ? ? ? ? ? ? ? generic-service >>> ? ? ? notification_interval ? ? ? ? ? 0 >>> } >>> >>> >>> And finally I added a command like this: >>> define command { >>> ? ? ? command_name ? ? ? ? ? ? ? ? ? ?check_mysql_FSRW >>> ? ? ? command_line ? ? ? ? ? ? ? ? ? ?$USER1$/check_mysql_query -q "SELECT COUNT(*) FROM >>> entry WHERE period>> AND retries=0 AND type=0" -w0:0 -c10 -H $HOSTADDRESS$ -P 3306 -d >>> $db_name$ -u $db_user_name$ -p $db_user_pass$ >>> } >>> >>> When I have nagios validate everything, it gives no errors. I then >>> restart nagios for the config to take effect, and it comes up. In the >>> event log I see some issues with the service (it appears to be trying >>> to connect to the mysql servers as user nagios, not the specified >>> user). When I then log back into the server and look at my >>> services.cfg file, and my commands.cfg file, the entries I added to >>> both of them have been removed - like they were never there. >>> >> >> Then perhaps you forgot to save, or someone undid your changes from a >> backup, or some other kind of pilot error happened. It's most certainly >> not Nagios' fault though, so you're asking in the wrong forum. >> >>> So, I guess I have a few questions. >>> >>> First, are those entries in the resource.cfg file ok? Does nagios >>> support the underscores and longer names? Its easier to understand at >>> a glance than $USER3$ $USER4$ and $USER5$. >>> >>> Second, does the command_line look ok? I'm trying to figure out why it >>> isn't using the username and password I'm passing to it. >>> >> >> Not yet, no. It will some day though. >> >>> Finally, why do the command and service keep disappearing out of my >>> config file? It's making it a pain to troubleshoot. >> >> Because someone is removing them, or you're forgetting to save them. >> Things don't just remove themselves. >> >>> Any suggestions or advice would be greatly appreciated. >> >> Ask around if anyone's altering the configuration besides you. Files >> really don't just alter themselves. Trust me on this. >> >> -- >> 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. >> > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at conundrum.com Fri Jun 10 18:28:05 2011 From: matt at conundrum.com (Matthew Pounsett) Date: Fri, 10 Jun 2011 12:28:05 -0400 Subject: IPv6 support In-Reply-To: <4DF1F9AC.70904@op5.se> References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> <4DF0C07E.8030805@univie.ac.at> <4DF0F29C.6000108@op5.se> <20110609193034.GB23767@torres.zugschlus.de> <4DF1F9AC.70904@op5.se> Message-ID: <10CCD0A0-922D-41EA-BF62-D6FD79589387@conundrum.com> On 2011/06/10, at 07:02, Andreas Ericsson wrote: > You can, but with custom variables. How many "official" addresses should > Nagios support? 3? 5? Soon we'll run into someone who wants more than > that, and then we're left with breaking the ABI again. You don't have to "break" anything if the Nagios core is designed to deal with hosts that have an arbitrarily large number of interfaces. Dual-stack environments are about to become the norm, not an edge case, and it would be wise for Nagios to be able to support that, properly detecting when a host is down based on all interfaces being unreachable. Providing that support could also support those admins with hundreds or thousands of interfaces per host if designed properly. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlin at livescribe.com Fri Jun 10 18:40:45 2011 From: jlin at livescribe.com (Julie S. Lin) Date: Fri, 10 Jun 2011 09:40:45 -0700 Subject: reloading configurations In-Reply-To: References: <4DEF7C6E.2040107@op5.se> Message-ID: <2AC15E04-BD9D-4539-9596-3301320881E6@livescribe.com> I have a cron job that does daemon-init reload every 45 min to ensure I capture all new ec2 nodes that might be spun up. */45 * * * * myscript.sh <-- this is my cron however, my nagios logs show a restart on the hour as well as on the 45 mark why? [06-10-2011 09:00:14] LOG VERSION: 2.0 Informational Message[06-10-2011 09:00:14] Local time is Fri Jun 10 09:00:14 PDT 2011 Program Start[06-10-2011 09:00:14] Nagios 3.2.1 starting... (PID=49358) Program Restart[06-10-2011 09:00:14] Caught SIGHUP, restarting... Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:45:13] LOG VERSION: 2.0 Informational Message[06-10-2011 08:45:13] Local time is Fri Jun 10 08:45:13 PDT 2011 Program Start[06-10-2011 08:45:13] Nagios 3.2.1 starting... (PID=49358) Program Restart[06-10-2011 08:45:13] Caught SIGHUP, restarting... Informational Message[06-10-2011 08:00:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:00:13] Warning: Host 'xxx' has no services associated with it! Julie S. Lin System Administrator jlin at livescribe.com (510) 553 4912 (o) (510) 367 5772 (c) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Fri Jun 10 19:48:03 2011 From: work at paul.dubuc.org (Paul M Dubuc) Date: Fri, 10 Jun 2011 13:48:03 -0400 Subject: Nagios retries checks too soon. In-Reply-To: <4DF1CD97.9070209@LINworks.de> References: <4DF0CDF2.20109@paul.dubuc.org> <4DF0E261.2070607@op5.se> <4DF10D68.5080101@paul.dubuc.org> <4DF1CD97.9070209@LINworks.de> Message-ID: <4DF258D3.6010008@paul.dubuc.org> Jochen Bern wrote: > On 06/09/2011 08:14 PM, Paul M. Dubuc wrote: >> Andreas Ericsson wrote: >>> I'm not sure. I'm also not sure which behaviour is intended. Arguably, either >>> is correct and Nagios is doing one of two right things. >> I'm not sure. If a test times out and Nagios tries again 10 seconds later >> instead of the 60 seconds specified, that could cause problems; load related >> problems when you have many of these tests running and timing out and problems >> for the system under test not having sufficient time to recover before the >> next check is done. > > True, but *if* someone has the latter kind of problem, I'd expect him to > keep it in mind while writing the configuration, too. IIRC, the actual > code adds check_interval/retry_interval to the variable that holds the > (previous) scheduled check time - i.e., the time when the previous check > supposedly was *started* (assuming negligible check latency). > Configuring a retry_interval of one minute for a service whose sustained > request rate may be *less* than one per minute sounds dubitable to me. > > (And I'm a firm nonbeliever in Unix-ish "load" figures, as opposed to > actual CPU usage etc., but that's a different rant.) > > Kind regards, > J. Bern Thanks for this explanation. It helps quite a bit. The checks we run normally take 5 - 15 seconds to complete, but we allow a much longer value for timeout. I was under the impression that the retry interval was only counted from the time the previous check completes and the status (which is needed to determine if a retry is necessary) is known. Why is the retry time determined before it's know that one is needed? It looks like checks that have longer timeouts need to have longer retry intervals to compensate for the worst case. That's not intuitive to me, but I can live with it. Paul Dubuc ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev From manikumar85 at gmail.com Fri Jun 10 21:00:28 2011 From: manikumar85 at gmail.com (Manish Kumar) Date: Sat, 11 Jun 2011 00:30:28 +0530 Subject: nagios-users, Manish Kumar has invited you to open a Gmail account Message-ID: I've been using Gmail and thought you might like to try it out. Here's an invitation to create an account. You're Invited to Gmail! Manish Kumar has invited you to open a Gmail account. Gmail is Google's free email service, built on the idea that email can be intuitive, efficient, and fun. Gmail has: *Less spam* Keep unwanted messages out of your inbox with Google's innovative technology. *Lots of space* Enough storage so that you'll never have to delete another message. *Built-in chat* Text or video chat with Manish Kumar and other friends in real time. *Mobile access* Get your email anywhere with Gmail on your mobile phone. You can even import your contacts and email from Yahoo!, Hotmail, AOL, or any other web mail or POP accounts. Once you create your account, Manish Kumar will be notified of your new Gmail address so you can stay in touch. Learn moreor get started ! Sign up Google Inc. | 1600 Ampitheatre Parkway | Mountain View, California 94043 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Fri Jun 10 20:59:54 2011 From: manikumar85 at gmail.com (Manish Kumar) Date: Sat, 11 Jun 2011 00:29:54 +0530 Subject: Is the nagios log file keeps growing over time Message-ID: Hello Frnds, I have got a concern, Will the nagios log file (nagios.log) in /usr/local/nagios/var/nagios.log will keep increasing in size or there is some auto-rotation facility. If it is there how it can be done. -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Fri Jun 10 21:05:42 2011 From: manikumar85 at gmail.com (Manish Kumar) Date: Sat, 11 Jun 2011 00:35:42 +0530 Subject: How to disable all service notifications for a specific hostgroup Message-ID: Hello frnds, I have a specific requirement to disable all services notifications from a particular hostgroup but the host notifications for that hostgroup should be enabled. How this can be achieved by doing changes in configuration files. I have tried from the front-end but it is taking time to get disabled as i have a very large infrastructure to manage and many hostgroups. -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jochen.Bern at LINworks.de Fri Jun 10 21:15:28 2011 From: Jochen.Bern at LINworks.de (Jochen Bern) Date: Fri, 10 Jun 2011 21:15:28 +0200 Subject: Nagios retries checks too soon. In-Reply-To: <4DF258D3.6010008@paul.dubuc.org> References: <4DF0CDF2.20109@paul.dubuc.org> <4DF0E261.2070607@op5.se> <4DF10D68.5080101@paul.dubuc.org> <4DF1CD97.9070209@LINworks.de> <4DF258D3.6010008@paul.dubuc.org> Message-ID: <4DF26D50.1080404@LINworks.de> On 06/10/2011 07:48 PM, Paul M Dubuc wrote: > Jochen Bern wrote: >> IIRC, the actual >> code adds check_interval/retry_interval to the variable that holds the >> (previous) scheduled check time - i.e., the time when the previous check >> supposedly was *started* (assuming negligible check latency). > > I was under the impression that the retry interval > was only counted from the time the previous check completes and the > status (which is needed to determine if a retry is necessary) is known. > Why is the retry time determined before it's know that one is needed? Hmmmmmm. It seems that I misremembered ... partially. > # egrep -n 'current_time.*(check|retry)_interval' nagios-3.2.3/base/checks.c > 276: preferred_time=current_time+((svc->check_interval<=0)?300:(svc->check_interval*interval_length)); > 1825: preferred_time=current_time+check_interval; > 1843: preferred_time=current_time+check_interval; > 2814: preferred_time=current_time+((hst->check_interval<=0)?300:(hst->check_interval*interval_length)); > 3446: next_check=(unsigned long)(current_time+(hst->check_interval*interval_length)); > 3482: next_check=(unsigned long)(current_time+(hst->check_interval*interval_length)); > 3555: next_check=(unsigned long)(current_time+(hst->retry_interval*interval_length)); > 3559: next_check=(unsigned long)(current_time+(hst->check_interval*interval_length)); > 3585: next_check=(unsigned long)(current_time+(hst->check_interval*interval_length)); > 3603: next_check=(unsigned long)(current_time+(hst->check_interval*interval_length)); > 3705: next_check=(unsigned long)(current_time+(hst->retry_interval*interval_length)); > 3709: next_check=(unsigned long)(current_time+(hst->check_interval*interval_length)); > 3879: preferred_time=current_time+check_interval; > 3893: preferred_time=current_time+check_interval; > # egrep -n 'last_check.*(check|retry)_interval' nagios-3.2.3/base/checks.c > 1304: next_service_check=(time_t)(temp_service->last_check+(temp_service->check_interval*interval_length)); > 1450: next_service_check=(time_t)(temp_service->last_check+(temp_service->check_interval*interval_length)); > 1478: next_service_check=(time_t)(temp_service->last_check+(temp_service->retry_interval*interval_length)); > 1545: next_service_check=(time_t)(temp_service->last_check+(temp_service->check_interval*interval_length)); Lemme have a closer look at the latter matches ... They cover handle_async_service_check_result(). (Since there also is a handle_async_host_check_result_3x() *elsewhere*, we clearly have different behaviour between host and service checks.) 1304 is the catchall for STATE_OK results. 1450 is the special case for SOFT non-OK services on non-UP hosts. 1478 is its counterpart for UP hosts. 1545 covers HARD non-OK services. Verification (looking at the *other* matches) ... 2814 through 3893 deal with *host* checks, 276 with *synchronous* service checks (why is there no retry_interval??), 1825 and 1843 only check viability, not results. All in all, I'd say that async service checks, and *only* those, behave the way I described. Not sure whether there may or may not be a *reason* to ... anyone? Kind regards, J. Bern -- Jochen Bern, Systemingenieur --- LINworks GmbH Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt PGP (1024D/4096g) FP = D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C27 Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202 Unternehmenssitz Weiterstadt, Gesch?ftsf?hrer Metin Dogan, Oliver Michel ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev From manikumar85 at gmail.com Fri Jun 10 21:24:34 2011 From: manikumar85 at gmail.com (Manish Kumar) Date: Sat, 11 Jun 2011 00:54:34 +0530 Subject: How to scale the performance of nagios Message-ID: Hello Friends, I have just implemented this nagios-3.2.3 solution to monitor a large client infrastructure, i have to monitor say around 200 network switches for around 20 services in each switch and some linux servers around 10 services, and many windows servers with around 6 services to monitor. I have put the configuration for all these in the various config files of nagios like switch.cfg for switches, localhost.cfg for linux servers, windows.cfg for windows servers. So infact the config files have grown very large in size. I have a single stand alone implementation of nagios server i.e single nagios server monitoring entire IT infrastructure of the client(not the distributed one). I want to know this thing that, is it very normal for the standalone implementation of nagios to monitor the size of infrastructure that i have mentioned quite efficiently without any delay in the alerts and notifications. Since i am monitoring very critical network elements any delay in the host/service failure notification will harm us. What i have observed is that nagios has become slow in sending notifications and there is delay in sending a notification on actual failure of a critical host/service. Is nagios is not very fast in doing the service checks for all these around 300 hosts and 300*15 approx. services very fastly, efficiently and reliably. It is a very worst thing that a critical network element/service has got down now and we are getting the notification for the same after a delay of say 5 minutes. How to scale the performance of my implementation of nagios(on fedora 14) so that it should be reliable. What is the difference between active checks and passive checks. will it be useful to enable passive checks for all these instead of active check to increase the performance and will it be reliable. if yes how we can enable the same. Any help will indeed be helpful to me and others in situations like me... :) -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Fri Jun 10 21:28:26 2011 From: manikumar85 at gmail.com (Manish Kumar) Date: Sat, 11 Jun 2011 00:58:26 +0530 Subject: Nagios Plugin to get windows and linux cache memory status ?? Message-ID: Hi Frnds, Is there any nagios plugin to monitor the catch memories of windows and linux machines. -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxs at webwizarddesign.com Fri Jun 10 21:30:32 2011 From: maxs at webwizarddesign.com (Max Schubert) Date: Fri, 10 Jun 2011 15:30:32 -0400 Subject: Is the nagios log file keeps growing over time In-Reply-To: References: Message-ID: On Fri, Jun 10, 2011 at 2:59 PM, Manish Kumar wrote: > > Hello Frnds, > I have got a concern, Will the nagios log file (nagios.log) in > /usr/local/nagios/var/nagios.log > will keep increasing in size or there is some auto-rotation facility. If it > is there how it can be done. http://nagios.sourceforge.net/docs/3_0/configmain.html#log_rotation_method - Max ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From terry at cnysupport.com Fri Jun 10 21:48:51 2011 From: terry at cnysupport.com (Terry Carmen) Date: Fri, 10 Jun 2011 15:48:51 -0400 Subject: How to scale the performance of nagios In-Reply-To: References: Message-ID: <20110610154851.16712ykaa5vh19wk@www.cnysupport.com> Quoting Manish Kumar : > I want to know this thing that, is it very normal for the standalone > implementation of nagios to monitor the size of infrastructure that i have > mentioned quite efficiently without any delay in the alerts and > notifications. Since i am monitoring very critical network elements any > delay in the host/service failure notification will harm us. As far as I know, the default configuration is for Nagios to wait for a "hard" state before sending out notifications. If you used the default values for check frequencies, it could easily take a few minutes before it decides to send you an alert. Terry ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Fri Jun 10 22:18:22 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 10 Jun 2011 16:18:22 -0400 Subject: added host not appearing in web interface Message-ID: Hi there -- We are running Nagios 3.1.2 with the NRPE 2.12 client on our systems. We recently installed the VirtualBox application on one of our monitored systems, and have Ubuntu 10.04 LTS 64-bit as the guest operating system. We want to monitor the disk usage, processes, mysql server, and rsyslogd daemon on the virtual machine, so the NRPE client was installed and configured to start on system boot. After that was done, the appropriate changes were made to the various config files on the Nagios server. The virtual machine and Nagios server were rebooted, in that order, after the changes were made. When going through the web interface on the Nagios server, the virtual host does not appear listed in any of the pages. I confirmed the nrpe daemon was operational on the client, and also verified that port 5666 was open, and the firewall on the client was deactivated. The nrpe daemon is run via the /etc/rc.local file using the following command syntax: /usr/local/nrpe/bin/nrpe -n -c /usr/local/nrpe/etc/nrpe.cfg -d I checked the Nagios server, and confirmed the virtual host was listed in the /etc/hosts as well as the nagios configuration files. The nslookup command, run on server and client, confirmed the presence of the virtual host in the DNS database. What would cause the client not to appear in the Nagios web interface, and how can I correct it? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pslund at gmail.com Sat Jun 11 01:47:46 2011 From: pslund at gmail.com (=?ISO-8859-1?Q?P=E4r_=C5slund?=) Date: Sat, 11 Jun 2011 01:47:46 +0200 Subject: check_memcached and hits/misses In-Reply-To: <4DE3285A.1050507@gmail.com> References: <4DE3285A.1050507@gmail.com> Message-ID: Hi, We solved this with script. But I'm a bit confused regarding what a misses threshold is suppose to tell me. Contrary to hits/misses with fixed polling intervals that is stored to compare previous run with current run. Which does catch a sudden decrease in hits/misses ratio. /p On Mon, May 30, 2011 at 7:17 AM, quanta wrote: > In my opinion, you shouldn't check the sudden increase in misses. > You should check the get_misses value and alert when it is greater than > a threshold. > > $ echo "stats" | nc -w 1 | awk '/get_misses/ { print $3 }' > > On 12/09/2010 11:55 PM, P?r ?slund wrote: >> Hi, >> >> I'm searching for a nagios check that looks at hits and misses. >> >> Been using check_memcached for checking memcached status and right now >> I will continue to do that checking that memcached is answering and >> got free memory. >> >> However, the issue with check_memcached is that it's looking at the >> hits/misses ratio since start up of the memcached-process. >> Whereas I need to know if a sudden increase in misses instead between >> polls has occured. >> >> Is anyone familiar with a such check for Nagios? >> >> Best regards, >> -p >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, > you get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh+nagios-users at zugschlus.de Sat Jun 11 09:51:38 2011 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Sat, 11 Jun 2011 09:51:38 +0200 Subject: IPv6 support In-Reply-To: <4DF1F9AC.70904@op5.se> References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> <4DF0C07E.8030805@univie.ac.at> <4DF0F29C.6000108@op5.se> <20110609193034.GB23767@torres.zugschlus.de> <4DF1F9AC.70904@op5.se> Message-ID: <20110611075138.GB22572@torres.zugschlus.de> On Fri, Jun 10, 2011 at 01:02:04PM +0200, Andreas Ericsson wrote: > > In fact, not being able to handle the "more-than-one-IP-per-host" in a > > non-complex way is one of the greatest beefs I have with Nagios (see > > web server, or a host which serves multiple services on different IP > > addresses). > > You can, but with custom variables. How many "official" addresses should > Nagios support? 3? 5? It should be an array. Arbitrary limits suck. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Sat Jun 11 12:36:08 2011 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Sat, 11 Jun 2011 20:36:08 +1000 Subject: Nagios Plugin to get windows and linux cache memory status ?? In-Reply-To: References: Message-ID: <4DF34518.7090103@edcint.co.nz> On 11/06/2011 5:28 AM, Manish Kumar wrote: > Hi Frnds, > > Is there any nagios plugin to monitor the catch memories of windows > and linux machines. > > > -- Do any of these sound like the cache you are after for Windows machines? http://msdn.microsoft.com/en-us/library/aa394080%28v=VS.85%29.aspx http://msdn.microsoft.com/en-us/library/aa394267%28v=VS.85%29.aspx -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtuecks at googlemail.com Sat Jun 11 13:32:45 2011 From: dtuecks at googlemail.com (Daniel Tuecks) Date: Sat, 11 Jun 2011 13:32:45 +0200 Subject: added host not appearing in web interface In-Reply-To: References: Message-ID: Hi Andrew, wheater the NRPE daemon is running or not has nothing to do with your host not appearing in the WebUI. In fact, it would be a little silly if a host is only shown if its reachable ;) First check that Nagios actually reads your config file (nagios.cfg: cfg_file/cfg_dir parameters). Be sure you have defined that host in your nagios config with at least one service (define host { .... }; define service { .... }). Also make sure your host/service definition has no "register 0" parameter and that your user is allowed to see the host (by a contact(group) or via "authorized_for_all_hosts" parameter in cgi.cfg). Daniel 2011/6/10 Kaplan, Andrew H. : > Hi there -- > > We are running Nagios 3.1.2 with the NRPE 2.12 client on our systems. We > recently installed the VirtualBox application > on one of our monitored systems, and have Ubuntu 10.04 LTS 64-bit as the > guest operating system. We want to monitor > the disk usage, processes, mysql server, and rsyslogd daemon on the virtual > machine, so the NRPE client was installed > and configured to start on system boot. After that was done, the appropriate > changes were made to the various config files > > on the Nagios server. The virtual machine and Nagios server were rebooted, > in that order, after the changes were made. > > When going through the web interface on the Nagios server, the virtual host > does not appear listed in any of the pages. > > I confirmed the nrpe daemon was operational on the client, and also verified > that port 5666 was open, and the firewall on the > > client was deactivated. The nrpe daemon is run via the /etc/rc.local file > using the following command syntax: > > /usr/local/nrpe/bin/nrpe -n -c /usr/local/nrpe/etc/nrpe.cfg -d > > I checked the Nagios server, and confirmed the virtual host was listed in > the /etc/hosts as well as the nagios configuration > > files. The nslookup command, run on server and client, confirmed the > presence of the virtual host in the DNS database. > > What would cause the client not to appear in the Nagios web interface, and > how can I correct it? > > Thanks. > > > The information in this e-mail is intended only for the person to whom it is > addressed. If you believe this e-mail was sent to you in error and the > e-mail > contains patient information, please contact the Partners Compliance > HelpLine at > http://www.partners.org/complianceline . If the e-mail was sent to you in > error > but does not contain patient information, please contact the sender and > properly > dispose of the e-mail. > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Sat Jun 11 13:43:18 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Sat, 11 Jun 2011 13:43:18 +0200 Subject: added host not appearing in web interface In-Reply-To: References: Message-ID: <4DF354D6.1040705@univie.ac.at> On 2011-06-10 22:18, Kaplan, Andrew H. wrote: > > Hi there -- > > We are running Nagios 3.1.2 with the NRPE 2.12 client on our systems. > We recently installed the VirtualBox application > on one of our monitored systems, and have Ubuntu 10.04 LTS 64-bit as > the guest operating system. We want to monitor > the disk usage, processes, mysql server, and rsyslogd daemon on the > virtual machine, so the NRPE client was installed > and configured to start on system boot. After that was done, the > appropriate changes were made to the various config files > > on the Nagios server. The virtual machine and Nagios server were > rebooted, in that order, after the changes were made. > > When going through the web interface on the Nagios server, the virtual > host does not appear listed in any of the pages. > > I confirmed the nrpe daemon was operational on the client, and also > verified that port 5666 was open, and the firewall on the > > client was deactivated. The nrpe daemon is run via the /etc/rc.local > file using the following command syntax: > > /usr/local/nrpe/bin/nrpe -n -c /usr/local/nrpe/etc/nrpe.cfg -d > > I checked the Nagios server, and confirmed the virtual host was listed > in the /etc/hosts as well as the nagios configuration > > files. The nslookup command, run on server and client, confirmed the > presence of the virtual host in the DNS database. > > What would cause the client not to appear in the Nagios web interface, > and how can I correct it? > check if the host has been registered into the core itsself - objects.cache and/or status.dat probably a faulty configuration is causing the configuration not being accepted. to be sure, please post any accurate configs on that host. > Thanks. > > > > > The information in this e-mail is intended only for the person to whom > it is > addressed. If you believe this e-mail was sent to you in error and the > e-mail > contains patient information, please contact the Partners Compliance > HelpLine at > http://www.partners.org/complianceline . If the e-mail was sent to you > in error > but does not contain patient information, please contact the sender > and properly > dispose of the e-mail. > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Sat Jun 11 15:41:23 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Sat, 11 Jun 2011 09:41:23 -0400 Subject: added host not appearing in web interface References: Message-ID: Hi Daniel -- Thanks for your reply. I took your advice concerning the configuration file, and I have to confess my having done a rookie mistake. There were older versions of the configuration files in the /usr/local/nagios/etc directory, and I made the modifications to those files. The problem is, the current files used by Nagios are located in the /usr/local/nagios/etc/objects folder. Once I made the changes in that location, the host appeared without issue. Thanks again for the help. ________________________________ From: Daniel Tuecks [mailto:dtuecks at googlemail.com] Sent: Sat 6/11/2011 7:32 AM To: Nagios Users List Subject: Re: [Nagios-users] added host not appearing in web interface Hi Andrew, wheater the NRPE daemon is running or not has nothing to do with your host not appearing in the WebUI. In fact, it would be a little silly if a host is only shown if its reachable ;) First check that Nagios actually reads your config file (nagios.cfg: cfg_file/cfg_dir parameters). Be sure you have defined that host in your nagios config with at least one service (define host { .... }; define service { .... }). Also make sure your host/service definition has no "register 0" parameter and that your user is allowed to see the host (by a contact(group) or via "authorized_for_all_hosts" parameter in cgi.cfg). Daniel 2011/6/10 Kaplan, Andrew H. : > Hi there -- > > We are running Nagios 3.1.2 with the NRPE 2.12 client on our systems. We > recently installed the VirtualBox application > on one of our monitored systems, and have Ubuntu 10.04 LTS 64-bit as the > guest operating system. We want to monitor > the disk usage, processes, mysql server, and rsyslogd daemon on the virtual > machine, so the NRPE client was installed > and configured to start on system boot. After that was done, the appropriate > changes were made to the various config files > > on the Nagios server. The virtual machine and Nagios server were rebooted, > in that order, after the changes were made. > > When going through the web interface on the Nagios server, the virtual host > does not appear listed in any of the pages. > > I confirmed the nrpe daemon was operational on the client, and also verified > that port 5666 was open, and the firewall on the > > client was deactivated. The nrpe daemon is run via the /etc/rc.local file > using the following command syntax: > > /usr/local/nrpe/bin/nrpe -n -c /usr/local/nrpe/etc/nrpe.cfg -d > > I checked the Nagios server, and confirmed the virtual host was listed in > the /etc/hosts as well as the nagios configuration > > files. The nslookup command, run on server and client, confirmed the > presence of the virtual host in the DNS database. > > What would cause the client not to appear in the Nagios web interface, and > how can I correct it? > > Thanks. > > > The information in this e-mail is intended only for the person to whom it is > addressed. If you believe this e-mail was sent to you in error and the > e-mail > contains patient information, please contact the Partners Compliance > HelpLine at > http://www.partners.org/complianceline . If the e-mail was sent to you in > error > but does not contain patient information, please contact the sender and > properly > dispose of the e-mail. > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 7065 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From theflyingcorpse at gmail.com Sat Jun 11 16:34:30 2011 From: theflyingcorpse at gmail.com (Rune "TheFlyingCorpse" Darrud) Date: Sat, 11 Jun 2011 16:34:30 +0200 Subject: RFC/RFP Service sets References: <4DD269A5.5070804@op5.se> Message-ID: On Thu, 09 Jun 2011 22:10:19 +0200, Rune "TheFlyingCorpse" Darrud wrote: > On Tue, 17 May 2011 14:27:17 +0200, Andreas Ericsson wrote: > >> Ahoy (again). >> >> One of the ideas that surfaced on the Nagios developer meeting in >> Bolzano was a concept dubbed "service sets". Consider them basically >> "partial host service profiles" and you'll have roughly the right >> idea. >> >> The benefits of adding service sets is that users can share config >> settings for various types of hosts rather than some particular check, >> and also that the question "does Nagios support monitoring X?" is >> quite easily answerable on a higher level than "no, but you can add >> checks for this and that, and this too, so it sort of does anyway", >> which tends to leave people who have no idea of how Nagios works >> quite baffled. >> >> There are two implementation suggestions so far, perhaps best explained >> in sample configuration: >> >> --%<--%<--%<--%<--%<-- >> # compound-in-compound style (aka, "extended template style"): >> define service_set { >> name windows-services >> use windows-service-template >> contact_groups windows-admins >> parents NSClient >> >> define service { >> description NSClient ; parent of all the others >> ... >> } >> define service { >> description Disk usage C >> check_command check_nsclient!C!80!90 >> .... >> } >> } >> >> define service_set { >> use database-service-template >> name psql-services >> contact_groups db-admins >> parents PSQL Listener >> >> define service { >> description PSQL Listener; parent of the other ones >> .... >> } >> define service { >> description Cache hit ratio >> ... >> } >> define service { >> description Slow queries >> ... >> } >> } >> >> define host { >> host_name win-psql1 >> service_sets windows-services,psql-services >> } >> --%<--%<--%<--%<--%<-- >> Pros: >> * Less typing. >> * Config is more normalized with less redundant information. >> * Service sets can also double as templates for the services >> they contain. >> * A service-set is obviously safe-contained and quite easy to >> share under whatever name the recipient wishes to set for it. >> * Rules can be set so that the 'parents' directive inside a >> service_set has to refer to a service inside the service_set, >> for which the parents directive is then ignored. >> * The service set object will always be created when we're adding >> services to it, so we needn't stash them separately for adding >> later (ie, much easier to parse). >> >> Cons: >> * The config style used means current config parsers have to be >> modified to grok multi-level compounds in order to understand >> service-sets. > > I highly suggest that this concept gets tried out. Nesting WILL be usable > elsewhere too and this makes it very readable (like a version of JSON) > YES > there might be some people complaining but it is in my eyes needed to > advance and take nagios into the next decade. > > How are you thinking in terms of expanding this ? > I've started to make a mind map of how it could work. > > I think it would be really cool if we could use service-set as a > combination of a group and a template, by this I mean that you can set > "any" attribute in the service-set that the subservice inherits, unless > the service is populated with extra data, using : to not fill in a > parent, > but rather force a non-inheritance without any values inserted in its > place, would also be usefull where you dont want it to inherit, without > anything better to put there, like a parent of status on the RDP port, > when you use the NSClient for other checks to the host. > > > define service_set { > name windows-services > use windows-service-template > contact_groups windows-admins > parents NSClient > check_period 16x7 > max_check_attempts 5 > define service { > description NSClient ; parent of all the others > check_period 24x7 ; This attribute replaces inheritance of the group > check_period of 24x7, so its easier to mass update a group and give for > just one across a set/group. > max_check_attempts 2 ; This > ... > } > define service { > description Disk usage C > check_command check_nsclient!C!80!90 > ... > } > > define service { > description World Wide Web Service > check_command check_nsclient!CheckServiceState!World Wide Web Service > ... > } > > define service { > description HTTP Company Site > check_command check_http!-u http://company-site-in-NLB.se > parents World Wide Web Service ; This replaces inheritance, to a > difference service (which is a child of the one(s) set by the > service-set. > ... > } > > define service { > description RDP > check_command check_tcp!3389 > :parents ; Dont inherit from parent, because this doesnt depend on > NSClient. > ... > } > } > Looking at the code, there are possibly a few ways to Rome to achieve this: A) - Copy the existing hostgroup way of giving out sets of services to hosts. - Add the new attributes which can then be inherited. -++ B) - Write a new function to allocate services to hosts. -- 1) Assigning each service to its host after expanding service sets. -- 2) Assign the service set directly to host, less complex startup, but requires expansion afterwards, which can break compatability with a lot of NEB modules. C) - Write a new function to allocate services to hosts, create a new service definition used internally in service sets, for easier and less complex changes. Downside is codebase will grow much more than B) -- 1) Assigning each service to its host after expanding service sets. -- 2) Assign the service set directly to host, less complex startup, but requires expansion afterwards, which can break compatability with a lot of NEB modules. There should also be some discussions around what linking between service sets are allowed/permitted, for different reasons of coding complexity. - Do one only allow services to be defined in a set, inside the sets brackets, and not from outside it? Example define serviceset{ name serviceset-uberset use serviceset-template parents MySQL define service{ description MySQL } define service{ description MySQL Query Cache Hitrate ..... } define service{ description MySQL Connection Time ..... } } OR should the code also allow: define serviceset{ name serviceset-uberset use serviceset-template parents MySQL define service{ description MySQL } define service{ description MySQL Query Cache Hitrate ..... } define service{ description MySQL Connection Time ..... } } define service{ description MySQL Index Usage servicesets serviceset-uberset ... } The deciding factor between these 2 options will help to say how the code should be implemented. I've written up some changes in the core that reads a sample serviceset(without sub-services, working on that atm) What about service-set overlapping of service definitions? Spit out a warning where duplicate found? What about a service set containing a parent, not defined inside the service set, but in a different one, thats also applied to the host? (If its not applied to the host, config error, should be inheritable!) Input welcome! Regards, Rune "TheFlyingCorpse" Darrud ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev From ae at op5.se Mon Jun 13 10:56:30 2011 From: ae at op5.se (Andreas Ericsson) Date: Mon, 13 Jun 2011 10:56:30 +0200 Subject: How to scale the performance of nagios In-Reply-To: References: Message-ID: <4DF5D0BE.7080402@op5.se> On 06/10/2011 09:24 PM, Manish Kumar wrote: > Hello Friends, > > > I have just implemented this nagios-3.2.3 solution to monitor a large client > infrastructure, i have to monitor say around 200 network switches for around > 20 services in each switch and some linux servers around 10 services, and > many windows servers with around 6 services to monitor. I have put the > configuration for all these in the various config files of nagios like > switch.cfg for switches, localhost.cfg for linux servers, windows.cfg for > windows servers. So infact the config files have grown very large in size. > > I have a single stand alone implementation of nagios server i.e single > nagios server monitoring entire IT infrastructure of the client(not the > distributed one). > > I want to know this thing that, is it very normal for the standalone > implementation of nagios to monitor the size of infrastructure that i have > mentioned quite efficiently without any delay in the alerts and > notifications. Since i am monitoring very critical network elements any > delay in the host/service failure notification will harm us. > What i have observed is that nagios has become slow in sending notifications > and there is delay in sending a notification on actual failure of a critical > host/service. Is nagios is not very fast in doing the service checks for all > these around 300 hosts and 300*15 approx. services very fastly, efficiently > and reliably. It is a very worst thing that a critical network > element/service has got down now and we are getting the notification for the > same after a delay of say 5 minutes. > > > How to scale the performance of my implementation of nagios(on fedora 14) so > that it should be reliable. What is the difference between active checks and > passive checks. will it be useful to enable passive checks for all these > instead of active check to increase the performance and will it be reliable. > if yes how we can enable the same. > > Any help will indeed be helpful to me and others in situations like me... > :) > First off; 300 hosts is not very large in terms of networks, but if you try to run Nagios on hardware from 1992 you'll definitely have serious issues managing even that. As for your other questions, I'd say you have a lot of reading to do. Start out with the official nagios documentation and keep looking for answers to all new questions that crop up. When you have a few very specific questions that you can no longer find the answers for in the docs, come back here and ask those specific questions again. -- 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. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jun 13 10:51:40 2011 From: ae at op5.se (Andreas Ericsson) Date: Mon, 13 Jun 2011 10:51:40 +0200 Subject: reloading configurations In-Reply-To: <2AC15E04-BD9D-4539-9596-3301320881E6@livescribe.com> References: <4DEF7C6E.2040107@op5.se> <2AC15E04-BD9D-4539-9596-3301320881E6@livescribe.com> Message-ID: <4DF5CF9C.9030807@op5.se> Please don't hijack other's email threads when asking an unrelated question. On 06/10/2011 06:40 PM, Julie S. Lin wrote: > I have a cron job that does daemon-init reload every 45 min > to ensure I capture all new ec2 nodes that might be spun up. > > */45 * * * * myscript.sh <-- this is my cron > > however, my nagios logs show a restart on the hour as well as on the 45 mark > why? > Almost certainly because some other cronjob is restarting it every hour. -- 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. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Mon Jun 13 11:08:46 2011 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 13 Jun 2011 09:08:46 +0000 Subject: How to disable all service notifications for a specific hostgroup In-Reply-To: References: Message-ID: <4DF5D39E.6080006@flatto.net> Manish Kumar wrote: > Hello frnds, > > I have a specific requirement to disable all services notifications > from a particular hostgroup but the host notifications for that > hostgroup should be enabled. How this can be achieved by doing changes > in configuration files. I have tried from the front-end but it is > taking time to get disabled as i have a very large infrastructure to > manage and many hostgroups. > > -- > Thanks > Manish Kumar > http://in.linkedin.com/in/manishkumar85 When viewing the hostgroups you'll see two names , the alias and the actual name you gave the hostgroup , if you choose the actual name you'll get a list of commands for the group , in there you will have a command to disable notifications for all services , when you select hat you will have a check box to do the same for the hosts , if you make sure that it is unchecked , you will disable notifications for the services but not for the hosts . Assaf ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jun 13 11:16:23 2011 From: ae at op5.se (Andreas Ericsson) Date: Mon, 13 Jun 2011 11:16:23 +0200 Subject: IPv6 support In-Reply-To: <20110611075138.GB22572@torres.zugschlus.de> References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> <4DF0C07E.8030805@univie.ac.at> <4DF0F29C.6000108@op5.se> <20110609193034.GB23767@torres.zugschlus.de> <4DF1F9AC.70904@op5.se> <20110611075138.GB22572@torres.zugschlus.de> Message-ID: <4DF5D567.3040202@op5.se> On 06/11/2011 09:51 AM, Marc Haber wrote: > On Fri, Jun 10, 2011 at 01:02:04PM +0200, Andreas Ericsson wrote: >>> In fact, not being able to handle the "more-than-one-IP-per-host" in a >>> non-complex way is one of the greatest beefs I have with Nagios (see >>> web server, or a host which serves multiple services on different IP >>> addresses). >> >> You can, but with custom variables. How many "official" addresses should >> Nagios support? 3? 5? > > It should be an array. Arbitrary limits suck. > Now you're diving into implementation details. Arrays can be static sized just like any other data-type. I think what you mean is that it should be a "dynamically sized list which could be implemented however those who actually write the code see fit". And it's already dynamically sized. You can have as many custom vars as you like in Nagios today. -- 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. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pb at osix.eu Mon Jun 13 09:18:58 2011 From: pb at osix.eu (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Mon, 13 Jun 2011 09:18:58 +0200 Subject: IPv6 support In-Reply-To: <1307711018.2757.6.camel@endlessdream> References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> <4DF0C07E.8030805@univie.ac.at> <4DF0F29C.6000108@op5.se> <4DF10BDA.4050906@univie.ac.at> <4DF1FA5C.1000902@op5.se> <1307711018.2757.6.camel@endlessdream> Message-ID: <1307949538.2733.2.camel@endlessdream> Or why not use DNS. or /etc/hosts Then its up 2 the plugin setup i guess. On Fri, 2011-06-10 at 15:03 +0200, Patrik B?t wrote: > Why not just have a /usr/local/nagios/etc/ipv6.txt > > and a ping.sh that look in this file for the ipv4 address and get a ipv6 > andress and ping6 that address? > > > On Fri, 2011-06-10 at 13:05 +0200, Andreas Ericsson wrote: > > On 06/09/2011 08:07 PM, Michael Friedrich wrote: > > > -------- Original Message -------- > > > > > >> If this patch had been accompanied by something to make conditional > > >> macros and command_line arguments work, I'd have cheered all the way > > >> though. > > > > > > I don't really get it what you mean - can you explain that a bit more? > > > > > > > Sure. If there was some way to configure Nagios so that certain command > > arguments were only expanded if the number of arguments to the check > > matches a certain criteria, one could write checks that don't pass half > > baked argument strings to the plugins, and the complexity would be > > handled in one place. That would actually gain something, rather than > > making "address6" an official variable, which gains nothing compared > > to using a custom variable, but breaks the abi even so. > > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Mon Jun 13 20:11:00 2011 From: manikumar85 at gmail.com (Manish Kumar) Date: Mon, 13 Jun 2011 23:41:00 +0530 Subject: How to monitor windows service using nagios Message-ID: Hi, I get process not running for every process i try to monitor on windows using check_nt why ? -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Craig.Stewart at corp.xplornet.com Mon Jun 13 20:37:40 2011 From: Craig.Stewart at corp.xplornet.com (Craig Stewart) Date: Mon, 13 Jun 2011 15:37:40 -0300 Subject: Clarification of perfdata configuration Message-ID: <4DF658F4.3000405@corp.xplornet.com> Good day all! It's me again. Before I get too detailed, I'd just like a sanity check on what is supposed to happen. Let's say we have a nagios.cfg series of entries like this: host_perfdata_file=/tmp/host.perfdata host_perfdata_template=$HOSTNAME$\t$HOSTSTATEID$\t$HOSTOUTPUT$\t$HOSTOUTPUT$ service_perfdata_file=/tmp/service.perfdata service_perfdata_template=$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t'$SERVICEOUTPUT$' host_perfdata_file_mode=a service_perfdata_file_mode=a If I understand this correctly, the Nagios process opens the two files and starts appending the information in the format supplied above, correct? I've checked, and Nagios is opening the files. [root at g-caon-spdtst-tor01 tmp]# lsof | grep perfdata nagios 6941 nagios 6w REG 8,3 0 1983833 /tmp/host.perfdata nagios 6941 nagios 7w REG 8,3 0 1983834 /tmp/service.perfdata [root at g-caon-spdtst-tor01 tmp]# ps awx | grep nagios 6941 ? Ssl 0:12 /usr/sbin/nagios -d /etc/nagios/nagios.cfg [root at g-caon-spdtst-tor01 tmp]# ls -l *.perfdata -rw-rw-r-- 1 nagios nagios 0 2011-06-13 18:01 host.perfdata -rw-rw-r-- 1 nagios nagios 0 2011-06-13 18:01 service.perfdata [root at g-caon-spdtst-tor01 tmp]# If I understand all of the above, this file should be collecting the information dumped to it, and getting larger and larger and larger.... As it stands, nothing is going into the files. Thoughts? I'm sure it's something simple and I'm overlooking it. System specs: Nagios Core 3.2.0 Copyright (c) 2009 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 08-12-2009 License: GPL [root at g-caon-spdtst-tor01 tmp]# uname -a Linux g-caon-spdtst-tor01 2.6.27.29-170.2.79.fc10.x86_64 #1 SMP Fri Aug 14 20:49:37 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux Cheers! Craig -- Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Mon Jun 13 20:34:06 2011 From: jpratt at norwich.edu (James Pratt) Date: Mon, 13 Jun 2011 14:34:06 -0400 Subject: How to monitor windows service using nagios In-Reply-To: References: Message-ID: <369C2BA4DE2C8F4A88BC422AD06C96BD45F21B@nuexchange.norwich.edu> Hi, starting simple here - have you setup and configured the NSClient on the windows box you are querying? >From - http://nagiosplugins.org/man/check_nt This plugin collects data from the NSClient service running on a Windows NT/2000/XP/2003 server. From: Manish Kumar [mailto:manikumar85 at gmail.com] Sent: Monday, June 13, 2011 2:11 PM To: nagios-users Subject: [Nagios-users] How to monitor windows service using nagios Hi, I get process not running for every process i try to monitor on windows using check_nt why ? -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From krishna.pothuri at nokia.com Mon Jun 13 21:30:26 2011 From: krishna.pothuri at nokia.com (krishna.pothuri at nokia.com) Date: Mon, 13 Jun 2011 19:30:26 +0000 Subject: Issue with check_http from intranet Message-ID: <99B64601068DFF46BF87E2E03781D6E6066B24@008-AM1MPN1-007.mgdnok.nokia.com> Hi, I am not able to use check_http from intranet. If I do ./check_http H google.com It is giving socket timeout ./check_http -H nokia.com It is working fine. Please help -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Mon Jun 13 23:25:25 2011 From: subscription at kkeane.com (Kevin Keane) Date: Mon, 13 Jun 2011 14:25:25 -0700 Subject: IPv6 support In-Reply-To: <1307949538.2733.2.camel@endlessdream> References: <1307600111.2765.0.camel@endlessdream> <4DF09695.2080104@op5.se> <4DF0C07E.8030805@univie.ac.at> <4DF0F29C.6000108@op5.se> <4DF10BDA.4050906@univie.ac.at> <4DF1FA5C.1000902@op5.se> <1307711018.2757.6.camel@endlessdream> <1307949538.2733.2.camel@endlessdream> Message-ID: With DNS, you generally only test one of the several IP address - EITHER IPv4 OR IPv6. Worse, if you have multiple IPv4 or multiple IPv6 addresses in a round-robin, then you may not even have control over *which* IP you use; it depends on which one the DNS server happens to hand you. Somebody who cares about every single IP address generally is monitoring at a very low level where DNS gets in the way instead of being helpful. Kevin Keane The NetTech http://www.4nettech.com -----Original Message----- From: Patrik B?t [mailto:pb at osix.eu] Sent: Monday, June 13, 2011 12:19 AM To: Nagios Users List Subject: Re: [Nagios-users] IPv6 support Or why not use DNS. or /etc/hosts Then its up 2 the plugin setup i guess. On Fri, 2011-06-10 at 15:03 +0200, Patrik B?t wrote: > Why not just have a /usr/local/nagios/etc/ipv6.txt > > and a ping.sh that look in this file for the ipv4 address and get a > ipv6 andress and ping6 that address? > > > On Fri, 2011-06-10 at 13:05 +0200, Andreas Ericsson wrote: > > On 06/09/2011 08:07 PM, Michael Friedrich wrote: > > > -------- Original Message -------- > > > > > >> If this patch had been accompanied by something to make > > >> conditional macros and command_line arguments work, I'd have > > >> cheered all the way though. > > > > > > I don't really get it what you mean - can you explain that a bit more? > > > > > > > Sure. If there was some way to configure Nagios so that certain > > command arguments were only expanded if the number of arguments to > > the check matches a certain criteria, one could write checks that > > don't pass half baked argument strings to the plugins, and the > > complexity would be handled in one place. That would actually gain > > something, rather than making "address6" an official variable, which > > gains nothing compared to using a custom variable, but breaks the abi even so. > > > > ---------------------------------------------------------------------- > -------- EditLive Enterprise is the world's most technically advanced > content authoring tool. Experience the power of Track Changes, Inline > Image Editing and ensure content is compliant with Accessibility > Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Tue Jun 14 02:29:50 2011 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Tue, 14 Jun 2011 10:29:50 +1000 Subject: How to monitor windows service using nagios In-Reply-To: <369C2BA4DE2C8F4A88BC422AD06C96BD45F21B@nuexchange.norwich.edu> References: <369C2BA4DE2C8F4A88BC422AD06C96BD45F21B@nuexchange.norwich.edu> Message-ID: <4DF6AB7E.1060407@edcint.co.nz> On 14/06/2011 4:34 AM, James Pratt wrote: > > Hi, starting simple here - have you setup and configured the NSClient > on the windows box you are querying? > > From - > > http://nagiosplugins.org/man/check_nt > > This plugin collects data from the NSClient service running on a > > Windows NT/2000/XP/2003 server. > > If you use check_wmi_plus you don't even need to bother with any Windows setup. It just works directly from the Nagios box http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-WMI-Plus/details -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From member at linkedin.com Tue Jun 14 02:39:12 2011 From: member at linkedin.com (Pete Berghold via LinkedIn) Date: Tue, 14 Jun 2011 00:39:12 +0000 (UTC) Subject: Invitation to connect on LinkedIn Message-ID: <478268645.8368439.1308011952590.JavaMail.app@ela4-bed39.prod> LinkedIn ------------ Pete Berghold requested to add you as a connection on LinkedIn: ------------------------------------------ Lei, I'd like to add you to my professional network on LinkedIn. - Pete Accept invitation from Pete Berghold http://www.linkedin.com/e/y49s6u-gow4jlxm-6w/Vg1FBpStI6_M-eFLExlo-pjnfalPIPkLyx3rkqjZdRi1FOrPNoT/blk/I1424194618_3/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYPnPwNdzgVcjgOd359bRtylltqsCdQbPgScP4Vdj8MczcLrCBxbOYWrSlI/EML_comm_afe/ View invitation from Pete Berghold http://www.linkedin.com/e/y49s6u-gow4jlxm-6w/Vg1FBpStI6_M-eFLExlo-pjnfalPIPkLyx3rkqjZdRi1FOrPNoT/blk/I1424194618_3/3dve34Sd3ANd38QckALqnpPbOYWrSlI/svi/ -- (c) 2011, LinkedIn Corporation -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Tue Jun 14 03:22:44 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Tue, 14 Jun 2011 09:22:44 +0800 Subject: Clarification of perfdata configuration In-Reply-To: <4DF658F4.3000405@corp.xplornet.com> References: <4DF658F4.3000405@corp.xplornet.com> Message-ID: are you sure your checks will return performance data along with check outputs? BR On Tue, Jun 14, 2011 at 2:37 AM, Craig Stewart wrote: > Good day all! > > It's me again. ?Before I get too detailed, I'd just like a sanity check > on what is supposed to happen. ?Let's say we have a nagios.cfg series of > entries like this: > > > host_perfdata_file=/tmp/host.perfdata > host_perfdata_template=$HOSTNAME$\t$HOSTSTATEID$\t$HOSTOUTPUT$\t$HOSTOUTPUT$ > service_perfdata_file=/tmp/service.perfdata > service_perfdata_template=$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t'$SERVICEOUTPUT$' > host_perfdata_file_mode=a > service_perfdata_file_mode=a > > If I understand this correctly, the Nagios process opens the two files > and starts appending the information in the format supplied above, correct? > > I've checked, and Nagios is opening the files. > > [root at g-caon-spdtst-tor01 tmp]# lsof | grep perfdata > nagios 6941 nagios 6w REG 8,3 0 1983833 /tmp/host.perfdata > nagios 6941 nagios 7w REG 8,3 0 1983834 /tmp/service.perfdata > [root at g-caon-spdtst-tor01 tmp]# ps awx | grep nagios > ?6941 ? ? ? ? ?Ssl ? ?0:12 /usr/sbin/nagios -d /etc/nagios/nagios.cfg > [root at g-caon-spdtst-tor01 tmp]# ls -l *.perfdata > -rw-rw-r-- 1 nagios nagios 0 2011-06-13 18:01 host.perfdata > -rw-rw-r-- 1 nagios nagios 0 2011-06-13 18:01 service.perfdata > [root at g-caon-spdtst-tor01 tmp]# > > If I understand all of the above, this file should be collecting the > information dumped to it, and getting larger and larger and larger.... > > As it stands, nothing is going into the files. > > Thoughts? ?I'm sure it's something simple and I'm overlooking it. > > System specs: > Nagios Core 3.2.0 > Copyright (c) 2009 Nagios Core Development Team and Community Contributors > Copyright (c) 1999-2009 Ethan Galstad > Last Modified: 08-12-2009 > License: GPL > [root at g-caon-spdtst-tor01 tmp]# uname -a > Linux g-caon-spdtst-tor01 2.6.27.29-170.2.79.fc10.x86_64 #1 SMP Fri Aug > 14 20:49:37 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux > > Cheers! > > Craig > > -- > Craig Stewart > Systems Integration Analyst > Craig.Stewart at corp.xplornet.com > Xplornet - Broadband, Everywhere > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Kristan.Webb at bbc.co.uk Tue Jun 14 09:10:39 2011 From: Kristan.Webb at bbc.co.uk (Kristan Webb) Date: Tue, 14 Jun 2011 08:10:39 +0100 Subject: Issue with check_http from intranet References: <99B64601068DFF46BF87E2E03781D6E6066B24@008-AM1MPN1-007.mgdnok.nokia.com> Message-ID: <469133DFA60D7C4DB131A09BCB270A5605539D22@bbcxue501.national.core.bbc.co.uk> do you use proxy servers to get to the outside world? check IE settings. Kris -----Original Message----- From: krishna.pothuri at nokia.com [mailto:krishna.pothuri at nokia.com] Sent: Mon 13/06/2011 20:30 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Issue with check_http from intranet Hi, I am not able to use check_http from intranet. If I do ./check_http H google.com It is giving socket timeout ./check_http -H nokia.com It is working fine. Please help 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. -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3172 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at medin.name Tue Jun 14 10:38:46 2011 From: michael at medin.name (Michael Medin) Date: Tue, 14 Jun 2011 10:38:46 +0200 Subject: How to monitor specific windows services using nsclient++ In-Reply-To: <5d3915efa76e63e9b8f90cf99afc6a6e.squirrel@webmail.stinkweasel.net> References: <6d88eedad0b167fa9d6a87ae55508cc2.squirrel@webmail.stinkweasel.net> <5d3915efa76e63e9b8f90cf99afc6a6e.squirrel@webmail.stinkweasel.net> Message-ID: <4DF71E16.1000703@medin.name> Hello, Just a quick clarification it is not just you who prefer check_nrpe it it is infact the "prefered" way to interact with NSClient++. check_nt is mainly for legacy support only. Most of the "newer" features will not be available via check_nt. // Michael Medin 2011-06-08 20:43 C. Bensend skrev: >> Thanks Benny,..but still i couldn't understand is check_nrpe is used for >> monitoring windows servers because what i know it's for monitoring remote >> linux servers only.. If yes do i need to install check_nrpe on my Nagios >> Server.. >> >> Also i am already monitoring these basic things but i want to monitor >> specific services for e.g say mssql running or down..Similarly other >> important windows services... > NSClient++ listens for NRPE requests as well, on TCP port 5666. Hence, > if you have NSClient++ installed on your Windows systems, you can use > check_nrpe to talk to them. And yes, then you'd need to install the > check_nrpe tool on your Nagios server. > > I prefer using check_nrpe, I only use check_nt for a very small number > of services. > > The command definition I gave you will check a service on a remote > Windows server to see if it's running or not. So, open up your > Windows services snap-in, and you can check any of the services > listed the same way. > > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rosenski at wave-computer.de Tue Jun 14 11:17:43 2011 From: rosenski at wave-computer.de (Axel Rosenski) Date: Tue, 14 Jun 2011 11:17:43 +0200 Subject: Issue with check_http from intranet In-Reply-To: <99B64601068DFF46BF87E2E03781D6E6066B24@008-AM1MPN1-007.mgdnok.nokia.com> References: <99B64601068DFF46BF87E2E03781D6E6066B24@008-AM1MPN1-007.mgdnok.nokia.com> Message-ID: <201106141117.43646.rosenski@wave-computer.de> Is nokia.com an external IP from your net or is it resolved to a local adress? Regards, Axel Am Montag, 13. Jun. 11, 21:30:26 schrieb krishna.pothuri at nokia.com: > Hi, > I am not able to use check_http from intranet. > > If I do > > ./check_http H google.com > > It is giving socket timeout > > ./check_http -H nokia.com > > It is working fine. > > Please help -- Axel Rosenski - Administration - ______________________________ Wave Computersysteme GmbH Philipp-Reis-Str. 1-3 / 9 35440 Linden Gesch?ftsf?hrer: Carsten Kellmann Registergericht Gie?en HRB 1823 Tel.: +49 (0)6403 / 9050 8317 Fax: +49 (0)6403 / 9050 5089 mailto:rosenski at wave-computer.de http://www.wave-computer.de ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Craig.Stewart at corp.xplornet.com Tue Jun 14 13:46:50 2011 From: Craig.Stewart at corp.xplornet.com (Craig Stewart) Date: Tue, 14 Jun 2011 08:46:50 -0300 Subject: Clarification of perfdata configuration In-Reply-To: References: <4DF658F4.3000405@corp.xplornet.com> Message-ID: <4DF74A2A.5090105@corp.xplornet.com> Actually, now that you ask, no I'm not. Some of my plugins (pre-built) seem to be, but the custom scripts aren't. That's my bad, and I'll fix it ASAP. I would think, however, that the plugins that are returning performance data would populate the files. I'm attaching two screen captures to illustrate. And before anyone points out the insane check latency, that's what I'm fighting! Craig Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Tel: (506) 328-1245 Cell: (506) 425-0111 Xplornet - Broadband, Everywhere On 06/13/2011 10:22 PM, Yueh-Hung Liu wrote: > are you sure your checks will return performance data along with check > outputs? > > BR > > > On Tue, Jun 14, 2011 at 2:37 AM, Craig Stewart > wrote: >> Good day all! >> >> It's me again. Before I get too detailed, I'd just like a sanity check >> on what is supposed to happen. Let's say we have a nagios.cfg series of >> entries like this: >> >> >> host_perfdata_file=/tmp/host.perfdata >> > host_perfdata_template=$HOSTNAME$\t$HOSTSTATEID$\t$HOSTOUTPUT$\t$HOSTOUTPUT$ >> service_perfdata_file=/tmp/service.perfdata >> > service_perfdata_template=$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t'$SERVICEOUTPUT$' >> host_perfdata_file_mode=a >> service_perfdata_file_mode=a >> >> If I understand this correctly, the Nagios process opens the two files >> and starts appending the information in the format supplied above, > correct? >> >> I've checked, and Nagios is opening the files. >> >> [root at g-caon-spdtst-tor01 tmp]# lsof | grep perfdata >> nagios 6941 nagios 6w REG 8,3 0 1983833 /tmp/host.perfdata >> nagios 6941 nagios 7w REG 8,3 0 1983834 /tmp/service.perfdata >> [root at g-caon-spdtst-tor01 tmp]# ps awx | grep nagios >> 6941 ? Ssl 0:12 /usr/sbin/nagios -d /etc/nagios/nagios.cfg >> [root at g-caon-spdtst-tor01 tmp]# ls -l *.perfdata >> -rw-rw-r-- 1 nagios nagios 0 2011-06-13 18:01 host.perfdata >> -rw-rw-r-- 1 nagios nagios 0 2011-06-13 18:01 service.perfdata >> [root at g-caon-spdtst-tor01 tmp]# >> >> If I understand all of the above, this file should be collecting the >> information dumped to it, and getting larger and larger and larger.... >> >> As it stands, nothing is going into the files. >> >> Thoughts? I'm sure it's something simple and I'm overlooking it. >> >> System specs: >> Nagios Core 3.2.0 >> Copyright (c) 2009 Nagios Core Development Team and Community Contributors >> Copyright (c) 1999-2009 Ethan Galstad >> Last Modified: 08-12-2009 >> License: GPL >> [root at g-caon-spdtst-tor01 tmp]# uname -a >> Linux g-caon-spdtst-tor01 2.6.27.29-170.2.79.fc10.x86_64 #1 SMP Fri Aug >> 14 20:49:37 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux >> >> Cheers! >> >> Craig >> >> -- >> Craig Stewart >> Systems Integration Analyst >> Craig.Stewart at corp.xplornet.com >> Xplornet - Broadband, Everywhere >> >> > ------------------------------------------------------------------------------ >> EditLive Enterprise is the world's most technically advanced content >> authoring tool. Experience the power of Track Changes, Inline Image >> Editing and ensure content is compliant with Accessibility Checking. >> http://p.sf.net/sfu/ephox-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- > This message has been scanned by MailScanner > -------------- next part -------------- A non-text attachment was scrubbed... Name: Without_Perf_Data.jpg Type: image/jpeg Size: 20758 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: With_Perf_Data.jpg Type: image/jpeg Size: 25684 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue Jun 14 16:16:56 2011 From: m.borsani at it.net (Marco Borsani) Date: Tue, 14 Jun 2011 16:16:56 +0200 Subject: force event_handler Message-ID: <00b201cc2a9d$baba8600$302f9200$@it.net> Hi all I need to execute a command every time an host state or a service state change (to use send_nsca). I supposed was a normal behaviour, but something is going wrong. Right now, the command configured in "event_handler" run only when the state changes from OK to CRITICAL . never from CRITICAL to OK Any idea ? Thanks Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Craig.Stewart at corp.xplornet.com Tue Jun 14 16:58:50 2011 From: Craig.Stewart at corp.xplornet.com (Craig Stewart) Date: Tue, 14 Jun 2011 11:58:50 -0300 Subject: force event_handler In-Reply-To: <00b201cc2a9d$baba8600$302f9200$@it.net> References: <00b201cc2a9d$baba8600$302f9200$@it.net> Message-ID: <4DF7772A.5070809@corp.xplornet.com> Marco, I think what you want is the OCSP or OSHP command (Obsessive Compulsive Service/Host Processor) I think event handlers are more for taking corrective action. The example I saw was to log into a web server and restart the apache service when the check_web service went critical. I'm using the OHCP command that uses send_nsca for every little thing, regardless of state. That's the nature of the beast. Now, I'm sure you can tailor the command to only send what you want. I might be out in left field though. Hope it helps. Cheers! Craig Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere On 06/14/2011 11:16 AM, Marco Borsani wrote: > Hi all > > > > I need to execute a command every time an host state or a service state > change (to use send_nsca). > > I supposed was a normal behaviour, but something is going wrong? > > Right now, the command configured in ?event_handler? run only when the > state changes from OK to CRITICAL ? never from CRITICAL to OK > > > > Any idea ? > > Thanks > > Marco > > > > > -- > This message has been scanned for viruses and > dangerous content by *MailScanner* , and is > believed to be clean. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue Jun 14 17:06:14 2011 From: m.borsani at it.net (Marco Borsani) Date: Tue, 14 Jun 2011 17:06:14 +0200 Subject: R: force event_handler In-Reply-To: <4DF7772A.5070809@corp.xplornet.com> References: <00b201cc2a9d$baba8600$302f9200$@it.net> <4DF7772A.5070809@corp.xplornet.com> Message-ID: <00db01cc2aa4$9daf3450$d90d9cf0$@it.net> Thanks. I already set OCHP and OCSP , using same command configured in event_handler. Regards Marco -----Messaggio originale----- Da: Craig Stewart [mailto:Craig.Stewart at corp.xplornet.com] Inviato: marted? 14 giugno 2011 16:59 A: Nagios Users List Cc: Marco Borsani Oggetto: Re: [Nagios-users] force event_handler Marco, I think what you want is the OCSP or OSHP command (Obsessive Compulsive Service/Host Processor) I think event handlers are more for taking corrective action. The example I saw was to log into a web server and restart the apache service when the check_web service went critical. I'm using the OHCP command that uses send_nsca for every little thing, regardless of state. That's the nature of the beast. Now, I'm sure you can tailor the command to only send what you want. I might be out in left field though. Hope it helps. Cheers! Craig Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere On 06/14/2011 11:16 AM, Marco Borsani wrote: > Hi all > > > > I need to execute a command every time an host state or a service > state change (to use send_nsca). > > I supposed was a normal behaviour, but something is going wrong > > Right now, the command configured in ?event_handler? run only when the > state changes from OK to CRITICAL never from CRITICAL to OK > > > > Any idea ? > > Thanks > > Marco > > > > > -- > This message has been scanned for viruses and dangerous content by > *MailScanner* , and is believed to be > clean. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Paul_Lynch at lenox.com Tue Jun 14 17:50:43 2011 From: Paul_Lynch at lenox.com (Paul Lynch) Date: Tue, 14 Jun 2011 11:50:43 -0400 Subject: question about recovery messages Message-ID: Hi Everyone, I just joined the forum today, so I will appologize up front for the somewhat basic nature of my question. I've not been able to find anything about it yet, it's possible I haven't spent enough time searching for my answer, but if someone can point me in the right direction it would be appreciated. So I have been running Nagios for well over a year in a very limited capacity in my environment. I basically installed it originally as 3.0.3 and set up about a dozen windows servers to monitor CPU, memory and disk utilization. For this it has been great. I knew there was so much more Nagios could help with so I've been looking for opportunities that it can add value to support of our infrastructure. A few weeks ago someone in our web group complained about constantly having to monitor our website to see if it is up or not, as there have been some stability issues with it, and it runs on six load balanced web servers. I suggested a nagios service check. So I am using check_website_response by Chris Freeman from the exchange, and every now and then I get critical messages, but then I never get a recovery on the critical message, or I would expect based on my current settings that I would get a reminder an hour later and I don't. I am just curious to know if anyone else has inconsistencies with email alerts on state changes? Thanks in advance. -Paul -------------------------- IP addresses and names have been changed to protect the innocent..... RESPONSE: CRITICAL - http://10.1.0.131 does not contain any data My template looks like this: #======================================================================= ======= # Service Templates #----------------------------------------------------------------------- ------- define service{ name NWKService register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 ; The service is not volatile check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 3 ; Re-check the service up to 3 times in order to determine its final (hard) state normal_check_interval 1 ; Check the service every 10 minutes under normal conditions retry_check_interval 1 ; Re-check the service every two minutes until a hard state can be determined contact_groups websiteresponse; Notifications get sent out to everyone in the 'admins' group notification_options u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 120 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time } ############################## Episode3 define host{ use NwkHost host_name Episode3 alias Episode3 address Episode3 parents 3524,3524B } define service{ use NWKService host_name Episode3 service_description Response Time - Homepage servicegroups www-response-time check_command check_website_response!"http://10.1.0.131/"!5000!30000 } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wottley at stjosephcontent.com Tue Jun 14 18:27:55 2011 From: wottley at stjosephcontent.com (William Ottley) Date: Tue, 14 Jun 2011 12:27:55 -0400 (EDT) Subject: pnp4nagios and huge spool directory Message-ID: <948381942.447411.1308068875554.JavaMail.root@zstore.stjosephcontent.com> hi all, quick question, with i'm sure a quick switch answer...lol I setup pn4nagios quite some time ago, and it works fine. BUT, now I see tonnes of performance data in the /usr/local/pnp4nagios/var/spool directory how come they don't get deleted? is there a switch somewhere that needs to be added? is it a chown/chmod issue? thanks! William Ottley Systems Administrator CMI Canada 115 Idema Road Markham ON, L3R 1A9 Phone: 905.752.2100 x342 Direct: 905.754.4825 Fax: 905.475.7061 This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If the reader of this is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by return email and delete this message from your system. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Tue Jun 14 19:02:53 2011 From: manikumar85 at gmail.com (Manish Kumar) Date: Tue, 14 Jun 2011 22:32:53 +0530 Subject: pnp4nagios problem Message-ID: I have successfully configured pnp4nagios and it was running fine with my nagios-3.2.3 also showing pop up graphs and all, but sometime ago it automatically stopped and there is no further graphing of performance parameters. On looking in the log it says exiting... couldn't find the Nagios environment. Have anyone faced this problem and can help me. -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sunilangane at rediffmail.com Wed Jun 15 04:28:50 2011 From: sunilangane at rediffmail.com (sunilangane at rediffmail.com) Date: 15 Jun 2011 02:28:50 -0000 Subject: =?utf-8?q?Help_required_on_Nagios_Setup?= Message-ID: <20110615022850.43107.qmail@f4mail-235-253.rediffmail.com> Hi All    Let me introduce myself. My name is Sunil Angane and I am working with Softenger (I) Pvt. Ltd., an IT Infrastructure Management Services company.    We are doing Nagios setup at one of our prestigious client in Mumbai to cover OS and DB monitoring. As we are doing this for the first time, we need guidance from you all on this.    Under OS part we are covering AIX, LINUX, SOLARIS and WINDOWS, under DB part ORACLE, SQL, SYBASE and DB2. Kindly share the installation / configuration documents related to above listed OS and DB flavors.    Kindly let me know if anyone from negios user is residing in Mumbai or India so that it will be easier for me to contact.   Thanks & Regds ...Sunil S. AnganeCell : +91 99229 69447 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxs at webwizarddesign.com Wed Jun 15 06:02:32 2011 From: maxs at webwizarddesign.com (Max Schubert) Date: Wed, 15 Jun 2011 00:02:32 -0400 Subject: Help required on Nagios Setup In-Reply-To: <20110615022850.43107.qmail@f4mail-235-253.rediffmail.com> References: <20110615022850.43107.qmail@f4mail-235-253.rediffmail.com> Message-ID: On Tue, Jun 14, 2011 at 10:28 PM, wrote: > Hi All > > Let me introduce myself. My name is Sunil Angane and I am working with > Softenger (I) Pvt. Ltd., an IT Infrastructure Management Services company. > > We are doing Nagios setup at one of our prestigious client in Mumbai to > cover OS and DB monitoring. As we are doing this for the first time, we need > guidance from you all on this. > > Under OS part we are covering AIX, LINUX, SOLARIS and WINDOWS, under DB > part ORACLE, SQL, SYBASE and DB2. Kindly share the installation / > configuration documents related to above listed OS and DB flavors. > > Kindly let me know if anyone from negios user is residing in Mumbai or > India so that it will be easier for me to contact. > > Do you really expect the community to execute your contract for you? Interesting! Start here! http://wiki.nagios.org/index.php/Main_Page If you have directed questions that show you have done some reading and educated yourself you will get useful answers from the group. - Max -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From k.lebedev at peterhost.ru Wed Jun 15 08:06:30 2011 From: k.lebedev at peterhost.ru (Konstantin Lebedev) Date: Wed, 15 Jun 2011 10:06:30 +0400 Subject: passive checks vs notifications Message-ID: <4DF84BE6.2000303@peterhost.ru> Hi All! FreeBSD-8.1-RELEASE, Nagios Core 3.2.3. There is a problem with notifications. I have a distributed system with 4 nodes and master, with 1000 hosts and 5000 services. In the system are about 40 contacts.For each set or remove an alert for most of them send notification in jabber/mail.When falling off multiple servers or services, the system is behaving strangely.Nagios master does not respond to a request by node information.Until then, until the turn off notifications. Seeking a solution to the problem.Now the situation resolves manual shut-off notices and reread the configuration files. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Jun 15 08:28:28 2011 From: m.borsani at it.net (Marco Borsani) Date: Wed, 15 Jun 2011 08:28:28 +0200 Subject: R: force event_handler In-Reply-To: <4DF7772A.5070809@corp.xplornet.com> References: <00b201cc2a9d$baba8600$302f9200$@it.net> <4DF7772A.5070809@corp.xplornet.com> Message-ID: <004e01cc2b25$7383e5f0$5a8bb1d0$@it.net> Thanks. I already set OCHP and OCSP , using same command configured in event_handler, but nothing change. May you tell me how do you use OCHP and OCSP ? Regards Marco -----Messaggio originale----- Da: Craig Stewart [mailto:Craig.Stewart at corp.xplornet.com] Inviato: marted? 14 giugno 2011 16:59 A: Nagios Users List Cc: Marco Borsani Oggetto: Re: [Nagios-users] force event_handler Marco, I think what you want is the OCSP or OSHP command (Obsessive Compulsive Service/Host Processor) I think event handlers are more for taking corrective action. The example I saw was to log into a web server and restart the apache service when the check_web service went critical. I'm using the OHCP command that uses send_nsca for every little thing, regardless of state. That's the nature of the beast. Now, I'm sure you can tailor the command to only send what you want. I might be out in left field though. Hope it helps. Cheers! Craig Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere On 06/14/2011 11:16 AM, Marco Borsani wrote: > Hi all > > > > I need to execute a command every time an host state or a service > state change (to use send_nsca). > > I supposed was a normal behaviour, but something is going wrong > > Right now, the command configured in ?event_handler? run only when the > state changes from OK to CRITICAL never from CRITICAL to OK > > > > Any idea ? > > Thanks > > Marco > > > > > -- > This message has been scanned for viruses and dangerous content by > *MailScanner* , and is believed to be > clean. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xml.devel at gmail.com Wed Jun 15 08:32:50 2011 From: xml.devel at gmail.com (Kumar, Ashish) Date: Wed, 15 Jun 2011 12:02:50 +0530 Subject: pnp4nagios and huge spool directory In-Reply-To: <948381942.447411.1308068875554.JavaMail.root@zstore.stjosephcontent.com> References: <948381942.447411.1308068875554.JavaMail.root@zstore.stjosephcontent.com> Message-ID: > BUT, now I see tonnes of performance data in the > /usr/local/pnp4nagios/var/spool directory > how come they don't get deleted? > The files in the spool directory usually gets deleted every few seconds. Can you try: # service npcd restart -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pb at osix.eu Wed Jun 15 08:50:22 2011 From: pb at osix.eu (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Wed, 15 Jun 2011 08:50:22 +0200 Subject: Help required on Nagios Setup In-Reply-To: References: <20110615022850.43107.qmail@f4mail-235-253.rediffmail.com> Message-ID: <1308120622.2793.1.camel@endlessdream> lol! On Wed, 2011-06-15 at 00:02 -0400, Max Schubert wrote: > On Tue, Jun 14, 2011 at 10:28 PM, wrote: > Hi All > > Let me introduce myself. My name is Sunil Angane and I am > working with Softenger (I) Pvt. Ltd., an IT Infrastructure > Management Services company. > > We are doing Nagios setup at one of our prestigious client > in Mumbai to cover OS and DB monitoring. As we are doing this > for the first time, we need guidance from you all on this. > > Under OS part we are covering AIX, LINUX, SOLARIS and > WINDOWS, under DB part ORACLE, SQL, SYBASE and DB2. Kindly > share the installation / configuration documents related to > above listed OS and DB flavors. > > Kindly let me know if anyone from negios user is residing > in Mumbai or India so that it will be easier for me to > contact. > > > > Do you really expect the community to execute your contract for you? > Interesting! > > Start here! > > http://wiki.nagios.org/index.php/Main_Page > > If you have directed questions that show you have done some reading > and educated yourself you will get useful answers from the group. > > - Max > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xml.devel at gmail.com Wed Jun 15 08:58:50 2011 From: xml.devel at gmail.com (Kumar, Ashish) Date: Wed, 15 Jun 2011 12:28:50 +0530 Subject: question about recovery messages In-Reply-To: References: Message-ID: > > notification_interval 120 ; Re-notify about service problems every > hour > You may want to change the value of notification_interval value to 60 if you would like to receive the notification after each hour. > define service{ > use NWKService > host_name Episode3 > service_description Response Time - Homepage > servicegroups www-response-time > check_command check_website_response!"http://10.1.0.131/ > "!5000!30000 > } > > Have you tried mining the logs? $ grep -i 'Response Time - Homepage' nagios.log Please share if you see anything interesting :) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Craig.Stewart at corp.xplornet.com Wed Jun 15 13:44:09 2011 From: Craig.Stewart at corp.xplornet.com (Craig Stewart) Date: Wed, 15 Jun 2011 08:44:09 -0300 Subject: R: force event_handler In-Reply-To: <004e01cc2b25$7383e5f0$5a8bb1d0$@it.net> References: <00b201cc2a9d$baba8600$302f9200$@it.net> <4DF7772A.5070809@corp.xplornet.com> <004e01cc2b25$7383e5f0$5a8bb1d0$@it.net> Message-ID: <4DF89B09.50809@corp.xplornet.com> Marco, My first thought would be to ensure that the send_nsca on the sender and the nscad on the receiver are working. In the nagios.cfg, make sure you have the following if you want system wide obsessing: obsess_over_services=1 obsess_over_hosts=1 I put this in a high level template for hosts and services so it applies to everything: General: ocsp_timeout=10 ochp_timeout=10 For hosts: obsess_over_host 1 ochp_command=host_submit_check_result For services: obsess_over_service 1 ocsp_command=service_submit_check_result Make sure that the commands you specify exist. Also, ensure that the service and host names match EXACTLY on the remote and local system. Otherwise you'll see entries in the log that look something like "Warning: Passive check result was received for service 'Up/Down' on host 'blah.blah.blah', but the host could not be found!" or something similar. The Nagios documentation is very good for distributed monitoring. It's what I used to build my setup. Cheers! Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere On 06/15/2011 03:28 AM, Marco Borsani wrote: > Thanks. > > I already set OCHP and OCSP , using same command configured in > event_handler, but nothing change. > > May you tell me how do you use OCHP and OCSP ? > > Regards > Marco > > -----Messaggio originale----- > Da: Craig Stewart [mailto:Craig.Stewart at corpxplornet.com > ] > Inviato: marted? 14 giugno 2011 16:59 > A: Nagios Users List > Cc: Marco Borsani > Oggetto: Re: [Nagios-users] force event_handler > > Marco, > > I think what you want is the OCSP or OSHP command (Obsessive Compulsive > Service/Host Processor) > > I think event handlers are more for taking corrective action. The example I > saw was to log into a web server and restart the apache service when the > check_web service went critical. I'm using the OHCP command that uses > send_nsca for every little thing, regardless of state. > That's the nature of the beast. Now, I'm sure you can tailor the command > to only send what you want. > > I might be out in left field though. > > Hope it helps. > > Cheers! > > Craig > > Craig Stewart > Systems Integration Analyst > Craig.Stewart at corp.xplornet.com > Xplornet - Broadband, Everywhere > > On 06/14/2011 11:16 AM, Marco Borsani wrote: >> Hi all >> >> >> >> I need to execute a command every time an host state or a service >> state change (to use send_nsca). >> >> I supposed was a normal behaviour, but something is going wrong? >> >> Right now, the command configured in ?event_handler? run only when the >> state changes from OK to CRITICAL ? never from CRITICAL to OK >> >> >> >> Any idea ? >> >> Thanks >> >> Marco >> >> >> >> >> -- >> This message has been scanned for viruses and dangerous content by >> *MailScanner* , and is believed to be >> clean. > > > -- > This message has been scanned by MailScanner > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Craig.Stewart at corp.xplornet.com Wed Jun 15 14:02:35 2011 From: Craig.Stewart at corp.xplornet.com (Craig Stewart) Date: Wed, 15 Jun 2011 09:02:35 -0300 Subject: R: force event_handler In-Reply-To: <4DF89B09.50809@corp.xplornet.com> References: <00b201cc2a9d$baba8600$302f9200$@it.net><4DF7772A.5070809@corp.xplornet.com><004e01cc2b25$7383e5f0$5a8bb1d0$@it.net> <4DF89B09.50809@corp.xplornet.com> Message-ID: <4DF89F5B.8020705@corp.xplornet.com> Slight problem with my formatting that could lead to confusion. I meant to say for system wide settings put these in nagios.cfg: obsess_over_services=1 obsess_over_hosts=1 I put this in a high level template for hosts and services so it applies to everything: General: ocsp_timeout=10 ochp_timeout=10 ochp_command=host_submit_check_result ocsp_command=service_submit_check_result This you put in your host/service entry or template: ocsp_command=name_of_service_command_here ochp_command=name_of_host_command_here Sorry for any confusion. Craig -- Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere On 06/15/2011 08:44 AM, Craig Stewart wrote: > Marco, > > My first thought would be to ensure that the send_nsca on the sender and > the nscad on the receiver are working. > > In the nagios.cfg, make sure you have the following if you want system > wide obsessing: > > obsess_over_services=1 > obsess_over_hosts=1 > > I put this in a high level template for hosts and services so it applies > to everything: > > General: > ocsp_timeout=10 > ochp_timeout=10 > > For hosts: > obsess_over_host 1 > ochp_command=host_submit_check_result > > For services: > obsess_over_service 1 > ocsp_command=service_submit_check_result > > Make sure that the commands you specify exist. > > Also, ensure that the service and host names match EXACTLY on the remote > and local system. Otherwise you'll see entries in the log that look > something like > "Warning: Passive check result was received for service 'Up/Down' on > host 'blah.blah.blah', but the host could not be found!" or something > similar. > > The Nagios documentation is very good for distributed monitoring. It's > what I used to build my setup. > > Cheers! > > Craig Stewart > Systems Integration Analyst > Craig.Stewart at corp.xplornet.com > Xplornet - Broadband, Everywhere > > On 06/15/2011 03:28 AM, Marco Borsani wrote: >> Thanks. >> >> I already set OCHP and OCSP , using same command configured in >> event_handler, but nothing change. >> >> May you tell me how do you use OCHP and OCSP ? >> >> Regards >> Marco >> >> -----Messaggio originale----- >> Da: Craig Stewart [mailto:Craig.Stewart at corpxplornet.com >> >] >> Inviato: marted? 14 giugno 2011 16:59 >> A: Nagios Users List >> Cc: Marco Borsani >> Oggetto: Re: [Nagios-users] force event_handler >> >> Marco, >> >> I think what you want is the OCSP or OSHP command (Obsessive Compulsive >> Service/Host Processor) >> >> I think event handlers are more for taking corrective action. The > example I >> saw was to log into a web server and restart the apache service when the >> check_web service went critical. I'm using the OHCP command that uses >> send_nsca for every little thing, regardless of state. >> That's the nature of the beast. Now, I'm sure you can tailor the command >> to only send what you want. >> >> I might be out in left field though. >> >> Hope it helps. >> >> Cheers! >> >> Craig >> >> Craig Stewart >> Systems Integration Analyst >> Craig.Stewart at corp.xplornet.com >> Xplornet - Broadband, Everywhere >> >> On 06/14/2011 11:16 AM, Marco Borsani wrote: >>> Hi all >>> >>> >>> >>> I need to execute a command every time an host state or a service >>> state change (to use send_nsca). >>> >>> I supposed was a normal behaviour, but something is going wrong? >>> >>> Right now, the command configured in ?event_handler? run only when the >>> state changes from OK to CRITICAL ? never from CRITICAL to OK >>> >>> >>> >>> Any idea ? >>> >>> Thanks >>> >>> Marco >>> >>> >>> >>> >>> -- >>> This message has been scanned for viruses and dangerous content by >>> *MailScanner* , and is believed to be >>> clean. >> >> >> -- >> This message has been scanned by MailScanner >> > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- > This message has been scanned by MailScanner > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Jun 15 14:29:23 2011 From: m.borsani at it.net (Marco Borsani) Date: Wed, 15 Jun 2011 14:29:23 +0200 Subject: R: force event_handler : SOLVED Message-ID: <00b301cc2b57$dec7ffe0$9c57ffa0$@it.net> Thank you very much. I made same configuration like yours, but the problem was another. I found it few minutes ago, using only obsessive command, no event_handler. Sometime happen that the macros have syntax that give problems to the host_submit_check_result command. To solve it I put 2 controls inside the script. Many thanks for your time. Regards Marco -----Messaggio originale----- Da: Craig Stewart [mailto:Craig.Stewart at corp.xplornet.com] Inviato: mercoled? 15 giugno 2011 14:03 A: Nagios Users List Cc: Marco Borsani Oggetto: Re: [Nagios-users] R: force event_handler Slight problem with my formatting that could lead to confusion. I meant to say for system wide settings put these in nagios.cfg: obsess_over_services=1 obsess_over_hosts=1 I put this in a high level template for hosts and services so it applies to everything: General: ocsp_timeout=10 ochp_timeout=10 ochp_command=host_submit_check_result ocsp_command=service_submit_check_result This you put in your host/service entry or template: ocsp_command=name_of_service_command_here ochp_command=name_of_host_command_here Sorry for any confusion. Craig -- Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere On 06/15/2011 08:44 AM, Craig Stewart wrote: > Marco, > > My first thought would be to ensure that the send_nsca on the sender > and the nscad on the receiver are working. > > In the nagios.cfg, make sure you have the following if you want system > wide obsessing: > > obsess_over_services=1 > obsess_over_hosts=1 > > I put this in a high level template for hosts and services so it > applies to everything: > > General: > ocsp_timeout=10 > ochp_timeout=10 > > For hosts: > obsess_over_host 1 > ochp_command=host_submit_check_result > > For services: > obsess_over_service 1 > ocsp_command=service_submit_check_result > > Make sure that the commands you specify exist. > > Also, ensure that the service and host names match EXACTLY on the > remote and local system. Otherwise you'll see entries in the log that > look something like > "Warning: Passive check result was received for service 'Up/Down' on > host 'blah.blah.blah', but the host could not be found!" or something > similar. > > The Nagios documentation is very good for distributed monitoring. > It's what I used to build my setup. > > Cheers! > > Craig Stewart > Systems Integration Analyst > Craig.Stewart at corp.xplornet.com > Xplornet - Broadband, Everywhere > > On 06/15/2011 03:28 AM, Marco Borsani wrote: >> Thanks. >> >> I already set OCHP and OCSP , using same command configured in >> event_handler, but nothing change. >> >> May you tell me how do you use OCHP and OCSP ? >> >> Regards >> Marco >> >> -----Messaggio originale----- >> Da: Craig Stewart [mailto:Craig.Stewart at corpxplornet.com >> >] >> Inviato: marted? 14 giugno 2011 16:59 >> A: Nagios Users List >> Cc: Marco Borsani >> Oggetto: Re: [Nagios-users] force event_handler >> >> Marco, >> >> I think what you want is the OCSP or OSHP command (Obsessive >> Compulsive Service/Host Processor) >> >> I think event handlers are more for taking corrective action. The > example I >> saw was to log into a web server and restart the apache service when >> the check_web service went critical. I'm using the OHCP command that >> uses send_nsca for every little thing, regardless of state. >> That's the nature of the beast. Now, I'm sure you can tailor the >> command to only send what you want. >> >> I might be out in left field though. >> >> Hope it helps. >> >> Cheers! >> >> Craig >> >> Craig Stewart >> Systems Integration Analyst >> Craig.Stewart at corp.xplornet.com >> Xplornet - Broadband, Everywhere >> >> On 06/14/2011 11:16 AM, Marco Borsani wrote: >>> Hi all >>> >>> >>> >>> I need to execute a command every time an host state or a service >>> state change (to use send_nsca). >>> >>> I supposed was a normal behaviour, but something is going wrong >>> >>> Right now, the command configured in ?event_handler? run only when >>> the state changes from OK to CRITICAL never from CRITICAL to OK >>> >>> >>> >>> Any idea ? >>> >>> Thanks >>> >>> Marco >>> >>> >>> >>> >>> -- >>> This message has been scanned for viruses and dangerous content by >>> *MailScanner* , and is believed to be >>> clean. >> >> >> -- >> This message has been scanned by MailScanner >> > > ---------------------------------------------------------------------- > -------- EditLive Enterprise is the world's most technically advanced > content authoring tool. Experience the power of Track Changes, Inline > Image Editing and ensure content is compliant with Accessibility > Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- > This message has been scanned by MailScanner > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jarlath.Lyons at Tideworks.com Thu Jun 16 17:04:09 2011 From: Jarlath.Lyons at Tideworks.com (Jarlath Lyons) Date: Thu, 16 Jun 2011 15:04:09 +0000 Subject: Announcement: new .NET (log4net) appender for Nagios Message-ID: <45EDF03D8939C5499AF295D43606A4A410D2D5@LWEXMB02.usa.int> I thought I'd pass along an announcement about a new project in sourceforge that allows you to configure any .NET application to forward it's log errors straight to Nagios (via the nsca service) by passive check. This appender allows you to take any .NET application that uses log4net for its' logging, and configure it to work with your Nagios server. No recompile necessary. This is an extremely easy way to start monitoring windows clients without writing some exotic plugin. https://sourceforge.net/projects/dotnetnagiosapp/ It was based on the Java NagiosAppender ... https://sourceforge.net/projects/nagiosappender/ , and it's configuration reflects that. Also, here is an article on how you can configure your log4net (or log4j) client so you don't need to know exactly what host it will be running on ...... http://www.novell.com/communities/node/4131/application-monitoring-made-easy-java-applications-using-nagios Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.png at 01CB4387.A916A2B0] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Picture (Device Independent Bitmap) 1.jpg Type: image/jpeg Size: 631 bytes Desc: Picture (Device Independent Bitmap) 1.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryan.mchugh at techtell.com Thu Jun 16 18:42:46 2011 From: ryan.mchugh at techtell.com (Ryan McHugh) Date: Thu, 16 Jun 2011 16:42:46 +0000 (UTC) Subject: Checking Status of Exchange 2010 Mailbox Store without check_nt Message-ID: I have been looking for a way to check the status of the Exchange Mailbox Store with out using the check_nt daemon. I do not have the option of installing anything on the exchange server at this time but can have WMI / RPC / snmp connections. Does anyone know of a way to check and see if the Store is mounted, either directly or indrectly? I may have access to the OWA but not POP/IMAP to try a client connect / html parse if there are tools for that. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From terry at cnysupport.com Thu Jun 16 19:06:39 2011 From: terry at cnysupport.com (Terry Carmen) Date: Thu, 16 Jun 2011 13:06:39 -0400 Subject: Checking Status of Exchange 2010 Mailbox Store without check_nt In-Reply-To: References: Message-ID: <20110616130639.17136to1bs7q4r48@www.cnysupport.com> Quoting Ryan McHugh : > I have been looking for a way to check the status of the Exchange Mailbox > Store with out using the check_nt daemon.? I do not have the option of > installing anything on the exchange server at this time but can have WMI / > RPC / snmp connections.? Does anyone know of a way to check and see if the > Store is mounted, either directly or indrectly?? I may have access to the > OWA but not POP/IMAP to try a client connect / html parse if there are > tools for that. You can setup auto-reply on a mailbox that lives in the store you're monitoring, send it an email and see if you get back the expected reply. There is so much that can go wrong in Exchange that sending it an actual email and checking to see if you get the expected response is much more reliable than monitoring indirect statistics and settings. Terry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryan.mchugh at techtell.com Thu Jun 16 21:14:57 2011 From: ryan.mchugh at techtell.com (Ryan McHugh) Date: Thu, 16 Jun 2011 19:14:57 +0000 (UTC) Subject: Checking Status of Exchange 2010 Mailbox Store without check_nt In-Reply-To: <20110616130639.17136to1bs7q4r48@www.cnysupport.com> References: <20110616130639.17136to1bs7q4r48@www.cnysupport.com> Message-ID: On Thu, 16 Jun 2011, Terry Carmen wrote: > Quoting Ryan McHugh : > >> I have been looking for a way to check the status of the Exchange Mailbox >> Store with out using the check_nt daemon.?? I do not have the option of >> installing anything on the exchange server at this time but can have WMI / >> RPC / snmp connections.?? Does anyone know of a way to check and see if the >> Store is mounted, either directly or indrectly??? I may have access to the >> OWA but not POP/IMAP to try a client connect / html parse if there are >> tools for that. > > You can setup auto-reply on a mailbox that lives in the store you're monitoring, send it an email and see if you get back the expected reply. > > There is so much that can go wrong in Exchange that sending it an actual email and checking to see if you get the expected response is much more reliable than monitoring indirect statistics and settings. > > Terry > We already send a message in and have it forwarded back to us. This does not detect a disconnected mailbox store because the queue processes the message and drops it back in the outbound queue. Does the auto-responder still work with a disconnected mailbox store? -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From terry at cnysupport.com Thu Jun 16 21:21:15 2011 From: terry at cnysupport.com (Terry Carmen) Date: Thu, 16 Jun 2011 15:21:15 -0400 Subject: Checking Status of Exchange 2010 Mailbox Store without check_nt In-Reply-To: References: <20110616130639.17136to1bs7q4r48@www.cnysupport.com> Message-ID: <20110616152115.91056jc9xx9h62kg@www.cnysupport.com> Quoting Ryan McHugh : > > > On Thu, 16 Jun 2011, Terry Carmen wrote: > >> Quoting Ryan McHugh : >> >>> I have been looking for a way to check the status of the Exchange Mailbox >>> Store with out using the check_nt daemon.?? I do not have the option of >>> installing anything on the exchange server at this time but can have WMI / >>> RPC / snmp connections.?? Does anyone know of a way to check and see if the >>> Store is mounted, either directly or indrectly??? I may have access to the >>> OWA but not POP/IMAP to try a client connect / html parse if there are >>> tools for that. >> >> You can setup auto-reply on a mailbox that lives in the store you're >> monitoring, send it an email and see if you get back the expected >> reply. >> >> There is so much that can go wrong in Exchange that sending it an >> actual email and checking to see if you get the expected response is >> much more reliable than monitoring indirect statistics and settings. >> >> Terry >> > > We already send a message in and have it forwarded back to us.? This > does not detect a disconnected mailbox store because the queue > processes the message and drops it back in the outbound queue.? Does > the auto-responder still work with a disconnected mailbox store? If the mailbox store is unavailable, the sender should get an NDR, although you would need to verify this, since I?haven't tested it. However, If this isn't the case, send an email that should be delivered. The SMTP?protocol requires a reject if the delivery fails, which it must if the mailbox store isn't there. Terry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bonnie.Backstrom at neovera.com Thu Jun 16 22:01:03 2011 From: Bonnie.Backstrom at neovera.com (Bonnie Backstrom) Date: Thu, 16 Jun 2011 20:01:03 +0000 Subject: Referencing resource.cfg variable in SNMP COMMUNITY Message-ID: <8AC020AC64762A41B05F7ADA34DAD6D702373A@MAIL2.ad.neovera.net> Submitted this to NConf forums and they advised this is a Nagios question: Is it possible to reference a variable defined in resource.cfg (ie; $USER5$ = abc) in _SNMP_COMMUNITY? We would like to be able to modify all hosts SNMP strings with a single entry rather than having to do so across all hosts. And of course still be able to use $_HOSTSNMP_COMMUNITY$ in our service checks so that $_HOSTSNMP_COMMUNITY$ = _SNMP_COMMUNITY = $USER5$ = abc, thus having Nagios read 'abc'. Does anyone know of an alternate approach to accomplish same? Our current version is Nagios 3.0.6 and NConf 1.2.5 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike-nagios at 5dninja.net Thu Jun 16 22:47:11 2011 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Thu, 16 Jun 2011 13:47:11 -0700 Subject: Host acknowledgments not respecting "persistent" Message-ID: <4DFA6BCF.7070907@5dninja.net> Host acks are being cleared on restart with 3.2.1, checking the changelog, I don't see any fixes for this. The command ending up in the log is: [1308256491] EXTERNAL COMMAND: ACKNOWLEDGE_HOST_PROBLEM;xxxxxxx;2;0;1;Mike Lindsey;testing restarts It's interesting that the sticky bit is being set to '2'... But from looking at the code, it seems like it just tests for boolean, so that should be fine. Persistent is set to 1, but on a restart the host is no longer acked. Has this been silently fixed in 3.2.2, or 3.2.3? Is it on the roadmap for 3.2.4? -- Mike Lindsey ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Fri Jun 17 03:40:21 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Fri, 17 Jun 2011 09:40:21 +0800 Subject: Referencing resource.cfg variable in SNMP COMMUNITY In-Reply-To: <8AC020AC64762A41B05F7ADA34DAD6D702373A@MAIL2.ad.neovera.net> References: <8AC020AC64762A41B05F7ADA34DAD6D702373A@MAIL2.ad.neovera.net> Message-ID: i think macros can only be used in command definition. if all remote hosts' snmp strings have been modified, changing of snmp community name for checking is not so difficult since you only have to modify some configuration files on nagios monitor instead of every remote hosts. On Fri, Jun 17, 2011 at 4:01 AM, Bonnie Backstrom wrote: > Submitted this to NConf forums and they advised this is a Nagios question: > > > > Is it possible to reference a variable defined in resource.cfg (ie; $USER5$ > = abc) in _SNMP_COMMUNITY? > > We would like to be able to modify all hosts SNMP strings with a single > entry rather than having to do so across all hosts. And of course still be > able to use $_HOSTSNMP_COMMUNITY$ in our service checks so that > $_HOSTSNMP_COMMUNITY$ = _SNMP_COMMUNITY = $USER5$ = abc, thus having Nagios > read 'abc'. > > > > Does anyone know of an alternate approach to accomplish same? > > Our current version is Nagios 3.0.6 and NConf 1.2.5 > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Fri Jun 17 16:42:47 2011 From: manikumar85 at gmail.com (Manish Kumar) Date: Fri, 17 Jun 2011 20:12:47 +0530 Subject: Nagios Issue of not detecting down/up status of server and delay of mails notifications Message-ID: Hi Friends, I have implemented Nagios Core-3.2.3 on Fedora Core 14 and configured it for monitoring of around 230 network devices for different services like up/down status, uptime, ports link status, similarly configured for monitoring around 30 windows servers for different services. The problem is that nagios is not able to send e-mail notification as soon as any server/service/network device goes down. Some of the e-mails are delayed around 12 hours and some are not triggered even, for example if a server goes down for around a hour and is up again after that, nagios is not able to detect it. I have setup the fedora 14 to use its sendmail sever to relay the mails to our corporate smtp sever. Is this a valid issue with nagios or is there any way to scale it up. How can a network/sever admin can believe on it if this works like this. -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Fri Jun 17 17:59:31 2011 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 17 Jun 2011 15:59:31 +0000 Subject: Nagios Issue of not detecting down/up status of server and delay of mails notifications In-Reply-To: References: Message-ID: <4DFB79E3.9030102@flatto.net> Manish Kumar wrote: > > Hi Friends, > > I have implemented Nagios Core-3.2.3 on Fedora Core 14 and configured > it for monitoring of around 230 network devices for different services > like up/down status, uptime, ports link status, similarly configured > for monitoring around 30 windows servers for different services. > > The problem is that nagios is not able to send e-mail notification as > soon as any server/service/network device goes down. Some of the > e-mails are delayed around 12 hours and some are not triggered even, > for example if a server goes down for around a hour and is up again > after that, nagios is not able to detect it. I have setup the fedora > 14 to use its sendmail sever to relay the mails to our corporate smtp > sever. > > Is this a valid issue with nagios or is there any way to scale it up. > How can a network/sever admin can believe on it if this works like this. > > > > -- > Thanks > Manish Kumar > http://in.linkedin.com/in/manishkumar85 > I can see three factors that may contribute to the problem : check_interval , notification_interval , enable_notification ( those are on the nagios application ) . beside that , are you seeing any mails stuck in the mailq of the sendmail relay ? are you able to sent any email from that machine at all ? you are saying nagios is unable to detect the UP/DOWN status of the nodes/hosts , are there any firewalls along the way? is the routing table properly setup ? do you allow ICMP replyies from the nodes ? Assaf ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Fri Jun 17 18:05:08 2011 From: benny at bennyvision.com (C. Bensend) Date: Fri, 17 Jun 2011 11:05:08 -0500 Subject: Nagios Issue of not detecting down/up status of server and delay of mails notifications In-Reply-To: References: Message-ID: <2c6c6f249845181f8266395eb30ddff2.squirrel@webmail.stinkweasel.net> > Is this a valid issue with nagios or is there any way to scale it up. How > can a network/sever admin can believe on it if this works like this. This is a configuration issue... I monitor some 700 hosts and 6000+ services on a single host and my notifications go out instantly (once max_check_attempts has been hit). Choose a host that has shown this problem, and grep your Nagios log for it... Copy-n-paste the entries here. That will show what Nagios thinks about the situation. Benny -- "You were doing well until everyone died." -- "God", Futurama ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From terry at cnysupport.com Fri Jun 17 18:05:02 2011 From: terry at cnysupport.com (Terry Carmen) Date: Fri, 17 Jun 2011 12:05:02 -0400 Subject: Nagios Issue of not detecting down/up status of server and delay of mails notifications In-Reply-To: References: Message-ID: <20110617120502.11597rlkjog5es6o@www.cnysupport.com> Quoting Manish Kumar : > The problem is that nagios is not able to send e-mail notification as soon > as any server/service/network device goes down. Some of the e-mails are > delayed around 12 hours and some are not triggered even, for example if a > server goes down for around a hour and is up again after that, nagios is not > able to detect it. I have setup the fedora 14 to use its sendmail sever to > relay the mails to our corporate smtp sever. Your complaint is much too general. You will need to turn on debugging in nagios and examine the debug log to see when the down state is detected and when the alert is generated. If the alert is being generated but not delivered on time, you'll need to examine your mail server's logs. If the down-state isn't being detected soon enough, you'll need to determine if it's not being scheduled frequently enough or if your server or network is too overloaded to execute the checks on time. Terry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Sat Jun 18 17:11:34 2011 From: subscription at kkeane.com (Kevin Keane) Date: Sat, 18 Jun 2011 08:11:34 -0700 Subject: Checking Status of Exchange 2010 Mailbox Store without check_nt In-Reply-To: References: Message-ID: I wrote a couple of plugins - most of them are the standard plugins ported to Windows since the old versions seemed abandoned. I also added some plugins to the collection, including a plugin for Exchange (works with everything from Exchange 2003 to 2010). The plugin uses WMI, so you can run it on another Windows computer. http://sourceforge.net/projects/tntnagiosplugin/ Information about it is on http://www.tntmonitoring.com . Kevin Keane The NetTech http://www.4nettech.com -----Original Message----- From: Ryan McHugh [mailto:ryan.mchugh at techtell.com] Sent: Thursday, June 16, 2011 9:43 AM To: Nagios Users List Subject: [Nagios-users] Checking Status of Exchange 2010 Mailbox Store without check_nt I have been looking for a way to check the status of the Exchange Mailbox Store with out using the check_nt daemon. I do not have the option of installing anything on the exchange server at this time but can have WMI / RPC / snmp connections. Does anyone know of a way to check and see if the Store is mounted, either directly or indrectly? I may have access to the OWA but not POP/IMAP to try a client connect / html parse if there are tools for that. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Sat Jun 18 20:57:27 2011 From: nagiostool at gmail.com (nag ios) Date: Sun, 19 Jun 2011 00:27:27 +0530 Subject: Problem in starting nagios Message-ID: Hi my name is krishna i have installed nagios successfully in my system which is ubuntu one,but i'm unable to start nagios through browser its giving the error message as Not Found The requested URL /nagios/ was not found on this server. ------------------------------ Apache/2.2.17 (Ubuntu) Server at localhost Port 80 Please help me out. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Sat Jun 18 21:13:54 2011 From: nagios at flatto.net (Assaf Flatto) Date: Sat, 18 Jun 2011 20:13:54 +0100 Subject: Problem in starting nagios In-Reply-To: References: Message-ID: <4DFCF8F2.3050300@flatto.net> nag ios wrote: > Hi my name is krishna i have installed nagios successfully in my > system which is ubuntu one,but i'm unable to start nagios through > browser its giving the error message as > > > Not Found > > The requested URL /nagios/ was not found on this server. > > ------------------------------------------------------------------------ > Apache/2.2.17 (Ubuntu) Server at localhost Port 80 > > Please help me out. > The error you specify has nothing to do with nagios ,but with the apache configuration . Nagios may be running on your system , but the web server configuration has not gone well. read this : http://nagios.sourceforge.net/docs/nagioscore/3/en/quickstart-ubuntu.html and make sure that you have done those steps. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Sat Jun 18 21:41:48 2011 From: manikumar85 at gmail.com (Manish Kumar) Date: Sun, 19 Jun 2011 01:11:48 +0530 Subject: Problem in starting nagios In-Reply-To: <4DFCF8F2.3050300@flatto.net> References: <4DFCF8F2.3050300@flatto.net> Message-ID: Please check your web server configuration... On Sun, Jun 19, 2011 at 12:43 AM, Assaf Flatto wrote: > nag ios wrote: > > Hi my name is krishna i have installed nagios successfully in my > > system which is ubuntu one,but i'm unable to start nagios through > > browser its giving the error message as > > > > > > Not Found > > > > The requested URL /nagios/ was not found on this server. > > > > ------------------------------------------------------------------------ > > Apache/2.2.17 (Ubuntu) Server at localhost Port 80 > > > > Please help me out. > > > The error you specify has nothing to do with nagios ,but with the apache > configuration . > > Nagios may be running on your system , but the web server configuration > has not gone well. > read this : > http://nagios.sourceforge.net/docs/nagioscore/3/en/quickstart-ubuntu.html > > and make sure that you have done those steps. > > > > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Sun Jun 19 06:29:36 2011 From: nagiostool at gmail.com (nag ios) Date: Sun, 19 Jun 2011 09:59:36 +0530 Subject: Problem in starting nagios In-Reply-To: References: <4DFCF8F2.3050300@flatto.net> Message-ID: I have run the following command make install-webconf but its showing the following output make: *** No rule to make target `install-webconf'. Stop. the above output does indicate any ???? On Sun, Jun 19, 2011 at 1:11 AM, Manish Kumar wrote: > Please check your web server configuration... > > > On Sun, Jun 19, 2011 at 12:43 AM, Assaf Flatto wrote: > >> nag ios wrote: >> > Hi my name is krishna i have installed nagios successfully in my >> > system which is ubuntu one,but i'm unable to start nagios through >> > browser its giving the error message as >> > >> > >> > Not Found >> > >> > The requested URL /nagios/ was not found on this server. >> > >> > ------------------------------------------------------------------------ >> > Apache/2.2.17 (Ubuntu) Server at localhost Port 80 >> > >> > Please help me out. >> > >> The error you specify has nothing to do with nagios ,but with the apache >> configuration . >> >> Nagios may be running on your system , but the web server configuration >> has not gone well. >> read this : >> http://nagios.sourceforge.net/docs/nagioscore/3/en/quickstart-ubuntu.html >> >> and make sure that you have done those steps. >> >> >> >> >> >> ------------------------------------------------------------------------------ >> EditLive Enterprise is the world's most technically advanced content >> authoring tool. Experience the power of Track Changes, Inline Image >> Editing and ensure content is compliant with Accessibility Checking. >> http://p.sf.net/sfu/ephox-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > Thanks > Manish Kumar > http://in.linkedin.com/in/manishkumar85 > > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Sun Jun 19 08:09:02 2011 From: nagios at flatto.net (Assaf Flatto) Date: Sun, 19 Jun 2011 06:09:02 +0000 Subject: Problem in starting nagios In-Reply-To: References: <4DFCF8F2.3050300@flatto.net> Message-ID: <4DFD927E.8000008@flatto.net> nag ios wrote: > I have run the following command > > make install-webconf > > but its showing the following output > > make: *** No rule to make target `install-webconf'. Stop. > > the above output does indicate any ???? > > On Sun, Jun 19, 2011 at 1:11 AM, Manish Kumar > wrote: > > Please check your web server configuration... > > > On Sun, Jun 19, 2011 at 12:43 AM, Assaf Flatto > wrote: > > nag ios wrote: > > Hi my name is krishna i have installed nagios successfully in my > > system which is ubuntu one,but i'm unable to start nagios > through > > browser its giving the error message as > > > > > > Not Found > > > > The requested URL /nagios/ was not found on this server. > > > > > ------------------------------------------------------------------------ > > Apache/2.2.17 (Ubuntu) Server at localhost Port 80 > > > > Please help me out. > > > The error you specify has nothing to do with nagios ,but with > the apache > configuration . > > Nagios may be running on your system , but the web server > configuration > has not gone well. > read this : > http://nagios.sourceforge.net/docs/nagioscore/3/en/quickstart-ubuntu.html > > and make sure that you have done those steps. > > are you installing from source or via apt-get? ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Sun Jun 19 09:09:38 2011 From: nagiostool at gmail.com (nag ios) Date: Sun, 19 Jun 2011 12:39:38 +0530 Subject: Problem in starting nagios In-Reply-To: <4DFD927E.8000008@flatto.net> References: <4DFCF8F2.3050300@flatto.net> <4DFD927E.8000008@flatto.net> Message-ID: i'm installing from the source.... On Sun, Jun 19, 2011 at 11:39 AM, Assaf Flatto wrote: > nag ios wrote: > > I have run the following command > > > > make install-webconf > > > > but its showing the following output > > > > make: *** No rule to make target `install-webconf'. Stop. > > > > the above output does indicate any ???? > > > > On Sun, Jun 19, 2011 at 1:11 AM, Manish Kumar > > wrote: > > > > Please check your web server configuration... > > > > > > On Sun, Jun 19, 2011 at 12:43 AM, Assaf Flatto > > wrote: > > > > nag ios wrote: > > > Hi my name is krishna i have installed nagios successfully in > my > > > system which is ubuntu one,but i'm unable to start nagios > > through > > > browser its giving the error message as > > > > > > > > > Not Found > > > > > > The requested URL /nagios/ was not found on this server. > > > > > > > > > ------------------------------------------------------------------------ > > > Apache/2.2.17 (Ubuntu) Server at localhost Port 80 > > > > > > Please help me out. > > > > > The error you specify has nothing to do with nagios ,but with > > the apache > > configuration . > > > > Nagios may be running on your system , but the web server > > configuration > > has not gone well. > > read this : > > > http://nagios.sourceforge.net/docs/nagioscore/3/en/quickstart-ubuntu.html > > > > and make sure that you have done those steps. > > > > > are you installing from source or via apt-get? > > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xml.devel at gmail.com Sun Jun 19 09:57:30 2011 From: xml.devel at gmail.com (Kumar, Ashish) Date: Sun, 19 Jun 2011 13:27:30 +0530 Subject: Problem in starting nagios In-Reply-To: References: Message-ID: On 19 June 2011 00:27, nag ios wrote: > Hi my name is krishna i have installed nagios successfully in my system > which is ubuntu one,but i'm unable to start nagios through browser its > giving the error message as > > Are you sure that Nagios has been successfully installed? Try: # service nagios status If it doesn't return "nagios: unrecognized service" could you also check what does the following return: # grep -inR --color nagios /etc/httpd just in case /etc/httpd isn't the default HTTPD_ROOT on Ubuntu, you can try the following and make sure that you have vhost entry for Nagios: # grep -inR --color foo $(httpd -V | grep HTTPD_ROOT | cut -d"=" -f2 | sed -e 's/"//g') -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xml.devel at gmail.com Sun Jun 19 10:00:07 2011 From: xml.devel at gmail.com (Kumar, Ashish) Date: Sun, 19 Jun 2011 13:30:07 +0530 Subject: Problem in starting nagios In-Reply-To: References: Message-ID: On 19 June 2011 00:27, nag ios wrote: > Hi my name is krishna i have installed nagios successfully in my system >> which is ubuntu one,but i'm unable to start nagios through browser its >> giving the error message as >> >> > Are you sure that Nagios has been successfully installed? Try: > > # service nagios status > > Oops, it seems service command would not work on Ubuntu. Perhaps, you need to run: # /etc/init.d/nagios status -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Sun Jun 19 10:13:58 2011 From: nagiostool at gmail.com (nag ios) Date: Sun, 19 Jun 2011 13:43:58 +0530 Subject: Problem in starting nagios In-Reply-To: References: Message-ID: When i ran this command sudo /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg -d & I got the following output is anything wrong????? [1] 6369 krishna at krishna:/usr/local/nagios/etc$ 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 Nagios 3.2.3 starting... (PID=6370) Local time is Sun Jun 19 13:35:15 IST 2011 sh: /usr/local/nagios/libexec/check_ping: not found Warning: Return code of 127 for check of host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. sh: /usr/local/nagios/libexec/check_load: not found Warning: Return code of 127 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. sh: /usr/local/nagios/libexec/check_ping: not found sh: /usr/local/nagios/libexec/check_users: not found Warning: Return code of 127 for check of host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Warning: Return code of 127 for check of service 'Current Users' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. sh: /usr/local/nagios/libexec/check_http: not found Warning: Return code of 127 for check of service 'HTTP' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. sh: /usr/local/nagios/libexec/check_ping: not found Warning: Return code of 127 for check of host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. sh: /usr/local/nagios/libexec/check_ping: not found Warning: Return code of 127 for check of service 'PING' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. sh: /usr/local/nagios/libexec/check_disk: not found Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. sh: /usr/local/nagios/libexec/check_ping: not found Warning: Return code of 127 for check of host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. sh: /usr/local/nagios/libexec/check_ssh: not found Warning: Return code of 127 for check of service 'SSH' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. sh: /usr/local/nagios/libexec/check_swap: not found Warning: Return code of 127 for check of service 'Swap Usage' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. sh: /usr/local/nagios/libexec/check_ping: not found Warning: Return code of 127 for check of host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. sh: /usr/local/nagios/libexec/check_procs: not found Warning: Return code of 127 for check of service 'Total Processes' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. On Sun, Jun 19, 2011 at 1:27 PM, Kumar, Ashish wrote: > > On 19 June 2011 00:27, nag ios wrote: > >> Hi my name is krishna i have installed nagios successfully in my system >> which is ubuntu one,but i'm unable to start nagios through browser its >> giving the error message as >> >> > Are you sure that Nagios has been successfully installed? Try: > > # service nagios status > > If it doesn't return "nagios: unrecognized service" could you also check > what does the following return: > > # grep -inR --color nagios /etc/httpd > > just in case /etc/httpd isn't the default HTTPD_ROOT on Ubuntu, you can try > the following and make sure that you have vhost entry for Nagios: > > # grep -inR --color foo $(httpd -V | grep HTTPD_ROOT | cut -d"=" -f2 | sed > -e 's/"//g') > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xml.devel at gmail.com Sun Jun 19 10:25:50 2011 From: xml.devel at gmail.com (Kumar, Ashish) Date: Sun, 19 Jun 2011 13:55:50 +0530 Subject: Problem in starting nagios In-Reply-To: References: Message-ID: On 19 June 2011 13:43, nag ios wrote: > When i ran this command > sudo /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg -d & > > I got the following output is anything wrong????? > > [1] 6369 > krishna at krishna:/usr/local/nagios/etc$ > 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 > Nagios 3.2.3 starting... (PID=6370) > Local time is Sun Jun 19 13:35:15 IST 2011 > sh: /usr/local/nagios/libexec/check_ping: not found > Warning: Return code of 127 for check of host 'localhost' was out of > bounds. Make sure the plugin you're trying to run actually exists. > sh: /usr/local/nagios/libexec/check_load: not found > Warning: Return code of 127 for check of service 'Current Load' on host > 'localhost' was out of bounds. Make sure the plugin you're trying to run > actually exists. > > Smells like you haven't installed nagios-plugins pack. http://nagios.org/download/plugins -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Sun Jun 19 10:46:41 2011 From: nagiostool at gmail.com (nag ios) Date: Sun, 19 Jun 2011 14:16:41 +0530 Subject: Problem in starting nagios In-Reply-To: References: Message-ID: I have installed the plugins and tried but in the browser when typed http://localhost/nagios/ it didnt work , getting the error in browser as Not Found The requested URL /nagios was not found on this server. ------------------------------ Apache/2.2.17 (Ubuntu) Server at localhost Port 80 On Sun, Jun 19, 2011 at 1:55 PM, Kumar, Ashish wrote: > > On 19 June 2011 13:43, nag ios wrote: > >> When i ran this command >> sudo /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg -d & >> >> I got the following output is anything wrong????? >> >> [1] 6369 >> krishna at krishna:/usr/local/nagios/etc$ >> 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 >> Nagios 3.2.3 starting... (PID=6370) >> Local time is Sun Jun 19 13:35:15 IST 2011 >> sh: /usr/local/nagios/libexec/check_ping: not found >> Warning: Return code of 127 for check of host 'localhost' was out of >> bounds. Make sure the plugin you're trying to run actually exists. >> sh: /usr/local/nagios/libexec/check_load: not found >> Warning: Return code of 127 for check of service 'Current Load' on host >> 'localhost' was out of bounds. Make sure the plugin you're trying to run >> actually exists. >> >> > > Smells like you haven't installed nagios-plugins pack. > http://nagios.org/download/plugins > > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Sun Jun 19 11:22:49 2011 From: subscription at kkeane.com (Kevin Keane) Date: Sun, 19 Jun 2011 02:22:49 -0700 Subject: Embedding Icinga or Nagios in Joomla? Message-ID: I'm looking to public certain information from Nagios (or preferably from Icinga) into a larger Web site. Somewhat similar to what Nagios Looking Glass used to do; unfortunately, NLG seems to be no longer maintained; the web site for it is gone, and the latest version I found is about four years old. The larger Web site I want to embed the information in is a Joomla site. Is there a Joomla module that would call the Nagios or Icinga API and retrieve data? Kevin Keane The NetTech (North County Tech Center, LLC dba The NetTech) 760-721-8339 http://www.4nettech.com ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dey.ranjib at gmail.com Sun Jun 19 17:18:58 2011 From: dey.ranjib at gmail.com (ranjib dey) Date: Sun, 19 Jun 2011 20:48:58 +0530 Subject: Embedding Icinga or Nagios in Joomla? In-Reply-To: References: Message-ID: I am not aware of any out of the box solution, perhaps you can pull the nagios check data (like having NDOUtils + mysql triggers, or using global event handlers or nsca/nrpe based approaches) and expose it as RESTFull webservices or present it using your own views (who likes the nagios dash board any way) , regards ranjib On Sun, Jun 19, 2011 at 2:52 PM, Kevin Keane wrote: > I'm looking to public certain information from Nagios (or preferably from > Icinga) into a larger Web site. Somewhat similar to what Nagios Looking > Glass used to do; unfortunately, NLG seems to be no longer maintained; the > web site for it is gone, and the latest version I found is about four years > old. > > The larger Web site I want to embed the information in is a Joomla site. Is > there a Joomla module that would call the Nagios or Icinga API and retrieve > data? > > Kevin Keane > The NetTech > (North County Tech Center, LLC dba The NetTech) > 760-721-8339 > http://www.4nettech.com > > > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carlos at dsag.jazztel.es Sun Jun 19 23:39:45 2011 From: carlos at dsag.jazztel.es (Carlos de Santa-Ana Garcia) Date: Sun, 19 Jun 2011 23:39:45 +0200 Subject: Problem in starting nagios In-Reply-To: References: Message-ID: <4DFE6CA1.9080900@dsag.jazztel.es> Hi -- Nagios is running, it have a PID,. -- You cant access the web because its not installed or configured: Look for nagios.conf at /etc/apache2/conf.d It must look like this if you installed nagios in/usr/local/nagios: ---------------------------------------------------------------------------- # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER # Last Modified: 11-26-2005 # # This file contains examples of entries that need # to be incorporated into your Apache web server # configuration file. Customize the paths, etc. as # needed to fit your system. ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" # SSLRequireSSL Options ExecCGI AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Alias /nagios "/usr/local/nagios/share" # SSLRequireSSL Options None AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user ---------------------------------------------------------------------------------------------------------------------------------- Greeets. El 19/06/2011 10:46, nag ios escribi?: > I have installed the plugins and tried but in the browser when typed > > http://localhost/nagios/ > > it didnt work , getting the error in browser as > > > Not Found > > The requested URL /nagios was not found on this server. > > ------------------------------------------------------------------------ > Apache/2.2.17 (Ubuntu) Server at localhost Port 80 > > > > On Sun, Jun 19, 2011 at 1:55 PM, Kumar, Ashish > wrote: > > > On 19 June 2011 13:43, nag ios > wrote: > > When i ran this command > sudo /usr/local/nagios/bin/nagios > /usr/local/nagios/etc/nagios.cfg -d & > > I got the following output is anything wrong????? > > [1] 6369 > krishna at krishna:/usr/local/nagios/etc$ > 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 > Nagios 3.2.3 starting... (PID=6370) > Local time is Sun Jun 19 13:35:15 IST 2011 > sh: /usr/local/nagios/libexec/check_ping: not found > Warning: Return code of 127 for check of host 'localhost' was > out of bounds. Make sure the plugin you're trying to run > actually exists. > sh: /usr/local/nagios/libexec/check_load: not found > Warning: Return code of 127 for check of service 'Current > Load' on host 'localhost' was out of bounds. Make sure the > plugin you're trying to run actually exists. > > > > Smells like you haven't installed nagios-plugins pack. > http://nagios.org/download/plugins > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Mon Jun 20 03:16:29 2011 From: subscription at kkeane.com (Kevin Keane) Date: Sun, 19 Jun 2011 18:16:29 -0700 Subject: Embedding Icinga or Nagios in Joomla? Message-ID: I'm looking to public certain information from Nagios (or preferably from Icinga) into a larger Web site. Somewhat similar to what Nagios Looking Glass used to do; unfortunately, NLG seems to be no longer maintained; the web site for it is gone, and the latest version I found is about four years old and without documentation. The larger Web site I want to embed the information in is a Joomla site. Is there a Joomla module that would call the Nagios or Icinga API and retrieve data? Kevin Keane The NetTech (North County Tech Center, LLC dba The NetTech) 760-721-8339 http://www.4nettech.com ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maillist at ricafrente.com Mon Jun 20 03:24:31 2011 From: maillist at ricafrente.com (Rai Ricafrente) Date: Mon, 20 Jun 2011 09:24:31 +0800 Subject: "Return code of 141 is out of bounds" Error in Nagios 3.2.3 Message-ID: Hi everyone, I just installed a fresh Nagios v3.2.3 with about 150 hosts and 600 services. I just noticed from time to time, hosts are throwing out "Return code of 141 is out of bounds" status every now and then, then it will eventually go away. I don't know if this has anything to do with the plugin since the status will return to OK state without intervention, which proves that the check_icmp plugin works just fine. I'm confused with this error, and this one did not manifest itself when we were using Nagios v2. Anyone has the same issue? Big thanks, Rai -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Mon Jun 20 04:16:40 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Mon, 20 Jun 2011 10:16:40 +0800 Subject: "Return code of 141 is out of bounds" Error in Nagios 3.2.3 In-Reply-To: References: Message-ID: nagios only accepts integers 0~3 as return codes of plugins. try to manually execute the command of the questioned service (be the user nagios runs as) and check the ouputs. On Mon, Jun 20, 2011 at 9:24 AM, Rai Ricafrente wrote: > Hi everyone, > > I just installed a fresh Nagios v3.2.3 with about 150 hosts and 600 > services. I just noticed from time to time, hosts are throwing out "Return > code of 141 is out of bounds" status every now and then, then it will > eventually go away. I don't know if this has anything to do with the plugin > since the status will return to OK state without intervention, which proves > that the check_icmp plugin works just fine. > > I'm confused with this error, and this one did not manifest itself when we > were using Nagios v2. Anyone has the same issue? > > Big thanks, > > Rai > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maillist at ricafrente.com Mon Jun 20 04:24:38 2011 From: maillist at ricafrente.com (Rai Ricafrente) Date: Mon, 20 Jun 2011 10:24:38 +0800 Subject: "Return code of 141 is out of bounds" Error in Nagios 3.2.3 In-Reply-To: References: Message-ID: The output returns OK status when run manually. It seems that the error occurs at random times, but as mentioned, will eventually go away. If the plugin is the issue, the error should be persistent. In my case, it happens from time to time. I only experienced this when we used Nagios 3.2.3, this never happened in Nagios v2.6 On Mon, Jun 20, 2011 at 10:16 AM, Yueh-Hung Liu wrote: > nagios only accepts integers 0~3 as return codes of plugins. > try to manually execute the command of the questioned service (be the > user nagios runs as) and check the ouputs. > > > On Mon, Jun 20, 2011 at 9:24 AM, Rai Ricafrente > wrote: > > Hi everyone, > > > > I just installed a fresh Nagios v3.2.3 with about 150 hosts and 600 > > services. I just noticed from time to time, hosts are throwing out > "Return > > code of 141 is out of bounds" status every now and then, then it will > > eventually go away. I don't know if this has anything to do with the > plugin > > since the status will return to OK state without intervention, which > proves > > that the check_icmp plugin works just fine. > > > > I'm confused with this error, and this one did not manifest itself when > we > > were using Nagios v2. Anyone has the same issue? > > > > Big thanks, > > > > Rai > > > > > ------------------------------------------------------------------------------ > > EditLive Enterprise is the world's most technically advanced content > > authoring tool. Experience the power of Track Changes, Inline Image > > Editing and ensure content is compliant with Accessibility Checking. > > http://p.sf.net/sfu/ephox-dev2dev > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maillist at ricafrente.com Mon Jun 20 04:25:16 2011 From: maillist at ricafrente.com (Rai Ricafrente) Date: Mon, 20 Jun 2011 10:25:16 +0800 Subject: Nagios Issue of not detecting down/up status of server and delay of mails notifications In-Reply-To: References: Message-ID: Have you checked your time periods? On Fri, Jun 17, 2011 at 10:42 PM, Manish Kumar wrote: > > Hi Friends, > > I have implemented Nagios Core-3.2.3 on Fedora Core 14 and configured it > for monitoring of around 230 network devices for different services like > up/down status, uptime, ports link status, similarly configured for > monitoring around 30 windows servers for different services. > > The problem is that nagios is not able to send e-mail notification as soon > as any server/service/network device goes down. Some of the e-mails are > delayed around 12 hours and some are not triggered even, for example if a > server goes down for around a hour and is up again after that, nagios is not > able to detect it. I have setup the fedora 14 to use its sendmail sever to > relay the mails to our corporate smtp sever. > > Is this a valid issue with nagios or is there any way to scale it up. How > can a network/sever admin can believe on it if this works like this. > > > > -- > Thanks > Manish Kumar > http://in.linkedin.com/in/manishkumar85 > > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From terry at cnysupport.com Mon Jun 20 04:54:32 2011 From: terry at cnysupport.com (Terry Carmen) Date: Sun, 19 Jun 2011 22:54:32 -0400 Subject: "Return code of 141 is out of bounds" Error in Nagios 3.2.3 In-Reply-To: References: Message-ID: <20110619225432.32766f5hkys93o8w@www.cnysupport.com> Quoting Rai Ricafrente : > The output returns OK status when run manually. It seems that the error > occurs at random times, but as mentioned, will eventually go away. If the > plugin is the issue, the error should be persistent. The plugin isn't handling one or more input conditions correctly and is returning an out-of-bounds value. This is the only possible cause I'm aware of for that message. It's very specific. You should be able to examine the plugin's source code and see what conditions could trigger it. FWIW, this is a bug in the plugin, since anything besides OK, Warning or Critical should be returned as "Unknown" (4). Terry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From allanc at chickenandporn.com Mon Jun 20 04:59:58 2011 From: allanc at chickenandporn.com (Allan Clark) Date: Sun, 19 Jun 2011 19:59:58 -0700 Subject: "Return code of 141 is out of bounds" Error in Nagios 3.2.3 In-Reply-To: References: Message-ID: >> On Mon, Jun 20, 2011 at 9:24 AM, Rai Ricafrente >> wrote: >> > Hi everyone, >> > >> > I just installed a fresh Nagios v3.2.3 with about 150 hosts and 600 >> > services. I just noticed from time to time, hosts are throwing out >> > "Return >> > code of 141 is out of bounds" status every now and then, then it will >> > eventually go away. I don't know if this has anything to do with the >> > plugin >> > since the status will return to OK state without intervention, which >> > proves >> > that the check_icmp plugin works just fine. >> > >> > I'm confused with this error, and this one did not manifest itself when >> > we >> > were using Nagios v2. Anyone has the same issue? >> > >> > Big thanks, >> > >> > Rai > On Mon, Jun 20, 2011 at 10:16 AM, Yueh-Hung Liu > wrote: >> >> nagios only accepts integers 0~3 as return codes of plugins. >> try to manually execute the command of the questioned service (be the >> user nagios runs as) and check the ouputs. On Sun, Jun 19, 2011 at 19:24, Rai Ricafrente wrote: > The output returns OK status when run manually. It seems that the error > occurs at random times, but as mentioned, will eventually go away. If the > plugin is the issue, the error should be persistent. In my case, it happens > from time to time. I only experienced this when we used Nagios 3.2.3, this > never happened in Nagios v2.6 (Quick reminder: mailing list: don't top-post) Rai, the logic of "it never happened before on 2.6 so it would have never happened on 2.6, therefore 3.2.3 is in error" is like "we've never had an oil rig explode in the Gulf of Mexico before" :) Really, the way to find out who is to blame is similar to Yueh-Hung Liu's suggestion, but make a wrapper for the script instead. The wrapper should record the environment offered to the script, and the parameters, and should check the return code, storing the results by a filename based on the result code -- for example, renaming a temporary file used to collect into a filename based on the result. An example in /bin/bash would be to store all content into a file /tmp/nagios-tmp.$$, and then based on the $0 of the script execution, "mv /tmp/nagios-tmp.$$ /tmp/ret.$0" or some such. To explain what this offers, consider that you may have the return codes 0,1,2,3, and 141, and you're using "/tmp/ret" as a base filename. When you're running again, and you have a few successful results plus a "141" return code, compare any of the /tmp/ret.0, /tmp/ret.1, /tmp/ret.2,/tmp/ret.3 with the /tmp/ret.141 contents. You only need to keep the last occurrence of each (since they should be similar) so it keeps you from running out of disk. You can run this overnight without crushing your monitoring system's disk, no huge difference except for the file I/O you've added. Then, when you compare the wrapper output in the 141 case to the 0-3 case (ie "diff /tmp/ret.0 /tmp/ret.141"), you'll see whether the input environment or parameters are different. If it's relatively the same input either way, then when the wrapper executes the wrapped script, perhaps turn on some debugging or tracing, and the output will still collect, but you'll have some verbose debug information to dig through to see why. Alternatively, if the input seems to change, you'll be able to see what Nagios is doing differently between executions. Allan -- allanc at chickenandporn.com? "??" http://linkedin.com/in/goldfish ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maillist at ricafrente.com Mon Jun 20 05:42:59 2011 From: maillist at ricafrente.com (Rai Ricafrente) Date: Mon, 20 Jun 2011 11:42:59 +0800 Subject: "Return code of 141 is out of bounds" Error in Nagios 3.2.3 In-Reply-To: References: Message-ID: Hi Allan, I'm just saying that this could be a bug in the current Nagios, or the plugin as Terry pointed out, since this was never present in the previous version that I was using. This really freaks me out. I enabled Nagios's debug mode in the hopes of getting more about this. I am also considering re-compiling the whole thing. There is a nasty little bugger out there. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Alan.Pipitone.Guest at saipem.com Mon Jun 20 08:41:24 2011 From: Alan.Pipitone.Guest at saipem.com (Pipitone Alan (External)) Date: Mon, 20 Jun 2011 08:41:24 +0200 Subject: it works: Active Directory Authentication with Domain Group Message-ID: Hi all I and my colleague have developed a new method of authentication for Nagios and NagVis. Our work allows you to authenticate users against Active Directory and if users are member of the correct Domain Group, They will see hosts and services enabled for that group. They can even use the single sign on (sso) if enabled on their browser. However, you can use our method with almost all Nagios web interfaces and other web pages. In our environment all this work like a charm. Our code has been tested on Nagios 3.2.3 and Nagvis 1.5.7 but i think that can be used also with other versions without problem. Here the project: http://exchange.nagios.org/directory/Addons/Frontends-%28GUIs-and-CLIs%29/Others/Nagios-3A-Active-Directory-Authentication/details Alan Pipitone http://www.alan-pipitone.com ****************************************************************************************** CONFIDENTIALITY NOTICE This e-mail and any attachment are confidential and may be privileged or otherwise protected from disclosure. It is solely intended for the person(s) named above. If you are not the intended recipient, any reading, use, disclosure, copying or distribution of all or parts of this e-mail or associated attachments is strictly prohibited. If you are not an intended recipient, please notify the sender immediately by replying to this message or by telephone and delete this e-mail and any attachments permanently from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sven.Nierlein at consol.de Mon Jun 20 09:18:06 2011 From: Sven.Nierlein at consol.de (Sven Nierlein) Date: Mon, 20 Jun 2011 09:18:06 +0200 Subject: "Return code of 141 is out of bounds" Error in Nagios 3.2.3 In-Reply-To: References: Message-ID: <4DFEF42E.7050809@consol.de> On 6/20/11 3:24, Rai Ricafrente wrote: > Hi everyone, > > I just installed a fresh Nagios v3.2.3 with about 150 hosts and 600 services. I just noticed from time to time, hosts are throwing out "Return code of 141 is out of bounds" status every now and then Hi Rai, Return Code 141 usually means your plugin terminated with a SIGPIPE [1]. Sven [1]: http://en.wikipedia.org/wiki/SIGPIPE ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon Jun 20 16:54:05 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 20 Jun 2011 15:54:05 +0100 Subject: Logging the change of a notification status In-Reply-To: <1D739842-ACC4-4C41-881A-6DD66341B6C5@tamu.edu> References: <1D739842-ACC4-4C41-881A-6DD66341B6C5@tamu.edu> Message-ID: On 9 June 2011 17:02, Zac Sanders wrote: > In our environment, we have around 20 people who have the ability to disable and enable notifications of hosts inside of Nagios. ?Unfortunately, some of these people don't remember to re-enable the notifications once they've completed maintenance. ?Does anyone know if it's possible to either have Nagios log who disabled notifications, or have it send out an alert when someone disables a notification? ?Thanks. > > Zac You can probably check the Apache access log (on my system that is /var/log/apache2/access.log) to see who is disabling and enabling notifications. For example search the log for "cmd_typ=23" to look for users disabling notifications for a service or "cmd_type=25" to see where they are disabling notifications for a host. Normally you should use scheduled downtime to disable notifications during maintenance instead - that way you know that notifications will be re-enabled at the end of the period of scheduled downtime and you can easily see who has scheduled the downtime, and assuming they bother to enter a meaninful comment, why. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From victor at owlbydesign.com Tue Jun 21 05:36:10 2011 From: victor at owlbydesign.com (Victor Carpetto) Date: Mon, 20 Jun 2011 20:36:10 -0700 Subject: it works: Active Directory Authentication with Domain Group In-Reply-To: References: Message-ID: <216098CB68A8EA42BF0A0CAEA7DE176209496624C4@VA3DIAXVS201.RED001.local> This looks great. I'm going to give this a shot in one of my test environments in the coming month. I will let you know how it goes. Best, Victor Carpetto From: Pipitone Alan (External) [mailto:Alan.Pipitone.Guest at saipem.com] Sent: Monday, June 20, 2011 2:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] it works: Active Directory Authentication with Domain Group Hi all I and my colleague have developed a new method of authentication for Nagios and NagVis. Our work allows you to authenticate users against Active Directory and if users are member of the correct Domain Group, They will see hosts and services enabled for that group. They can even use the single sign on (sso) if enabled on their browser. However, you can use our method with almost all Nagios web interfaces and other web pages. In our environment all this work like a charm. Our code has been tested on Nagios 3.2.3 and Nagvis 1.5.7 but i think that can be used also with other versions without problem. Here the project: http://exchange.nagios.org/directory/Addons/Frontends-%28GUIs-and-CLIs%29/Others/Nagios-3A-Active-Directory-Authentication/details Alan Pipitone http://www.alan-pipitone.com ****************************************************************************************** CONFIDENTIALITY NOTICE This e-mail and any attachment are confidential and may be privileged or otherwise protected from disclosure. It is solely intended for the person(s) named above. If you are not the intended recipient, any reading, use, disclosure, copying or distribution of all or parts of this e-mail or associated attachments is strictly prohibited. If you are not an intended recipient, please notify the sender immediately by replying to this message or by telephone and delete this e-mail and any attachments permanently from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Alan.Pipitone.Guest at saipem.com Tue Jun 21 08:03:20 2011 From: Alan.Pipitone.Guest at saipem.com (Pipitone Alan (External)) Date: Tue, 21 Jun 2011 08:03:20 +0200 Subject: it works: Active Directory Authenticationwith Domain Group Message-ID: I'm glad you like it. We've worked hard for this. Thank you. Bye Alan Pipitone http://www.alan-pipitone.com From: Victor Carpetto [mailto:victor at owlbydesign.com] Sent: marted? 21 giugno 2011 05:36 To: Nagios Users List Subject: Re: [Nagios-users] it works: Active Directory Authenticationwith Domain Group This looks great. I'm going to give this a shot in one of my test environments in the coming month. I will let you know how it goes. Best, Victor Carpetto From: Pipitone Alan (External) [mailto:Alan.Pipitone.Guest at saipem.com] Sent: Monday, June 20, 2011 2:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] it works: Active Directory Authentication with Domain Group Hi all I and my colleague have developed a new method of authentication for Nagios and NagVis. Our work allows you to authenticate users against Active Directory and if users are member of the correct Domain Group, They will see hosts and services enabled for that group. They can even use the single sign on (sso) if enabled on their browser. However, you can use our method with almost all Nagios web interfaces and other web pages. In our environment all this work like a charm. Our code has been tested on Nagios 3.2.3 and Nagvis 1.5.7 but i think that can be used also with other versions without problem. Here the project: http://exchange.nagios.org/directory/Addons/Frontends-%28GUIs-and-CLIs%29/Others/Nagios-3A-Active-Directory-Authentication/details Alan Pipitone http://www.alan-pipitone.com ****************************************************************************************** CONFIDENTIALITY NOTICE This e-mail and any attachment are confidential and may be privileged or otherwise protected from disclosure. It is solely intended for the person(s) named above. If you are not the intended recipient, any reading, use, disclosure, copying or distribution of all or parts of this e-mail or associated attachments is strictly prohibited. If you are not an intended recipient, please notify the sender immediately by replying to this message or by telephone and delete this e-mail and any attachments permanently from your system. ****************************************************************************************** CONFIDENTIALITY NOTICE This e-mail and any attachment are confidential and may be privileged or otherwise protected from disclosure. It is solely intended for the person(s) named above. If you are not the intended recipient, any reading, use, disclosure, copying or distribution of all or parts of this e-mail or associated attachments is strictly prohibited. If you are not an intended recipient, please notify the sender immediately by replying to this message or by telephone and delete this e-mail and any attachments permanently from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SLofland at slco.org Tue Jun 21 15:57:11 2011 From: SLofland at slco.org (Scott Lofland) Date: Tue, 21 Jun 2011 13:57:11 +0000 Subject: it works: Active Directory Authentication with Domain Group In-Reply-To: References: Message-ID: <34775FB9488E23449AD8E4C69D2C4A3620DDF326@SLCMAIL2.slcounty.org> From: Pipitone Alan (External) [mailto:Alan.Pipitone.Guest at saipem.com] Sent: Monday, June 20, 2011 12:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] it works: Active Directory Authentication with Domain Group Hi all I and my colleague have developed a new method of authentication for Nagios and NagVis. Our work allows you to authenticate users against Active Directory and if users are member of the correct Domain Group, They will see hosts and services enabled for that group. They can even use the single sign on (sso) if enabled on their browser. However, you can use our method with almost all Nagios web interfaces and other web pages. In our environment all this work like a charm. Our code has been tested on Nagios 3.2.3 and Nagvis 1.5.7 but i think that can be used also with other versions without problem. Here the project: http://exchange.nagios.org/directory/Addons/Frontends-%28GUIs-and-CLIs%29/Others/Nagios-3A-Active-Directory-Authentication/details Alan Pipitone http://www.alan-pipitone.com This looks great! I've been looking for something like this but hadn't had time to fiddle with anything. We'll give it a whirl as well and let you know how it works. Thanks! Scott Lofland -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at mkadvantage.com Wed Jun 22 04:59:45 2011 From: chris at mkadvantage.com (Chris Schaft) Date: Tue, 21 Jun 2011 22:59:45 -0400 Subject: More SNMP CONF files Message-ID: <002701cc3088$714c8ef0$53e5acd0$@mkadvantage.com> All, We have posted several hundred more conf files for trap handling. You can get them at http://www.mkadvantage.com. Once you get here, go to Tools on the Menu Bar, then go to SNMP Trap Conf files on the left side. Christopher Schaft President Description: Smaller Version Gif c. 773.988.2277 f. 773.902.5272 o. 773.902.5272 Twitter Blog -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 5574 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Jun 22 10:25:49 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 22 Jun 2011 09:25:49 +0100 Subject: More SNMP CONF files In-Reply-To: <002701cc3088$714c8ef0$53e5acd0$@mkadvantage.com> References: <002701cc3088$714c8ef0$53e5acd0$@mkadvantage.com> Message-ID: On 22 June 2011 03:59, Chris Schaft wrote: > We have posted several hundred more conf files for trap handling.? You can get them > at http://www.mkadvantage.com.? Once you get here, go to Tools on the Menu Bar, > then go to SNMP Trap Conf files on the left side. That looks extremely useful - it can be a right pain tracking down the relevant MIB file otherwise. Many thanks! Jim ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Wed Jun 22 11:18:33 2011 From: nagiostool at gmail.com (nag ios) Date: Wed, 22 Jun 2011 14:48:33 +0530 Subject: Nagios installation error Message-ID: Hi everyone , I am trying to install nagios is rhel 4.5 but when i have run the command in the extracted directory only.. ./configure --prefix=/usr/local/nagios i am getting an error as configure: error: no acceptable C compiler found in $PATH Please help me -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev -------------- 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 nagiostool at gmail.com Wed Jun 22 11:21:06 2011 From: nagiostool at gmail.com (nag ios) Date: Wed, 22 Jun 2011 14:51:06 +0530 Subject: Problem in starting nagios In-Reply-To: <4DFE6CA1.9080900@dsag.jazztel.es> References: <4DFE6CA1.9080900@dsag.jazztel.es> Message-ID: In which configuration file (file name) the following has to be typed....??? On Mon, Jun 20, 2011 at 3:09 AM, Carlos de Santa-Ana Garcia < carlos at dsag.jazztel.es> wrote: > ** > Hi > > -- Nagios is running, it have a PID,. > > -- You cant access the web because its not installed or configured: > > Look for nagios.conf at /etc/apache2/conf.d > > It must look like this if you installed nagios in /usr/local/nagios: > > > > ---------------------------------------------------------------------------- > > # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER > # Last Modified: 11-26-2005 > # > # This file contains examples of entries that need > # to be incorporated into your Apache web server > # configuration file. Customize the paths, etc. as > # needed to fit your system. > > ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" > > > # SSLRequireSSL > Options ExecCGI > AllowOverride None > Order allow,deny > Allow from all > # Order deny,allow > # Deny from all > # Allow from 127.0.0.1 > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > > Alias /nagios "/usr/local/nagios/share" > > > # SSLRequireSSL > Options None > AllowOverride None > Order allow,deny > Allow from all > # Order deny,allow > # Deny from all > # Allow from 127.0.0.1 > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > > > ---------------------------------------------------------------------------------------------------------------------------------- > > > Greeets. > > > > El 19/06/2011 10:46, nag ios escribi?: > > I have installed the plugins and tried but in the browser when typed > > http://localhost/nagios/ > > it didnt work , getting the error in browser as > > Not Found > > The requested URL /nagios was not found on this server. > ------------------------------ > Apache/2.2.17 (Ubuntu) Server at localhost Port 80 > > On Sun, Jun 19, 2011 at 1:55 PM, Kumar, Ashish wrote: > >> >> On 19 June 2011 13:43, nag ios wrote: >> >>> When i ran this command >>> sudo /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg -d & >>> >>> I got the following output is anything wrong????? >>> >>> [1] 6369 >>> krishna at krishna:/usr/local/nagios/etc$ >>> 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 >>> Nagios 3.2.3 starting... (PID=6370) >>> Local time is Sun Jun 19 13:35:15 IST 2011 >>> sh: /usr/local/nagios/libexec/check_ping: not found >>> Warning: Return code of 127 for check of host 'localhost' was out of >>> bounds. Make sure the plugin you're trying to run actually exists. >>> sh: /usr/local/nagios/libexec/check_load: not found >>> Warning: Return code of 127 for check of service 'Current Load' on host >>> 'localhost' was out of bounds. Make sure the plugin you're trying to run >>> actually exists. >>> >>> >> >> Smells like you haven't installed nagios-plugins pack. >> http://nagios.org/download/plugins >> >> >> >> ------------------------------------------------------------------------------ >> EditLive Enterprise is the world's most technically advanced content >> authoring tool. Experience the power of Track Changes, Inline Image >> Editing and ensure content is compliant with Accessibility Checking. >> http://p.sf.net/sfu/ephox-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking.http://p.sf.net/sfu/ephox-dev2dev > > > _______________________________________________ > 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 > > > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev -------------- 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 Jun 22 12:04:09 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 22 Jun 2011 12:04:09 +0200 Subject: Nagios installation error In-Reply-To: References: Message-ID: <4E01BE19.20904@op5.se> On 06/22/2011 11:18 AM, nag ios wrote: > Hi everyone , > I am trying to install nagios is rhel 4.5 but when i > have run the command in the extracted directory only.. > > ./configure --prefix=/usr/local/nagios > > i am getting an error as > > configure: error: no acceptable C compiler found in $PATH > You need a development environment on the system where you're compiling. yum install gcc glibc-devel kernel-headers should get you started. Good luck. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at mkadvantage.com Wed Jun 22 14:34:21 2011 From: chris at mkadvantage.com (Chris Schaft) Date: Wed, 22 Jun 2011 08:34:21 -0400 Subject: More SNMP CONF files In-Reply-To: References: <002701cc3088$714c8ef0$53e5acd0$@mkadvantage.com> Message-ID: <001c01cc30d8$b64a3ed0$22debc70$@mkadvantage.com> Hi Jim, You are welcome. It is painful to find all that stuff indeed. Please keep coming back, we will be putting up more stuff. Chris -----Original Message----- From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: Wednesday, June 22, 2011 4:26 AM To: Nagios Users List Subject: Re: [Nagios-users] More SNMP CONF files On 22 June 2011 03:59, Chris Schaft wrote: > We have posted several hundred more conf files for trap handling.? You > can get them at http://www.mkadvantage.com.? Once you get here, go to > Tools on the Menu Bar, then go to SNMP Trap Conf files on the left side. That looks extremely useful - it can be a right pain tracking down the relevant MIB file otherwise. Many thanks! Jim ---------------------------------------------------------------------------- -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From darose at darose.net Wed Jun 22 18:34:59 2011 From: darose at darose.net (David Rosenstrauch) Date: Wed, 22 Jun 2011 12:34:59 -0400 Subject: Best practices for running Nagios across multiple data centers Message-ID: <4E0219B3.8040002@darose.net> I've had a lot of experience using Nagios in my previous job, where we used it to monitor numerous hosts and many different types of services - albeit all in the same data center. In my new job, however, I need to set up more sophisticated monitoring, since we have servers located in multiple data centers, with each data center containing a bunch of servers behind a firewall. What are some of the best approaches for Nagios to handle monitoring a setup like this? I'm assuming I'd need to set up multiple Nagios instances - one for each data center - with each one monitoring the servers behind that data center's firewall. What I'm wondering then, though, is how best to tie that all together. Would I need to run another, "main" nagios instance that takes in information from the others? If so, how best to feed the data from the 2nd tier instances into the main one? Passive checks sound like they could do the trick, but if I understand correctly, that would mean I'd need to define each service check on both the main instance (as a passive check) and on the 2nd tier instance (as an active check), which sounds like a bit of a configuration headache. Anyone have any good suggested reading on how to best configure a setup like this? Feel free to RTFM me, though I wasn't able to turn up much of use myself when searching on "nagios multiple data centers". Thanks, DR ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 22 19:28:30 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Wed, 22 Jun 2011 17:28:30 +0000 Subject: Best practices for running Nagios across multiple data centers In-Reply-To: <4E0219B3.8040002@darose.net> References: <4E0219B3.8040002@darose.net> Message-ID: <43EB55D703EFCD4880834FDFE47811D20322CF@WPSDGQGP.OPR.STATEFARM.ORG> Might be simpler than that, just tie the front-end viewing together. We're using Multisite to tie together over 30 Nagios servers in 3 different data centers. Dan -----Original Message----- From: David Rosenstrauch [mailto:darose at darose.net] Sent: Wednesday, June 22, 2011 11:35 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Best practices for running Nagios across multiple data centers I've had a lot of experience using Nagios in my previous job, where we used it to monitor numerous hosts and many different types of services - albeit all in the same data center. In my new job, however, I need to set up more sophisticated monitoring, since we have servers located in multiple data centers, with each data center containing a bunch of servers behind a firewall. What are some of the best approaches for Nagios to handle monitoring a setup like this? I'm assuming I'd need to set up multiple Nagios instances - one for each data center - with each one monitoring the servers behind that data center's firewall. What I'm wondering then, though, is how best to tie that all together. Would I need to run another, "main" nagios instance that takes in information from the others? If so, how best to feed the data from the 2nd tier instances into the main one? Passive checks sound like they could do the trick, but if I understand correctly, that would mean I'd need to define each service check on both the main instance (as a passive check) and on the 2nd tier instance (as an active check), which sounds like a bit of a configuration headache. Anyone have any good suggested reading on how to best configure a setup like this? Feel free to RTFM me, though I wasn't able to turn up much of use myself when searching on "nagios multiple data centers". Thanks, DR ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 22 20:18:42 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 22 Jun 2011 20:18:42 +0200 Subject: Best practices for running Nagios across multiple data centers In-Reply-To: <43EB55D703EFCD4880834FDFE47811D20322CF@WPSDGQGP.OPR.STATEFARM.ORG> References: <4E0219B3.8040002@darose.net> <43EB55D703EFCD4880834FDFE47811D20322CF@WPSDGQGP.OPR.STATEFARM.ORG> Message-ID: <4E023202.6020105@op5.se> On 06/22/2011 07:28 PM, Daniel Wittenberg wrote: > Might be simpler than that, just tie the front-end viewing together. > We're using Multisite to tie together over 30 Nagios servers in 3 > different data centers. > That won't work so well with firewalls blocking inbound access though. -- 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. ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 22 20:22:20 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 22 Jun 2011 20:22:20 +0200 Subject: Best practices for running Nagios across multiple data centers In-Reply-To: <4E0219B3.8040002@darose.net> References: <4E0219B3.8040002@darose.net> Message-ID: <4E0232DC.5020309@op5.se> On 06/22/2011 06:34 PM, David Rosenstrauch wrote: > I've had a lot of experience using Nagios in my previous job, where we > used it to monitor numerous hosts and many different types of services - > albeit all in the same data center. > > In my new job, however, I need to set up more sophisticated monitoring, > since we have servers located in multiple data centers, with each data > center containing a bunch of servers behind a firewall. What are some > of the best approaches for Nagios to handle monitoring a setup like this? > Use three servers. One view-server where you just consolidate everything and two pollers. On the two pollers you just split configuration so that each handle their own data-center. Merlin is well suited for this, and it'll do the config-splitting and syncing on its own. You'll find the code for it at http://git.op5.org/git/?p=nagios/merlin.git;a=summary and some more info at http://www.op5.org/community/plugin-inventory/op5-projects/merlin Hope you like it. Just don't follow the ages-old download link from the project page. I'll make sure to update it in a while, but use the tarball link from the gitweb page for now. -- 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. ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carlos at dsag.jazztel.es Wed Jun 22 21:23:47 2011 From: carlos at dsag.jazztel.es (Carlos de Santa-Ana Garcia) Date: Wed, 22 Jun 2011 21:23:47 +0200 Subject: Problem in starting nagios In-Reply-To: References: <4DFE6CA1.9080900@dsag.jazztel.es> Message-ID: <4E024143.8010403@dsag.jazztel.es> Hi For example: nagios.conf can be any other whatyoulikename.conf . In some setups it can be at /etc/apache2/sites-available/ , then it must be linked (softlink) at /etc/apache2/sites-enabled/ , this is not usual with nagios but is another posible setup. But..... Did you run " |make install-webconf " when you instaled nagios ???| it makes this automatically. Greets El 22/06/2011 11:21, nag ios escribi?: > In which configuration file (file name) the following has to be > typed....??? > > On Mon, Jun 20, 2011 at 3:09 AM, Carlos de Santa-Ana Garcia > > wrote: > > Hi > > -- Nagios is running, it have a PID,. > > -- You cant access the web because its not installed or configured: > > Look for nagios.conf at /etc/apache2/conf.d > > It must look like this if you installed nagios in/usr/local/nagios: > > > ---------------------------------------------------------------------------- > > # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER > # Last Modified: 11-26-2005 > # > # This file contains examples of entries that need > # to be incorporated into your Apache web server > # configuration file. Customize the paths, etc. as > # needed to fit your system. > > ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" > > > # SSLRequireSSL > Options ExecCGI > AllowOverride None > Order allow,deny > Allow from all > # Order deny,allow > # Deny from all > # Allow from 127.0.0.1 > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > > Alias /nagios "/usr/local/nagios/share" > > > # SSLRequireSSL > Options None > AllowOverride None > Order allow,deny > Allow from all > # Order deny,allow > # Deny from all > # Allow from 127.0.0.1 > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > > ---------------------------------------------------------------------------------------------------------------------------------- > > > Greeets. > > > > El 19/06/2011 10:46, nag ios escribi?: >> I have installed the plugins and tried but in the browser when typed >> >> http://localhost/nagios/ >> >> it didnt work , getting the error in browser as >> >> >> Not Found >> >> The requested URL /nagios was not found on this server. >> >> ------------------------------------------------------------------------ >> Apache/2.2.17 (Ubuntu) Server at localhost Port 80 >> >> >> >> On Sun, Jun 19, 2011 at 1:55 PM, Kumar, Ashish >> > wrote: >> >> >> On 19 June 2011 13:43, nag ios > > wrote: >> >> When i ran this command >> sudo /usr/local/nagios/bin/nagios >> /usr/local/nagios/etc/nagios.cfg -d & >> >> I got the following output is anything wrong????? >> >> [1] 6369 >> krishna at krishna:/usr/local/nagios/etc$ >> 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 >> Nagios 3.2.3 starting... (PID=6370) >> Local time is Sun Jun 19 13:35:15 IST 2011 >> sh: /usr/local/nagios/libexec/check_ping: not found >> Warning: Return code of 127 for check of host 'localhost' >> was out of bounds. Make sure the plugin you're trying to >> run actually exists. >> sh: /usr/local/nagios/libexec/check_load: not found >> Warning: Return code of 127 for check of service 'Current >> Load' on host 'localhost' was out of bounds. Make sure >> the plugin you're trying to run actually exists. >> >> >> >> Smells like you haven't installed nagios-plugins pack. >> http://nagios.org/download/plugins >> >> >> ------------------------------------------------------------------------------ >> EditLive Enterprise is the world's most technically advanced >> content >> authoring tool. Experience the power of Track Changes, Inline >> Image >> Editing and ensure content is compliant with Accessibility >> Checking. >> http://p.sf.net/sfu/ephox-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS >> when reporting any issue. >> ::: Messages without supporting info will risk being sent to >> /dev/null >> >> >> >> ------------------------------------------------------------------------------ >> EditLive Enterprise is the world's most technically advanced content >> authoring tool. Experience the power of Track Changes, Inline Image >> Editing and ensure content is compliant with Accessibility Checking. >> http://p.sf.net/sfu/ephox-dev2dev >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carlos at dsag.jazztel.es Wed Jun 22 21:30:15 2011 From: carlos at dsag.jazztel.es (Carlos de Santa-Ana Garcia) Date: Wed, 22 Jun 2011 21:30:15 +0200 Subject: Best practices for running Nagios across multiple data centers In-Reply-To: <4E0219B3.8040002@darose.net> References: <4E0219B3.8040002@darose.net> Message-ID: <4E0242C7.5050409@dsag.jazztel.es> Hi Look at this: http://mathias-kettner.de/checkmk_multisite.html Greets. El 22/06/2011 18:34, David Rosenstrauch escribi?: > I've had a lot of experience using Nagios in my previous job, where we > used it to monitor numerous hosts and many different types of services - > albeit all in the same data center. > > In my new job, however, I need to set up more sophisticated monitoring, > since we have servers located in multiple data centers, with each data > center containing a bunch of servers behind a firewall. What are some > of the best approaches for Nagios to handle monitoring a setup like this? > > I'm assuming I'd need to set up multiple Nagios instances - one for each > data center - with each one monitoring the servers behind that data > center's firewall. What I'm wondering then, though, is how best to tie > that all together. Would I need to run another, "main" nagios instance > that takes in information from the others? If so, how best to feed the > data from the 2nd tier instances into the main one? Passive checks > sound like they could do the trick, but if I understand correctly, that > would mean I'd need to define each service check on both the main > instance (as a passive check) and on the 2nd tier instance (as an active > check), which sounds like a bit of a configuration headache. > > Anyone have any good suggested reading on how to best configure a setup > like this? Feel free to RTFM me, though I wasn't able to turn up much > of use myself when searching on "nagios multiple data centers". > > Thanks, > > DR > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jun 22 21:35:39 2011 From: manikumar85 at gmail.com (Manish Kumar) Date: Thu, 23 Jun 2011 01:05:39 +0530 Subject: nagios architecture Message-ID: Hi frnds.. Recently someone asked me about nagios architecture. Can anyone discuss in details about nagios architecture. Better if someone has some ppt/diagram on it to explain it better. -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev -------------- 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 polifemos at conedsolutions.com Wed Jun 22 21:42:16 2011 From: polifemos at conedsolutions.com (Polifemo, Salvatore) Date: Wed, 22 Jun 2011 15:42:16 -0400 Subject: nagios architecture In-Reply-To: References: Message-ID: <5BE7D0404F28DC44B780100927AA4CB0245C77F9@whplex3.int.cecdes.net> http://www.nagios.com/ Salvatore Polifemo Senior Systems Security Specialist Information Technology From: Manish Kumar [mailto:manikumar85 at gmail.com] Sent: Wednesday, June 22, 2011 3:36 PM To: nagios-users Subject: [Nagios-users] nagios architecture Hi frnds.. Recently someone asked me about nagios architecture. Can anyone discuss in details about nagios architecture. Better if someone has some ppt/diagram on it to explain it better. -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev -------------- 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 nagiosusers at edcint.co.nz Thu Jun 23 04:12:26 2011 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Thu, 23 Jun 2011 12:12:26 +1000 Subject: Checking Status of Exchange 2010 Mailbox Store without check_nt In-Reply-To: References: Message-ID: <4E02A10A.7010607@edcint.co.nz> I have a way to check it directly from the Nagios server without installing anything on any Windows server. I've tested it only on my practice/development/IsNotLive Exchange server 2010. I just need someone to test it on a real server before I release it Its a check defined for use with www.edcint.co.nz/checkwmiplus. Any takers? On 17/06/2011 2:42 AM, Ryan McHugh wrote: > I have been looking for a way to check the status of the Exchange Mailbox > Store with out using the check_nt daemon. I do not have the option of > installing anything on the exchange server at this time but can have WMI / > RPC / snmp connections. Does anyone know of a way to check and see if the > Store is mounted, either directly or indrectly? I may have access to the > OWA but not POP/IMAP to try a client connect / html parse if there are > tools for that. > -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev -------------- 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 victor at owlbydesign.com Thu Jun 23 04:30:41 2011 From: victor at owlbydesign.com (Victor Carpetto) Date: Wed, 22 Jun 2011 19:30:41 -0700 Subject: Checking Status of Exchange 2010 Mailbox Store without check_nt In-Reply-To: <4E02A10A.7010607@edcint.co.nz> References: <4E02A10A.7010607@edcint.co.nz> Message-ID: <216098CB68A8EA42BF0A0CAEA7DE17620BA4265D6F@VA3DIAXVS201.RED001.local> I can test this by next week. Please send over the details. check_wmi works great btw. From: Matthew Jurgens [mailto:nagiosusers at edcint.co.nz] Sent: Wednesday, June 22, 2011 10:12 PM To: Nagios Users List Subject: Re: [Nagios-users] Checking Status of Exchange 2010 Mailbox Store without check_nt I have a way to check it directly from the Nagios server without installing anything on any Windows server. I've tested it only on my practice/development/IsNotLive Exchange server 2010. I just need someone to test it on a real server before I release it Its a check defined for use with www.edcint.co.nz/checkwmiplus. Any takers? On 17/06/2011 2:42 AM, Ryan McHugh wrote: I have been looking for a way to check the status of the Exchange Mailbox Store with out using the check_nt daemon. I do not have the option of installing anything on the exchange server at this time but can have WMI / RPC / snmp connections. Does anyone know of a way to check and see if the Store is mounted, either directly or indrectly? I may have access to the OWA but not POP/IMAP to try a client connect / html parse if there are tools for that. -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev -------------- 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 quanta.linux at gmail.com Thu Jun 23 06:12:49 2011 From: quanta.linux at gmail.com (quanta) Date: Thu, 23 Jun 2011 11:12:49 +0700 Subject: Postqueue monitoring In-Reply-To: <4D2F0C65.2080303@winxpert.com> References: <4D2F0C65.2080303@winxpert.com> Message-ID: <4E02BD41.2050903@gmail.com> Try to write a plugin for yourself. You can do it with a simple shell script. On 01/13/2011 09:29 PM, Luc MAIGNAN wrote: > Hi, > > I'm looking for a postqueue (postfix) plugin that alerts me if there are > blocked messages in a postfix queue. > > I didn't find any WORKABLE plugin. > > Does anyone know a good one ? > > > BR > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Alan.Pipitone.Guest at saipem.com Thu Jun 23 08:47:19 2011 From: Alan.Pipitone.Guest at saipem.com (Pipitone Alan (External)) Date: Thu, 23 Jun 2011 08:47:19 +0200 Subject: Best practices for running Nagios across multiple data centers In-Reply-To: <4E0242C7.5050409@dsag.jazztel.es> References: <4E0219B3.8040002@darose.net> <4E0242C7.5050409@dsag.jazztel.es> Message-ID: Hi To set up distributed Nagios installations, you can try Merlin: http://www.op5.org/community/plugin-inventory/op5-projects/merlin In your case, I think that You should only open (on your firewall) the port that Merlin uses to contact other Nagios servers. I use it, is exceptional. Bye Alan Pipitone http://www.alan-pipitone.com -----Original Message----- From: Carlos de Santa-Ana Garcia [mailto:carlos at dsag.jazztel.es] Sent: mercoled? 22 giugno 2011 21:30 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Best practices for running Nagios across multiple data centers Hi Look at this: http://mathias-kettner.de/checkmk_multisite.html Greets. El 22/06/2011 18:34, David Rosenstrauch escribi?: > I've had a lot of experience using Nagios in my previous job, where we > used it to monitor numerous hosts and many different types of services > - albeit all in the same data center. > > In my new job, however, I need to set up more sophisticated > monitoring, since we have servers located in multiple data centers, > with each data center containing a bunch of servers behind a firewall. > What are some of the best approaches for Nagios to handle monitoring a setup like this? > > I'm assuming I'd need to set up multiple Nagios instances - one for > each data center - with each one monitoring the servers behind that > data center's firewall. What I'm wondering then, though, is how best > to tie that all together. Would I need to run another, "main" nagios > instance that takes in information from the others? If so, how best > to feed the data from the 2nd tier instances into the main one? > Passive checks sound like they could do the trick, but if I understand > correctly, that would mean I'd need to define each service check on > both the main instance (as a passive check) and on the 2nd tier > instance (as an active check), which sounds like a bit of a configuration headache. > > Anyone have any good suggested reading on how to best configure a > setup like this? Feel free to RTFM me, though I wasn't able to turn > up much of use myself when searching on "nagios multiple data centers". > > Thanks, > > DR > > ---------------------------------------------------------------------- > -------- Simplify data backup and recovery for your virtual > environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is > safe, secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ****************************************************************************************** CONFIDENTIALITY NOTICE This e-mail and any attachment are confidential and may be privileged or otherwise protected from disclosure. It is solely intended for the person(s) named above. If you are not the intended recipient, any reading, use, disclosure, copying or distribution of all or parts of this e-mail or associated attachments is strictly prohibited. If you are not an intended recipient, please notify the sender immediately by replying to this message or by telephone and delete this e-mail and any attachments permanently from your system. ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu Jun 23 10:17:46 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 23 Jun 2011 09:17:46 +0100 Subject: nagios architecture In-Reply-To: References: Message-ID: On 22 June 2011 20:35, Manish Kumar wrote: > Hi frnds.. > Recently someone asked me about nagios architecture. Can anyone discuss in > details about nagios architecture. Better if someone has some ppt/diagram on > it to explain it better. > > -- > Thanks > Manish Kumar > http://in.linkedin.com/in/manishkumar85 Manish, there are now so many different ways that people use Nagios with various add-ons which give you different ways to structure a Nagios system it would be a huge task to document all of them. Thankfully there are a few books on the subject - that's probably the best way to get a head start with understanding Nagios and how it works. The one I found most useful is by Wolfgang Barth http://nostarch.com/nagios.htm It's probably not the most up-to-date, but explains the standard Nagios architecture very well. Various organisations and companies are doing interesting work with the Nagios architecture, in particular providing effecient ways to scale it out and provide redundancy. One you will hear about quite a lot is Merlin http://www.op5.org/community/plugin-inventory/op5-projects/merlin Cheers, Jim ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From darose at darose.net Thu Jun 23 18:51:01 2011 From: darose at darose.net (David Rosenstrauch) Date: Thu, 23 Jun 2011 12:51:01 -0400 Subject: Best practices for running Nagios across multiple data centers In-Reply-To: References: <4E0219B3.8040002@darose.net> <4E0242C7.5050409@dsag.jazztel.es> Message-ID: <4E036EF5.7060808@darose.net> Thanks much for the suggestions! I'll give Merlin and Multisite some thought. Neither one of them seems to be in the CentOS (or EPEL) repos though, which makes me a little reluctant. I also read up a bit on the Nagios NSCA option too, and it may not be as bad to configure as I thought, so I might wind up going with that. Will run some experiments later today. Thanks again for the pointers! DR On 06/23/2011 02:47 AM, Pipitone Alan (External) wrote: > Hi > > To set up distributed Nagios installations, you can try Merlin: > http://www.op5.org/community/plugin-inventory/op5-projects/merlin > > In your case, I think that You should only open (on your firewall) > the port that Merlin uses to contact other Nagios servers. > > I use it, is exceptional. > > Bye > > Alan Pipitone http://www.alan-pipitone.com > > -----Original Message----- From: Carlos de Santa-Ana Garcia > [mailto:carlos at dsag.jazztel.es] Sent: mercoled? 22 giugno 2011 21:30 > To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] > Best practices for running Nagios across multiple data centers > > Hi > > > Look at this: > > http://mathias-kettner.de/checkmk_multisite.html > > > Greets. > > El 22/06/2011 18:34, David Rosenstrauch escribi?: >> I've had a lot of experience using Nagios in my previous job, where >> we used it to monitor numerous hosts and many different types of >> services - albeit all in the same data center. >> >> In my new job, however, I need to set up more sophisticated >> monitoring, since we have servers located in multiple data >> centers, with each data center containing a bunch of servers behind >> a firewall. What are some of the best approaches for Nagios to >> handle monitoring a setup like this? >> >> I'm assuming I'd need to set up multiple Nagios instances - one >> for each data center - with each one monitoring the servers behind >> that data center's firewall. What I'm wondering then, though, is >> how best to tie that all together. Would I need to run another, >> "main" nagios instance that takes in information from the others? >> If so, how best to feed the data from the 2nd tier instances into >> the main one? Passive checks sound like they could do the trick, >> but if I understand correctly, that would mean I'd need to define >> each service check on both the main instance (as a passive check) >> and on the 2nd tier instance (as an active check), which sounds >> like a bit of a configuration headache. >> >> Anyone have any good suggested reading on how to best configure a >> setup like this? Feel free to RTFM me, though I wasn't able to >> turn up much of use myself when searching on "nagios multiple data >> centers". >> >> Thanks, >> >> DR >> >> ---------------------------------------------------------------------- >> >> -------- Simplify data backup and recovery for your virtual >> environment with vRanger. Installation's a snap, and flexible >> recovery options mean your data is safe, secure and there when you >> need it. Data protection magic? Nope - It's vRanger. Get your free >> trial download today. http://p.sf.net/sfu/quest-sfdev2dev >> _______________________________________________ Nagios-users >> mailing list Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users ::: >> Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> > > > ------------------------------------------------------------------------------ > > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data > is safe, secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null > ****************************************************************************************** > > CONFIDENTIALITY NOTICE > This e-mail and any attachment are confidential and may be privileged > or otherwise protected from disclosure. It is solely intended for the > person(s) named above. If you are not the intended recipient, any > reading, use, disclosure, copying or distribution of all or parts of > this e-mail or associated attachments is strictly prohibited. If you > are not an intended recipient, please notify the sender immediately > by replying to this message or by telephone and delete this e-mail > and any attachments permanently from your system. > > ------------------------------------------------------------------------------ > > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data > is safe, secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eriks at ssimicro.com Thu Jun 23 23:49:11 2011 From: eriks at ssimicro.com (Erik Sejr) Date: Thu, 23 Jun 2011 15:49:11 -0600 Subject: Nagios Host Check Behaviour Message-ID: <4E03B4D7.7060901@ssimicro.com> Hi, I have a question for the list regarding the behaviour of host checks in Nagios. My understanding was that host checks only took place if a service changed state, otherwise the state of the host was assumed based on the state of the services that host provides. We have a number of hosts, each with 1 or more passive services. Passive service checks arrive every five minutes with a freshness threshold set at 6 minutes. I am trying to get the behaviour described above - I only want nagios to perform a host check if a service changes state (from up to down). Otherwise, if all host services are OK I want nagios to assume the host the services are running on is also OK. I cannot seem to get it to do this, I can only get one extreme or the other: 1. Nagios checks the hosts, every 5 minutes regardless of the state of the services. I have confirmed this though a TCP dump on the server. The pings to the host go out (and come back) every 5 minutes. OR 2. Nagios never checks the hosts and they all show as PENDING for ever and ever. If The host template is configured as follows I get scenario #1 define host{ name remote-host hostgroups NBDC register 0 max_check_attempts 5 notification_interval 5 notification_period 24x7 notification_options d,r contact_groups regular_contacts check_command check-host-alive } If The host template is configured as follows I get scenario #2 define host{ name remote-host hostgroups NBDC register 0 max_check_attempts 5 notification_interval 5 notification_period 24x7 notification_options d,r contact_groups regular_contacts } The difference is the insertion or lack of the check_command. Hosts are defined to use the template in a basic manner: define host{ host_name rtr01 alias Router 01 address rtr01.domain.com parents upstream-rtr01,upstream-rtr02 use remote-host } define host{ host_name dhcp1 alias DHCP Network Gateway address dhcp1.domain.com parents rtr01 use remote-host } Any thoughts? Am I missing something in the config? ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtuecks at googlemail.com Fri Jun 24 01:20:33 2011 From: dtuecks at googlemail.com (Daniel Tuecks) Date: Fri, 24 Jun 2011 01:20:33 +0200 Subject: Nagios Host Check Behaviour In-Reply-To: <4E03B4D7.7060901@ssimicro.com> References: <4E03B4D7.7060901@ssimicro.com> Message-ID: Hello, sounds like you want 'on demand host checks'. "Regularly scheduled host checks are optional. If you set the check_interval option in your host definition to zero (0), Nagios will not perform checks of the hosts on a regular basis. It will, however, still perform on-demand checks of the host as needed for other parts of the monitoring logic. On-demand checks are made when a service associated with the host changes state because Nagios needs to know whether the host has also changed state. Services that change state are often an indicator that the host may have also changed state. For example, if Nagios detects that the HTTP service associated with a host just changed from a CRITICAL to an OK state, it may indicate that the host just recovered from a reboot and is now back up and running. " This is quoted from the official Nagios Documenation: http://nagios.sourceforge.net/docs/3_0/hostchecks.html Regards Daniel 2011/6/23 Erik Sejr : > Hi, > I have a question for the list regarding the behaviour of host checks in > Nagios. My understanding was that host checks only took place if a > service changed state, otherwise the state of the host was assumed based > on the state of the services that host provides. > > We have a number of hosts, each with 1 or more passive services. Passive > service checks arrive every five minutes with a freshness threshold set > at 6 minutes. I am trying to get the behaviour described above - I only > want nagios to perform a host check if a service changes state (from up > to down). Otherwise, if all host services are OK I want nagios to assume > the host the services are running on is also OK. > > I cannot seem to get it to do this, I can only get one extreme or the other: > > 1. Nagios checks the hosts, every 5 minutes regardless of the state of > the services. I have confirmed this though a TCP dump on the server. The > pings to the host go out (and come back) every 5 minutes. > > OR > > 2. Nagios never checks the hosts and they all show as PENDING for ever > and ever. > > If The host template is configured as follows I get scenario #1 > > define host{ > name ? ? ? ? ? ? ? ? ? ? ? ? ? remote-host > hostgroups ? ? ? ? ? ? ? ? ? ? NBDC > register ? ? ? ? ? ? ? ? ? ? ? 0 > max_check_attempts ? ? ? ? ? ? 5 > notification_interval ? ? ? ? ?5 > notification_period ? ? ? ? ? ?24x7 > notification_options ? ? ? ? ? d,r > contact_groups ? ? ? ? ? ? ? ? regular_contacts > check_command ? ? ? ? ? ? ? ? ?check-host-alive > } > > If The host template is configured as follows I get scenario #2 > > define host{ > name ? ? ? ? ? ? ? ? ? ? ? ? ? remote-host > hostgroups ? ? ? ? ? ? ? ? ? ? NBDC > register ? ? ? ? ? ? ? ? ? ? ? 0 > max_check_attempts ? ? ? ? ? ? 5 > notification_interval ? ? ? ? ?5 > notification_period ? ? ? ? ? ?24x7 > notification_options ? ? ? ? ? d,r > contact_groups ? ? ? ? ? ? ? ? regular_contacts > } > > The difference is the insertion or lack of the check_command. > > Hosts are defined to use the template in a basic manner: > > define host{ > host_name ? ? ? ? ? ? ? ? ? ? ? rtr01 > alias ? ? ? ? ? ? ? ? ? ? ? ? ? Router 01 > address ? ? ? ? ? ? ? ? ? ? ? ? rtr01.domain.com > parents ? ? ? ? ? ? ? ? ? ? ? ? upstream-rtr01,upstream-rtr02 > use ? ? ? ? ? ? ? ? ? ? ? ? ? ? remote-host > } > > define host{ > host_name ? ? ? ? ? ? ? ? ? ? ? dhcp1 > alias ? ? ? ? ? ? ? ? ? ? ? ? ? DHCP Network Gateway > address ? ? ? ? ? ? ? ? ? ? ? ? dhcp1.domain.com > parents ? ? ? ? ? ? ? ? ? ? ? ? rtr01 > use ? ? ? ? ? ? ? ? ? ? ? ? ? ? remote-host > } > > Any thoughts? Am I missing something in the config? > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense.. > http://p.sf.net/sfu/splunk-d2d-c1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eriks at ssimicro.com Fri Jun 24 02:12:18 2011 From: eriks at ssimicro.com (Erik Sejr) Date: Thu, 23 Jun 2011 18:12:18 -0600 Subject: Nagios Host Check Behaviour In-Reply-To: References: <4E03B4D7.7060901@ssimicro.com> Message-ID: <4E03D662.3040503@ssimicro.com> Thanks Daniel - on demand checks was exactly what I was looking for. Regards, Erik On 06/23/2011 05:20 PM, Daniel Tuecks wrote: > Hello, > > sounds like you want 'on demand host checks'. > > "Regularly scheduled host checks are optional. If you set the > check_interval option in your host definition to zero (0), Nagios will > not perform checks of the hosts on a regular basis. It will, however, > still perform on-demand checks of the host as needed for other parts > of the monitoring logic. > > On-demand checks are made when a service associated with the host > changes state because Nagios needs to know whether the host has also > changed state. Services that change state are often an indicator that > the host may have also changed state. For example, if Nagios detects > that the HTTP service associated with a host just changed from a > CRITICAL to an OK state, it may indicate that the host just recovered > from a reboot and is now back up and running. " > > This is quoted from the official Nagios Documenation: > http://nagios.sourceforge.net/docs/3_0/hostchecks.html > > > Regards > Daniel > > 2011/6/23 Erik Sejr : >> Hi, >> I have a question for the list regarding the behaviour of host checks in >> Nagios. My understanding was that host checks only took place if a >> service changed state, otherwise the state of the host was assumed based >> on the state of the services that host provides. >> >> We have a number of hosts, each with 1 or more passive services. Passive >> service checks arrive every five minutes with a freshness threshold set >> at 6 minutes. I am trying to get the behaviour described above - I only >> want nagios to perform a host check if a service changes state (from up >> to down). Otherwise, if all host services are OK I want nagios to assume >> the host the services are running on is also OK. >> >> I cannot seem to get it to do this, I can only get one extreme or the other: >> >> 1. Nagios checks the hosts, every 5 minutes regardless of the state of >> the services. I have confirmed this though a TCP dump on the server. The >> pings to the host go out (and come back) every 5 minutes. >> >> OR >> >> 2. Nagios never checks the hosts and they all show as PENDING for ever >> and ever. >> >> If The host template is configured as follows I get scenario #1 >> >> define host{ >> name remote-host >> hostgroups NBDC >> register 0 >> max_check_attempts 5 >> notification_interval 5 >> notification_period 24x7 >> notification_options d,r >> contact_groups regular_contacts >> check_command check-host-alive >> } >> >> If The host template is configured as follows I get scenario #2 >> >> define host{ >> name remote-host >> hostgroups NBDC >> register 0 >> max_check_attempts 5 >> notification_interval 5 >> notification_period 24x7 >> notification_options d,r >> contact_groups regular_contacts >> } >> >> The difference is the insertion or lack of the check_command. >> >> Hosts are defined to use the template in a basic manner: >> >> define host{ >> host_name rtr01 >> alias Router 01 >> address rtr01.domain.com >> parents upstream-rtr01,upstream-rtr02 >> use remote-host >> } >> >> define host{ >> host_name dhcp1 >> alias DHCP Network Gateway >> address dhcp1.domain.com >> parents rtr01 >> use remote-host >> } >> >> Any thoughts? Am I missing something in the config? >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure contains a >> definitive record of customers, application performance, security >> threats, fraudulent activity and more. Splunk takes this data and makes >> sense of it. Business sense. IT sense. Common sense.. >> http://p.sf.net/sfu/splunk-d2d-c1 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense.. > http://p.sf.net/sfu/splunk-d2d-c1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Fri Jun 24 13:16:02 2011 From: nagiostool at gmail.com (nag ios) Date: Fri, 24 Jun 2011 16:46:02 +0530 Subject: Thanks and configure SENDMAIL for sending mails to other domains Message-ID: Thanks for all of you for helping me to configure Nagios.It's running well But, i need one more thing.I am thinking to configure sendmail such way that if any service is down or warning , mail should be delivered to some specific person stating the state of the service.For this i need to configure SENDMAIL first for sending mails to other domains can you help. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Jun 24 13:36:38 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 24 Jun 2011 12:36:38 +0100 Subject: Thanks and configure SENDMAIL for sending mails to other domains In-Reply-To: References: Message-ID: On 24 June 2011 12:16, nag ios wrote: > Thanks for all of you for helping me to configure Nagios.It's running well > > ??????????? But, i need one more thing.I am thinking to configure sendmail > such way that if any service is down or warning , mail should be delivered > to some specific person stating the state of the service.For this i need to > configure SENDMAIL first for sending mails to other domains can you help. Is there any particular reason you want to use sendmail? Personally I find postfix a lot easier to install and configure (on Ubuntu and Mandriva versions of Linux - I've not tried RedHat or Suse, etc,.). ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 24 15:02:45 2011 From: manikumar85 at gmail.com (Manish Kumar) Date: Fri, 24 Jun 2011 18:32:45 +0530 Subject: NDOUtils problem Message-ID: Hi Frnds, I am not able to configure NDOUtils-1.4b9 with Nagios Core-3.2.3 on fedora 14. I am getting this error:- Support for the specified database server is either not yet supported, or was not found on your system. I am using Mysql and its running properly. I am able to see the tables populated -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 -------------- 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 Jun 24 15:11:32 2011 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 24 Jun 2011 13:11:32 +0000 Subject: NDOUtils problem In-Reply-To: References: Message-ID: <4E048D04.1000607@flatto.net> Manish Kumar wrote: > Hi Frnds, > > I am not able to configure NDOUtils-1.4b9 with Nagios Core-3.2.3 on > fedora 14. I am getting this error:- > Support for the specified database server is either not yet supported, > or was not found on your system. > > I am using Mysql and its running properly. I am able to see the tables > populated > -- > Thanks > Manish Kumar > http://in.linkedin.com/in/manishkumar85 When you run the configure script on for building NDO , what output and DB type does it detect ? ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carlos at dsag.jazztel.es Fri Jun 24 15:47:42 2011 From: carlos at dsag.jazztel.es (Carlos de Santa-Ana Garcia) Date: Fri, 24 Jun 2011 15:47:42 +0200 Subject: Thanks and configure SENDMAIL for sending mails to other domains In-Reply-To: References: Message-ID: <4E04957E.9080006@dsag.jazztel.es> Hi You can use NAIL too, with nail you dont need sendmail or postfix, you can send your notifications directly using external servers. Greets. El 24/06/2011 13:36, Jim Avery escribi?: > On 24 June 2011 12:16, nag ios wrote: >> Thanks for all of you for helping me to configure Nagios.It's running well >> >> But, i need one more thing.I am thinking to configure sendmail >> such way that if any service is down or warning , mail should be delivered >> to some specific person stating the state of the service.For this i need to >> configure SENDMAIL first for sending mails to other domains can you help. > > Is there any particular reason you want to use sendmail? Personally I > find postfix a lot easier to install and configure (on Ubuntu and > Mandriva versions of Linux - I've not tried RedHat or Suse, etc,.). > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense.. > http://p.sf.net/sfu/splunk-d2d-c1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fabien.malfoy at ullink.com Fri Jun 24 17:36:30 2011 From: fabien.malfoy at ullink.com (Fabien Malfoy) Date: Fri, 24 Jun 2011 17:36:30 +0200 Subject: [check_mysql] Credentials in MySQL .cnf files Message-ID: <4E04AEFE.6090406@ullink.com> Hi, The help message of the check_mysql plugin clearly tells there is a risk to use the -p option, which requires to specify the password on the command line. Indeed : any look at the process table while the check is being processed would show the password in its plain form. I tried to use the [client] sections of the MySQL configuration, be them either in the system-wide or user's configuration files, which MySQL client actually uses, but check_mysql does not seem to use their contents. However, tracing a check_mysql run shows that (probably because it uses the libmysqlclient library) opens and reads each .cnf file of MySQL, even the user's one. I did not find any documentation regarding this capability. So I do not know if it is finally not possible to do this way, if this is a known bug being corrected, or if I this is possible but I am doing wrong. I also found articles on the web talking about the $USERn$ macros. I understand that using these would help to secure password storage by setting restrictive permissions on the resource configuration files defining them, but what about the appearance of the plain password in the process list ? I would very appreciate some explanation and advices by those who already faced the same requirements. Thanks in advance. Regards, -- Fabien Malfoy Systems engineer - Ullink 23 rue de Provence - 75009 Paris - FRANCE Phone: +33 (0)1.44.50.77.55 - 2108 E-mail: fabien DOT malfoy AT ullink DOT com ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From up at 3.am Fri Jun 24 18:54:20 2011 From: up at 3.am (up at 3.am) Date: Fri, 24 Jun 2011 12:54:20 -0400 Subject: Separate mail server problems cause Nagios to plotz (or vice versa?) Message-ID: We have Nagios monitoring a variety of services on roughly 50 separate servers. Several of them are mail servers, but only the "main" (that contains most of the Nagios notification recipients) one has this problem. The mail server will start to become unresponsive so just about any input (but pings fine). Simultaneously, Nagios, which is on a separate server, will send out notifications that every service on every server is down because Nagios cannot reach them. Since almost all of them go through this problem mail server, including those that forward to text messaging services, they will stop and resume again when the mail server is either rebooted, or otherwise is brought back to life...sometimes by restarting the LDAP server process on it. There are perhaps a few dozen total email destinations for notifications. Even multiplying this times the total number of services that Nagios monitors, it doesn't seem likely that it's just volume of emails generated by Nagios would cause all this. It is a fairly modern, multiprocessor server (CentOS/Sendmail). Can anyone offer any insight or similar experiences? Thanks in Advance! ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From terry at cnysupport.com Fri Jun 24 19:42:47 2011 From: terry at cnysupport.com (Terry Carmen) Date: Fri, 24 Jun 2011 13:42:47 -0400 Subject: Separate mail server problems cause Nagios to plotz (or vice versa?) In-Reply-To: References: Message-ID: <20110624134247.33204gftg0ey71co@www.cnysupport.com> Quoting up at 3.am: > We have Nagios monitoring a variety of services on roughly 50 > separate servers.  Several of them > are mail servers, but only the "main" (that contains most of the > Nagios notification recipients) > one has this problem. > > The mail server will start to become unresponsive so just about any > input (but pings fine). This is a mail server issue. You would need to determine exactly what process(es) have become unresponsive and why. > Simultaneously, Nagios, which is on a separate server, will send out > notifications that every > service on every server is down because Nagios cannot reach them.  Why can't it reach them? Is your mail server also your router? Terry > Since almost all of them go > through this problem mail server, including those that forward to > text messaging services, they > will stop and resume again when the mail server is either rebooted, > or otherwise is brought back > to life...sometimes by restarting the LDAP server process on it. > > There are perhaps a few dozen total email destinations for > notifications.  Even multiplying this > times the total number of services that Nagios monitors, it doesn't > seem likely that it's just > volume of emails generated by Nagios would cause all this.  It is a > fairly modern, multiprocessor > server (CentOS/Sendmail). > > Can anyone offer any insight or similar experiences? > > Thanks in Advance! > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense.. > http://p.sf.net/sfu/splunk-d2d-c1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null >   -- Terry Carmen CNY Support, LLC Web. Database. Business. http://www.cnysupport.com ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From up at 3.am Fri Jun 24 20:53:39 2011 From: up at 3.am (up at 3.am) Date: Fri, 24 Jun 2011 14:53:39 -0400 Subject: Separate mail server problems cause Nagios to plotz (or vice versa?) In-Reply-To: <20110624134247.33204gftg0ey71co@www.cnysupport.com> References: <20110624134247.33204gftg0ey71co@www.cnysupport.com> Message-ID: <3d4c91eed5a76835fa48f843d27dc6d0.squirrel@ssl.pil.net> > Quoting up at 3.am: > >> We have Nagios monitoring a variety of services on roughly 50 >> separate servers.  Several of them >> are mail servers, but only the "main" (that contains most of the >> Nagios notification recipients) >> one has this problem. >> >> The mail server will start to become unresponsive so just about any > >> input (but pings fine). > > This is a mail server issue. You would need to determine exactly what > process(es) have become unresponsive and why. We're still trying to figure that out...but the question for this list is why Nagios would go nuts. > >> Simultaneously, Nagios, which is on a separate server, will send > out >> notifications that every >> service on every server is down because Nagios cannot reach them.  > > > Why can't it reach them? Is your mail server also your router? Good Gosh, no! That's why this is so puzzling. Thanks for your response. > Terry > >> Since almost all of them go >> through this problem mail server, including those that forward to >> text messaging services, they >> will stop and resume again when the mail server is either rebooted, > >> or otherwise is brought back >> to life...sometimes by restarting the LDAP server process on it. >> >> There are perhaps a few dozen total email destinations for >> notifications.  Even multiplying this >> times the total number of services that Nagios monitors, it doesn't > >> seem likely that it's just >> volume of emails generated by Nagios would cause all this.  It is > a >> fairly modern, multiprocessor >> server (CentOS/Sendmail). >> >> Can anyone offer any insight or similar experiences? >> >> Thanks in Advance! >> >> > ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure > contains a >> definitive record of customers, application performance, security >> threats, fraudulent activity and more. Splunk takes this data and > makes >> sense of it. Business sense. IT sense. Common sense.. >> http://p.sf.net/sfu/splunk-d2d-c1 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to > /dev/null >> > >   > > -- > Terry Carmen > CNY Support, LLC > Web. Database. Business. > http://www.cnysupport.com > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense.. > http://p.sf.net/sfu/splunk-d2d-c1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 24 21:10:55 2011 From: allanc at chickenandporn.com (Allan Clark) Date: Fri, 24 Jun 2011 12:10:55 -0700 Subject: Separate mail server problems cause Nagios to plotz (or vice versa?) In-Reply-To: <3d4c91eed5a76835fa48f843d27dc6d0.squirrel@ssl.pil.net> References: <20110624134247.33204gftg0ey71co@www.cnysupport.com> <3d4c91eed5a76835fa48f843d27dc6d0.squirrel@ssl.pil.net> Message-ID: On Fri, Jun 24, 2011 at 11:53, wrote: >> Quoting up at 3.am: >> >>> We have Nagios monitoring a variety of services on roughly 50 >>> separate servers.  Several of them >>> are mail servers, but only the "main" (that contains most of the >>> Nagios notification recipients) >>> one has this problem. >>> >>> The mail server will start to become unresponsive so just about any >> >>> input (but pings fine). >> >> This is a mail server issue. You would need to determine exactly what >> process(es) have become unresponsive and why. > > We're still trying to figure that out...but the question for this list > is why Nagios would go nuts. Do you have any staleness stuff on the tests that go nuts? Is it possible to place many of the sendmail tests (ie if you're checking mqueue) as dependencies of another test (such as "is it responding to port 25?") so that when the sendmail gets strange, at least many of the tests are then skipped? >>> Simultaneously, Nagios, which is on a separate server, will send >> out >>> notifications that every >>> service on every server is down because Nagios cannot reach them.  >> >> >> Why can't it reach them? Is your mail server also your router? > > Good Gosh, no! ?That's why this is so puzzling. re: staleness above: can you watch your Nagios log, perhaps filtering it through awk to add a timestamp to each entry, just spool that on a terminal, and when things get strange and Nagios goes nuts, is Nagios at least running the tests and getting responses? You mention LDAP; is your sendmail server also your LDAP server, and is the Nagios host also using LDAP to resolve basic OS features like UID? Allan -- allanc at chickenandporn.com? "??" http://linkedin.com/in/goldfish ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From up at 3.am Fri Jun 24 21:45:40 2011 From: up at 3.am (up at 3.am) Date: Fri, 24 Jun 2011 15:45:40 -0400 Subject: Separate mail server problems cause Nagios to plotz (or vice versa?) In-Reply-To: References: <20110624134247.33204gftg0ey71co@www.cnysupport.com> <3d4c91eed5a76835fa48f843d27dc6d0.squirrel@ssl.pil.net> Message-ID: <44be481298afd271768a77a2d0d1ad85.squirrel@ssl.pil.net> > On Fri, Jun 24, 2011 at 11:53, wrote: >>> Quoting up at 3.am: >>> >>>> We have Nagios monitoring a variety of services on roughly 50 >>>> separate servers.  Several of them >>>> are mail servers, but only the "main" (that contains most of the >>>> Nagios notification recipients) >>>> one has this problem. >>>> >>>> The mail server will start to become unresponsive so just about any >>> >>>> input (but pings fine). >>> >>> This is a mail server issue. You would need to determine exactly what >>> process(es) have become unresponsive and why. >> >> We're still trying to figure that out...but the question for this list >> is why Nagios would go nuts. > > Do you have any staleness stuff on the tests that go nuts? > > Is it possible to place many of the sendmail tests (ie if you're > checking mqueue) as dependencies of another test (such as "is it > responding to port 25?") so that when the sendmail gets strange, at > least many of the tests are then skipped? The only sendmail specific test we use for nagios is the simple SMTP test. >>>> Simultaneously, Nagios, which is on a separate server, will send >>> out >>>> notifications that every >>>> service on every server is down because Nagios cannot reach them.  >>> >>> >>> Why can't it reach them? Is your mail server also your router? >> >> Good Gosh, no! ??That's why this is so puzzling. > > re: staleness above: can you watch your Nagios log, perhaps filtering > it through awk to add a timestamp to each entry, just spool that on a > terminal, and when things get strange and Nagios goes nuts, is Nagios > at least running the tests and getting responses? I'll try to grock something out of the nagios logs, but this is one of those problems that happens every few days, so it's hard to monitor it constantly (monitor the monitoring software?!). > You mention LDAP; is your sendmail server also your LDAP server, and > is the Nagios host also using LDAP to resolve basic OS features like > UID? Yes, it is the LDAP server, but it is not used for DNS...it is only used for user authentication. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From terry at cnysupport.com Fri Jun 24 22:11:45 2011 From: terry at cnysupport.com (Terry Carmen) Date: Fri, 24 Jun 2011 16:11:45 -0400 Subject: Separate mail server problems cause Nagios to plotz (or vice versa?) In-Reply-To: <3d4c91eed5a76835fa48f843d27dc6d0.squirrel@ssl.pil.net> References: <20110624134247.33204gftg0ey71co@www.cnysupport.com> <3d4c91eed5a76835fa48f843d27dc6d0.squirrel@ssl.pil.net> Message-ID: <20110624161145.97162qacd16dzfs4@www.cnysupport.com> >> >>> Simultaneously, Nagios, which is on a separate server, will send >> out >>> notifications that every >>> service on every server is down because Nagios cannot reach them.  >> >> >> Why can't it reach them? Is your mail server also your router? > > Good Gosh, no!? That's why this is so puzzling. The next time it happens, unplug your mail server's network connection (it failed anyway). I'll bet it's flooding the network with (good?/bad?) packets and nagios can't get through. It taking the mailserver offline fixes it, at least you know where to look, I'd also check the mailserver logs. Some aren't too bright about handling bounces and if it's misconfiigured, you can end up with an infinite number of bounce messages for the bounce messages. Terry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 -------------- 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 up at 3.am Fri Jun 24 22:45:00 2011 From: up at 3.am (up at 3.am) Date: Fri, 24 Jun 2011 16:45:00 -0400 Subject: Separate mail server problems cause Nagios to plotz (or vice versa?) In-Reply-To: <20110624161145.97162qacd16dzfs4@www.cnysupport.com> References: <20110624134247.33204gftg0ey71co@www.cnysupport.com> <3d4c91eed5a76835fa48f843d27dc6d0.squirrel@ssl.pil.net> <20110624161145.97162qacd16dzfs4@www.cnysupport.com> Message-ID: <47af1e77cd5ad3823f98e73d9b3a64ac.squirrel@ssl.pil.net> >>> >>>> Simultaneously, Nagios, which is on a separate server, will send >>> out >>>> notifications that every >>>> service on every server is down because Nagios cannot reach them.  >>> >>> >>> Why can't it reach them? Is your mail server also your router? >> >> Good Gosh, no!?? That's why this is so puzzling. > > The next time it happens, unplug your mail server's network connection (it failed > anyway). I'll bet it's flooding the network with (good?/bad?) packets and nagios > can't get through. We've got good switches (newer Catalysts) and we're not seeing other servers on the same VLAN or switch affected. > It taking the mailserver offline fixes it, at least you know where to look, > > I'd also check the mailserver logs. Some aren't too bright about handling bounces > and if it's misconfiigured, you can end up with an infinite number of bounce > messages for the bounce messages. Looking for mail loops sounds like a reasonable start. I'm not as used to sendmail as I am qmail, which seems to handle preventing loops a little better, AFAICT. I posted to the list to rule out a known issue with nagios, which it looks like isn't the problem. Thanks again! ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Sat Jun 25 13:55:34 2011 From: nagiostool at gmail.com (nag ios) Date: Sat, 25 Jun 2011 17:25:34 +0530 Subject: Nagios access error Message-ID: When i am trying to access nagios through browser using http://localhost/nagios/ its giving me the following error Forbidden You don't have permission to access /nagios/ on this server. ------------------------------ Apache/2.2.13 (Fedora) Server at localhost Port 80 can u please help me and let me why does this error occurs ?????? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 -------------- 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 nagiostool at gmail.com Sat Jun 25 13:57:20 2011 From: nagiostool at gmail.com (nag ios) Date: Sat, 25 Jun 2011 17:27:20 +0530 Subject: Thanks and configure SENDMAIL for sending mails to other domains In-Reply-To: References: Message-ID: There is no specific reason for choosing sendmail , if you can provide me information for configuring through postfix i will accept it...... On Fri, Jun 24, 2011 at 5:06 PM, Jim Avery wrote: > On 24 June 2011 12:16, nag ios wrote: > > Thanks for all of you for helping me to configure Nagios.It's running > well > > > > But, i need one more thing.I am thinking to configure > sendmail > > such way that if any service is down or warning , mail should be > delivered > > to some specific person stating the state of the service.For this i need > to > > configure SENDMAIL first for sending mails to other domains can you help. > > > Is there any particular reason you want to use sendmail? Personally I > find postfix a lot easier to install and configure (on Ubuntu and > Mandriva versions of Linux - I've not tried RedHat or Suse, etc,.). > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense.. > http://p.sf.net/sfu/splunk-d2d-c1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Sat Jun 25 14:47:11 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 25 Jun 2011 13:47:11 +0100 Subject: Thanks and configure SENDMAIL for sending mails to other domains In-Reply-To: References: Message-ID: On 25 June 2011 12:57, nag ios wrote: > There is no specific reason for choosing sendmail , if you can provide me > information for configuring through postfix i will accept it...... How you configure postfix depends a lot on what linux distro you are using. Each one I've tried packages it differently, but all have been quite easy to configure. A quick google query for postfix configuration for whatever distro you are on will probably get you some instructions. If you're using either Mandriva or Ubuntu I can probably point you in the right direction. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ng.thutrang.11 at gmail.com Sat Jun 25 18:02:55 2011 From: ng.thutrang.11 at gmail.com (Nguyen Thu Trang) Date: Sat, 25 Jun 2011 23:02:55 +0700 Subject: Nagios access error In-Reply-To: References: Message-ID: Maybe you haven't added apache user to nagios group. Use usermod command line to add apache user (on ubuntu, it's www-data) to nagios group On Sat, Jun 25, 2011 at 6:55 PM, nag ios wrote: > When i am trying to access nagios through browser using > > http://localhost/nagios/ > > its giving me the following error > > Forbidden > > You don't have permission to access /nagios/ on this server. > ------------------------------ > Apache/2.2.13 (Fedora) Server at localhost Port 80 > > can u please help me and let me why does this error occurs ?????? > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense.. > http://p.sf.net/sfu/splunk-d2d-c1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Nguyen Thu Trang School of Information and Communication Technology Hanoi University of Technology Cellphone: 0973.739.074 Y!M: kamiya_ntt Skype: trang3019 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carlos at dsag.jazztel.es Sun Jun 26 00:57:39 2011 From: carlos at dsag.jazztel.es (Carlos de Santa-Ana Garcia) Date: Sun, 26 Jun 2011 00:57:39 +0200 Subject: Nagios access error In-Reply-To: References: Message-ID: <4E0667E3.8040907@dsag.jazztel.es> This means you advanced a little. El 25/06/2011 13:55, nag ios escribi?: > When i am trying to access nagios through browser using > > http://localhost/nagios/ > > its giving me the following error > > > Forbidden > > You don't have permission to access /nagios/ on this server. > > ------------------------------------------------------------------------ > Apache/2.2.13 (Fedora) Server at localhost Port 80 > > > > can u please help me and let me why does this error occurs ?????? > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense.. > http://p.sf.net/sfu/splunk-d2d-c1 > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carlos at dsag.jazztel.es Sun Jun 26 00:58:10 2011 From: carlos at dsag.jazztel.es (Carlos de Santa-Ana Garcia) Date: Sun, 26 Jun 2011 00:58:10 +0200 Subject: Nagios access error In-Reply-To: References: Message-ID: <4E066802.4090803@dsag.jazztel.es> This means you advanced a little. El 25/06/2011 13:55, nag ios escribi?: > When i am trying to access nagios through browser using > > http://localhost/nagios/ > > its giving me the following error > > > Forbidden > > You don't have permission to access /nagios/ on this server. > > ------------------------------------------------------------------------ > Apache/2.2.13 (Fedora) Server at localhost Port 80 > > > > can u please help me and let me why does this error occurs ?????? > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense.. > http://p.sf.net/sfu/splunk-d2d-c1 > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 -------------- 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 marc.reyes85 at gmail.com Mon Jun 27 02:36:20 2011 From: marc.reyes85 at gmail.com (Marc Reyes) Date: Mon, 27 Jun 2011 02:36:20 +0200 Subject: SERVICEOUTPUT macros don't show html code Message-ID: Hi, I installed a distributed nagios, with 4 distributed servers and one central server. I have some urlize checks, and custom checks with html code. In the distributed servers there are no problem, when the escape_html_tags options is disable I can see in the "Status Information" box HTTP OK HTTP/1.1 200 OK - 869 bytes in 0.003 seconds , and when the last option is enable I get the link. But in the central server the info I get in the box is: 'A href= http://mywebHTTP OK HTTP/1.1 200 OK - 869 bytes in 0.003 seconds /A' and no link. First I thought that it was a nsca plugin problem, or the script to send the information by nsca. But is not the problem. Then, I defined this command to log real $SERVICEOUTPUT$ macro: define command { command_name check_http_urlize command_line $USER1$/urlize $ARG1$ "$USER1$/check_http -H $HOSTADDRESS$ -p $ARG2$ -u $ARG3$ -e '$ARG4$'" && echo $SERVICEOUTPUT$ >> /home/nagios/loglog.log } And that's all I get: ~# cat /home/nagios/loglog.log A href=http://mywebHTTP OK HTTP/1.1 200 OK - 869 bytes in 0.002 seconds /A There's no <,>," characters. And no html code. Someone knows the way to fix this? Thanks in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- 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 Mon Jun 27 14:07:47 2011 From: m.borsani at it.net (Marco Borsani) Date: Mon, 27 Jun 2011 14:07:47 +0200 Subject: how to manage a distributed configuration Message-ID: <033901cc34c2$d74e1460$85ea3d20$@it.net> Hi all Here it is what I'd like to develop. - In three different sites, I will install three Nagios server - Every server will control his local computers (about 150 clients each Nagios server) like active hosts/services - Two of those Nagios server have to report information to the other (central Nagios server), using NSCA/send_nsca , like passive hosts/services I'd like to use mysql database, but how can I manage this configuration ? May I use only one mysql DB on central Nagios server , then extract and distribute the configuration or what ? Regards Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- 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 Mon Jun 27 14:24:59 2011 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 27 Jun 2011 12:24:59 +0000 Subject: how to manage a distributed configuration In-Reply-To: <033901cc34c2$d74e1460$85ea3d20$@it.net> References: <033901cc34c2$d74e1460$85ea3d20$@it.net> Message-ID: <4E08769B.6080103@flatto.net> Marco Borsani wrote: > > Hi all > > Here it is what I?d like to develop. > > - In three different sites, I will install three Nagios server > > - Every server will control his local computers (about 150 clients > each Nagios server) like active hosts/services > > - Two of those Nagios server have to report information to the other > (central Nagios server), using NSCA/send_nsca , like passive > hosts/services > > I?d like to use mysql database, but how can I manage this configuration ? > > May I use only one mysql DB on central Nagios server , then extract > and distribute the configuration or what ? > > Regards > > Marco > I once build a solution similar to that (sans the mysql ) that used rsync . I used to make the modification for a site on the central server and then send via rsync the files to the remote machines , this will also trigger another script on each remote machine that changed the service/host definition from passive to active (simpel sed or perl will to it) , do a check ( nagios -v) and reload ( if any errors found in the nagios -v stage it would mail the IT team and exit ) ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 27 15:08:49 2011 From: m.borsani at it.net (Marco Borsani) Date: Mon, 27 Jun 2011 15:08:49 +0200 Subject: R: how to manage a distributed configuration In-Reply-To: <4E08769B.6080103@flatto.net> References: <033901cc34c2$d74e1460$85ea3d20$@it.net> <4E08769B.6080103@flatto.net> Message-ID: <035301cc34cb$5dbb8e80$1932ab80$@it.net> Hi Thank you, but I know what to do, what to change in the files between the main (with active and passive hosts/services) and the slave servers (only active hosts/services). I don't know how to control the configuration using the mysql DB (and if is better use only one DB or three). Marco -----Messaggio originale----- Da: Assaf Flatto [mailto:nagios at flatto.net] Inviato: luned? 27 giugno 2011 14:25 A: Nagios Users List Oggetto: Re: [Nagios-users] how to manage a distributed configuration Marco Borsani wrote: > > Hi all > > Here it is what I?d like to develop. > > - In three different sites, I will install three Nagios server > > - Every server will control his local computers (about 150 clients > each Nagios server) like active hosts/services > > - Two of those Nagios server have to report information to the other > (central Nagios server), using NSCA/send_nsca , like passive > hosts/services > > I?d like to use mysql database, but how can I manage this configuration ? > > May I use only one mysql DB on central Nagios server , then extract > and distribute the configuration or what ? > > Regards > > Marco > I once build a solution similar to that (sans the mysql ) that used rsync . I used to make the modification for a site on the central server and then send via rsync the files to the remote machines , this will also trigger another script on each remote machine that changed the service/host definition from passive to active (simpel sed or perl will to it) , do a check ( nagios -v) and reload ( if any errors found in the nagios -v stage it would mail the IT team and exit ) ---------------------------------------------------------------------------- -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 alpikom.it Mon Jun 27 15:21:08 2011 From: s.felici at alpikom.it (Simone Felici) Date: Mon, 27 Jun 2011 15:21:08 +0200 Subject: how to manage a distributed configuration In-Reply-To: <033901cc34c2$d74e1460$85ea3d20$@it.net> References: <033901cc34c2$d74e1460$85ea3d20$@it.net> Message-ID: <4E0883C4.9000309@alpikom.it> Take a loot at opsview (www.opsview.org). It has community or enterprise version as well. I'm managing a clustered central server (HA active-passive) with three dual-slaves datacenters (active-active) distributed across three different locations, a clustered mysql backend and a long-term archive mysql server for reporting pruposes. All it's managed on the core server. Having tested different distributed Nagios solutions, this is the one I've preferred. Cheers, Simon Il 27/06/2011 14:07, Marco Borsani ha scritto: > Hi all > > Here it is what I?d like to develop. > > -In three different sites, I will install three Nagios server > > -Every server will control his local computers (about 150 clients each Nagios server) like active > hosts/services > > -Two of those Nagios server have to report information to the other (central Nagios server), using > NSCA/send_nsca , like passive hosts/services > > I?d like to use mysql database, but how can I manage this configuration ? > > May I use only one mysql DB on central Nagios server , then extract and distribute the configuration > or what ? > > Regards > > Marco ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 27 15:51:35 2011 From: m.borsani at it.net (Marco Borsani) Date: Mon, 27 Jun 2011 15:51:35 +0200 Subject: R: how to manage a distributed configuration In-Reply-To: <4E0883C4.9000309@alpikom.it> References: <033901cc34c2$d74e1460$85ea3d20$@it.net> <4E0883C4.9000309@alpikom.it> Message-ID: <035c01cc34d1$573063a0$05912ae0$@it.net> Thanks a lot Simone, but I need to use Nagios 3.2.3 :-) Marco -----Messaggio originale----- Da: Simone Felici [mailto:s.felici at alpikom.it] Inviato: luned? 27 giugno 2011 15:21 A: nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] how to manage a distributed configuration Take a loot at opsview (www.opsview.org). It has community or enterprise version as well. I'm managing a clustered central server (HA active-passive) with three dual-slaves datacenters (active-active) distributed across three different locations, a clustered mysql backend and a long-term archive mysql server for reporting pruposes. All it's managed on the core server. Having tested different distributed Nagios solutions, this is the one I've preferred. Cheers, Simon Il 27/06/2011 14:07, Marco Borsani ha scritto: > Hi all > > Here it is what I?d like to develop. > > -In three different sites, I will install three Nagios server > > -Every server will control his local computers (about 150 clients each > Nagios server) like active hosts/services > > -Two of those Nagios server have to report information to the other > (central Nagios server), using NSCA/send_nsca , like passive > hosts/services > > I?d like to use mysql database, but how can I manage this configuration ? > > May I use only one mysql DB on central Nagios server , then extract > and distribute the configuration or what ? > > Regards > > Marco ---------------------------------------------------------------------------- -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Kruger at TRW.COM Mon Jun 27 15:37:11 2011 From: Andre.Kruger at TRW.COM (Andre Kruger) Date: Mon, 27 Jun 2011 09:37:11 -0400 Subject: how to manage a distributed configuration In-Reply-To: <4E0883C4.9000309@alpikom.it> References: <033901cc34c2$d74e1460$85ea3d20$@it.net> <4E0883C4.9000309@alpikom.it> Message-ID: <4E08A3A70200002D0001E7DD@trw.com> Hi Simone Slight of topic, but you mention long term archive MySQL. I have noticed that I can only go so far back in my MySQL logs for Nagios. Is that a setting? Regards Andre >>> Simone Felici 2011/06/27 15:21 >>> Take a loot at opsview (www.opsview.org). It has community or enterprise version as well. I'm managing a clustered central server (HA active-passive) with three dual-slaves datacenters (active-active) distributed across three different locations, a clustered mysql backend and a long-term archive mysql server for reporting pruposes. All it's managed on the core server. Having tested different distributed Nagios solutions, this is the one I've preferred. Cheers, Simon Il 27/06/2011 14:07, Marco Borsani ha scritto: > Hi all > > Here it is what I?d like to develop. > > -In three different sites, I will install three Nagios server > > -Every server will control his local computers (about 150 clients each Nagios server) like active > hosts/services > > -Two of those Nagios server have to report information to the other (central Nagios server), using > NSCA/send_nsca , like passive hosts/services > > I?d like to use mysql database, but how can I manage this configuration ? > > May I use only one mysql DB on central Nagios server , then extract and distribute the configuration > or what ? > > Regards > > Marco ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- 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 alpikom.it Mon Jun 27 17:35:15 2011 From: s.felici at alpikom.it (Simone Felici) Date: Mon, 27 Jun 2011 17:35:15 +0200 Subject: R: how to manage a distributed configuration In-Reply-To: <035c01cc34d1$573063a0$05912ae0$@it.net> References: <033901cc34c2$d74e1460$85ea3d20$@it.net> <4E0883C4.9000309@alpikom.it> <035c01cc34d1$573063a0$05912ae0$@it.net> Message-ID: <4E08A333.5030702@alpikom.it> OPSview is based on Nagios 3.2.3. It's a sort of wrap-up solution using nagios capabilities to monitor and external objects like NRD, event-broker NDO, nagios plugins, to let all works together. In fact it's a Nagios installation but without the needs to put hands on all cfg files. It is really a big improovment. Even if I'm coming from pure nagios installation (for years I've edited these files manually) the advantages having all configured in one pint with a nice GUI is really a big advantage. Ok, this solution doesn't give you 100% the ability to play with all options as you wish but it covers really much more what most of the monitoring installations requires. Of course thats my personal opinion. Bye, Simon Il 27/06/2011 15:51, Marco Borsani ha scritto: > Thanks a lot Simone, but I need to use Nagios 3.2.3 :-) > > Marco > > -----Messaggio originale----- > Da: Simone Felici [mailto:s.felici at alpikom.it] > Inviato: luned? 27 giugno 2011 15:21 > A: nagios-users at lists.sourceforge.net > Oggetto: Re: [Nagios-users] how to manage a distributed configuration > > > Take a loot at opsview (www.opsview.org). > It has community or enterprise version as well. I'm managing a clustered > central server (HA > active-passive) with three dual-slaves datacenters (active-active) > distributed across three different locations, a clustered mysql backend and > a long-term archive mysql server for reporting pruposes. All it's managed on > the core server. > Having tested different distributed Nagios solutions, this is the one I've > preferred. > > Cheers, > > Simon > > > > Il 27/06/2011 14:07, Marco Borsani ha scritto: >> Hi all >> >> Here it is what I?d like to develop. >> >> -In three different sites, I will install three Nagios server >> >> -Every server will control his local computers (about 150 clients each >> Nagios server) like active hosts/services >> >> -Two of those Nagios server have to report information to the other >> (central Nagios server), using NSCA/send_nsca , like passive >> hosts/services >> >> I?d like to use mysql database, but how can I manage this configuration ? >> >> May I use only one mysql DB on central Nagios server , then extract >> and distribute the configuration or what ? >> >> Regards >> >> Marco > > ---------------------------------------------------------------------------- > -- > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Simone Felici Divisione Tecnica: Progettazione e Sviluppo tel. +39 0461.030.111 fax. +39 0461 030.112 Via Fersina, 23 - 38123 Trento ------------- MC-link S.p.A. Sede Direzionale e Amministrativa Via Carlo Perrier, 9/a - 00157 Roma Sede Legale Via Fersina, 23 - 38123 Trento http://www.mclink.it Save a tree. Don't print this e-mail unless it's really necessary Informativa ai sensi del Codice della propriet? industriale e del Codice dei dati personali. Le informazioni contenute in questa e-mail e negli eventuali allegati, possono contenere informazioni confidenziali e coperte da segreto commerciale/industriale. Esse vengono comunicate nei limiti giuridici dei rapporti in essere fra le parti e pertanto nessun ulteriore diritto di propriet? intellettuale o industriale pu? essere rivendicato dal ricevente. Le informazioni contenute in questa e-mail e negli eventuali allegati sono indirizzate esclusivamente a coloro che figurano come destinatari. Se avete ricevuto per errore questa e-mail siete pregati di informarci (rispedendola al mittente) e di provvedere alla sua rimozione, a non farne utilizzo e a non conservarne alcuna copia. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From baileyds at lcps.k12.va.us Mon Jun 27 18:01:03 2011 From: baileyds at lcps.k12.va.us (Bailey, Damian S.) Date: Mon, 27 Jun 2011 12:01:03 -0400 Subject: new to Nagios - known issue w/ Cisco switch host checks? Message-ID: We're new to using Nagios but I've grown to love it! In using the product to perform host checks on our Cisco switches, I find that they "randomly" will fail, then recover almost immediately. I think the host checks use ping to verify that the switches are active. Is there something I am likely doing wrong, or should I look at our network as a possible cause? Our network itself isn't perfect...but I don't want to go looking for problems if it's a nagios issue. Thanks for any help. I'll be glad to provide more info if needed. Damian Bailey Lead Technician | LCPS Technology -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- 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 barnabus.pinklehorn at gmail.com Mon Jun 27 23:45:37 2011 From: barnabus.pinklehorn at gmail.com (Eric B.) Date: Mon, 27 Jun 2011 14:45:37 -0700 Subject: Expand service group error in 43 line test config (why?) Message-ID: This has me stumped. I whittled my ugly config down to 35 lines, and was still able to re-create the error. Any ideas what is wrong? I'm running Nagios Core v. 3.2.3. Much thanks in advance! -Eric Error is: Error: Could not expand servicegroups specified in service escalation (config file '/home/opsmon/etc/nagios/objects/qbo/foo.cfg', starting on line 13) Error processing object config files! Here's the config: define servicegroup { servicegroup_name group-1 alias All Services register 0 } define contact { contact_name primary-oncall alias Primary Oncall email foo at bar.com } define serviceescalation { servicegroup_name group-1 first_notification 1 last_notification 6 notification_interval 5 contacts primary-oncall } define service { servicegroups group-1 host_name admin.qa check_command check_foo } define host { host_name admin.qa address 127.0.0.1 } define command { command_name check_foo command_line /bin/true } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- 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 bwilliams at zynga.com Tue Jun 28 00:43:21 2011 From: bwilliams at zynga.com (Brandon Williams) Date: Mon, 27 Jun 2011 15:43:21 -0700 Subject: Expand service group error in 43 line test config (why?) In-Reply-To: References: Message-ID: Looking at define serviceescalation { servicegroup_name group-1 first_notification 1 last_notification 6 notification_interval 5 contacts primary-oncall } I don't see an option for : servicegroup_name group-1 In the Nagios documentation. I would try removing that line and trying again. http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#serviceescalation From: Eric B. [mailto:barnabus.pinklehorn at gmail.com] Sent: Monday, June 27, 2011 2:46 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Expand service group error in 43 line test config (why?) This has me stumped. I whittled my ugly config down to 35 lines, and was still able to re-create the error. Any ideas what is wrong? I'm running Nagios Core v. 3.2.3. Much thanks in advance! -Eric Error is: Error: Could not expand servicegroups specified in service escalation (config file '/home/opsmon/etc/nagios/objects/qbo/foo.cfg', starting on line 13) Error processing object config files! Here's the config: define servicegroup { servicegroup_name group-1 alias All Services register 0 } define contact { contact_name primary-oncall alias Primary Oncall email foo at bar.com } define serviceescalation { servicegroup_name group-1 first_notification 1 last_notification 6 notification_interval 5 contacts primary-oncall } define service { servicegroups group-1 host_name admin.qa check_command check_foo } define host { host_name admin.qa address 127.0.0.1 } define command { command_name check_foo command_line /bin/true } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- 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 barnabus.pinklehorn at gmail.com Tue Jun 28 02:17:25 2011 From: barnabus.pinklehorn at gmail.com (Eric B.) Date: Mon, 27 Jun 2011 17:17:25 -0700 Subject: Expand service group error in 43 line test config (why?) In-Reply-To: References: Message-ID: Hi Brandon, I would normally agree with you, but there are numerous undocumented features w/i nagios, and it actually does recognize the option (the file I posted is completely self-contained); if you misspell the option (like serviceXgroup_name), it reports it as an unknown option. My much larger config uses this parameter for serviceescalation in other parts with no problems.The error says it can't 'expand the servicegroups specified', so I'm leaning towards that the problem you mentioned as a red herring... Hopefully your thought isn't the case, otherwise, I have a big problem rewriting all my configs... :-/ -Eric On Mon, Jun 27, 2011 at 3:43 PM, Brandon Williams wrote: > Looking at **** > > ** ** > > define serviceescalation { > servicegroup_name group-1 > first_notification 1 > last_notification 6 > notification_interval 5 > contacts primary-oncall > }**** > > ** ** > > I don?t see an option for :**** > > ** ** > > servicegroup_name group-1**** > > ** ** > > ** ** > > In the Nagios documentation. I would try removing that line and trying > again.**** > > ** ** > > > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#serviceescalation > **** > > ** ** > > ** ** > > *From:* Eric B. [mailto:barnabus.pinklehorn at gmail.com] > *Sent:* Monday, June 27, 2011 2:46 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Expand service group error in 43 line test > config (why?)**** > > ** ** > > This has me stumped. I whittled my ugly config down to 35 lines, and was > still able to re-create the error. Any ideas what is wrong? I'm running > Nagios Core v. 3.2.3. Much thanks in advance! > > -Eric > > Error is: > > Error: Could not expand servicegroups specified in service escalation > (config file '/home/opsmon/etc/nagios/objects/qbo/foo.cfg', starting on line > 13) > Error processing object config files! > > Here's the config: > > define servicegroup { > servicegroup_name group-1 > alias All Services > register 0 > } > > define contact { > contact_name primary-oncall > alias Primary Oncall > email foo at bar.com > } > > define serviceescalation { > servicegroup_name group-1 > first_notification 1 > last_notification 6 > notification_interval 5 > contacts primary-oncall > } > > define service { > servicegroups group-1 > host_name admin.qa > check_command check_foo > } > > define host { > host_name admin.qa > address 127.0.0.1 > } > > define command { > command_name check_foo > command_line /bin/true > }**** > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- 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 yuehung.liu at gmail.com Tue Jun 28 04:05:38 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Tue, 28 Jun 2011 10:05:38 +0800 Subject: Expand service group error in 43 line test config (why?) In-Reply-To: References: Message-ID: try to remove the line 'register 0' from the definition of your servicegroup. On Tue, Jun 28, 2011 at 8:17 AM, Eric B. wrote: > Hi Brandon, > > I would normally agree with you, but there are numerous undocumented > features w/i nagios, and it actually does recognize the option (the file I > posted is completely self-contained); if you misspell the option (like > serviceXgroup_name), it reports it as an unknown option.? My much larger > config uses this parameter for serviceescalation in other parts with no > problems.The error says it can't 'expand the servicegroups specified', so > I'm leaning towards that the problem you mentioned as a red herring... > > Hopefully your thought isn't the case, otherwise, I have a big problem > rewriting all my configs... :-/ > > -Eric > > On Mon, Jun 27, 2011 at 3:43 PM, Brandon Williams > wrote: >> >> Looking at >> >> >> >> define serviceescalation { >> ?? servicegroup_name?????? group-1 >> ?? first_notification????? 1 >> ?? last_notification?????? 6 >> ?? notification_interval?? 5 >> ?? contacts??????????????? primary-oncall >> } >> >> >> >> I don?t see an option for : >> >> >> >> servicegroup_name?????? group-1 >> >> >> >> >> >> In the Nagios documentation.? I would try removing that line and trying >> again. >> >> >> >> >> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#serviceescalation >> >> >> >> >> >> From: Eric B. [mailto:barnabus.pinklehorn at gmail.com] >> Sent: Monday, June 27, 2011 2:46 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Expand service group error in 43 line test config >> (why?) >> >> >> >> This has me stumped. I whittled my ugly config down to 35 lines, and was >> still able to re-create the error. Any ideas what is wrong? I'm running >> Nagios Core v. 3.2.3. Much thanks in advance! >> >> -Eric >> >> Error is: >> >> Error: Could not expand servicegroups specified in service escalation >> (config file '/home/opsmon/etc/nagios/objects/qbo/foo.cfg', starting on line >> 13) >> ?? Error processing object config files! >> >> Here's the config: >> >> define servicegroup { >> ?? servicegroup_name?????? group-1 >> ?? alias?????????????????? All Services >> ?? register??????????????? 0 >> } >> >> define contact { >> ?? contact_name??????????? primary-oncall >> ?? alias?????????????????? Primary Oncall >> ?? email?????????????????? foo at bar.com >> } >> >> define serviceescalation { >> ?? servicegroup_name?????? group-1 >> ?? first_notification????? 1 >> ?? last_notification?????? 6 >> ?? notification_interval?? 5 >> ?? contacts??????????????? primary-oncall >> } >> >> define service { >> ?? servicegroups?????????? group-1 >> ?? host_name?????????????? admin.qa >> ?? check_command?????????? check_foo >> } >> >> define host { >> ?? host_name?????????????? admin.qa >> ?? address???????????????? 127.0.0.1 >> } >> >> define command { >> ?? command_name?? check_foo >> ?? command_line?? /bin/true >> } >> >> >> ------------------------------------------------------------------------------ >> All of the data generated in your IT infrastructure is seriously valuable. >> Why? It contains a definitive record of application performance, security >> threats, fraudulent activity, and more. Splunk takes this data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2d-c2 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From barnabus.pinklehorn at gmail.com Tue Jun 28 04:40:52 2011 From: barnabus.pinklehorn at gmail.com (Eric B.) Date: Mon, 27 Jun 2011 19:40:52 -0700 Subject: Expand service group error in 43 line test config (why?) In-Reply-To: References: Message-ID: Hi Yueh-Hung, Unfortunately, same result (just tried it). -E On Mon, Jun 27, 2011 at 7:05 PM, Yueh-Hung Liu wrote: > try to remove the line 'register 0' from the definition of your > servicegroup. > > > On Tue, Jun 28, 2011 at 8:17 AM, Eric B. > wrote: > > Hi Brandon, > > > > I would normally agree with you, but there are numerous undocumented > > features w/i nagios, and it actually does recognize the option (the file > I > > posted is completely self-contained); if you misspell the option (like > > serviceXgroup_name), it reports it as an unknown option. My much larger > > config uses this parameter for serviceescalation in other parts with no > > problems.The error says it can't 'expand the servicegroups specified', so > > I'm leaning towards that the problem you mentioned as a red herring... > > > > Hopefully your thought isn't the case, otherwise, I have a big problem > > rewriting all my configs... :-/ > > > > -Eric > > > > On Mon, Jun 27, 2011 at 3:43 PM, Brandon Williams > > wrote: > >> > >> Looking at > >> > >> > >> > >> define serviceescalation { > >> servicegroup_name group-1 > >> first_notification 1 > >> last_notification 6 > >> notification_interval 5 > >> contacts primary-oncall > >> } > >> > >> > >> > >> I don?t see an option for : > >> > >> > >> > >> servicegroup_name group-1 > >> > >> > >> > >> > >> > >> In the Nagios documentation. I would try removing that line and trying > >> again. > >> > >> > >> > >> > >> > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#serviceescalation > >> > >> > >> > >> > >> > >> From: Eric B. [mailto:barnabus.pinklehorn at gmail.com] > >> Sent: Monday, June 27, 2011 2:46 PM > >> To: nagios-users at lists.sourceforge.net > >> Subject: [Nagios-users] Expand service group error in 43 line test > config > >> (why?) > >> > >> > >> > >> This has me stumped. I whittled my ugly config down to 35 lines, and was > >> still able to re-create the error. Any ideas what is wrong? I'm running > >> Nagios Core v. 3.2.3. Much thanks in advance! > >> > >> -Eric > >> > >> Error is: > >> > >> Error: Could not expand servicegroups specified in service escalation > >> (config file '/home/opsmon/etc/nagios/objects/qbo/foo.cfg', starting on > line > >> 13) > >> Error processing object config files! > >> > >> Here's the config: > >> > >> define servicegroup { > >> servicegroup_name group-1 > >> alias All Services > >> register 0 > >> } > >> > >> define contact { > >> contact_name primary-oncall > >> alias Primary Oncall > >> email foo at bar.com > >> } > >> > >> define serviceescalation { > >> servicegroup_name group-1 > >> first_notification 1 > >> last_notification 6 > >> notification_interval 5 > >> contacts primary-oncall > >> } > >> > >> define service { > >> servicegroups group-1 > >> host_name admin.qa > >> check_command check_foo > >> } > >> > >> define host { > >> host_name admin.qa > >> address 127.0.0.1 > >> } > >> > >> define command { > >> command_name check_foo > >> command_line /bin/true > >> } > >> > >> > >> > ------------------------------------------------------------------------------ > >> All of the data generated in your IT infrastructure is seriously > valuable. > >> Why? It contains a definitive record of application performance, > security > >> threats, fraudulent activity, and more. Splunk takes this data and makes > >> sense of it. IT sense. And common sense. > >> http://p.sf.net/sfu/splunk-d2d-c2 > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > ------------------------------------------------------------------------------ > > All of the data generated in your IT infrastructure is seriously > valuable. > > Why? It contains a definitive record of application performance, security > > threats, fraudulent activity, and more. Splunk takes this data and makes > > sense of it. IT sense. And common sense. > > http://p.sf.net/sfu/splunk-d2d-c2 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- 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 maillist at ricafrente.com Tue Jun 28 05:48:57 2011 From: maillist at ricafrente.com (Rai Ricafrente) Date: Tue, 28 Jun 2011 11:48:57 +0800 Subject: "Return code of 141 is out of bounds" Error in Nagios 3.2.3 In-Reply-To: <4DFEF42E.7050809@consol.de> References: <4DFEF42E.7050809@consol.de> Message-ID: I finally figured this one out. The reason why the plugin was spewing out the "out of bounds" error was because of the underlying performance issue of the server. When the server becomes slow to respond, Nagios throws this error. The hint provided by Sven proved that it was indeed the disk I/O issue that threw everything out of balance, maybe because the plugin terminates before it could finish what it was doing. Replacing the disk with a faster one solved this issue. Case closed. Thanks to all who helped! Rai -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- 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 yuehung.liu at gmail.com Tue Jun 28 06:56:10 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Tue, 28 Jun 2011 12:56:10 +0800 Subject: Expand service group error in 43 line test config (why?) In-Reply-To: References: Message-ID: ok, then you have no 'service_description' in your service definition. On Tue, Jun 28, 2011 at 10:40 AM, Eric B. wrote: > Hi Yueh-Hung, > > Unfortunately, same result (just tried it). > > -E > > On Mon, Jun 27, 2011 at 7:05 PM, Yueh-Hung Liu > wrote: >> >> try to remove the line 'register 0' from the definition of your >> servicegroup. >> >> >> On Tue, Jun 28, 2011 at 8:17 AM, Eric B. >> wrote: >> > Hi Brandon, >> > >> > I would normally agree with you, but there are numerous undocumented >> > features w/i nagios, and it actually does recognize the option (the file >> > I >> > posted is completely self-contained); if you misspell the option (like >> > serviceXgroup_name), it reports it as an unknown option.? My much larger >> > config uses this parameter for serviceescalation in other parts with no >> > problems.The error says it can't 'expand the servicegroups specified', >> > so >> > I'm leaning towards that the problem you mentioned as a red herring... >> > >> > Hopefully your thought isn't the case, otherwise, I have a big problem >> > rewriting all my configs... :-/ >> > >> > -Eric >> > >> > On Mon, Jun 27, 2011 at 3:43 PM, Brandon Williams >> > wrote: >> >> >> >> Looking at >> >> >> >> >> >> >> >> define serviceescalation { >> >> ?? servicegroup_name?????? group-1 >> >> ?? first_notification????? 1 >> >> ?? last_notification?????? 6 >> >> ?? notification_interval?? 5 >> >> ?? contacts??????????????? primary-oncall >> >> } >> >> >> >> >> >> >> >> I don?t see an option for : >> >> >> >> >> >> >> >> servicegroup_name?????? group-1 >> >> >> >> >> >> >> >> >> >> >> >> In the Nagios documentation.? I would try removing that line and trying >> >> again. >> >> >> >> >> >> >> >> >> >> >> >> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#serviceescalation >> >> >> >> >> >> >> >> >> >> >> >> From: Eric B. [mailto:barnabus.pinklehorn at gmail.com] >> >> Sent: Monday, June 27, 2011 2:46 PM >> >> To: nagios-users at lists.sourceforge.net >> >> Subject: [Nagios-users] Expand service group error in 43 line test >> >> config >> >> (why?) >> >> >> >> >> >> >> >> This has me stumped. I whittled my ugly config down to 35 lines, and >> >> was >> >> still able to re-create the error. Any ideas what is wrong? I'm running >> >> Nagios Core v. 3.2.3. Much thanks in advance! >> >> >> >> -Eric >> >> >> >> Error is: >> >> >> >> Error: Could not expand servicegroups specified in service escalation >> >> (config file '/home/opsmon/etc/nagios/objects/qbo/foo.cfg', starting on >> >> line >> >> 13) >> >> ?? Error processing object config files! >> >> >> >> Here's the config: >> >> >> >> define servicegroup { >> >> ?? servicegroup_name?????? group-1 >> >> ?? alias?????????????????? All Services >> >> ?? register??????????????? 0 >> >> } >> >> >> >> define contact { >> >> ?? contact_name??????????? primary-oncall >> >> ?? alias?????????????????? Primary Oncall >> >> ?? email?????????????????? foo at bar.com >> >> } >> >> >> >> define serviceescalation { >> >> ?? servicegroup_name?????? group-1 >> >> ?? first_notification????? 1 >> >> ?? last_notification?????? 6 >> >> ?? notification_interval?? 5 >> >> ?? contacts??????????????? primary-oncall >> >> } >> >> >> >> define service { >> >> ?? servicegroups?????????? group-1 >> >> ?? host_name?????????????? admin.qa >> >> ?? check_command?????????? check_foo >> >> } >> >> >> >> define host { >> >> ?? host_name?????????????? admin.qa >> >> ?? address???????????????? 127.0.0.1 >> >> } >> >> >> >> define command { >> >> ?? command_name?? check_foo >> >> ?? command_line?? /bin/true >> >> } >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> All of the data generated in your IT infrastructure is seriously >> >> valuable. >> >> Why? It contains a definitive record of application performance, >> >> security >> >> threats, fraudulent activity, and more. Splunk takes this data and >> >> makes >> >> sense of it. IT sense. And common sense. >> >> http://p.sf.net/sfu/splunk-d2d-c2 >> >> _______________________________________________ >> >> Nagios-users mailing list >> >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: Please include Nagios version, plugin version (-v) and OS when >> >> reporting any issue. >> >> ::: Messages without supporting info will risk being sent to /dev/null >> > >> > >> > >> > ------------------------------------------------------------------------------ >> > All of the data generated in your IT infrastructure is seriously >> > valuable. >> > Why? It contains a definitive record of application performance, >> > security >> > threats, fraudulent activity, and more. Splunk takes this data and makes >> > sense of it. IT sense. And common sense. >> > http://p.sf.net/sfu/splunk-d2d-c2 >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: Please include Nagios version, plugin version (-v) and OS when >> > reporting >> > any issue. >> > ::: Messages without supporting info will risk being sent to /dev/null >> > >> >> >> ------------------------------------------------------------------------------ >> All of the data generated in your IT infrastructure is seriously valuable. >> Why? It contains a definitive record of application performance, security >> threats, fraudulent activity, and more. Splunk takes this data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2d-c2 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 28 07:31:15 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 28 Jun 2011 07:31:15 +0200 Subject: Expand service group error in 43 line test config (why?) In-Reply-To: References: Message-ID: <4E096723.8050107@op5.se> On 06/27/2011 11:45 PM, Eric B. wrote: > This has me stumped. I whittled my ugly config down to 35 lines, and was > still able to re-create the error. Any ideas what is wrong? I'm running > Nagios Core v. 3.2.3. Much thanks in advance! > It appears that the error reporting isn't working as it should. It claims that the problem is with the serviceescalation or servicegroup when it's in fact a problem with the host and the service being incomplete objects. Remove the serviceescalation for now and run the config verifier with the config you posted and you'll see all the errors reported. Fixing those, the config passes even when including the serviceescalation. I can see how that must've been pretty confusing. Unfortunately I have no time to spend on this at the moment, so unless someone else comes up with a patch, it'll be left as-is until I revamp config parsing to do objects in relational order. -- 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. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rosenski at wave-computer.de Tue Jun 28 09:16:28 2011 From: rosenski at wave-computer.de (Axel Rosenski) Date: Tue, 28 Jun 2011 09:16:28 +0200 Subject: Expand service group error in 43 line test config (why?) In-Reply-To: References: Message-ID: <201106280916.28407.rosenski@wave-computer.de> Hi, Am Montag, 27. Jun. 11, 23:45:37 schrieb Eric B.: > Error: Could not expand servicegroups specified in service escalation > (config file '/home/opsmon/etc/nagios/objects/qbo/foo.cfg', starting on > line 13) > Error processing object config files! afaics you do not reference your service(group) in your host definition. You have to add your host to this servicegroup and the error should disappear. I had the same issue with my hostgroup definition HTH Axel > > Here's the config: > > define servicegroup { > servicegroup_name group-1 > alias All Services > register 0 > } > > define contact { > contact_name primary-oncall > alias Primary Oncall > email foo at bar.com > } > > define serviceescalation { > servicegroup_name group-1 > first_notification 1 > last_notification 6 > notification_interval 5 > contacts primary-oncall > } > > define service { > servicegroups group-1 > host_name admin.qa > check_command check_foo > } > > define host { > host_name admin.qa > address 127.0.0.1 > } > > define command { > command_name check_foo > command_line /bin/true > } -- Axel Rosenski - Administration - ______________________________ Wave Computersysteme GmbH Philipp-Reis-Str. 1-3 / 9 35440 Linden Gesch?ftsf?hrer: Carsten Kellmann Registergericht Gie?en HRB 1823 Tel.: +49 (0)6403 / 9050 8317 Fax: +49 (0)6403 / 9050 5089 mailto:rosenski at wave-computer.de http://www.wave-computer.de ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 28 14:11:11 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Tue, 28 Jun 2011 12:11:11 +0000 Subject: java / websphere monitoring Message-ID: <43EB55D703EFCD4880834FDFE47811D2037479@WPSDGQGP.OPR.STATEFARM.ORG> I've been playing with jolokia/jmx4perl for doing java monitoring and it's proving painful on websphere so curious what others are doing for java and/or websphere monitoring? Thanks! Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- 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 Radu.Popa at technomatic.de Tue Jun 28 14:31:11 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Tue, 28 Jun 2011 15:31:11 +0300 Subject: MRTG graphs problem - measurement units not taken into consideration Message-ID: Hello, I am using Nagios to monitor the bandwidth usage of a couple of switches/routers via the check_local_mrtgtraf command. The graphs I handle via pnp4nagios. The problem I encounter is the following: if the monitored bandwidth is at one point expressed in KB/s and then I bring a lot of traffic through the router the, unit is changed into MB/s. The graphed values seem not to take into consideration the change of the measurement unit meaning that the 50KB/s seems to be at the same height as the 50MB/s value in the graph. Can anyone please help? Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Jun 28 15:35:16 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 28 Jun 2011 14:35:16 +0100 Subject: MRTG graphs problem - measurement units not taken into consideration In-Reply-To: References: Message-ID: On 28 June 2011 13:31, wrote: > Hello, > > I am using Nagios to monitor the bandwidth usage of a couple of > switches/routers via the check_local_mrtgtraf command. The graphs I handle > via pnp4nagios. The problem I encounter is the following: if the monitored > bandwidth is at one point expressed in KB/s and then I bring a lot of > traffic through the router the, unit is changed into MB/s. The graphed > values seem not to take into consideration the change of the measurement > unit meaning that the 50KB/s seems to be at the same height as the 50MB/s > value in the graph. > > Can anyone please help? Unless you have already invested a lot of effort in mrtg, I would recommend using check_snmp_int.pl instead. You will find it at http://nagios.manubulon.com/ . ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 28 15:48:09 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Tue, 28 Jun 2011 09:48:09 -0400 Subject: Expand service group error in 43 line test config (why?) In-Reply-To: References: Message-ID: <4E09DB99.3090505@paul.dubuc.org> First, your service has no service_description specified. This is required. Second, your serviceescalation must include the host_name that the service is assigned to. Add the line: host_name admin.qa and it will work. You can also use a hostgroup_name instead of a host_name, but every host you specify must have a service with a service_description that matches that specified in the escalation. See the documentation for details: http://nagios.sourceforge.net/docs/nagioscore/3/en/objectdefinitions.html Eric B. wrote: > This has me stumped. I whittled my ugly config down to 35 lines, and was > still able to re-create the error. Any ideas what is wrong? I'm running > Nagios Core v. 3.2.3. Much thanks in advance! > > -Eric > > Error is: > > Error: Could not expand servicegroups specified in service escalation > (config file '/home/opsmon/etc/nagios/objects/qbo/foo.cfg', starting on > line 13) > Error processing object config files! > > Here's the config: > > define servicegroup { > servicegroup_name group-1 > alias All Services > register 0 > } > > define contact { > contact_name primary-oncall > alias Primary Oncall > email foo at bar.com > } > > define serviceescalation { > servicegroup_name group-1 > first_notification 1 > last_notification 6 > notification_interval 5 > contacts primary-oncall > } > > define service { > servicegroups group-1 > host_name admin.qa > check_command check_foo > } > > define host { > host_name admin.qa > address 127.0.0.1 > } > > define command { > command_name check_foo > command_line /bin/true > } > > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 28 16:06:18 2011 From: xml.devel at gmail.com (Kumar, Ashish) Date: Tue, 28 Jun 2011 19:36:18 +0530 Subject: java / websphere monitoring In-Reply-To: <43EB55D703EFCD4880834FDFE47811D2037479@WPSDGQGP.OPR.STATEFARM.ORG> References: <43EB55D703EFCD4880834FDFE47811D2037479@WPSDGQGP.OPR.STATEFARM.ORG> Message-ID: On 28 June 2011 17:41, Daniel Wittenberg < daniel.wittenberg.r0ko at statefarm.com> wrote: > I?ve been playing with jolokia/jmx4perl for doing java monitoring and > it?s proving painful on websphere so curious what others are doing for java > and/or websphere monitoring? > > Never tried Websphere but check_jmx worked pretty good with Oracle Application Server monitoring. You may want to try it: http://snippets.syabru.ch/nagios-jmx-plugin/commands.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- 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 Radu.Popa at technomatic.de Tue Jun 28 16:14:03 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Tue, 28 Jun 2011 17:14:03 +0300 Subject: MRTG graphs problem - measurement units not taken into consideration In-Reply-To: References: Message-ID: I have tried the SNMP plugin a few minutes ago and here is what I get when running it from the command line: ./check_snmp_int.pl -H 192.168.2.1 -C public -n GigabitEthernet0/24 -k -w 200,400 -c 0,600 GigabitEthernet0/24:UP No usable data on file (1 rows) :(1 UP): UNKNOWN The interface name I took it from listing all available interfaces on the switch. Any ideas, please? Thanks! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/28/2011 03:31 PM Betreff: MRTG graphs problem - measurement units not taken into consideration Hello, I am using Nagios to monitor the bandwidth usage of a couple of switches/routers via the check_local_mrtgtraf command. The graphs I handle via pnp4nagios. The problem I encounter is the following: if the monitored bandwidth is at one point expressed in KB/s and then I bring a lot of traffic through the router the, unit is changed into MB/s. The graphed values seem not to take into consideration the change of the measurement unit meaning that the 50KB/s seems to be at the same height as the 50MB/s value in the graph. Can anyone please help? Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Jun 28 17:33:37 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 28 Jun 2011 16:33:37 +0100 Subject: MRTG graphs problem - measurement units not taken into consideration In-Reply-To: References: Message-ID: On 28 June 2011 15:14, wrote: > I have tried the SNMP plugin a few minutes ago and here is what I get when > running it from the command line: > > ./check_snmp_int.pl -H 192.168.2.1 -C public -n GigabitEthernet0/24 -k -w > 200,400 -c 0,600 > GigabitEthernet0/24:UP No usable data on file (1 rows) :(1 UP): UNKNOWN > > The interface name I took it from listing all available interfaces on the > switch. > > Any ideas, please? The plugin stores the metrics in a temporary file the first time you run it. It will then use that data the next time you run it to calculate the metrics. This error shows either that the file did not exist yet, or the interval between this time the plugin is run and the last time is wrong. You therefore need to run the plugin at regular intervals (say 5 minutes). It helps if you use SNMP v2 so you can retrieve 64-bit counters (the "-2" command line option and the "-g" option). And you might also need to use the "-d" option to tell the plugin at what interval you will usually run it (for example "-d 300" for 5 minute intervals). You need the "-f" option to tell the plugin to output performance data. I normally specify "-fY" to get the output in bits/s. In Nagios you need to set the check_interval and the retry_interval both to the same 5 minutes (or whatever interval you like so long as it matches the -d parameter). Note that if you ran the plugin from the command line as an ordinary user, it may have created temporary files under /tmp which are not writeable by Nagios. When you configure this check to run in Nagios you may need to delete those temporary files so the nagios user can write them. Here is an example of the options I normally use when monitoring switch interfaces: -H 198.236.3.4 -C $USER4$ -2 -n "Nortel Ethernet Routing Switch 5510-48T Module - Unit 2 Port 5 " -fY -kqB -g -w 600000,600000,100,100,100000,10 -c 800000,800000,200,200,200000,20 -d 300 Note that $USER4$ is a macro which I specify in the resources.cfg file which holds the read-only community string. You'll find there are a couple of default templates for PNP under the templates.dist directory - check_snmp_int-bits.php and check_snmp_int.php - you will of course need your check_command definition to be named appropriately to pick up whichever of those templates you need. hth, Jim ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkermagoret at merethis.com Tue Jun 28 17:13:56 2011 From: mkermagoret at merethis.com (Matthieu Kermagoret) Date: Tue, 28 Jun 2011 17:13:56 +0200 Subject: RFC/RFP Nagios command workers In-Reply-To: <4DDA390C.50403@op5.se> References: <4DD3DB27.2010903@op5.se> <4DDA390C.50403@op5.se> Message-ID: Hi list, First of all, sorry for the delayed response, last month was pretty crazy at work :-p On Mon, May 23, 2011 at 12:38 PM, Andreas Ericsson wrote: > On 05/23/2011 11:37 AM, Matthieu Kermagoret wrote: > Because shipping an official module that does it would mean not only > supporting the old complexity, but also the new one. Having a single > default system for running checks would definitely be preferrable to > supporting multiple ones. > I agree with you when you say that a single system is better than two. However I fear that the worker system would need very more code than a simpler system (and less code usually means less bugs) and that the worker system would destabilize Nagios. For years it's been Nagios' development team's policy not to include features that could be written as modules. I liked it that way. >> 1) Remove the multiple fork system to execute a command. The Nagios >> Core process forks directly the process that will exec the command >> (more or less sh's parsing of command line, don't really know if this >> could/should be integreted in the Core). >> > > This really can't be done without using multiple threads since the > core can't wait() for input and children while at the same time > issuing select() calls to multiplex the new output of currently > running checks. > What about a signal handler on SIGCHLD that would wait() terminated process and a select() on pipe FDs connected to child processes, with a timeout to kill non-responding checks ? >> 2) The root process and the subprocess are connected with a pipe() so >> that the command output can be fetched by reading the pipe. Nagios >> will maintain a list of currently running commands. >> > > Pipes are limited in that they only guarantee 512 bytes of atomic > writes and reads. TCP sockets don't have this problem. There's also It is my understanding of Posix that the core standard defines a 512-byte minimal limit for atomic I/O operations but I cannot find any section enforcing atomicity on I/O operations on TCP sockets, so pipes would be better indeed. Were you refering to the XSI Streams or could you point me to the appropriate section ? > the fact that a lot of modules already use sockets, so we can get > rid of a lot of code in those modules and let them re-use Nagios' > main select() loop and get inbound events on "their" sockets as a > broker callback event. Much neater that way. > A pretty API would definitely be great, no doubt. >> 3) The event loop will multiplex processes' I/O and process them as necessary. >> > > That's what the worker processes will do and then feed the results > back to the nagios core through the sequential socket, which will > guarantee read and write operations large enough to never truncate > any of the data necessary for the master process to do proper book- > keeping. > I'm not very fond of the "large buffer" approach because I'm not really sure that I/O operations are atomic (see above). >> The worker system could still be implemented and used only by users >> who need it (but that's what DNX and mod_gearman do). I believe it is >> better to leave the default command execution system as simple as it >> is right now (but improve it) and leave distribution algorithms to >> modules. I can imagine multiple reasons for which one would want to >> distribute checks among workers : >> > > The only direction we can improve it is to remove it and rebuild it. > Removing one fork() call would mean implementing the multiplexer > anyway, and once that's done we're 95% done with the worker process > code anyways. > I guess that you shouldn't be far from a complete worker system but (again :-) ) writing it as a module wouldn't be difficult either. >> So in fact you plan removing the old FIFO and doing all stuffs through >> the socket ? What about acknowledgements or downtimes ? Could they be >> sent through the socket too or would there be another system ? >> > > They could be sent through the socket, but for a while at least we'll > have to support both pipe and socket, so addon developers have some > time to adjust to the new world order. > All right, thanks for the explanations. A status returned by Nagios after any external command execution would be a nice feature indeed. Best regards, -- Matthieu KERMAGORET | D?veloppeur mkermagoret at merethis.com MERETHIS est ?diteur du logiciel Centreon. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-devel mailing list Nagios-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-devel From darose at darose.net Tue Jun 28 18:17:24 2011 From: darose at darose.net (David Rosenstrauch) Date: Tue, 28 Jun 2011 12:17:24 -0400 Subject: java / websphere monitoring In-Reply-To: <43EB55D703EFCD4880834FDFE47811D2037479@WPSDGQGP.OPR.STATEFARM.ORG> References: <43EB55D703EFCD4880834FDFE47811D2037479@WPSDGQGP.OPR.STATEFARM.ORG> Message-ID: <4E09FE94.6070605@darose.net> On 06/28/2011 08:11 AM, Daniel Wittenberg wrote: > I've been playing with jolokia/jmx4perl for doing java monitoring and > it's proving painful on websphere so curious what others are doing > for java and/or websphere monitoring? > > Thanks! Dan check_jmx http://code.google.com/p/jmxquery/ DR ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 28 18:18:03 2011 From: manikumar85 at gmail.com (Manish Kumar) Date: Tue, 28 Jun 2011 21:48:03 +0530 Subject: new to Nagios - known issue w/ Cisco switch host checks? In-Reply-To: References: Message-ID: I am also facing somewhat similar issue with Cisco switches. On Mon, Jun 27, 2011 at 9:31 PM, Bailey, Damian S. wrote: > We?re new to using Nagios but I?ve grown to love it! In using the > product to perform host checks on our Cisco switches, I find that they > ?randomly? will fail, then recover almost immediately.**** > > ** ** > > I think the host checks use ping to verify that the switches are active. > **** > > ** ** > > Is there something I am likely doing wrong, or should I look at our network > as a possible cause? Our network itself isn?t perfect?but I don?t want to > go looking for problems if it?s a nagios issue.**** > > ** ** > > Thanks for any help. I?ll be glad to provide more info if needed.**** > > ** ** > > Damian Bailey **** > > Lead Technician | LCPS Technology**** > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- 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 manikumar85 at gmail.com Tue Jun 28 19:59:24 2011 From: manikumar85 at gmail.com (Manish Kumar) Date: Tue, 28 Jun 2011 23:29:24 +0530 Subject: Nagios/Sendmail issue Message-ID: Hi Frnds, I have a setup in which nagios 3.2.3 is monitoring a number of servers and network devices like cisco switches and routers. The issue is that i am getting the email notifications very late for any problem. Is it the nagios problem or my sendmail server both running on the same linux server FC 14. Also i have setup my sendmail server to relay to other corporate mail server which actually sends mail notifications. I am not able to find the root cause of this issue. The issue can be one of the following Nagios problem, My Sendmail problem, Corporate email server problem. what do u say :) For your reference a delayed notification is pasted here:- FW: ** Network Host PROBLEM Alert: Cisco-CH_12_JPH_R5_ASC_01 is DOWN ** NOC-AS-CHK at mahindra.com [NOC-AS-CHK at mahindra.com] Sent: Tuesday, June 28, 2011 8:01 PM To: Manish_Kmr ------------------------------------------- From: nagios at localhost6.localdomain6[SMTP:NAGIOS at LOCALHOST6.LOCALDOMAIN6] Sent: Tuesday, June 28, 2011 9:41:00 AM To: NOC-AS-CHK - MVML Subject: ** Network Host PROBLEM Alert: Cisco-CH_12_JPH_R5_ASC_01 is DOWN ** Auto forwarded by a Rule ***** Nagios ***** Notification Type: PROBLEM Host: Cisco-CH_12_JPH_R5_ASC_01 State: DOWN Address: 10.192.63.15 Info: CRITICAL - Time to live exceeded (10.192.63.15) Date/Time: Tue Jun 28 09:41:00 IST 2011 -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- 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 Tue Jun 28 20:06:52 2011 From: jpratt at norwich.edu (James Pratt) Date: Tue, 28 Jun 2011 14:06:52 -0400 Subject: Nagios/Sendmail issue In-Reply-To: References: Message-ID: <369C2BA4DE2C8F4A88BC422AD06C96BD4AB7C9@nuexchange.norwich.edu> Hi, unfortunately that is not enough info for anyone here to work from - Try viewing *all* the "received by" headers of the final email, and discern where the time lag is occurring. It sounds like a sendmail queue issue (or whatever MTA's you are using), then fix the offending mail server/relay causing the delay(s). Cheers, James --- From: Manish Kumar [mailto:manikumar85 at gmail.com] Sent: Tuesday, June 28, 2011 1:59 PM To: nagios-users Subject: [Nagios-users] Nagios/Sendmail issue Hi Frnds, I have a setup in which nagios 3.2.3 is monitoring a number of servers and network devices like cisco switches and routers. The issue is that i am getting the email notifications very late for any problem. Is it the nagios problem or my sendmail server both running on the same linux server FC 14. Also i have setup my sendmail server to relay to other corporate mail server which actually sends mail notifications. I am not able to find the root cause of this issue. The issue can be one of the following Nagios problem, My Sendmail problem, Corporate email server problem. what do u say :) For your reference a delayed notification is pasted here:- FW: ** Network Host PROBLEM Alert: Cisco-CH_12_JPH_R5_ASC_01 is DOWN ** NOC-AS-CHK at mahindra.com [NOC-AS-CHK at mahindra.com] Sent: Tuesday, June 28, 2011 8:01 PM To: Manish_Kmr ------------------------------------------- From: nagios at localhost6.localdomain6[SMTP:NAGIOS at LOCALHOST6.LOCALDOMAIN6] Sent: Tuesday, June 28, 2011 9:41:00 AM To: NOC-AS-CHK - MVML Subject: ** Network Host PROBLEM Alert: Cisco-CH_12_JPH_R5_ASC_01 is DOWN ** Auto forwarded by a Rule ***** Nagios ***** Notification Type: PROBLEM Host: Cisco-CH_12_JPH_R5_ASC_01 State: DOWN Address: 10.192.63.15 Info: CRITICAL - Time to live exceeded (10.192.63.15) Date/Time: Tue Jun 28 09:41:00 IST 2011 -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Jun 28 20:42:47 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 28 Jun 2011 19:42:47 +0100 Subject: Nagios/Sendmail issue In-Reply-To: References: Message-ID: On 28 June 2011 18:59, Manish Kumar wrote: > > Hi Frnds, > > I have a setup in which nagios 3.2.3 is monitoring a number of servers and network devices like cisco switches and routers. The issue is that i am getting the email notifications very late for any problem. Nagios will normally send a notification when the service or host goes from a soft state to a hard state. When that happens depends mainly on the max_check_attempts and retry_interval directives. Only after the last check attempt fails will Nagios send the notification. If you want immediate notification, set max_check_attempts to 1. Take a look and if you still can't find the problem, please find the relevant host definition in your objects.cache file and post it here. There are various things that can cause Nagios to run slowly. Important metrics to check are host_check_latency and service_check_latency - you will find those on the tactical overview screen. If either of those are more than 15 seconds or so I would start investigating why. Of course you could genuinely have a performance problem in your email system... That should be easy to check by sending an email from the command-line on your Nagios server and checking it arrives reasonably quickly. hth, Jim ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From barnabus.pinklehorn at gmail.com Tue Jun 28 21:58:48 2011 From: barnabus.pinklehorn at gmail.com (Eric B.) Date: Tue, 28 Jun 2011 12:58:48 -0700 Subject: Expand service group error in 43 line test config (why?) In-Reply-To: <4E09DB99.3090505@paul.dubuc.org> References: <4E09DB99.3090505@paul.dubuc.org> Message-ID: My real problem I think is that I 'whittled' it down in the wrong way (thanks for the help, everyone). Below is what I was hoping to do, but realize that b/c I HAVE to define a host w/ the escalation, I have to retool how my monster config is done (which will really suck). Here's what I was hoping to accomplish: 1) Create a generic service template that all service checks inherit that adds them to the 'all-services' group. 2) Create escalation rules that apply to the 'all-services' group. This worked (basically a more complicated example of the config I gave) until I added a 'all-services-foo' group (same method mentioned in #1 and #2) with different escalations. >From a design perspective, I know Nagios does a great job w/ templating, and object inheritance, but it really sucks that I have to specify a host; that just increased the amount of objects easily by an order or so of magnitude. Best, Eric On Tue, Jun 28, 2011 at 6:48 AM, Paul M. Dubuc wrote: > First, your service has no service_description specified. This is > required. > > Second, your serviceescalation must include the host_name that the service > is assigned to. Add the line: > > host_name admin.qa > > and it will work. You can also use a hostgroup_name instead of a > host_name, but every host you specify must have a service with a > service_description that matches that specified in the escalation. > > See the documentation for details: > http://nagios.sourceforge.net/**docs/nagioscore/3/en/** > objectdefinitions.html > > > Eric B. wrote: > >> This has me stumped. I whittled my ugly config down to 35 lines, and was >> still able to re-create the error. Any ideas what is wrong? I'm running >> Nagios Core v. 3.2.3. Much thanks in advance! >> >> -Eric >> >> Error is: >> >> Error: Could not expand servicegroups specified in service escalation >> (config file '/home/opsmon/etc/nagios/**objects/qbo/foo.cfg', starting on >> line 13) >> Error processing object config files! >> >> Here's the config: >> >> define servicegroup { >> servicegroup_name group-1 >> alias All Services >> register 0 >> } >> >> define contact { >> contact_name primary-oncall >> alias Primary Oncall >> email foo at bar.com >> >> } >> >> define serviceescalation { >> servicegroup_name group-1 >> first_notification 1 >> last_notification 6 >> notification_interval 5 >> contacts primary-oncall >> } >> >> define service { >> servicegroups group-1 >> host_name admin.qa >> >> check_command check_foo >> } >> >> define host { >> host_name admin.qa >> >> address 127.0.0.1 >> } >> >> define command { >> command_name check_foo >> command_line /bin/true >> } >> >> >> >> ------------------------------**------------------------------** >> ------------------ >> All of the data generated in your IT infrastructure is seriously valuable. >> Why? It contains a definitive record of application performance, security >> threats, fraudulent activity, and more. Splunk takes this data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-**d2d-c2 >> >> >> >> ______________________________**_________________ >> Nagios-users mailing list >> Nagios-users at lists.**sourceforge.net >> https://lists.sourceforge.net/**lists/listinfo/nagios-users >> ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- 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 Jun 28 23:26:18 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Tue, 28 Jun 2011 17:26:18 -0400 Subject: Expand service group error in 43 line test config (why?) In-Reply-To: References: <4E09DB99.3090505@paul.dubuc.org> Message-ID: <4E0A46FA.8040003@paul.dubuc.org> Eric B. wrote: > My real problem I think is that I 'whittled' it down in the wrong way > (thanks for the help, everyone). Below is what I was hoping to do, but > realize that b/c I HAVE to define a host w/ the escalation, I have to > retool how my monster config is done (which will really suck). Here's > what I was hoping to accomplish: > > 1) Create a generic service template that all service checks inherit > that adds them to the 'all-services' group. > 2) Create escalation rules that apply to the 'all-services' group. > > This worked (basically a more complicated example of the config I gave) > until I added a 'all-services-foo' group (same method mentioned in #1 > and #2) with different escalations. > > From a design perspective, I know Nagios does a great job w/ > templating, and object inheritance, but it really sucks that I have to > specify a host; that just increased the amount of objects easily by an > order or so of magnitude. > I don't see why. All services have to be assigned to hosts anyway. You can specify a comma separated list of hosts in your escalation or use hostgroups. I think you only need 2 additional objects to do what you want: A hostgroup that consists of all hosts with services assigned and a host template to assign hosts to that group. There's an example that might help here: http://sourceforge.net/mailarchive/message.php?msg_id=27615125 ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 29 03:04:34 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Wed, 29 Jun 2011 09:04:34 +0800 Subject: Expand service group error in 43 line test config (why?) In-Reply-To: <4E0A46FA.8040003@paul.dubuc.org> References: <4E09DB99.3090505@paul.dubuc.org> <4E0A46FA.8040003@paul.dubuc.org> Message-ID: you can refer to http://nagios.sourceforge.net/docs/nagioscore/3/en/objecttricks.html On Wed, Jun 29, 2011 at 5:26 AM, Paul M. Dubuc wrote: > Eric B. wrote: >> My real problem I think is that I 'whittled' it down in the wrong way >> (thanks for the help, everyone). Below is what I was hoping to do, but >> realize that b/c I HAVE to define a host w/ the escalation, I have to >> retool how my monster config is done (which will really suck). Here's >> what I was hoping to accomplish: >> >> 1) Create a generic service template that all service checks inherit >> that adds them to the 'all-services' group. >> 2) Create escalation rules that apply to the 'all-services' group. >> >> This worked (basically a more complicated example of ?the config I gave) >> until I added a 'all-services-foo' group (same method mentioned in #1 >> and #2) with different escalations. >> >> ?From a design perspective, I know Nagios does a great job w/ >> templating, and object inheritance, but it really sucks that I have to >> specify a host; that just increased the amount of objects easily by an >> order or so of magnitude. >> > > I don't see why. ?All services have to be assigned to hosts anyway. ?You can > specify a comma separated list of hosts in your escalation or use hostgroups. > I think you only need 2 additional objects to do what you want: ?A hostgroup > that consists of all hosts with services assigned and a host template to > assign hosts to that group. ?There's an example that might help here: > > http://sourceforge.net/mailarchive/message.php?msg_id=27615125 > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pete at stuff-done.co.uk Wed Jun 29 10:24:33 2011 From: pete at stuff-done.co.uk (Pete Dewell) Date: Wed, 29 Jun 2011 09:24:33 +0100 Subject: Problem connecting to nsclient++ Message-ID: <4E0AE141.6060807@stuff-done.co.uk> Hi, I have an odd problem connecting to a Windows host running nsclient++ We have a server, running Nagios 3.2.0 under RedHat Fedora 12, which connects over a VPN to another network. We are already monitoring other devices over the VPN with no problem (phone systems, wireless access points etc). I have to add a Windows box, running windows 7, to the monitoring. I have installed nsclient++ on it using a configuration that works with other Windows machines. However, the nagios server is unable to connect to the nsclient - the connection times out. Trying to telnet in on the nsclient port also gives a timeout. To make things worse, I can connect (via telnet) from other machines on the nagios server network, so I know that nsclient is running correctly. I am also able to connect from other networks without any issue. Running nsclient++ -test I can see all other machines connecting in, and giving results as expected. However, when I try & connect from the main nagios server there is nothing, not even an "unauthorized access" message (yes, I've checked that as well). The server can ping the windows machine OK, and the windows firewall is turned off. The windows machine can also ping back to the nagios server, so there is a link there. Any thoughts/ideas would be appreciated. Thanks Pete Dewell -- Pete Dewell | Stuff Done pete at stuff-done.co.uk ** The information contained in this message, including any attachment, is confidential and may be privileged or otherwise protected from disclosure. The information is intended only for the person or entity to which it is addressed. If you are not the intended recipient, please contact the sender and delete this message from your system. Any review, re-transmission, distribution or other use of this information by persons or entities other than the intended recipient is prohibited. * ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 29 10:50:48 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Jun 2011 10:50:48 +0200 Subject: RFC/RFP Nagios command workers In-Reply-To: References: <4DD3DB27.2010903@op5.se> <4DDA390C.50403@op5.se> Message-ID: <4E0AE768.9030708@op5.se> On 06/28/2011 05:13 PM, Matthieu Kermagoret wrote: > Hi list, > > First of all, sorry for the delayed response, last month was pretty > crazy at work :-p > > On Mon, May 23, 2011 at 12:38 PM, Andreas Ericsson wrote: >> On 05/23/2011 11:37 AM, Matthieu Kermagoret wrote: >> Because shipping an official module that does it would mean not only >> supporting the old complexity, but also the new one. Having a single >> default system for running checks would definitely be preferrable to >> supporting multiple ones. >> > > I agree with you when you say that a single system is better than two. > However I fear that the worker system would need very more code than a > simpler system (and less code usually means less bugs) and that the > worker system would destabilize Nagios. Quite the opposite, really. The amount of backflips we're doing right now to make sure the core is threadsafe is huge, so it's likely this patch will even reduce the LoC count in Nagios. > For years it's been Nagios' > development team's policy not to include features that could be > written as modules. I liked it that way. > Everything can be written as modules. The worker process thing will have the nice sideeffect that modules can register sockets that core Nagios will listen to events from, with a special callback when there's data available on the socket. This reduces complexity of a lot of modules by a fair bit. With worker-processes instead of multiple threads it's also trivial to write modules with regards to thread-safety, and potential leaks in worker modules (such as embedded perl) can be ignored, since we can just kill the worker process and spawn a new one once it's done some arbitrary number of checks. This is how Apache handles leaky modules and we could do far worse than using the world's most popular webserver as an example. There's also another thing. Mozilla Firefox has been accused of feature stagnation in the core since they let addon writers handle adding new features, and far from everybody uses modules. Google Chrome has taken a fair share of users from Firefox lately, partly because it implements some of the more popular modules directly in-core. Nagios has also been accused of feature stagnation, even though broker module development has flourished in recent years (nagios with modules is nothing like the old nagios without them), so it makes sense to add certain selected module capabilities to the core. >>> 1) Remove the multiple fork system to execute a command. The Nagios >>> Core process forks directly the process that will exec the command >>> (more or less sh's parsing of command line, don't really know if this >>> could/should be integreted in the Core). >>> >> >> This really can't be done without using multiple threads since the >> core can't wait() for input and children while at the same time >> issuing select() calls to multiplex the new output of currently >> running checks. >> > > What about a signal handler on SIGCHLD that would wait() terminated > process and a select() on pipe FDs connected to child processes, with > a timeout to kill non-responding checks ? > Highly impractical for shortlived children and with so many pipes to listen to. It would mean we'd be iterating over the entire childstack several hundred times per second just to read new output. We're forced to do that, since pipes can't contain an infinite amount of data. The child's write() call will fail when the pipe is full and the children won't exit while waiting to write. Doing so many select() calls means the scheduler will suffer greatly, along with modules that wish to run code in the main thread every now and then. With sockets, we can let each worker handle a smaller number of checks at the time, and since they have no scheduling responsibilities the master process is free to just await new input. >>> 2) The root process and the subprocess are connected with a pipe() so >>> that the command output can be fetched by reading the pipe. Nagios >>> will maintain a list of currently running commands. >>> >> >> Pipes are limited in that they only guarantee 512 bytes of atomic >> writes and reads. TCP sockets don't have this problem. There's also > > It is my understanding of Posix that the core standard defines a > 512-byte minimal limit for atomic I/O operations but I cannot find any > section enforcing atomicity on I/O operations on TCP sockets, so pipes > would be better indeed. Were you refering to the XSI Streams or could > you point me to the appropriate section ? > No. TCP sockets don't enforce atomicity beyond the 512 bytes already specified, but they do enforce ordering, which pipes don't. This is actually a real problem (although an unusual one) when several processes tries to write data to Nagios' command pipe and one of them writes more than the atomic limit on whatever system it's being written on. The fact that pipes use fixed-size buffers for pipes (requiring a full kernel recompile to change) and the fact that a program can change the size of its socket buffers with a simple system call makes sockets an even bigger winner. >> the fact that a lot of modules already use sockets, so we can get >> rid of a lot of code in those modules and let them re-use Nagios' >> main select() loop and get inbound events on "their" sockets as a >> broker callback event. Much neater that way. >> > > A pretty API would definitely be great, no doubt. > >>> 3) The event loop will multiplex processes' I/O and process them as necessary. >>> >> >> That's what the worker processes will do and then feed the results >> back to the nagios core through the sequential socket, which will >> guarantee read and write operations large enough to never truncate >> any of the data necessary for the master process to do proper book- >> keeping. >> > > I'm not very fond of the "large buffer" approach because I'm not > really sure that I/O operations are atomic (see above). > They needn't be atomic so long as they don't stall the writer or the reader and maintain ordering. TCP ensures ordering and select() or ioctl() calls ensure non-stalling behaviour. UDP sockets would have more or less the same problem as pipes, but TCP avoids them completely at the expense of slightly more overhead. For lo