From lmw94002 at hotmail.com Wed Jul 1 00:00:02 2009 From: lmw94002 at hotmail.com (Mathew Walker) Date: Tue, 30 Jun 2009 18:00:02 -0400 Subject: monitoring external internet connectivity In-Reply-To: <6db4a4200906301243v5e0025e4g37813c9364bbae66@mail.gmail.com> References: <6db4a4200906301243v5e0025e4g37813c9364bbae66@mail.gmail.com> Message-ID: do you host your website internally? if not, ping that host and or do an HTTP check of it. one thing i highly recommend is using a small little VPS ($10/mo even) to do some basic monitoring. I use one personally for testing and to monitor my websites, friends websites, our email and dns services, etc. Also I use it to monitor our corporate Nagios servers as a sanity check. :-) -- Mat W. - http://www.techadre.com Date: Tue, 30 Jun 2009 15:43:57 -0400 From: shadhin71 at gmail.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] monitoring external internet connectivity All, What is the best way to check if our network has connection to commodity internet or not. What I am trying to achieve is to ensure internal network has connection to Internet. One thing is to ping google check. Is this a good idea or can someone suggest a better way to do this. Please advise on this. Thanks -- Cordially, Shadhin Rahman _________________________________________________________________ Lauren found her dream laptop. Find the PC that?s right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Wed Jul 1 03:50:23 2009 From: jon at netdork.net (Jon Angliss) Date: Tue, 30 Jun 2009 20:50:23 -0500 Subject: Problems w/ Nagios Web Interface References: <232A174A689B4242936B4D08C19447D103497700@owa.sunlandconstruction.com> Message-ID: On Tue, 30 Jun 2009 09:56:13 -0500, "Leleux, Jeremy J" wrote: >Hi all, > >I have a fresh install of nagios 3.1.2 and I'm able to login into the >web interface, but once I'm authenticated I get the following error: > > 403 Forbidden - You don't have permission to access >/nagios/ on this server. > >Here is the output from my Apache error_log: > > [Tue Jun 30 09:47:17 2009] [notice] Apache/2.2.3 >(CentOS) configured -- resuming normal operations > [Tue Jun 30 09:47:57 2009] [error] [client 127.0.0.1] >Directory index forbidden by Options directive: /usr/local/nagios/share/ This here says that your server is attempting to send a list of the directory contents back to the client, but settings in the apache configuration deny it. That probably means it's not treating index.html as the default page in the directory. Hunt down the DirectoryIndex line in your apache configuration, and add index.html to the end, and restart apache. -- Jonathan Angliss ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deibertine at yahoo.com Wed Jul 1 05:04:49 2009 From: deibertine at yahoo.com (Dei Bertine) Date: Tue, 30 Jun 2009 20:04:49 -0700 (PDT) Subject: check_smtp issue In-Reply-To: References: <6db4a4200906301243v5e0025e4g37813c9364bbae66@mail.gmail.com> Message-ID: <238874.57128.qm@web111206.mail.gq1.yahoo.com> I have setup check_smtp in my Nagios to possibly check smtp flow. I have manually tested initiated this command and seems to be ok: nagios at servedhcp1~/libexec# ./check_smtp -H serveip1.csaa.com -w 3 -c 5 -t 100 SMTP OK - 0.003 sec. response time|time=0.002578s;3.000000;5.000000;0.000000 Configured my cfgs in command.cfg: define command{ command_name check_smtp command_line $USER1$/check_smtp -H $HOSTADDRESS$ -p 25 -w $ARG1$ -c $ARG2$ -t $ARG3$ } Configured on host nrpe: command[check_smtp]=/usr/local/nagios/libexec/check_smtp -p 25 -w 5 -c 8 -t 100 However when I check nagios page, I'm getting this error: check_smtp: Warning time must be a positive integer Any ideas on why this is happening? Please advise. Thanks! DB -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Wed Jul 1 05:06:45 2009 From: jon at netdork.net (Jon Angliss) Date: Tue, 30 Jun 2009 22:06:45 -0500 Subject: How to surpess notifications if ping fails. References: <2d4ba7ab0906291457p285229f5nb513160f5f7cfee4@mail.gmail.com> Message-ID: <3ikl45d8d8c64p7tbkss3613h75muf8dpq@4ax.com> On Mon, 29 Jun 2009 14:57:19 -0700, Jeremiah Jester wrote: >Hello, > >I have a working nagios2 installation under Ubuntu. I would like to >configure nagios so that when a host cannot be ping'd by nagios all other >services related to this server/s are stopped so I don't get a slew of >notifications for that host. > >I'm thinking i want servicedepency directive in my dependecies.cfg file? >Does this sound about right? > > >define servicedependency{ > hostgroup_name servers > service_description ping > dependent_hostgroup_name servers > dependent_service_description * > execution_failure_criteria w,c > notification_failure_criteria w,u,c >} Yes, that's one way to do it, though over-complicating it. The other is to actually have ping (usually defined as check-host-alive) as the host check, when the host is unreachable, the notifications for the services will not be sent. Nagios3 would also be a good idea for an upgrade (something I believe ubuntu has as a package already) as the host checks are much better in v3. -- Jonathan Angliss ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jd at op5.com Wed Jul 1 05:22:06 2009 From: jd at op5.com (Johannes Dagemark) Date: Wed, 01 Jul 2009 05:22:06 +0200 Subject: monitoring external internet connectivity In-Reply-To: <6db4a4200906301243v5e0025e4g37813c9364bbae66@mail.gmail.com> References: <6db4a4200906301243v5e0025e4g37813c9364bbae66@mail.gmail.com> Message-ID: <4A4AD65E.2070501@op5.com> shadih rahman wrote: > All, > What is the best way to check if our network has connection to > commodity internet or not. What I am trying to achieve is to ensure > internal network has connection to Internet. One thing is to ping > google check. Is this a good idea or can someone suggest a better way > to do this. Please advise on this. Thanks > I created an extremely simple plugin that takes several hosts as argument and if one of them is up, Internet is considered to be up its available at http://git.op5.org/git/?p=nagios/op5plugins.git;a=blob_plain;f=check_internet.sh;hb=HEAD cheers Johannes > -- > Cordially, > Shadhin Rahman > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Johannes Dagemark CTO / VP Engineering ________________________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 Gothenburg cell: +46 733-70 90 24 fax: +46 31-774 04 32 Email: jd at op5.com http://www.op5.com/ ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Wed Jul 1 06:08:09 2009 From: jon at netdork.net (Jon Angliss) Date: Tue, 30 Jun 2009 23:08:09 -0500 Subject: How to surpess notifications if ping fails. In-Reply-To: <2d4ba7ab0906302036p403c9545k1e4e2af37cb4d680@mail.gmail.com> References: <2d4ba7ab0906291457p285229f5nb513160f5f7cfee4@mail.gmail.com> <3ikl45d8d8c64p7tbkss3613h75muf8dpq@4ax.com> <2d4ba7ab0906302036p403c9545k1e4e2af37cb4d680@mail.gmail.com> Message-ID: <4A4AE129.2050507@netdork.net> Jeremiah Jester wrote: > Jon, > > Thanks for the reply. I've been struggling with this for some days. Can > you give me an example of what how to define this and in what file? I > would appreciate your help. Files don't really matter. Nagios loads them all, and processes. Its up to you how you want to format. Sometimes it's easier to group by type (hosts, services, commands, etc), and others by location (server room, etc). How you format is up to you. If you want, you can even bundle it all in a single file. Lines ending in \ are wrapped and should appear on a single line in your config. define command { command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ \ -w 3000.0,80% -c 5000.0,100% \ -p 5 } define command { command_name check_http command_line $USER1$/check_http -H $HOSTNAME$ } define host { host_name myhost address 1.1.1.1 check_command check-host-alive notification_options d,r check_period All max_check_attempts 3 check_interval 1 retry_interval 1 contact_groups mycontacts } define service { host_name myhost check_command check_http {.. other stuff here .. } } This will execute check_http against the "myhost". check-host-alive will be executed every 1 minute. If check-host-alive fails 3 times, host is considered down, and alerts for check_http will be suppressed. You should read up on host checks [1], service checks [2], and notifications [3]. > Also, I've not seen v3 in the repsository but maybe i need to change my > sources? You didn't mention which version of ubuntu you were using, but jaunty has nagios3... http://packages.ubuntu.com/jaunty/nagios3 [1]: http://nagios.sourceforge.net/docs/3_0/hostchecks.html [2]: http://nagios.sourceforge.net/docs/3_0/servicechecks.html [3]: http://nagios.sourceforge.net/docs/3_0/notifications.html -- Jon Angliss ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edgar.Matzinger at valid.nl Wed Jul 1 10:54:57 2009 From: Edgar.Matzinger at valid.nl (Edgar Matzinger) Date: Wed, 1 Jul 2009 10:54:57 +0200 Subject: check_smtp issue In-Reply-To: <238874.57128.qm@web111206.mail.gq1.yahoo.com> References: <6db4a4200906301243v5e0025e4g37813c9364bbae66@mail.gmail.com> <238874.57128.qm@web111206.mail.gq1.yahoo.com> Message-ID: <2FBC78030439A7499BAA99B46CCC1C6D0237046283@vld1-ex01> LS, Dei scribbled on 2009-07-01: > I have setup check_smtp in my Nagios to possibly check smtp flow. > > Configured my cfgs in command.cfg: > define command{ > command_name check_smtp > command_line $USER1$/check_smtp -H $HOSTADDRESS$ -p 25 -w $ARG1$ -c > $ARG2$ -t $ARG3$ } OK. > > Configured on host nrpe: > command[check_smtp]=/usr/local/nagios/libexec/check_smtp -p 25 -w 5 -c > 8 -t 100 This check has nothing to do with NRPE. > > However when I check nagios page, I'm getting this error: > check_smtp: Warning time must be a positive integer What is your service description? HTH, cu l8r, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Flight Forum 565 \ /| /\| : : 5657DR Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From N.Patil at lntinfotech.com Wed Jul 1 11:21:21 2009 From: N.Patil at lntinfotech.com (N Patil) Date: Wed, 1 Jul 2009 14:51:21 +0530 Subject: Generate and export reports in CSV, PDF format? Message-ID: Hello everyone, I have nagios implemented inhouse which monitors most of the unix, windows servers as well as routers and switches. Is there any way that I can generate/convert reports into CSV, PDF, DOC or such formats ? Can I generate reports for CPU Utilization, Memory Utilization, Disk Utilization, Ping Availability etc. What about NXE (Nagios XML Engine)? Thanks in advance. - nilesh ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjleleux at sunlandconstruction.com Wed Jul 1 14:07:29 2009 From: jjleleux at sunlandconstruction.com (Leleux, Jeremy J) Date: Wed, 1 Jul 2009 07:07:29 -0500 Subject: Problems w/ Nagios Web Interface In-Reply-To: References: <232A174A689B4242936B4D08C19447D103497700@owa.sunlandconstruction.com> Message-ID: <232A174A689B4242936B4D08C19447D103497A87@owa.sunlandconstruction.com> Thanks for the suggestion! I was able to track down my problem; I had to add +Indexes to my Option Directives. After I allowed that I was able to view the page correctly. Thanks again for the reply! Respectfully, Jeremy Leleux IT Administrator Sunland Construction, Inc. Corporate Division Office: 337.550.2142 Fax: 337.546.0245 Mobile: 337.580.6062 Email: jjleleux at sunlandconstruction.com -----Original Message----- From: Jon Angliss [mailto:jon at netdork.net] Sent: Tuesday, June 30, 2009 8:50 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problems w/ Nagios Web Interface On Tue, 30 Jun 2009 09:56:13 -0500, "Leleux, Jeremy J" wrote: >Hi all, > >I have a fresh install of nagios 3.1.2 and I'm able to login into the >web interface, but once I'm authenticated I get the following error: > > 403 Forbidden - You don't have permission to access >/nagios/ on this server. > >Here is the output from my Apache error_log: > > [Tue Jun 30 09:47:17 2009] [notice] Apache/2.2.3 >(CentOS) configured -- resuming normal operations > [Tue Jun 30 09:47:57 2009] [error] [client 127.0.0.1] >Directory index forbidden by Options directive: /usr/local/nagios/share/ This here says that your server is attempting to send a list of the directory contents back to the client, but settings in the apache configuration deny it. That probably means it's not treating index.html as the default page in the directory. Hunt down the DirectoryIndex line in your apache configuration, and add index.html to the end, and restart apache. -- Jonathan Angliss ------------------------------------------------------------------------ ------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jvc_dvl557 at hotmail.com Wed Jul 1 16:03:40 2009 From: jvc_dvl557 at hotmail.com (jvc_dvl557 at hotmail.com) Date: Wed, 1 Jul 2009 16:03:40 +0200 Subject: Checking URL on windows-client using NSClient++ In-Reply-To: <872CB0AEB377C240A112DD7C10B2592904B216D4@wtps0171.amers.ibechtel.com> References: <872CB0AEB377C240A112DD7C10B2592904B216D4@wtps0171.amers.ibechtel.com> Message-ID: Hi Greg, Thank you very much for the detailed explenation. I discovered that I even didn't had NRPE installed, now I do. I got everything running, except for the exit/output code. Nagios runs the script on the client host perfectly but it gives me an error saying: No output available from command (c:\windows\system32\cscript.exe //nologo "c:\nsclient\scripts\check_website.vbs" This is the vbs script I used and edited a bit with some help of google (i'm not a vbs expert): http://pastebin.com/f6e35c30b When I run this vbs script via a batch file to debug it's output : -------------------TEST.BAT----------------- wscript check_website.vbs echo wscript returned %errorlevel% ------------------------------------------------ I get the result of 0 or 1 just like it should be. Do you, or anyone else, have any suggestions on how to finetune this so that i can solve this issue? Thank you in advance. Kind regards, Dennis de Vries From: Frater, Greg J Sent: Tuesday, June 30, 2009 7:22 PM To: jvc_dvl557 at hotmail.com ; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Checking URL on windows-client using NSClient++ Dennis, Your almost there, you need to set your vbs script to output an exit code of 0-4 according to the nagios plug in documentation (http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOUTPUT). Then setup the nsclient to run your script as a plug in check. To do that you will need to follow these basic steps. 1. add the configuration to the nsc.ini file on each xp workstation you want to run this check on. It should look something like this: [NRPE Handlers] webpage_check=c:\windows\system32\cscript.exe //nologo "c:\program files\nsclient++\scripts\web_page_check.vbs" 2. Setup check in Nagios In your commands definition file: define command { command_name webpage_check command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 60 -c webpage_check } In your services definition file: define service { host_name XPhost01, XPhost02 service_description check web page on XP host display_name webpage check check_command webpage_check use service-template ..... } That should do it, and it uses your existing script (i.e. no rework). Good luck, hope that helps, -greg -------------------------------------------------------------------------------- From: jvc_dvl557 at hotmail.com [mailto:jvc_dvl557 at hotmail.com] Sent: Tuesday, June 30, 2009 4:08 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Checking URL on windows-client using NSClient++ Hi, I would like to check if a certain website is available on some of my windows xp clients. These clients are public self-service computers to make bookings for a railway organisation. Every now and then, some of these self-service computers show a blank screen without the default start-page. I would like to check if the page is shown up and if it's not, it notifies Nagios which notifies me by email. I've tried to run an external script (vbs) which checks the availability of the site and that goes well if you use it manually but i dont want any popups saying: "OK". It should run in the background. So i've edited the vbs file and now it does check it and doesnt give any output anymore. Has anyone else tried something like this before? I use NSClient++ and Nagios v3.0.6. Kind Regards, Dennis de Vries. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From forsytad at luther.edu Wed Jul 1 15:24:41 2009 From: forsytad at luther.edu (Adam Forsyth) Date: Wed, 1 Jul 2009 08:24:41 -0500 Subject: Simplified Nagios user interface for end users/help desk Message-ID: I'm monitoring lots of different services on various hosts with Nagios. Many of these things are very useful for me to monitor as the sys admin, but when alerts occur occur with them, they do not represent downtime for our users, they represent problems I should fix proactively before they result in user noticeable downtime. For example, if Nagios notices a fan failure on one of my Procurve switches, I as the admin want to know about the problem, and probably want to replace the failing fan during the next scheduled maintenance time. The switch is still running just fine, however and there is no effect on service to users. Currently when I get such a notification, I'd acknowledge the problem, and it would stay in critical state until I've fixed the problem. What I'd like to create is a more end user targeted display of Nagios data. It would display OK or Alert status based only on whether the particular service is up or down from the user perspective, and wouldn't show any of the proactive nice for the sys admin to know about details. So in the case of the procurve switch, as long as the fan failure hasn't made the entire switch crash (we can still ping it) it would remain in an OK state. The only way I can think of to accomplish this would be to make a second installation of nagios. It would be a lot of duplicate configuration, but many of the services would be left out. I think that would create this second end user display as I'm imagining it, but it would come at the expense of having to maintain 2 sets of configuration files, and the server would have to do duplicate checking of lots of the services and hosts. Can anyone think of a better way to accomplish this that wouldn't need to involve duplication of checks? ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Wed Jul 1 16:01:48 2009 From: cbeattie at geninfo.com (Chris Beattie) Date: Wed, 01 Jul 2009 10:01:48 -0400 Subject: Generate and export reports in CSV, PDF format? In-Reply-To: References: Message-ID: <1246456908.4786.15.camel@DevNagios.geninfo.com> On Wed, 2009-07-01 at 14:51 +0530, N Patil wrote: > > Is there any way that I can generate/convert reports into CSV, PDF, > DOC or such formats ? I don't know if this will help you at all, but I've always used MRTG or Cacti for history and graphing rather than Nagios add-ons. Newer versions of Cacti can export graph data into CSV files. -- -Chris Nothing in this message is intended to make or accept and offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately . Thank you. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From naloi at experisdatacenters.com Wed Jul 1 16:22:17 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Wed, 01 Jul 2009 14:22:17 +0000 Subject: general inquiry of method of install for Nagios 3.1.2 on Fedora 9 system Message-ID: Hi, I am trying to get nagios 3.x to install - I was attempting to upgrade from 2.11 but found too many problems, so I am attempting a new install on a different server - this way no conflicts, etc. I am relatively new to unix/linux so bear with me. I have installed fedora 9 on a server and am kind of familiar with yum and rpm which sure makes life easier for the newbie But I can't seem to locate an rpm for the latest release of Nagios ver 3.1.2. My question is what problems, if any, might I encounter just installing the tar ball for nagios and the plugins to get nagios 3.x up & operational vs using an older version of nagios 3.0.6 that has an rpm file associated with it? thanks! Natalie Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:naloi at experisdatacenters.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mccarrms at gmail.com Wed Jul 1 16:49:32 2009 From: mccarrms at gmail.com (Mathew S. McCarrell) Date: Wed, 1 Jul 2009 10:49:32 -0400 Subject: Simplified Nagios user interface for end users/help desk In-Reply-To: References: Message-ID: Adam, You can look at something like Nagios Looking Glass. You many also want to consider using service groups. Hope that helps. Matt -- Mathew S. McCarrell Clarkson University '10 mccarrms at gmail.com mccarrms at clarkson.edu On Wed, Jul 1, 2009 at 9:24 AM, Adam Forsyth wrote: > I'm monitoring lots of different services on various hosts with > Nagios. Many of these things are very useful for me to monitor as the > sys admin, but when alerts occur occur with them, they do not > represent downtime for our users, they represent problems I should fix > proactively before they result in user noticeable downtime. For > example, if Nagios notices a fan failure on one of my Procurve > switches, I as the admin want to know about the problem, and probably > want to replace the failing fan during the next scheduled maintenance > time. The switch is still running just fine, however and there is no > effect on service to users. Currently when I get such a notification, > I'd acknowledge the problem, and it would stay in critical state until > I've fixed the problem. > > What I'd like to create is a more end user targeted display of Nagios > data. It would display OK or Alert status based only on whether the > particular service is up or down from the user perspective, and > wouldn't show any of the proactive nice for the sys admin to know > about details. So in the case of the procurve switch, as long as the > fan failure hasn't made the entire switch crash (we can still ping it) > it would remain in an OK state. > > The only way I can think of to accomplish this would be to make a > second installation of nagios. It would be a lot of duplicate > configuration, but many of the services would be left out. I think > that would create this second end user display as I'm imagining it, > but it would come at the expense of having to maintain 2 sets of > configuration files, and the server would have to do duplicate > checking of lots of the services and hosts. > > Can anyone think of a better way to accomplish this that wouldn't need > to involve duplication of checks? > > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave.list at pixelhammer.com Wed Jul 1 16:33:26 2009 From: dave.list at pixelhammer.com (DAve) Date: Wed, 01 Jul 2009 10:33:26 -0400 Subject: Simplified Nagios user interface for end users/help desk In-Reply-To: References: Message-ID: <4A4B73B6.6080002@pixelhammer.com> Adam Forsyth wrote: > I'm monitoring lots of different services on various hosts with > Nagios. Many of these things are very useful for me to monitor as the > sys admin, but when alerts occur occur with them, they do not > represent downtime for our users, they represent problems I should fix > proactively before they result in user noticeable downtime. For > example, if Nagios notices a fan failure on one of my Procurve > switches, I as the admin want to know about the problem, and probably > want to replace the failing fan during the next scheduled maintenance > time. The switch is still running just fine, however and there is no > effect on service to users. Currently when I get such a notification, > I'd acknowledge the problem, and it would stay in critical state until > I've fixed the problem. > > What I'd like to create is a more end user targeted display of Nagios > data. It would display OK or Alert status based only on whether the > particular service is up or down from the user perspective, and > wouldn't show any of the proactive nice for the sys admin to know > about details. So in the case of the procurve switch, as long as the > fan failure hasn't made the entire switch crash (we can still ping it) > it would remain in an OK state. > > The only way I can think of to accomplish this would be to make a > second installation of nagios. It would be a lot of duplicate > configuration, but many of the services would be left out. I think > that would create this second end user display as I'm imagining it, > but it would come at the expense of having to maintain 2 sets of > configuration files, and the server would have to do duplicate > checking of lots of the services and hosts. > > Can anyone think of a better way to accomplish this that wouldn't need > to involve duplication of checks? We have installed two of these for clients with Nagios in their networks. The best way we found, YMMV, was to use NagioSL. We wrote a flash app to poll NagioSL for devices to display on a pretty non-threatening map. We then wrote a new alert script that updates the flash map with any alerts/recoveries. It's rough around the edges but it works. DAve -- "Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it." John Quincy Adams http://appleseedinfo.org ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ebaddouh at gmail.com Wed Jul 1 17:18:04 2009 From: ebaddouh at gmail.com (edward baddouh) Date: Wed, 1 Jul 2009 11:18:04 -0400 Subject: Simplified Nagios user interface for end users/help desk In-Reply-To: <4A4B73B6.6080002@pixelhammer.com> References: <4A4B73B6.6080002@pixelhammer.com> Message-ID: <60523a4f0907010818r48371f9cn5e082a685693fc64@mail.gmail.com> excuse-moi my lack of knowledge but what is NagiosSL ? didn't found on google.. 2009/7/1 DAve > Adam Forsyth wrote: > > I'm monitoring lots of different services on various hosts with > > Nagios. Many of these things are very useful for me to monitor as the > > sys admin, but when alerts occur occur with them, they do not > > represent downtime for our users, they represent problems I should fix > > proactively before they result in user noticeable downtime. For > > example, if Nagios notices a fan failure on one of my Procurve > > switches, I as the admin want to know about the problem, and probably > > want to replace the failing fan during the next scheduled maintenance > > time. The switch is still running just fine, however and there is no > > effect on service to users. Currently when I get such a notification, > > I'd acknowledge the problem, and it would stay in critical state until > > I've fixed the problem. > > > > What I'd like to create is a more end user targeted display of Nagios > > data. It would display OK or Alert status based only on whether the > > particular service is up or down from the user perspective, and > > wouldn't show any of the proactive nice for the sys admin to know > > about details. So in the case of the procurve switch, as long as the > > fan failure hasn't made the entire switch crash (we can still ping it) > > it would remain in an OK state. > > > > The only way I can think of to accomplish this would be to make a > > second installation of nagios. It would be a lot of duplicate > > configuration, but many of the services would be left out. I think > > that would create this second end user display as I'm imagining it, > > but it would come at the expense of having to maintain 2 sets of > > configuration files, and the server would have to do duplicate > > checking of lots of the services and hosts. > > > > Can anyone think of a better way to accomplish this that wouldn't need > > to involve duplication of checks? > > We have installed two of these for clients with Nagios in their > networks. The best way we found, YMMV, was to use NagioSL. We wrote a > flash app to poll NagioSL for devices to display on a pretty > non-threatening map. We then wrote a new alert script that updates the > flash map with any alerts/recoveries. > > It's rough around the edges but it works. > > DAve > > > -- > "Posterity, you will know how much it cost the present generation to > preserve your freedom. I hope you will make good use of it. If you > do not, I shall repent in heaven that ever I took half the pains to > preserve it." John Quincy Adams > > http://appleseedinfo.org > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lecb79 at gmail.com Wed Jul 1 17:55:38 2009 From: lecb79 at gmail.com (Eduardo Barreto) Date: Wed, 1 Jul 2009 12:55:38 -0300 Subject: Send SMS via Serial Message-ID: Hi all, I'm trying to set a solution to send sms via serial port (RS-232). On the server (running nagios), I've connected a mobile interface, which is a router for mobile calls and with a simple test using minicom and with some AT commands could send a message. Therefore, I'm very lost on how to integrate it with nagios command line? Does anyone have any script or a clue to set it? Thanks in advance Eduardo Barreto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jd at op5.com Wed Jul 1 18:09:59 2009 From: jd at op5.com (Johannes Dagemark) Date: Wed, 01 Jul 2009 18:09:59 +0200 Subject: Send SMS via Serial In-Reply-To: References: Message-ID: <4A4B8A57.1080301@op5.com> I would recommend using smstools, http://smstools.meinemullemaus.de/ have been using it for years now and it's rock solid cheers Johannes Eduardo Barreto wrote: > Hi all, > > I'm trying to set a solution to send sms via serial port (RS-232). On > the server (running nagios), I've connected a mobile interface, which > is a router for mobile calls and with a simple test using minicom and > with some AT commands could send a message. Therefore, I'm very lost > on how to integrate it with nagios command line? Does anyone have any > script or a clue to set it? > > > Thanks in advance > > Eduardo Barreto > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Johannes Dagemark CTO / VP Engineering ________________________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 Gothenburg cell: +46 733-70 90 24 fax: +46 31-774 04 32 Email: jd at op5.com http://www.op5.com/ ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lmw94002 at hotmail.com Wed Jul 1 18:58:22 2009 From: lmw94002 at hotmail.com (Mathew Walker) Date: Wed, 1 Jul 2009 12:58:22 -0400 Subject: check_smtp issue In-Reply-To: <238874.57128.qm@web111206.mail.gq1.yahoo.com> References: <6db4a4200906301243v5e0025e4g37813c9364bbae66@mail.gmail.com> <238874.57128.qm@web111206.mail.gq1.yahoo.com> Message-ID: What is your service configuration? If you're checking SMTP remotely, there is no need for NRPE here. I would guess your service configuration is not passing the correct variables. -- Mat W. - http://www.techadre.com Date: Tue, 30 Jun 2009 20:04:49 -0700 From: deibertine at yahoo.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_smtp issue I have setup check_smtp in my Nagios to possibly check smtp flow. I have manually tested initiated this command and seems to be ok: nagios at servedhcp1~/libexec# ./check_smtp -H serveip1.csaa.com -w 3 -c 5 -t 100 SMTP OK - 0.003 sec. response time|time=0.002578s;3.000000;5.000000;0.000000 Configured my cfgs in command.cfg: define command{ command_name check_smtp command_line $USER1$/check_smtp -H $HOSTADDRESS$ -p 25 -w $ARG1$ -c $ARG2$ -t $ARG3$ } Configured on host nrpe: command[check_smtp]=/usr/local/nagios/libexec/check_smtp -p 25 -w 5 -c 8 -t 100 However when I check nagios page, I'm getting this error: check_smtp: Warning time must be a positive integer Any ideas on why this is happening? Please advise. Thanks! DB _________________________________________________________________ Lauren found her dream laptop. Find the PC that?s right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lmw94002 at hotmail.com Wed Jul 1 19:03:20 2009 From: lmw94002 at hotmail.com (Mathew Walker) Date: Wed, 1 Jul 2009 13:03:20 -0400 Subject: general inquiry of method of install for Nagios 3.1.2 on Fedora 9 system In-Reply-To: References: Message-ID: installing from source should be pretty easy on a Fedora system. any missing dependencies can be installed with yum. the documentation is pretty good on this topic as well letting you know what you may need. make sure you have openssl-devel installed, that always trips most installs up. if you're going to graph, you may want rrdtool. probalby libgd as well. -- Mat W. - http://www.techadre.com From: naloi at experisdatacenters.com To: nagios-users at lists.sourceforge.net Date: Wed, 1 Jul 2009 14:22:17 +0000 Subject: [Nagios-users] general inquiry of method of install for Nagios 3.1.2 on Fedora 9 system Hi, I am trying to get nagios 3.x to install - I was attempting to upgrade from 2.11 but found too many problems, so I am attempting a new install on a different server - this way no conflicts, etc. I am relatively new to unix/linux so bear with me. I have installed fedora 9 on a server and am kind of familiar with yum and rpm which sure makes life easier for the newbie But I can't seem to locate an rpm for the latest release of Nagios ver 3.1.2. My question is what problems, if any, might I encounter just installing the tar ball for nagios and the plugins to get nagios 3.x up & operational vs using an older version of nagios 3.0.6 that has an rpm file associated with it? thanks! Natalie Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:naloi at experisdatacenters.com _________________________________________________________________ Windows Live?: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgius at createspace.com Wed Jul 1 19:21:22 2009 From: mgius at createspace.com (Mark Gius) Date: Wed, 01 Jul 2009 10:21:22 -0700 Subject: general inquiry of method of install for Nagios 3.1.2 on Fedora 9 system In-Reply-To: References: Message-ID: <4A4B9B12.3010100@createspace.com> My recommendation is to use the 3.0.6 RPM you found, or to build your own RPM using the specfile that comes with the source distribution. Building your own RPM means that Nagios is easier to install/uninstall, and you can reuse the RPM pretty easily. I'm using my own RPM of 3.0.6 and I've had no problems with it. I don't know what improvements are taking place in the 3.1 branch however. -Gius Natalie Aloi wrote: > Hi, I am trying to get nagios 3.x to install - I was attempting to > upgrade from 2.11 but found too many problems, so I am attempting a > new install on a different server - this way no conflicts, etc. I am > relatively new to unix/linux so bear with me. I have installed fedora > 9 on a server and am kind of familiar with yum and rpm which sure > makes life easier for the newbie But I can't seem to locate an rpm > for the latest release of Nagios ver 3.1.2. My question is what > problems, if any, might I encounter just installing the tar ball for > nagios and the plugins to get nagios 3.x up & operational vs using an > older version of nagios 3.0.6 that has an rpm file associated with it? > > thanks! > Natalie > > Network Operations Center Manager > Experis Data Center LLC > 8209 Valley Pike > PO Box 535 > Middletown,VA 22645 > phone:540-869-8702 > cell:240-988-3267 > fax:540-869-8710 > e-mail:naloi at experisdatacenters.com > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From naloi at experisdatacenters.com Wed Jul 1 19:37:26 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Wed, 01 Jul 2009 17:37:26 +0000 Subject: general inquiry of method of install for Nagios 3.1.2 on Fedora 9 system Message-ID: Is building an rpm difficult? I haven't really researched doing that. My reluctance to going with 3.0.6 is that the build I have requires libgd.so.1.8 but I have libgd.so.2.0 so I don't want to uninstall libgd.so.2.0 just to install an older libgd. -----Original Message----- From: Mark Gius [mailto:mgius at createspace.com] Sent: Wednesday, July 1, 2009 01:21 PM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] general inquiry of method of install for Nagios 3.1.2 on Fedora 9 system My recommendation is to use the 3.0.6 RPM you found, or to build your own RPM using the specfile that comes with the source distribution. Building your own RPM means that Nagios is easier to install/uninstall, and you can reuse the RPM pretty easily. I'm using my own RPM of 3.0.6 and I've had no problems with it. I don't know what improvements are taking place in the 3.1 branch however. -Gius Natalie Aloi wrote: Hi, I am trying to get nagios 3.x to install - I was attempting to upgrade from 2.11 but found too many problems, so I am attempting a new install on a different server - this way no conflicts, etc. I am relatively new to unix/linux so bear with me. I have installed fedora 9 on a server and am kind of familiar with yum and rpm which sure makes life easier for the newbie But I can't seem to locate an rpm for the latest release of Nagios ver 3.1.2. My question is what problems, if any, might I encounter just installing the tar ball for nagios and the plugins to get nagios 3.x up & operational vs using an older version of nagios 3.0.6 that has an rpm file associated with it? thanks! Natalie Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:naloi at experisdatacenters.com ------------------------------------------------------------ ------------------------------------------------------------------------------ ------------------------------------------------------------ _______________________________________________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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deibertine at yahoo.com Wed Jul 1 19:54:36 2009 From: deibertine at yahoo.com (Dei Bertine) Date: Wed, 1 Jul 2009 10:54:36 -0700 (PDT) Subject: check_smtp issue In-Reply-To: References: <6db4a4200906301243v5e0025e4g37813c9364bbae66@mail.gmail.com> <238874.57128.qm@web111206.mail.gq1.yahoo.com> Message-ID: <377787.83598.qm@web111204.mail.gq1.yahoo.com> Ok, I remove the nrpe side and configured instead my service for the host. I changed it to this: define service{ use local-service host_name serveip1.csaa..com service_description SMTP check_command check_smtp!/check_smtp -p 25 -w 5 -c 8 -t 100 } Am I missing something? Thanks. ________________________________ From: Mathew Walker To: deibertine at yahoo.com; nagios-users at lists.sourceforge.net Sent: Wednesday, July 1, 2009 9:58:22 AM Subject: RE: [Nagios-users] check_smtp issue What is your service configuration? If you're checking SMTP remotely, there is no need for NRPE here. I would guess your service configuration is not passing the correct variables. -- Mat W. - http://www.techadre.com/ ________________________________ Date: Tue, 30 Jun 2009 20:04:49 -0700 From: deibertine at yahoo.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_smtp issue I have setup check_smtp in my Nagios to possibly check smtp flow. I have manually tested initiated this command and seems to be ok: nagios at servedhcp1~/libexec# ./check_smtp -H serveip1.csaa.com -w 3 -c 5 -t 100 SMTP OK - 0.003 sec. response time|time=0.002578s;3.000000;5.000000;0.000000 Configured my cfgs in command.cfg: define command{ command_name check_smtp command_line $USER1$/check_smtp -H $HOSTADDRESS$ -p 25 -w $ARG1$ -c $ARG2$ -t $ARG3$ } Configured on host nrpe: command[check_smtp]=/usr/local/nagios/libexec/check_smtp -p 25 -w 5 -c 8 -t 100 However when I check nagios page, I'm getting this error: check_smtp: Warning time must be a positive integer Any ideas on why this is happening? Please advise. Thanks! DB ________________________________ Lauren found her dream laptop. Find the PC that?s right for you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From forsytad at luther.edu Wed Jul 1 19:54:13 2009 From: forsytad at luther.edu (Adam Forsyth) Date: Wed, 1 Jul 2009 12:54:13 -0500 Subject: Simplified Nagios user interface for end users/help desk In-Reply-To: References: Message-ID: I did try experimenting with Nagios Looking Glass some a few months ago. It does present a nice user interface, but unless I'm missing something, it still seems to have the same problem of not being able to distinguish between errors that are for my information and those that are actually service affecting. For example, I created a filter called "Web Servers" and placed our web servers into it. That worked just fine, but the Looking glass page reported that "The network is experiencing severe outages which is having a negative effect on services." The reason for this was that I have nagios configured to check how much free disk space is available on the server. That check was in "critical" state because the volume is 90% full. I want nagios to alert me when that happens so I can look for disk space to free up before the disk is 100% full (and it has alerted me). Nagios Looking Glass, on the other hand is for end users. The end users don't need to be concerned that we're within 10% of filling the disk, so I don't want the Looking Glass to be concerned about disk space. I couldn't find a way to make it not be concerned about the disk space. Did I mis ssomething here? If I did and this is a solvable problem, then I think Nagios Looking Glass is exactly what I'm looking for. On Wed, Jul 1, 2009 at 9:49 AM, Mathew S. McCarrell wrote: > Adam, > > You can look at something like Nagios Looking Glass.? You many also want to > consider using service groups. > > Hope that helps. > > Matt > > -- > Mathew S. McCarrell > Clarkson University '10 > > mccarrms at gmail.com > mccarrms at clarkson.edu > > > On Wed, Jul 1, 2009 at 9:24 AM, Adam Forsyth wrote: >> >> I'm monitoring lots of different services on various hosts with >> Nagios. ?Many of these things are very useful for me to monitor as the >> sys admin, but when alerts occur occur with them, they do not >> represent downtime for our users, they represent problems I should fix >> proactively before they result in user noticeable downtime. ?For >> example, if Nagios notices a fan failure on one of my Procurve >> switches, I as the admin want to know about the problem, and probably >> want to replace the failing fan during the next scheduled maintenance >> time. ?The switch is still running just fine, however and there is no >> effect on service to users. ?Currently when I get such a notification, >> I'd acknowledge the problem, and it would stay in critical state until >> I've fixed the problem. >> >> What I'd like to create is a more end user targeted display of Nagios >> data. ?It would display OK or Alert status based only on whether the >> particular service is up or down from the user perspective, and >> wouldn't show any of the proactive nice for the sys admin to know >> about details. ?So in the case of the procurve switch, as long as the >> fan failure hasn't made the entire switch crash (we can still ping it) >> it would remain in an OK state. >> >> The only way I can think of to accomplish this would be to make a >> second installation of nagios. ?It would be a lot of duplicate >> configuration, but many of the services would be left out. ?I think >> that would create this second end user display as I'm imagining it, >> but it would come at the expense of having to maintain 2 sets of >> configuration files, and the server would have to do duplicate >> checking of lots of the services and hosts. >> >> Can anyone think of a better way to accomplish this that wouldn't need >> to involve duplication of checks? >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgius at createspace.com Wed Jul 1 19:55:58 2009 From: mgius at createspace.com (Mark Gius) Date: Wed, 01 Jul 2009 10:55:58 -0700 Subject: general inquiry of method of install for Nagios 3.1.2 on Fedora 9 system In-Reply-To: References: Message-ID: <4A4BA32E.80500@createspace.com> Because Nagios comes with a specfile, building Nagios only requires that you install the appropriate development libraries and the rpm build tools. Then it becomes a matter of rpmbuild -ba nagios.spec. IIRC this builds the plugin rpm as well. I just checked and I'm running libgd-2.0, so you should be able to build the RPM just fine (as long as you install all of the necessary development libraries). -Gius Natalie Aloi wrote: > Is building an rpm difficult? I haven't really researched doing that. > My reluctance to going with 3.0.6 is that the build I have requires > libgd.so.1.8 but I have libgd.so.2.0 so I don't want to uninstall > libgd.so.2.0 just to install an older libgd. > > -----Original Message----- > *From:* Mark Gius [mailto:mgius at createspace.com] > *Sent:* Wednesday, July 1, 2009 01:21 PM > *To:* 'Natalie Aloi' > *Cc:* 'Nagios Users Mail-list' > *Subject:* Re: [Nagios-users] general inquiry of method of install > for Nagios 3.1.2 on Fedora 9 system > > My recommendation is to use the 3.0.6 RPM you found, or to build > your own RPM using the specfile that comes with the source > distribution. Building your own RPM means that Nagios is easier > to install/uninstall, and you can reuse the RPM pretty easily. > > I'm using my own RPM of 3.0.6 and I've had no problems with it. I > don't know what improvements are taking place in the 3.1 branch > however. > > -Gius > > Natalie Aloi wrote: >> Hi, I am trying to get nagios 3.x to install - I was attempting >> to upgrade from 2.11 but found too many problems, so I am >> attempting a new install on a different server - this way no >> conflicts, etc. I am relatively new to unix/linux so bear with >> me. I have installed fedora 9 on a server and am kind of >> familiar with yum and rpm which sure makes life easier for the >> newbie But I can't seem to locate an rpm for the latest release >> of Nagios ver 3.1.2. My question is what problems, if any, might >> I encounter just installing the tar ball for nagios and the >> plugins to get nagios 3.x up & operational vs using an older >> version of nagios 3.0.6 that has an rpm file associated with it? >> >> thanks! >> Natalie >> >> Network Operations Center Manager >> Experis Data Center LLC >> 8209 Valley Pike >> PO Box 535 >> Middletown,VA 22645 >> phone:540-869-8702 >> cell:240-988-3267 >> fax:540-869-8710 >> e-mail:naloi at experisdatacenters.com >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.saldivar at advocatecreditrepair.com Wed Jul 1 19:51:31 2009 From: mike.saldivar at advocatecreditrepair.com (Mike Saldivar) Date: Wed, 1 Jul 2009 11:51:31 -0600 Subject: check_smtp issue In-Reply-To: <238874.57128.qm@web111206.mail.gq1.yahoo.com> References: <6db4a4200906301243v5e0025e4g37813c9364bbae66@mail.gmail.com> <238874.57128.qm@web111206.mail.gq1.yahoo.com> Message-ID: <61ab46280907011051t19beefe1n5ae23b8feb4e2c6@mail.gmail.com> On Tue, Jun 30, 2009 at 9:04 PM, Dei Bertine wrote: > I have setup check_smtp in my Nagios to possibly check smtp flow. > > I have manually tested initiated this command and seems to be ok: > nagios at servedhcp1~/libexec# ./check_smtp -H serveip1.csaa.com -w 3 -c 5 -t > 100 > SMTP OK - 0.003 sec. response > time|time=0.002578s;3.000000;5.000000;0.000000 > > Configured my cfgs in command.cfg: > define command{ > command_name check_smtp > command_line $USER1$/check_smtp -H $HOSTADDRESS$ -p 25 -w $ARG1$ -c $ARG2$ > -t $ARG3$ > } > > Configured on host nrpe: > command[check_smtp]=/usr/local/nagios/libexec/check_smtp -p 25 -w 5 -c 8 -t > 100 > Based on the above info, you should have a service description similar to this in your hosts.cfg for that host: define service{ use generic-service host_name serveip1.csaa.com service_description SMTP check_command check_smtp!serveip1.csaa.com!3!5!100 } --- Mike Saldivar Advocate Credit Repair Information Systems Manager Desk: 435-774-8252 Cell: 435-881-3778 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deibertine at yahoo.com Wed Jul 1 21:04:33 2009 From: deibertine at yahoo.com (Dei Bertine) Date: Wed, 1 Jul 2009 12:04:33 -0700 (PDT) Subject: check_smtp issue In-Reply-To: <377787.83598.qm@web111204.mail.gq1.yahoo.com> References: <6db4a4200906301243v5e0025e4g37813c9364bbae66@mail.gmail.com> <238874.57128.qm@web111206.mail.gq1.yahoo.com> <377787.83598.qm@web111204.mail.gq1.yahoo.com> Message-ID: <592605.53660.qm@web111212.mail.gq1.yahoo.com> I got it! :-) I got confused with the check_nrpe plugin. So what I did was enabled nrpe on the host side, then configured my services in nagios to check_nrpe!check_smtp Now Nagios is happy. SMTP OK - 0.004 sec. response time Thanks guys. ________________________________ From: Dei Bertine To: Mathew Walker ; nagios-users at lists.sourceforge.net Sent: Wednesday, July 1, 2009 10:54:36 AM Subject: Re: [Nagios-users] check_smtp issue Ok, I remove the nrpe side and configured instead my service for the host. I changed it to this: define service{ use local-service host_name serveip1.csaa.com service_description SMTP check_command check_smtp!/check_smtp -p 25 -w 5 -c 8 -t 100 } Am I missing something? Thanks. ________________________________ From: Mathew Walker To: deibertine at yahoo.com; nagios-users at lists.sourceforge.net Sent: Wednesday, July 1, 2009 9:58:22 AM Subject: RE: [Nagios-users] check_smtp issue What is your service configuration? If you're checking SMTP remotely, there is no need for NRPE here. I would guess your service configuration is not passing the correct variables. -- Mat W. - http://www.techadre.com/ ________________________________ Date: Tue, 30 Jun 2009 20:04:49 -0700 From: deibertine at yahoo.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_smtp issue I have setup check_smtp in my Nagios to possibly check smtp flow. I have manually tested initiated this command and seems to be ok: nagios at servedhcp1~/libexec# ./check_smtp -H serveip1.csaa.com -w 3 -c 5 -t 100 SMTP OK - 0.003 sec. response time|time=0.002578s;3.000000;5.000000;0.000000 Configured my cfgs in command.cfg: define command{ command_name check_smtp command_line $USER1$/check_smtp -H $HOSTADDRESS$ -p 25 -w $ARG1$ -c $ARG2$ -t $ARG3$ } Configured on host nrpe: command[check_smtp]=/usr/local/nagios/libexec/check_smtp -p 25 -w 5 -c 8 -t 100 However when I check nagios page, I'm getting this error: check_smtp: Warning time must be a positive integer Any ideas on why this is happening? Please advise. Thanks! DB ________________________________ Lauren found her dream laptop. Find the PC that?s right for you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiahjester at gmail.com Wed Jul 1 23:01:03 2009 From: jeremiahjester at gmail.com (Jeremiah Jester) Date: Wed, 1 Jul 2009 14:01:03 -0700 Subject: How to surpess notifications if ping fails. In-Reply-To: <4A4AE129.2050507@netdork.net> References: <2d4ba7ab0906291457p285229f5nb513160f5f7cfee4@mail.gmail.com> <3ikl45d8d8c64p7tbkss3613h75muf8dpq@4ax.com> <2d4ba7ab0906302036p403c9545k1e4e2af37cb4d680@mail.gmail.com> <4A4AE129.2050507@netdork.net> Message-ID: <2d4ba7ab0907011401i2b373885ldfb2c0937c939cf4@mail.gmail.com> Hmmm, tryied this...but not working. Also, i get an error when i specify 'retry_interval'. maybe n agios3 only? define host{ host_name psedev2 alias dev check_command check-host-alive notification_options d,r max_check_attempts 3 check_interval 1 retry_interval 1 address 10.139.10.42 use generic-host parents switch-office } Error log: [1246481763] Error: Invalid host object directive 'retry_interval'. [1246481763] Error: Could not add object property in file '/etc/nagios2/conf.d/generic-host_nagios2.cfg' on line 143. [1246481763] Bailing out due to one or more errors encountered in the configuration files. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=27490) Thanks, JJ On Tue, Jun 30, 2009 at 9:08 PM, Jon Angliss wrote: > Jeremiah Jester wrote: > > Jon, > > > > Thanks for the reply. I've been struggling with this for some days. Can > > you give me an example of what how to define this and in what file? I > > would appreciate your help. > > Files don't really matter. Nagios loads them all, and processes. > Its up to you how you want to format. Sometimes it's easier to > group by type (hosts, services, commands, etc), and others by > location (server room, etc). How you format is up to you. If you > want, you can even bundle it all in a single file. > > Lines ending in \ are wrapped and should appear on a single line in > your config. > > define command { > command_name check-host-alive > command_line $USER1$/check_ping -H $HOSTADDRESS$ \ > -w 3000.0,80% -c 5000.0,100% \ > -p 5 > } > > define command { > command_name check_http > command_line $USER1$/check_http -H $HOSTNAME$ > } > > define host { > host_name myhost > address 1.1.1.1 > check_command check-host-alive > notification_options d,r > check_period All > max_check_attempts 3 > check_interval 1 > retry_interval 1 > contact_groups mycontacts > } > > define service { > host_name myhost > check_command check_http > {.. other stuff here .. } > } > > This will execute check_http against the "myhost". check-host-alive > will be executed every 1 minute. If check-host-alive fails 3 times, > host is considered down, and alerts for check_http will be > suppressed. You should read up on host checks [1], service checks > [2], and notifications [3]. > > > Also, I've not seen v3 in the repsository but maybe i need to change my > > sources? > > You didn't mention which version of ubuntu you were using, but > jaunty has nagios3... > > http://packages.ubuntu.com/jaunty/nagios3 > > > > [1]: http://nagios.sourceforge.net/docs/3_0/hostchecks.html > [2]: http://nagios.sourceforge.net/docs/3_0/servicechecks.html > [3]: http://nagios.sourceforge.net/docs/3_0/notifications.html > > -- > Jon Angliss > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Thu Jul 2 00:15:38 2009 From: jon at netdork.net (Jon Angliss) Date: Wed, 01 Jul 2009 17:15:38 -0500 Subject: How to surpess notifications if ping fails. In-Reply-To: <2d4ba7ab0907011401i2b373885ldfb2c0937c939cf4@mail.gmail.com> References: <2d4ba7ab0906291457p285229f5nb513160f5f7cfee4@mail.gmail.com> <3ikl45d8d8c64p7tbkss3613h75muf8dpq@4ax.com> <2d4ba7ab0906302036p403c9545k1e4e2af37cb4d680@mail.gmail.com> <4A4AE129.2050507@netdork.net> <2d4ba7ab0907011401i2b373885ldfb2c0937c939cf4@mail.gmail.com> Message-ID: <4A4BE00A.9080308@netdork.net> Jeremiah Jester wrote: > Hmmm, tryied this...but not working. Also, i get an error when i specify > 'retry_interval'. maybe n agios3 only? > > define host{ > host_name psedev2 > alias dev > check_command check-host-alive > notification_options d,r > max_check_attempts 3 > check_interval 1 > retry_interval 1 > address 10.139.10.42 > use generic-host > parents switch-office > } > > Error log: > [1246481763] Error: Invalid host object directive 'retry_interval'. > [1246481763] Error: Could not add object property in file > '/etc/nagios2/conf.d/generic-host_nagios2.cfg' on line 143. > [1246481763] Bailing out due to one or more errors encountered in the > configuration files. Run Nagios from the command line with the -v > option to verify your config before restarting. (PID=27490) Yep, that'd be a nagios 3 option. I'd not realized (or maybe missed) you were using v2. Just remove that option. -- Jon Angliss > > > Thanks, > JJ > > > On Tue, Jun 30, 2009 at 9:08 PM, Jon Angliss > wrote: > > Jeremiah Jester wrote: > > Jon, > > > > Thanks for the reply. I've been struggling with this for some > days. Can > > you give me an example of what how to define this and in what file? I > > would appreciate your help. > > Files don't really matter. Nagios loads them all, and processes. > Its up to you how you want to format. Sometimes it's easier to > group by type (hosts, services, commands, etc), and others by > location (server room, etc). How you format is up to you. If you > want, you can even bundle it all in a single file. > > Lines ending in \ are wrapped and should appear on a single line in > your config. > > define command { > command_name check-host-alive > command_line $USER1$/check_ping -H $HOSTADDRESS$ \ > -w 3000.0,80% -c 5000.0,100% \ > -p 5 > } > > define command { > command_name check_http > command_line $USER1$/check_http -H $HOSTNAME$ > } > > define host { > host_name myhost > address 1.1.1.1 > check_command check-host-alive > notification_options d,r > check_period All > max_check_attempts 3 > check_interval 1 > retry_interval 1 > contact_groups mycontacts > } > > define service { > host_name myhost > check_command check_http > {.. other stuff here .. } > } > > This will execute check_http against the "myhost". check-host-alive > will be executed every 1 minute. If check-host-alive fails 3 times, > host is considered down, and alerts for check_http will be > suppressed. You should read up on host checks [1], service checks > [2], and notifications [3]. > > > Also, I've not seen v3 in the repsository but maybe i need to > change my > > sources? > > You didn't mention which version of ubuntu you were using, but > jaunty has nagios3... > > http://packages.ubuntu.com/jaunty/nagios3 > > > > [1]: http://nagios.sourceforge.net/docs/3_0/hostchecks.html > [2]: http://nagios.sourceforge.net/docs/3_0/servicechecks.html > [3]: http://nagios.sourceforge.net/docs/3_0/notifications.html > > -- > Jon Angliss > > > > -- Jon Angliss ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 2 00:26:40 2009 From: ae at op5.se (Andreas Ericsson) Date: Thu, 02 Jul 2009 00:26:40 +0200 Subject: Simplified Nagios user interface for end users/help desk In-Reply-To: References: Message-ID: <4A4BE2A0.6020804@op5.se> Adam Forsyth wrote: > I did try experimenting with Nagios Looking Glass some a few months > ago. It does present a nice user interface, but unless I'm missing > something, it still seems to have the same problem of not being able > to distinguish between errors that are for my information and those > that are actually service affecting. For example, I created a filter > called "Web Servers" and placed our web servers into it. That worked > just fine, but the Looking glass page reported that "The network is > experiencing severe outages which is having a negative effect on > services." The reason for this was that I have nagios configured to > check how much free disk space is available on the server. That check > was in "critical" state because the volume is 90% full. > > I want nagios to alert me when that happens so I can look for disk > space to free up before the disk is 100% full (and it has alerted me). > Nagios Looking Glass, on the other hand is for end users. The end > users don't need to be concerned that we're within 10% of filling the > disk, so I don't want the Looking Glass to be concerned about disk > space. I couldn't find a way to make it not be concerned about the > disk space. Did I mis ssomething here? If I did and this is a > solvable problem, then I think Nagios Looking Glass is exactly what > I'm looking for. > If you don't want it to be concerned about diskspace, don't add the disk checks to the service groups. If NLG isn't looking at service- groups, then perhaps that's what you need to start doing, but only adding the services that *actually* affect services to those groups. Service groups are there for precisely this reason, really. Making users see how various failures in the network affects what *they* use is an immensely powerful feature, but it has to be used properly. -- 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. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Thu Jul 2 03:01:21 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 01 Jul 2009 21:01:21 -0400 Subject: Monitor Wireless Network Bandwidth Health In-Reply-To: <172163.59229.qm@web111201.mail.gq1.yahoo.com> References: <6db4a4200906301243v5e0025e4g37813c9364bbae66@mail.gmail.com> <172163.59229.qm@web111201.mail.gq1.yahoo.com> Message-ID: <4A4C06E1.1070900@gmail.com> Can't speak for Nagios, but Cacti has some custom addons for trending out Cisco AP's and WLC's... search on the Cacti forums. I just rolled this out for 3 controllers, two ACS/WCS servers, roughly 50 AP's... A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Dei Bertine wrote: > Hi, > I was wondering if there's a way to monitor my wireless router via Nagios? > I have Cisco 520 Series Wireless LAN Controller with 3 APs attached > (AIRLAP521G). > Mainly want to monitor the performance of the wireless connections and > if possible send alerts if the network is slow. > Any advise would be appreciated. > Thanks, > DB > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From N.Patil at lntinfotech.com Thu Jul 2 06:04:57 2009 From: N.Patil at lntinfotech.com (N Patil) Date: Thu, 2 Jul 2009 09:34:57 +0530 Subject: Generate and export reports in CSV, PDF format? In-Reply-To: <1246456908.4786.15.camel@DevNagios.geninfo.com> References: <1246456908.4786.15.camel@DevNagios.geninfo.com> Message-ID: Hi Chris, IT head is more interested in CSV format results so they can keep track of utilizations of resources. I also have MRTG configured. Do you know any plugins, addon which can be helpful in getting these results? ---Nilesh Chris Beattie 07/01/2009 07:31 PM To N Patil cc nagios-users at lists.sourceforge.net Subject Re: [Nagios-users] Generate and export reports in CSV, PDF format? On Wed, 2009-07-01 at 14:51 +0530, N Patil wrote: > > Is there any way that I can generate/convert reports into CSV, PDF, > DOC or such formats ? I don't know if this will help you at all, but I've always used MRTG or Cacti for history and graphing rather than Nagios add-ons. Newer versions of Cacti can export graph data into CSV files. -- -Chris Nothing in this message is intended to make or accept and offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco.tirado at gmail.com Thu Jul 2 10:09:46 2009 From: marco.tirado at gmail.com (Marco Tirado) Date: Thu, 2 Jul 2009 10:09:46 +0200 Subject: Event Handlers, start a java program, nohup issues. Message-ID: Hello Users: I have a problem with an event handler of mine. The handler starts a java daemon-like program which loops forever waiting for connections and performs JMX queries against our java applications. The problem is that the handler times out when it is run by nagios. This is what I see in the logs: [01-07-2009 18:45:36] SERVICE EVENT HANDLER: bj-mon-01;JMX_Server_Running;(null);(null);(null);start_jmx_server [01-07-2009 18:46:07] Warning: Service event handler command '/usr/local/nagios/libexec/eventhandlers/start_jmx_server CRITICAL SOFT 1' timed out after 30 seconds The event handler should start my JMXServer both in hard and soft states. I have run the command from the console as the "nagios" user and it works, so the problem has nothing to do with user rights for nagios. The problem is that the handler hangs when I run "nohup" followed by my command for starting the server (see the red text below). My event handler looks like this: ########################### # PROPERTIES ########################### PORT="4444" ECHO_CMD="/bin/echo" JAVA_CMD="/usr/bin/java" CLASSPATH="MyClasspath" JVM_OPTIONS="MyOptions" ########################### # What state is the JMXServer in? case "$1" in OK) ;; WARNING) ;; UNKNOWN) ;; CRITICAL) case "$2" in SOFT) `$ECHO_CMD "TRYING restart" >> /tmp/test` nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer $PORT &1 >> $LOG_FILE& `$ECHO_CMD "TRYING restart" >> /tmp/test` ;; HARD) `$ECHO_CMD "TRYING restart" >> /tmp/test` nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer $PORT &1 >> $LOG_FILE& `$ECHO_CMD "FINISHED trying" >> /tmp/test` ;; esac ;; esac exit 0 Any help, hint or recommendation is deeply appreciated. //Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Thu Jul 2 15:20:11 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Thu, 2 Jul 2009 09:20:11 -0400 Subject: monitoring load balanced url Message-ID: <6db4a4200907020620k6bd23719taae44201e5f53ab5@mail.gmail.com> All, I am trying to monitor an url which is load balanced behind csm. I want it go to warnning state if 50% of the servers are unavailable behind csm. Can someone please give me some suggestion how I can achieve this. Thanks -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Thu Jul 2 15:51:10 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Thu, 2 Jul 2009 09:51:10 -0400 Subject: monitoring load balanced url In-Reply-To: <6db4a4200907020620k6bd23719taae44201e5f53ab5@mail.gmail.com> References: <6db4a4200907020620k6bd23719taae44201e5f53ab5@mail.gmail.com> Message-ID: <6db4a4200907020651h2f35cad3rd4ec8d9fa22dcc57@mail.gmail.com> All, I thought of this approach. I will create a service call 'check_public_url' on host1, host2, host3, host4, and etc. Then I would create another check which will use "check_cluster" plugin to check the service status like below ./check_cluster -s check_public_url -d -w 0:50 -c 50:75 Am I approaching the right solution? Please advise on this. thanks On Thu, Jul 2, 2009 at 9:20 AM, shadih rahman wrote: > All, > I am trying to monitor an url which is load balanced behind csm. I want > it go to warnning state if 50% of the servers are unavailable behind csm. > Can someone please give me some suggestion how I can achieve this. Thanks > > -- > Cordially, > Shadhin Rahman > -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ena.com Thu Jul 2 15:41:44 2009 From: marc at ena.com (Marc Powell) Date: Thu, 2 Jul 2009 08:41:44 -0500 Subject: monitoring load balanced url In-Reply-To: <6db4a4200907020620k6bd23719taae44201e5f53ab5@mail.gmail.com> References: <6db4a4200907020620k6bd23719taae44201e5f53ab5@mail.gmail.com> Message-ID: <87A0D4C9-5C43-487D-9443-1AFFA869B6DE@ena.com> On Jul 2, 2009, at 8:20 AM, shadih rahman wrote: > All, > I am trying to monitor an url which is load balanced behind csm. > I want it go to warnning state if 50% of the servers are > unavailable behind csm. Can someone please give me some suggestion > how I can achieve this. Thanks Use the check_cluster plugin. -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco.tirado at gmail.com Thu Jul 2 16:16:39 2009 From: marco.tirado at gmail.com (Marco Tirado) Date: Thu, 2 Jul 2009 16:16:39 +0200 Subject: Event Handlers, start a java program, nohup issues. In-Reply-To: <4A4C74CC.8080608@op5.se> References: <4A4C74CC.8080608@op5.se> Message-ID: That is exactly what I am doing (or trying to do with) the "&" character at the end of my command. But it does not appear to be working, the command looks like this: nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer $PORT &1 >> $LOG_FILE& Any suggestions? Am I missing something else? //Marco On Thu, Jul 2, 2009 at 10:50 AM, Andreas Ericsson wrote: > Marco Tirado wrote: > >> Hello Users: >> >> I have a problem with an event handler of mine. The handler starts a java >> daemon-like program which loops forever waiting for connections and >> performs >> JMX queries against our java applications. >> >> The problem is that the handler times out when it is run by nagios. This >> is >> what I see in the logs: >> >> [01-07-2009 18:45:36] SERVICE EVENT HANDLER: >> bj-mon-01;JMX_Server_Running;(null);(null);(null);start_jmx_server >> [01-07-2009 18:46:07] Warning: Service event handler command >> '/usr/local/nagios/libexec/eventhandlers/start_jmx_server CRITICAL SOFT 1' >> timed out after 30 seconds >> >> The event handler should start my JMXServer both in hard and soft states. >> I >> have run the command from the console as the "nagios" user and it works, >> so >> the problem has nothing to do with user rights for nagios. >> >> The problem is that the handler hangs when I run "nohup" followed by my >> command for starting the server (see the red text below). >> >> My event handler looks like this: >> >> ########################### >> # PROPERTIES >> ########################### >> >> PORT="4444" >> ECHO_CMD="/bin/echo" >> JAVA_CMD="/usr/bin/java" >> CLASSPATH="MyClasspath" >> JVM_OPTIONS="MyOptions" >> >> ########################### >> >> # What state is the JMXServer in? >> case "$1" in >> >> OK) >> ;; >> >> WARNING) >> ;; >> >> UNKNOWN) >> ;; >> >> CRITICAL) >> >> case "$2" in >> >> SOFT) >> >> `$ECHO_CMD "TRYING restart" >> /tmp/test` >> nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer $PORT >> &1 >> $LOG_FILE& >> `$ECHO_CMD "TRYING restart" >> /tmp/test` >> >> ;; >> >> HARD) >> >> `$ECHO_CMD "TRYING restart" >> /tmp/test` >> nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer $PORT >> &1 >> $LOG_FILE& >> `$ECHO_CMD "FINISHED trying" >> /tmp/test` >> >> ;; >> >> esac >> >> ;; >> >> esac >> >> exit 0 >> >> >> >> Any help, hint or recommendation is deeply appreciated. >> >> > You need to make the java daemon run in the background. That will make > Nagios ignore it after it has moved from the foreground. > > -- > 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 2 16:00:38 2009 From: darose at darose.net (David Rosenstrauch) Date: Thu, 02 Jul 2009 10:00:38 -0400 Subject: Event Handlers, start a java program, nohup issues. In-Reply-To: References: Message-ID: <4A4CBD86.4030509@darose.net> Perhaps instead of using a java daemon to do JMX queries, you could use the check_jmx nagios plugin. (Available at the monitoring exchange site.) I've been using it in our Nagios system, and it's been working nicely (after some enhancements). I'm in the process of adopting and enhancing the code (neither of the previous 2 authors wanted to maintain it) and setting up a proper home for it on sourceforge (http://sourceforge.net/projects/nagioscheckjmx/). (Don't download it yet until I get the 1.0 release uploaded.) HTH, DR Marco Tirado wrote: > Hello Users: > > I have a problem with an event handler of mine. The handler starts a java > daemon-like program which loops forever waiting for connections and performs > JMX queries against our java applications. > > The problem is that the handler times out when it is run by nagios. This is > what I see in the logs: > > [01-07-2009 18:45:36] SERVICE EVENT HANDLER: > bj-mon-01;JMX_Server_Running;(null);(null);(null);start_jmx_server > [01-07-2009 18:46:07] Warning: Service event handler command > '/usr/local/nagios/libexec/eventhandlers/start_jmx_server CRITICAL SOFT 1' > timed out after 30 seconds > > The event handler should start my JMXServer both in hard and soft states. I > have run the command from the console as the "nagios" user and it works, so > the problem has nothing to do with user rights for nagios. > > The problem is that the handler hangs when I run "nohup" followed by my > command for starting the server (see the red text below). > > My event handler looks like this: > > ########################### > # PROPERTIES > ########################### > > PORT="4444" > ECHO_CMD="/bin/echo" > JAVA_CMD="/usr/bin/java" > CLASSPATH="MyClasspath" > JVM_OPTIONS="MyOptions" > > ########################### > > # What state is the JMXServer in? > case "$1" in > > OK) > ;; > > WARNING) > ;; > > UNKNOWN) > ;; > > CRITICAL) > > case "$2" in > > SOFT) > > `$ECHO_CMD "TRYING restart" >> /tmp/test` > nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer $PORT > &1 >> $LOG_FILE& > `$ECHO_CMD "TRYING restart" >> /tmp/test` > > ;; > > HARD) > > `$ECHO_CMD "TRYING restart" >> /tmp/test` > nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer $PORT > &1 >> $LOG_FILE& > `$ECHO_CMD "FINISHED trying" >> /tmp/test` > > ;; > > esac > > ;; > > esac > > exit 0 > > > > Any help, hint or recommendation is deeply appreciated. > > //Marco ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 2 16:31:22 2009 From: subscription at kkeane.com (Kevin Keane) Date: Thu, 02 Jul 2009 07:31:22 -0700 Subject: Event Handlers, start a java program, nohup issues. In-Reply-To: References: <4A4C74CC.8080608@op5.se> Message-ID: <4A4CC4BA.1010603@kkeane.com> First, put a space in front of that &. Otherwise, it may be treated as part of the variable name. Second, I believe that the 2>&1 needs to come AFTER the redirection to $LOG_FILE. Otherwise, what you are doing is redirecting stderr to stdin - which is still the console - and THEN redirecting stdin to the log file. I always get this wrong, though - it might be exactly opposite of what I'm thinking. But if I'm right, because stderr is still attached to the console, nagios would still consider it to be in the foreground. Marco Tirado wrote: > > That is exactly what I am doing (or trying to do with) the "&" > character at the end of my command. But it does not appear to be > working, the command looks like this: > > nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer $PORT 2>&1 >> $LOG_FILE& > > Any suggestions? Am I missing something else? > > //Marco > > On Thu, Jul 2, 2009 at 10:50 AM, Andreas Ericsson > wrote: > > Marco Tirado wrote: > > Hello Users: > > I have a problem with an event handler of mine. The handler > starts a java > daemon-like program which loops forever waiting for > connections and performs > JMX queries against our java applications. > > The problem is that the handler times out when it is run by > nagios. This is > what I see in the logs: > > [01-07-2009 18:45:36] SERVICE EVENT HANDLER: > bj-mon-01;JMX_Server_Running;(null);(null);(null);start_jmx_server > [01-07-2009 18:46:07] Warning: Service event handler command > '/usr/local/nagios/libexec/eventhandlers/start_jmx_server > CRITICAL SOFT 1' > timed out after 30 seconds > > The event handler should start my JMXServer both in hard and > soft states. I > have run the command from the console as the "nagios" user and > it works, so > the problem has nothing to do with user rights for nagios. > > The problem is that the handler hangs when I run "nohup" > followed by my > command for starting the server (see the red text below). > > My event handler looks like this: > > ########################### > # PROPERTIES > ########################### > > PORT="4444" > ECHO_CMD="/bin/echo" > JAVA_CMD="/usr/bin/java" > CLASSPATH="MyClasspath" > JVM_OPTIONS="MyOptions" > > ########################### > > # What state is the JMXServer in? > case "$1" in > > OK) > ;; > > WARNING) > ;; > > UNKNOWN) > ;; > > CRITICAL) > > case "$2" in > > SOFT) > > `$ECHO_CMD "TRYING restart" >> /tmp/test` > nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS > JMXServer $PORT > &1 >> $LOG_FILE& > `$ECHO_CMD "TRYING restart" >> /tmp/test` > > ;; > > HARD) > > `$ECHO_CMD "TRYING restart" >> /tmp/test` > nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS > JMXServer $PORT > &1 >> $LOG_FILE& > `$ECHO_CMD "FINISHED trying" >> /tmp/test` > > ;; > > esac > > ;; > > esac > > exit 0 > > > > Any help, hint or recommendation is deeply appreciated. > > > You need to make the java daemon run in the background. That will make > Nagios ignore it after it has moved from the foreground. > > -- > 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. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 2 10:50:20 2009 From: ae at op5.se (Andreas Ericsson) Date: Thu, 02 Jul 2009 10:50:20 +0200 Subject: Event Handlers, start a java program, nohup issues. In-Reply-To: References: Message-ID: <4A4C74CC.8080608@op5.se> Marco Tirado wrote: > Hello Users: > > I have a problem with an event handler of mine. The handler starts a java > daemon-like program which loops forever waiting for connections and performs > JMX queries against our java applications. > > The problem is that the handler times out when it is run by nagios. This is > what I see in the logs: > > [01-07-2009 18:45:36] SERVICE EVENT HANDLER: > bj-mon-01;JMX_Server_Running;(null);(null);(null);start_jmx_server > [01-07-2009 18:46:07] Warning: Service event handler command > '/usr/local/nagios/libexec/eventhandlers/start_jmx_server CRITICAL SOFT 1' > timed out after 30 seconds > > The event handler should start my JMXServer both in hard and soft states. I > have run the command from the console as the "nagios" user and it works, so > the problem has nothing to do with user rights for nagios. > > The problem is that the handler hangs when I run "nohup" followed by my > command for starting the server (see the red text below). > > My event handler looks like this: > > ########################### > # PROPERTIES > ########################### > > PORT="4444" > ECHO_CMD="/bin/echo" > JAVA_CMD="/usr/bin/java" > CLASSPATH="MyClasspath" > JVM_OPTIONS="MyOptions" > > ########################### > > # What state is the JMXServer in? > case "$1" in > > OK) > ;; > > WARNING) > ;; > > UNKNOWN) > ;; > > CRITICAL) > > case "$2" in > > SOFT) > > `$ECHO_CMD "TRYING restart" >> /tmp/test` > nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer $PORT > &1 >> $LOG_FILE& > `$ECHO_CMD "TRYING restart" >> /tmp/test` > > ;; > > HARD) > > `$ECHO_CMD "TRYING restart" >> /tmp/test` > nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer $PORT > &1 >> $LOG_FILE& > `$ECHO_CMD "FINISHED trying" >> /tmp/test` > > ;; > > esac > > ;; > > esac > > exit 0 > > > > Any help, hint or recommendation is deeply appreciated. > You need to make the java daemon run in the background. That will make Nagios ignore it after it has moved from the foreground. -- 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. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ena.com Thu Jul 2 16:43:55 2009 From: marc at ena.com (Marc Powell) Date: Thu, 2 Jul 2009 09:43:55 -0500 Subject: Event Handlers, start a java program, nohup issues. In-Reply-To: References: <4A4C74CC.8080608@op5.se> Message-ID: On Jul 2, 2009, at 9:16 AM, Marco Tirado wrote: > > That is exactly what I am doing (or trying to do with) the "&" > character at the end of my command. But it does not appear to be > working, the command looks like this: > > nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer $PORT null 2>&1 >> $LOG_FILE& Do you really intend to set the output of /dev/null as the STDIN for nohup? I expect you meant to use '>/dev/null'. -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lecb79 at gmail.com Thu Jul 2 17:05:56 2009 From: lecb79 at gmail.com (Eduardo Barreto) Date: Thu, 2 Jul 2009 12:05:56 -0300 Subject: Send SMS via Serial Message-ID: Hi all, I'm trying to set a solution to send sms via serial port (RS-232). On the server (running nagios), I've connected a mobile interface, which is a router for mobile calls and with a simple test using minicom and with some AT commands could send a message. Therefore, I'm very lost on how to integrate it with nagios command line? Does anyone have any script or a clue to set it? Thanks in advance Eduardo Barreto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex_b at users.sourceforge.net Thu Jul 2 18:12:01 2009 From: alex_b at users.sourceforge.net (Alex Burger) Date: Thu, 02 Jul 2009 12:12:01 -0400 Subject: Send SMS via Serial In-Reply-To: References: Message-ID: <4A4CDC51.8080709@users.sourceforge.net> What protocol does the mobile interface use? If it's TAP / IXO, then something like QuickPage should work. http://www.qpage.org/ Alex Eduardo Barreto wrote: > I'm trying to set a solution to send sms via serial port (RS-232). On the > server (running nagios), I've connected a mobile interface, which is a > router for mobile calls and with a simple test using minicom and with some > AT commands could send a message. Therefore, I'm very lost on how to > integrate it with nagios command line? Does anyone have any script or a clue > to set it? ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jd at op5.com Thu Jul 2 20:27:36 2009 From: jd at op5.com (Johannes Dagemark) Date: Thu, 02 Jul 2009 20:27:36 +0200 Subject: Send SMS via Serial In-Reply-To: References: Message-ID: <4A4CFC18.3070802@op5.com> Hello Eduardo Didn't you send the exact same message yesterday? anyway, here is the answer I sent you in case you did not receive it ---- I would recommend using smstools, http://smstools.meinemullemaus.de/ have been using it for years now and it's rock solid cheers Johannes Eduardo Barreto wrote: > Hi all, > > I'm trying to set a solution to send sms via serial port (RS-232). On > the server (running nagios), I've connected a mobile interface, which > is a router for mobile calls and with a simple test using minicom and > with some AT commands could send a message. Therefore, I'm very lost > on how to integrate it with nagios command line? Does anyone have any > script or a clue to set it? > > > Thanks in advance > > Eduardo Barreto > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Johannes Dagemark CTO / VP Engineering ________________________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 Gothenburg cell: +46 733-70 90 24 fax: +46 31-774 04 32 Email: jd at op5.com http://www.op5.com/ ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edgar.Matzinger at valid.nl Thu Jul 2 22:58:07 2009 From: Edgar.Matzinger at valid.nl (Edgar Matzinger) Date: Thu, 2 Jul 2009 22:58:07 +0200 Subject: Send SMS via Serial In-Reply-To: References: Message-ID: <2FBC78030439A7499BAA99B46CCC1C6D023CF78744@vld1-ex01> LS, > Hi all, > > I'm trying to set a solution to send sms via serial port (RS-232). > On the server (running nagios), If it looks like a modem, I would opt for sms_client. Is in service at our location for many years... HTH, cu l8r, Edgar. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiahjester at gmail.com Thu Jul 2 22:54:30 2009 From: jeremiahjester at gmail.com (Jeremiah Jester) Date: Thu, 2 Jul 2009 13:54:30 -0700 Subject: How to surpess notifications if ping fails. In-Reply-To: <2d4ba7ab0907011517y79eec025u810192a421b5bc7@mail.gmail.com> References: <2d4ba7ab0906291457p285229f5nb513160f5f7cfee4@mail.gmail.com> <3ikl45d8d8c64p7tbkss3613h75muf8dpq@4ax.com> <2d4ba7ab0906302036p403c9545k1e4e2af37cb4d680@mail.gmail.com> <4A4AE129.2050507@netdork.net> <2d4ba7ab0907011401i2b373885ldfb2c0937c939cf4@mail.gmail.com> <4A4BE00A.9080308@netdork.net> <2d4ba7ab0907011517y79eec025u810192a421b5bc7@mail.gmail.com> Message-ID: <2d4ba7ab0907021354u5913b6f4s134379722a1ad72d@mail.gmail.com> For some reason notifications are not being sent from nagios when i unplug the network cable from one of the hosts being monitored. Nagios recognizes that the hose is down but no notification... [1246567497] HOST ALERT: psefilesrv;DOWN;SOFT;1;(No Information Returned >From Host Check) [1246567528] Warning: Host check command '/usr/lib/nagios/plugins/check_ping -H 10.139.68.39 -w 3000.0,80% -c 5000.0,100% -p 5' for host 'psefilesrv' timed out after 30 seconds [1246567528] HOST ALERT: psefilesrv;DOWN;SOFT;2;(No Information Returned >From Host Check) [1246567559] Warning: Host check command '/usr/lib/nagios/plugins/check_ping -H 10.139.68.39 -w 3000.0,80% -c 5000.0,100% -p 5' for host 'psefilesrv' timed out after 30 seconds [1246567559] HOST ALERT: psefilesrv;DOWN;HARD;3;(No Information Returned >From Host Check) [1246567559] HOST NOTIFICATION: root;psefilesrv;DOWN;host-notify-by-email;(No Information Returned From Host Check) Here is the host config... define host{ host_name psefilesrv alias misc address 10.139.68.39 use generic-host check_command check_alive notification_options d,r max_check_attempts 3 check_interval 1 notification_interval 1 notification_period 24x7 notifications_enabled 1 parents switch-office } And the command... define command { command_name check_alive command_line /usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 } Any thoughts to why this isn't working? Email notifications for other services is working fine. Maybe i need to add check_alive as a service? Thanks, JJ On Wed, Jul 1, 2009 at 3:17 PM, Jeremiah Jester wrote: > I removed it and notifications are still being sent for all services > associated with this host. Thoughts? > > JJ > > > On Wed, Jul 1, 2009 at 3:15 PM, Jon Angliss wrote: > >> Jeremiah Jester wrote: >> > Hmmm, tryied this...but not working. Also, i get an error when i specify >> > 'retry_interval'. maybe n agios3 only? >> > >> > define host{ >> > host_name psedev2 >> > alias dev >> > check_command check-host-alive >> > notification_options d,r >> > max_check_attempts 3 >> > check_interval 1 >> > retry_interval 1 >> > address 10.139.10.42 >> > use generic-host >> > parents switch-office >> > } >> > >> > Error log: >> > [1246481763] Error: Invalid host object directive 'retry_interval'. >> > [1246481763] Error: Could not add object property in file >> > '/etc/nagios2/conf.d/generic-host_nagios2.cfg' on line 143. >> > [1246481763] Bailing out due to one or more errors encountered in the >> > configuration files. Run Nagios from the command line with the -v >> > option to verify your config before restarting. (PID=27490) >> >> Yep, that'd be a nagios 3 option. I'd not realized (or maybe >> missed) you were using v2. Just remove that option. >> >> -- >> Jon Angliss >> >> >> >> > >> > >> > Thanks, >> > JJ >> > >> > >> > On Tue, Jun 30, 2009 at 9:08 PM, Jon Angliss > > > wrote: >> > >> > Jeremiah Jester wrote: >> > > Jon, >> > > >> > > Thanks for the reply. I've been struggling with this for some >> > days. Can >> > > you give me an example of what how to define this and in what >> file? I >> > > would appreciate your help. >> > >> > Files don't really matter. Nagios loads them all, and processes. >> > Its up to you how you want to format. Sometimes it's easier to >> > group by type (hosts, services, commands, etc), and others by >> > location (server room, etc). How you format is up to you. If you >> > want, you can even bundle it all in a single file. >> > >> > Lines ending in \ are wrapped and should appear on a single line in >> > your config. >> > >> > define command { >> > command_name check-host-alive >> > command_line $USER1$/check_ping -H $HOSTADDRESS$ \ >> > -w 3000.0,80% -c 5000.0,100% \ >> > -p 5 >> > } >> > >> > define command { >> > command_name check_http >> > command_line $USER1$/check_http -H $HOSTNAME$ >> > } >> > >> > define host { >> > host_name myhost >> > address 1.1.1.1 >> > check_command check-host-alive >> > notification_options d,r >> > check_period All >> > max_check_attempts 3 >> > check_interval 1 >> > retry_interval 1 >> > contact_groups mycontacts >> > } >> > >> > define service { >> > host_name myhost >> > check_command check_http >> > {.. other stuff here .. } >> > } >> > >> > This will execute check_http against the "myhost". check-host-alive >> > will be executed every 1 minute. If check-host-alive fails 3 times, >> > host is considered down, and alerts for check_http will be >> > suppressed. You should read up on host checks [1], service checks >> > [2], and notifications [3]. >> > >> > > Also, I've not seen v3 in the repsository but maybe i need to >> > change my >> > > sources? >> > >> > You didn't mention which version of ubuntu you were using, but >> > jaunty has nagios3... >> > >> > http://packages.ubuntu.com/jaunty/nagios3 >> > >> > >> > >> > [1]: http://nagios.sourceforge.net/docs/3_0/hostchecks.html >> > [2]: http://nagios.sourceforge.net/docs/3_0/servicechecks.html >> > [3]: http://nagios.sourceforge.net/docs/3_0/notifications.html >> > >> > -- >> > Jon Angliss >> > > >> > >> > >> >> >> -- >> Jon Angliss >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mirde at oppy.com Thu Jul 2 23:50:26 2009 From: mirde at oppy.com (Mirza Dedic) Date: Thu, 2 Jul 2009 14:50:26 -0700 Subject: Nagios Alerts to SMS using SMSTools help? Message-ID: Hello, I plan to use "smstools" for my Nagios box to send out alerts to our cells if per say, our email gateway was down and Nagios alerts would not be delivered to the blackberries. In order to do this, I see a lot of users are using "smstools", when I checked their site it seems that the development has been passed to another author and is now called smstools 3. Has anyone got smstools 3 working with nagios alerts? I live in Canada, will a cell-phone such as MOTO KRZR or RAZR work? Thanks. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ena.com Thu Jul 2 23:55:55 2009 From: marc at ena.com (Marc Powell) Date: Thu, 2 Jul 2009 16:55:55 -0500 Subject: How to surpess notifications if ping fails. In-Reply-To: <2d4ba7ab0907021354u5913b6f4s134379722a1ad72d@mail.gmail.com> References: <2d4ba7ab0906291457p285229f5nb513160f5f7cfee4@mail.gmail.com> <3ikl45d8d8c64p7tbkss3613h75muf8dpq@4ax.com> <2d4ba7ab0906302036p403c9545k1e4e2af37cb4d680@mail.gmail.com> <4A4AE129.2050507@netdork.net> <2d4ba7ab0907011401i2b373885ldfb2c0937c939cf4@mail.gmail.com> <4A4BE00A.9080308@netdork.net> <2d4ba7ab0907011517y79eec025u810192a421b5bc7@mail.gmail.com> <2d4ba7ab0907021354u5913b6f4s134379722a1ad72d@mail.gmail.com> Message-ID: <2AA012AB-A7EF-4CD8-A6E2-F47553514381@ena.com> On Jul 2, 2009, at 3:54 PM, Jeremiah Jester wrote: > For some reason notifications are not being sent from nagios when i > unplug the network cable from one of the hosts being monitored. > > Nagios recognizes that the hose is down but no notification... > [1246567559] HOST NOTIFICATION: root;psefilesrv;DOWN;host-notify-by- > email;(No Information Returned From Host Check) Here, nagios is running the 'host-notify-by-email' command for the contact named 'root'. It's trying to send a notification. Does that command_line work as the nagios user from the command line? Do you see any indication of the attempt in your mail server log files on the nagios machine? If it's not obvious what the problem is, please post that command{} definition, the contact{} definition for root and your test from the command line as well as any errors seen. -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From megamic at gmail.com Fri Jul 3 00:41:46 2009 From: megamic at gmail.com (megamic at gmail.com) Date: Thu, 02 Jul 2009 22:41:46 +0000 Subject: how does nagios locate config path? Message-ID: <00163641792ba92f80046dc0befd@google.com> Hi I want to build and install Nagios under a certain path (eg /opt/local) but tell it to find it's configuration (nagios.cfg, cgi.cfg) elsewhere (eg /export/nagios). There is useful configure directive for the lockfile (--with-lockfile), is there something similar for configuration path? Ideally I don't want to install anything under /export/nagios as part of the installation procedure, another process will deploy the correct configuration there, I just want to set Nagios to look there when it runs. Cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgius at createspace.com Fri Jul 3 00:56:55 2009 From: mgius at createspace.com (Mark Gius) Date: Thu, 02 Jul 2009 15:56:55 -0700 Subject: how does nagios locate config path? In-Reply-To: <00163641792ba92f80046dc0befd@google.com> References: <00163641792ba92f80046dc0befd@google.com> Message-ID: <4A4D3B37.7000802@createspace.com> The main nagios configuration file is configurable in the init script. All other files are read based on the cfg_file and cfg_dir directives in that main nagios configuration file. So you can either use the default nagios.cfg, which then points to things in /export/nagios, or edit the init script to also use a nagios.cfg in /export/nagios -Gius megamic at gmail.com wrote: > Hi > > I want to build and install Nagios under a certain path (eg > /opt/local) but tell it to find it's configuration (nagios.cfg, > cgi.cfg) elsewhere (eg /export/nagios). There is useful configure > directive for the lockfile (--with-lockfile), is there something > similar for configuration path? Ideally I don't want to install > anything under /export/nagios as part of the installation procedure, > another process will deploy the correct configuration there, I just > want to set Nagios to look there when it runs. > > Cheers > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From megamic at gmail.com Fri Jul 3 07:24:49 2009 From: megamic at gmail.com (megamic at gmail.com) Date: Fri, 03 Jul 2009 05:24:49 +0000 Subject: how does nagios locate config path? In-Reply-To: <4A4D3B37.7000802@createspace.com> References: <4A4D3B37.7000802@createspace.com> Message-ID: <00163645923c0eb292046dc66083@google.com> Thanks for that reply. So the init.d script tell the nagios daemon where to find the config files and other things...what about the CGI scripts...how do they know where to look? On Jul 3, 2009 8:56am, Mark Gius wrote: > The main nagios configuration file is configurable in the init script. > All other files are read based on the cfg_file and cfg_dir directives > in that main nagios configuration file. So you can either use the > default nagios.cfg, which then points to things in /export/nagios, or > edit the init script to also use a nagios.cfg in /export/nagios > -Gius > megamic at gmail.com wrote: > Hi > I want to build and install Nagios under a certain path (eg /opt/local) > but tell it to find it's configuration (nagios.cfg, cgi.cfg) elsewhere > (eg /export/nagios). There is useful configure directive for the > lockfile (--with-lockfile), is there something similar for > configuration path? Ideally I don't want to install anything under > /export/nagios as part of the installation procedure, another process > will deploy the correct configuration there, I just want to set Nagios > to look there when it runs. > Cheers > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From megamic at gmail.com Fri Jul 3 09:52:00 2009 From: megamic at gmail.com (Michael Potter) Date: Fri, 3 Jul 2009 17:52:00 +1000 Subject: how does nagios locate config path? In-Reply-To: <4A4D3B37.7000802@createspace.com> References: <00163641792ba92f80046dc0befd@google.com> <4A4D3B37.7000802@createspace.com> Message-ID: <167f9c460907030052y1e583becl2f3ecf2889be45ac@mail.gmail.com> Answered my own question: "you can configure Apache to pass an environment variable named NAGIOS_CGI_CONFIG (which points to the correct location) to the CGIs." On Fri, Jul 3, 2009 at 8:56 AM, Mark Gius wrote: > The main nagios configuration file is configurable in the init script. > All other files are read based on the cfg_file and cfg_dir directives in > that main nagios configuration file. So you can either use the default > nagios.cfg, which then points to things in /export/nagios, or edit the init > script to also use a nagios.cfg in /export/nagios > > -Gius > > megamic at gmail.com wrote: > > Hi > > I want to build and install Nagios under a certain path (eg /opt/local) but > tell it to find it's configuration (nagios.cfg, cgi.cfg) elsewhere (eg > /export/nagios). There is useful configure directive for the lockfile > (--with-lockfile), is there something similar for configuration path? > Ideally I don't want to install anything under /export/nagios as part of the > installation procedure, another process will deploy the correct > configuration there, I just want to set Nagios to look there when it runs. > > Cheers > > ------------------------------ > > ------------------------------------------------------------------------------ > > > ------------------------------ > > _______________________________________________ > 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco.tirado at gmail.com Fri Jul 3 10:45:40 2009 From: marco.tirado at gmail.com (Marco Tirado) Date: Fri, 3 Jul 2009 10:45:40 +0200 Subject: Event Handlers, start a java program, nohup issues. In-Reply-To: References: <4A4C74CC.8080608@op5.se> Message-ID: Hello users: Thank you for all the answers. I have made some changes to my command: I added a space before the "&" character and I explicitly piped the "stdout" and "stderr" to my log file to avoid missunderstandings. The command looks like this now: nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer.JMXServerDispatcher $PORT >$LOG_FILE 2>>$LOG_FILE & The result however is much worst in this case, instead of seeing a timeout in the logs, the whole nagios process hangs (that is the logs freeze and no new tests are performed). I believe these issues have to do with how nagios handles the "&" character or processes in the background in general. Any thoughts? other suggestions? //Marco By the way David: We have used the check_jmx plugin in the past with out own modifications, however we have a very large system with around 1000 JMX queries running each 5 minutes and the check_jmx solution is not very scalable. If we use check_jmx that means starting 1000 JVM (and all the resources that come with it) every five minutes, that consumes a lot of resources and generates a lot of load on the monitoring server. Our system is continuously growing and new JMX queries are added quite frequently. To solve that issue we have developed a JMX server that takes care of all the JMX queries and a light weight client that is run by nagios. This is a much more scalable solution that decouples the whole JMX processing from nagios (the JMX server can be running in any machine not only the nagios server). Cheers On Thu, Jul 2, 2009 at 4:43 PM, Marc Powell wrote: > > On Jul 2, 2009, at 9:16 AM, Marco Tirado wrote: > > > > > That is exactly what I am doing (or trying to do with) the "&" > > character at the end of my command. But it does not appear to be > > working, the command looks like this: > > > > nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer $PORT > null 2>&1 >> $LOG_FILE& > > Do you really intend to set the output of /dev/null as the STDIN for > nohup? I expect you meant to use '>/dev/null'. > > -- > Marc > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gaurav at subisu.net.np Fri Jul 3 12:43:04 2009 From: gaurav at subisu.net.np (Gaurav Ghimire) Date: Fri, 03 Jul 2009 16:28:04 +0545 Subject: Regarding hosts with multiple hostgroup. Message-ID: <4A4DE0B8.8090606@subisu.net.np> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear all, I am off to write up a script for notification of Host status. Doing so to integrate more information in the notification email such as latest Syslog messages from the network device, the uptime and bla bla. Here I am in a need to have some checks made on the basis of Hostgroups. But what came up as a problem is a host that is in multiple host group. For the check i used $HOSTGROUPNAME$ but it if a host is in two hostgroups. nagios docs state that it could be any one of them. Then the thing $HOSTGROUPALIAS$ struck me. Is it the same as the other. Or are there any other medium where I can make nagios provide me with the exact $HOSTGROUPNAME$ i want in the macro itself. Say I have two hostgroups A and B and the host C is in both the host groups. And I only want the $HOSTGROUPNAME$ macro give me A is there any way? or any other references? I would be grateful for any directions or helps. Regards, - -- Gaurav Ghimire System Administrator Subisu Cablenet (P.) Ltd. 148 Thirbum Sadak Baluwatar, Kathmandu Nepal http://www.subisu.net.np (An ISO 9001:2000 Certified Company) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkpN4LgACgkQnfv7imVnL2tT7ACgx1I5tm2yjmuCVx6JxJkGv3bX CQ8AnA+phMLKSk5NjokNuyVQ+4XGT4N2 =kCDm -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edgar.Matzinger at valid.nl Fri Jul 3 12:56:57 2009 From: Edgar.Matzinger at valid.nl (Edgar Matzinger) Date: Fri, 3 Jul 2009 12:56:57 +0200 Subject: Event Handlers, start a java program, nohup issues. In-Reply-To: References: <4A4C74CC.8080608@op5.se> Message-ID: <2FBC78030439A7499BAA99B46CCC1C6D023CF7D255@vld1-ex01> LS, Marco scribbled on 2009-07-03: > Hello users: > > nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS > JMXServer.JMXServerDispatcher $PORT >$LOG_FILE > 2>>$LOG_FILE & Change this in .... $PORT <&- >>$LOGFILE 2>&1 & <&- closes STDIN.... > Any thoughts? other suggestions? can't you use the init.d script? E.g. "/sbin/service jmx start"... Or something similar.... HTH, cu l8r, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Flight Forum 565 \ /| /\| : : 5657DR Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skumarsmails at gmail.com Fri Jul 3 15:03:24 2009 From: skumarsmails at gmail.com (Saravana Kumar) Date: Fri, 3 Jul 2009 18:33:24 +0530 Subject: Not able to compile CGIS Message-ID: <620e4cdb0907030603o5c9653dcwafd4f12f4f8b2885@mail.gmail.com> Hi Folks, I am trying to install nagios-3.0.6 on Centos 5. while compiling cgis i am getting following error and i couldn't able to proceed further I have installed all possible dependency packages for the please help me skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib -lglib-2.0 gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -o history.cgi history.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib -lglib-2.0 gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -o histogram.cgi histogram.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib -lglib-2.0 /tmp/ccCq2F9D.o: In function `draw_dashed_line': /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2474: undefined reference to `gdImageSetStyle' /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2477: undefined reference to `gdImageLine' /tmp/ccCq2F9D.o: In function `draw_line': /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2453: undefined reference to `gdImageSetStyle' /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2456: undefined reference to `gdImageLine' /tmp/ccCq2F9D.o: In function `graph_all_histogram_data': /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1619: undefined reference to `gdFontSmall' /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1652: undefined reference to `gdFontSmall' /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1653: undefined reference to `gdImageString' /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1673: undefined reference to `gdFontSmall' /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1675: undefined reference to `gdImageStringUp' /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1681: undefined reference to `gdFontSmall' /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1682: undefined reference to `gdImageStringUp' /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1694: undefined reference to `gdFontSmall' Please let me if you need any more info on this. Thanks -- Saravana Kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Fri Jul 3 15:22:44 2009 From: guidosh at gmail.com (Guy Waugh) Date: Fri, 3 Jul 2009 14:22:44 +0100 Subject: Not able to compile CGIS In-Reply-To: <620e4cdb0907030603o5c9653dcwafd4f12f4f8b2885@mail.gmail.com> References: <620e4cdb0907030603o5c9653dcwafd4f12f4f8b2885@mail.gmail.com> Message-ID: Hello, It looks to be complaining about not finding GD library stuff... do you have the 'gd-devel' package installed (if that's what it's called on Centos)? Regards, Guy. On Fri, Jul 3, 2009 at 2:03 PM, Saravana Kumar wrote: > Hi Folks, > > I am trying to install nagios-3.0.6 on Centos 5. while compiling cgis i am > getting following error and i couldn't able to proceed further I have > installed all possible dependency packages for the please help me > > > skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o > comments-cgi.o downtime-cgi.o -L/lib -lglib-2.0 > gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -DNSCGI -o history.cgi history.c getcgi.o > cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o > statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib > -lglib-2.0 > gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -DNSCGI -o histogram.cgi histogram.c getcgi.o > cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o > statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib > -lglib-2.0 > /tmp/ccCq2F9D.o: In function `draw_dashed_line': > /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2474: undefined reference to > `gdImageSetStyle' > /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2477: undefined reference to > `gdImageLine' > /tmp/ccCq2F9D.o: In function `draw_line': > /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2453: undefined reference to > `gdImageSetStyle' > /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2456: undefined reference to > `gdImageLine' > /tmp/ccCq2F9D.o: In function `graph_all_histogram_data': > /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1619: undefined reference to > `gdFontSmall' > /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1652: undefined reference to > `gdFontSmall' > /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1653: undefined reference to > `gdImageString' > /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1673: undefined reference to > `gdFontSmall' > /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1675: undefined reference to > `gdImageStringUp' > /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1681: undefined reference to > `gdFontSmall' > /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1682: undefined reference to > `gdImageStringUp' > /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1694: undefined reference to > `gdFontSmall' > > > Please let me if you need any more info on this. > > > Thanks > -- > Saravana Kumar > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skumarsmails at gmail.com Fri Jul 3 15:25:50 2009 From: skumarsmails at gmail.com (Saravana Kumar) Date: Fri, 3 Jul 2009 18:55:50 +0530 Subject: Not able to compile CGIS In-Reply-To: References: <620e4cdb0907030603o5c9653dcwafd4f12f4f8b2885@mail.gmail.com> Message-ID: <620e4cdb0907030625k50553e60t9e3f9b03b36fa2fb@mail.gmail.com> thanks for quick response. Yes I have. [root at nagios ~]# rpm -qa | grep gd gd-2.0.33-9.4.el5_1.1 gd-devel-2.0.33-9.4.el5_1.1 Thanks --Saravana Kumar On Fri, Jul 3, 2009 at 6:52 PM, Guy Waugh wrote: > Hello, > > It looks to be complaining about not finding GD library stuff... do you > have the 'gd-devel' package installed (if that's what it's called on > Centos)? > > Regards, > Guy. > > On Fri, Jul 3, 2009 at 2:03 PM, Saravana Kumar wrote: > >> Hi Folks, >> >> I am trying to install nagios-3.0.6 on Centos 5. while compiling cgis i am >> getting following error and i couldn't able to proceed further I have >> installed all possible dependency packages for the please help me >> >> >> skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o >> xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib -lglib-2.0 >> gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 >> -I/usr/lib/glib-2.0/include -DNSCGI -o history.cgi history.c getcgi.o >> cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o >> statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib >> -lglib-2.0 >> gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 >> -I/usr/lib/glib-2.0/include -DNSCGI -o histogram.cgi histogram.c getcgi.o >> cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o >> statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib >> -lglib-2.0 >> /tmp/ccCq2F9D.o: In function `draw_dashed_line': >> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2474: undefined reference >> to `gdImageSetStyle' >> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2477: undefined reference >> to `gdImageLine' >> /tmp/ccCq2F9D.o: In function `draw_line': >> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2453: undefined reference >> to `gdImageSetStyle' >> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2456: undefined reference >> to `gdImageLine' >> /tmp/ccCq2F9D.o: In function `graph_all_histogram_data': >> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1619: undefined reference >> to `gdFontSmall' >> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1652: undefined reference >> to `gdFontSmall' >> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1653: undefined reference >> to `gdImageString' >> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1673: undefined reference >> to `gdFontSmall' >> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1675: undefined reference >> to `gdImageStringUp' >> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1681: undefined reference >> to `gdFontSmall' >> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1682: undefined reference >> to `gdImageStringUp' >> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1694: undefined reference >> to `gdFontSmall' >> >> >> Please let me if you need any more info on this. >> >> >> Thanks >> -- >> Saravana Kumar >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > -- Saravana Kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Fri Jul 3 16:30:03 2009 From: guidosh at gmail.com (Guy Waugh) Date: Fri, 3 Jul 2009 15:30:03 +0100 Subject: Not able to compile CGIS In-Reply-To: <620e4cdb0907030625k50553e60t9e3f9b03b36fa2fb@mail.gmail.com> References: <620e4cdb0907030603o5c9653dcwafd4f12f4f8b2885@mail.gmail.com> <620e4cdb0907030625k50553e60t9e3f9b03b36fa2fb@mail.gmail.com> Message-ID: Hmm... only other thing I can think of (without knowing where those unfound functions are) is... is it 64-bit Centos? If so, do you only have the 64-bit version of gd-devel installed? Looking back at how I compiled nagios-3.0.6 on a RHEL5 x86_64 system, I included these arguments to ./configure: --with-gd-inc=/usr/include --with-gd-lib=/usr/lib64 Regards, Guy. On Fri, Jul 3, 2009 at 2:25 PM, Saravana Kumar wrote: > > thanks for quick response. > > > Yes I have. > > [root at nagios ~]# rpm -qa | grep gd > gd-2.0.33-9.4.el5_1.1 > gd-devel-2.0.33-9.4.el5_1.1 > > > > Thanks > > --Saravana Kumar > > > > > On Fri, Jul 3, 2009 at 6:52 PM, Guy Waugh wrote: > >> Hello, >> >> It looks to be complaining about not finding GD library stuff... do you >> have the 'gd-devel' package installed (if that's what it's called on >> Centos)? >> >> Regards, >> Guy. >> >> On Fri, Jul 3, 2009 at 2:03 PM, Saravana Kumar wrote: >> >>> Hi Folks, >>> >>> I am trying to install nagios-3.0.6 on Centos 5. while compiling cgis i >>> am getting following error and i couldn't able to proceed further I have >>> installed all possible dependency packages for the please help me >>> >>> >>> skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o >>> xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib -lglib-2.0 >>> gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 >>> -I/usr/lib/glib-2.0/include -DNSCGI -o history.cgi history.c getcgi.o >>> cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o >>> statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib >>> -lglib-2.0 >>> gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 >>> -I/usr/lib/glib-2.0/include -DNSCGI -o histogram.cgi histogram.c getcgi.o >>> cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o >>> statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib >>> -lglib-2.0 >>> /tmp/ccCq2F9D.o: In function `draw_dashed_line': >>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2474: undefined reference >>> to `gdImageSetStyle' >>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2477: undefined reference >>> to `gdImageLine' >>> /tmp/ccCq2F9D.o: In function `draw_line': >>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2453: undefined reference >>> to `gdImageSetStyle' >>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2456: undefined reference >>> to `gdImageLine' >>> /tmp/ccCq2F9D.o: In function `graph_all_histogram_data': >>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1619: undefined reference >>> to `gdFontSmall' >>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1652: undefined reference >>> to `gdFontSmall' >>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1653: undefined reference >>> to `gdImageString' >>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1673: undefined reference >>> to `gdFontSmall' >>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1675: undefined reference >>> to `gdImageStringUp' >>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1681: undefined reference >>> to `gdFontSmall' >>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1682: undefined reference >>> to `gdImageStringUp' >>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1694: undefined reference >>> to `gdFontSmall' >>> >>> >>> Please let me if you need any more info on this. >>> >>> >>> Thanks >>> -- >>> Saravana Kumar >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> > > > -- > Saravana Kumar > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skumarsmails at gmail.com Fri Jul 3 17:18:28 2009 From: skumarsmails at gmail.com (Saravana Kumar) Date: Fri, 3 Jul 2009 20:48:28 +0530 Subject: Not able to compile CGIS In-Reply-To: References: <620e4cdb0907030603o5c9653dcwafd4f12f4f8b2885@mail.gmail.com> <620e4cdb0907030625k50553e60t9e3f9b03b36fa2fb@mail.gmail.com> Message-ID: <620e4cdb0907030818n6ba3feb5qe651fbf6feccf028@mail.gmail.com> Hi Guy Waugh, In fact I am not using 64 Bit Centos this is 32 Bit. And I installed gd-devel and gd packages using *yum install gd gd-devel* command. Please help me. Thanks Saravana Kumar On Fri, Jul 3, 2009 at 8:00 PM, Guy Waugh wrote: > Hmm... only other thing I can think of (without knowing where those unfound > functions are) is... is it 64-bit Centos? If so, do you only have the 64-bit > version of gd-devel installed? > > Looking back at how I compiled nagios-3.0.6 on a RHEL5 x86_64 system, I > included these arguments to ./configure: > > --with-gd-inc=/usr/include --with-gd-lib=/usr/lib64 > > Regards, > Guy. > > > On Fri, Jul 3, 2009 at 2:25 PM, Saravana Kumar wrote: > >> >> thanks for quick response. >> >> >> Yes I have. >> >> [root at nagios ~]# rpm -qa | grep gd >> gd-2.0.33-9.4.el5_1.1 >> gd-devel-2.0.33-9.4.el5_1.1 >> >> >> >> Thanks >> >> --Saravana Kumar >> >> >> >> >> On Fri, Jul 3, 2009 at 6:52 PM, Guy Waugh wrote: >> >>> Hello, >>> >>> It looks to be complaining about not finding GD library stuff... do you >>> have the 'gd-devel' package installed (if that's what it's called on >>> Centos)? >>> >>> Regards, >>> Guy. >>> >>> On Fri, Jul 3, 2009 at 2:03 PM, Saravana Kumar wrote: >>> >>>> Hi Folks, >>>> >>>> I am trying to install nagios-3.0.6 on Centos 5. while compiling cgis i >>>> am getting following error and i couldn't able to proceed further I have >>>> installed all possible dependency packages for the please help me >>>> >>>> >>>> skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o >>>> xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib -lglib-2.0 >>>> gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 >>>> -I/usr/lib/glib-2.0/include -DNSCGI -o history.cgi history.c getcgi.o >>>> cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o >>>> statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib >>>> -lglib-2.0 >>>> gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 >>>> -I/usr/lib/glib-2.0/include -DNSCGI -o histogram.cgi histogram.c getcgi.o >>>> cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o >>>> statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib >>>> -lglib-2.0 >>>> /tmp/ccCq2F9D.o: In function `draw_dashed_line': >>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2474: undefined reference >>>> to `gdImageSetStyle' >>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2477: undefined reference >>>> to `gdImageLine' >>>> /tmp/ccCq2F9D.o: In function `draw_line': >>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2453: undefined reference >>>> to `gdImageSetStyle' >>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2456: undefined reference >>>> to `gdImageLine' >>>> /tmp/ccCq2F9D.o: In function `graph_all_histogram_data': >>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1619: undefined reference >>>> to `gdFontSmall' >>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1652: undefined reference >>>> to `gdFontSmall' >>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1653: undefined reference >>>> to `gdImageString' >>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1673: undefined reference >>>> to `gdFontSmall' >>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1675: undefined reference >>>> to `gdImageStringUp' >>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1681: undefined reference >>>> to `gdFontSmall' >>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1682: undefined reference >>>> to `gdImageStringUp' >>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1694: undefined reference >>>> to `gdFontSmall' >>>> >>>> >>>> Please let me if you need any more info on this. >>>> >>>> >>>> Thanks >>>> -- >>>> Saravana Kumar >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>> reporting any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/null >>>> >>> >>> >> >> >> -- >> Saravana Kumar >> > > -- Saravana Kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Fri Jul 3 17:38:25 2009 From: guidosh at gmail.com (Guy Waugh) Date: Fri, 3 Jul 2009 16:38:25 +0100 Subject: Not able to compile CGIS In-Reply-To: <620e4cdb0907030818n6ba3feb5qe651fbf6feccf028@mail.gmail.com> References: <620e4cdb0907030603o5c9653dcwafd4f12f4f8b2885@mail.gmail.com> <620e4cdb0907030625k50553e60t9e3f9b03b36fa2fb@mail.gmail.com> <620e4cdb0907030818n6ba3feb5qe651fbf6feccf028@mail.gmail.com> Message-ID: Well, I can see the header definition for gdImageSetStyle in /usr/include/gd.h, which according to RPM, is owned by the gd-devel package. What does 'rpm -V gd-devel' say? On Fri, Jul 3, 2009 at 4:18 PM, Saravana Kumar wrote: > Hi Guy Waugh, > > > In fact I am not using 64 Bit Centos this is 32 Bit. And I installed > gd-devel and gd packages using *yum install gd gd-devel* command. > > > Please help me. > > > Thanks > Saravana Kumar > > > On Fri, Jul 3, 2009 at 8:00 PM, Guy Waugh wrote: > >> Hmm... only other thing I can think of (without knowing where those >> unfound functions are) is... is it 64-bit Centos? If so, do you only have >> the 64-bit version of gd-devel installed? >> >> Looking back at how I compiled nagios-3.0.6 on a RHEL5 x86_64 system, I >> included these arguments to ./configure: >> >> --with-gd-inc=/usr/include --with-gd-lib=/usr/lib64 >> >> Regards, >> Guy. >> >> >> On Fri, Jul 3, 2009 at 2:25 PM, Saravana Kumar wrote: >> >>> >>> thanks for quick response. >>> >>> >>> Yes I have. >>> >>> [root at nagios ~]# rpm -qa | grep gd >>> gd-2.0.33-9.4.el5_1.1 >>> gd-devel-2.0.33-9.4.el5_1.1 >>> >>> >>> >>> Thanks >>> >>> --Saravana Kumar >>> >>> >>> >>> >>> On Fri, Jul 3, 2009 at 6:52 PM, Guy Waugh wrote: >>> >>>> Hello, >>>> >>>> It looks to be complaining about not finding GD library stuff... do you >>>> have the 'gd-devel' package installed (if that's what it's called on >>>> Centos)? >>>> >>>> Regards, >>>> Guy. >>>> >>>> On Fri, Jul 3, 2009 at 2:03 PM, Saravana Kumar >>> > wrote: >>>> >>>>> Hi Folks, >>>>> >>>>> I am trying to install nagios-3.0.6 on Centos 5. while compiling cgis i >>>>> am getting following error and i couldn't able to proceed further I have >>>>> installed all possible dependency packages for the please help me >>>>> >>>>> >>>>> skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o >>>>> xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib -lglib-2.0 >>>>> gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 >>>>> -I/usr/lib/glib-2.0/include -DNSCGI -o history.cgi history.c getcgi.o >>>>> cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o >>>>> statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib >>>>> -lglib-2.0 >>>>> gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 >>>>> -I/usr/lib/glib-2.0/include -DNSCGI -o histogram.cgi histogram.c getcgi.o >>>>> cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o >>>>> statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib >>>>> -lglib-2.0 >>>>> /tmp/ccCq2F9D.o: In function `draw_dashed_line': >>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2474: undefined >>>>> reference to `gdImageSetStyle' >>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2477: undefined >>>>> reference to `gdImageLine' >>>>> /tmp/ccCq2F9D.o: In function `draw_line': >>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2453: undefined >>>>> reference to `gdImageSetStyle' >>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2456: undefined >>>>> reference to `gdImageLine' >>>>> /tmp/ccCq2F9D.o: In function `graph_all_histogram_data': >>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1619: undefined >>>>> reference to `gdFontSmall' >>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1652: undefined >>>>> reference to `gdFontSmall' >>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1653: undefined >>>>> reference to `gdImageString' >>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1673: undefined >>>>> reference to `gdFontSmall' >>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1675: undefined >>>>> reference to `gdImageStringUp' >>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1681: undefined >>>>> reference to `gdFontSmall' >>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1682: undefined >>>>> reference to `gdImageStringUp' >>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1694: undefined >>>>> reference to `gdFontSmall' >>>>> >>>>> >>>>> Please let me if you need any more info on this. >>>>> >>>>> >>>>> Thanks >>>>> -- >>>>> Saravana Kumar >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> >>>>> _______________________________________________ >>>>> Nagios-users mailing list >>>>> Nagios-users at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>>> reporting any issue. >>>>> ::: Messages without supporting info will risk being sent to /dev/null >>>>> >>>> >>>> >>> >>> >>> -- >>> Saravana Kumar >>> >> >> > > > -- > Saravana Kumar > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skumarsmails at gmail.com Fri Jul 3 17:47:31 2009 From: skumarsmails at gmail.com (Saravana Kumar) Date: Fri, 3 Jul 2009 21:17:31 +0530 Subject: Not able to compile CGIS In-Reply-To: References: <620e4cdb0907030603o5c9653dcwafd4f12f4f8b2885@mail.gmail.com> <620e4cdb0907030625k50553e60t9e3f9b03b36fa2fb@mail.gmail.com> <620e4cdb0907030818n6ba3feb5qe651fbf6feccf028@mail.gmail.com> Message-ID: <620e4cdb0907030847j2ae80b7dm731a111e596fffbe@mail.gmail.com> I don't see any out put when i execute that command. [root at nagios ~]# rpm -qav | grep gd-devel gd-devel-2.0.33-9.4.el5_1.1 [root at nagios ~]# rpm -V gd-devel [root at nagios ~]# Thanks Saravana Kumar On Fri, Jul 3, 2009 at 9:08 PM, Guy Waugh wrote: > Well, I can see the header definition for gdImageSetStyle in > /usr/include/gd.h, which according to RPM, is owned by the gd-devel package. > > What does 'rpm -V gd-devel' say? > > > On Fri, Jul 3, 2009 at 4:18 PM, Saravana Kumar wrote: > >> Hi Guy Waugh, >> >> >> In fact I am not using 64 Bit Centos this is 32 Bit. And I installed >> gd-devel and gd packages using *yum install gd gd-devel* command. >> >> >> Please help me. >> >> >> Thanks >> Saravana Kumar >> >> >> On Fri, Jul 3, 2009 at 8:00 PM, Guy Waugh wrote: >> >>> Hmm... only other thing I can think of (without knowing where those >>> unfound functions are) is... is it 64-bit Centos? If so, do you only have >>> the 64-bit version of gd-devel installed? >>> >>> Looking back at how I compiled nagios-3.0.6 on a RHEL5 x86_64 system, I >>> included these arguments to ./configure: >>> >>> --with-gd-inc=/usr/include --with-gd-lib=/usr/lib64 >>> >>> Regards, >>> Guy. >>> >>> >>> On Fri, Jul 3, 2009 at 2:25 PM, Saravana Kumar wrote: >>> >>>> >>>> thanks for quick response. >>>> >>>> >>>> Yes I have. >>>> >>>> [root at nagios ~]# rpm -qa | grep gd >>>> gd-2.0.33-9.4.el5_1.1 >>>> gd-devel-2.0.33-9.4.el5_1.1 >>>> >>>> >>>> >>>> Thanks >>>> >>>> --Saravana Kumar >>>> >>>> >>>> >>>> >>>> On Fri, Jul 3, 2009 at 6:52 PM, Guy Waugh wrote: >>>> >>>>> Hello, >>>>> >>>>> It looks to be complaining about not finding GD library stuff... do you >>>>> have the 'gd-devel' package installed (if that's what it's called on >>>>> Centos)? >>>>> >>>>> Regards, >>>>> Guy. >>>>> >>>>> On Fri, Jul 3, 2009 at 2:03 PM, Saravana Kumar < >>>>> skumarsmails at gmail.com> wrote: >>>>> >>>>>> Hi Folks, >>>>>> >>>>>> I am trying to install nagios-3.0.6 on Centos 5. while compiling cgis >>>>>> i am getting following error and i couldn't able to proceed further I have >>>>>> installed all possible dependency packages for the please help me >>>>>> >>>>>> >>>>>> skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o >>>>>> xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib -lglib-2.0 >>>>>> gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 >>>>>> -I/usr/lib/glib-2.0/include -DNSCGI -o history.cgi history.c getcgi.o >>>>>> cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o >>>>>> statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib >>>>>> -lglib-2.0 >>>>>> gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 >>>>>> -I/usr/lib/glib-2.0/include -DNSCGI -o histogram.cgi histogram.c getcgi.o >>>>>> cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o >>>>>> statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib >>>>>> -lglib-2.0 >>>>>> /tmp/ccCq2F9D.o: In function `draw_dashed_line': >>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2474: undefined >>>>>> reference to `gdImageSetStyle' >>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2477: undefined >>>>>> reference to `gdImageLine' >>>>>> /tmp/ccCq2F9D.o: In function `draw_line': >>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2453: undefined >>>>>> reference to `gdImageSetStyle' >>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2456: undefined >>>>>> reference to `gdImageLine' >>>>>> /tmp/ccCq2F9D.o: In function `graph_all_histogram_data': >>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1619: undefined >>>>>> reference to `gdFontSmall' >>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1652: undefined >>>>>> reference to `gdFontSmall' >>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1653: undefined >>>>>> reference to `gdImageString' >>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1673: undefined >>>>>> reference to `gdFontSmall' >>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1675: undefined >>>>>> reference to `gdImageStringUp' >>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1681: undefined >>>>>> reference to `gdFontSmall' >>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1682: undefined >>>>>> reference to `gdImageStringUp' >>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1694: undefined >>>>>> reference to `gdFontSmall' >>>>>> >>>>>> >>>>>> Please let me if you need any more info on this. >>>>>> >>>>>> >>>>>> Thanks >>>>>> -- >>>>>> Saravana Kumar >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> >>>>>> _______________________________________________ >>>>>> Nagios-users mailing list >>>>>> Nagios-users at lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>>>> reporting any issue. >>>>>> ::: Messages without supporting info will risk being sent to /dev/null >>>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Saravana Kumar >>>> >>> >>> >> >> >> -- >> Saravana Kumar >> > > -- Saravana Kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Fri Jul 3 18:00:20 2009 From: guidosh at gmail.com (Guy Waugh) Date: Fri, 3 Jul 2009 17:00:20 +0100 Subject: Not able to compile CGIS In-Reply-To: <620e4cdb0907030847j2ae80b7dm731a111e596fffbe@mail.gmail.com> References: <620e4cdb0907030603o5c9653dcwafd4f12f4f8b2885@mail.gmail.com> <620e4cdb0907030625k50553e60t9e3f9b03b36fa2fb@mail.gmail.com> <620e4cdb0907030818n6ba3feb5qe651fbf6feccf028@mail.gmail.com> <620e4cdb0907030847j2ae80b7dm731a111e596fffbe@mail.gmail.com> Message-ID: OK, I think that means that rpm didn't find any problems with the gd-devel package. What options did you pass to configure? Is there anything useful in config.log? Regards, Guy. On Fri, Jul 3, 2009 at 4:47 PM, Saravana Kumar wrote: > I don't see any out put when i execute that command. > > > [root at nagios ~]# rpm -qav | grep gd-devel > gd-devel-2.0.33-9.4.el5_1.1 > > [root at nagios ~]# rpm -V gd-devel > [root at nagios ~]# > > > Thanks > Saravana Kumar > > > > On Fri, Jul 3, 2009 at 9:08 PM, Guy Waugh wrote: > >> Well, I can see the header definition for gdImageSetStyle in >> /usr/include/gd.h, which according to RPM, is owned by the gd-devel package. >> >> What does 'rpm -V gd-devel' say? >> >> >> On Fri, Jul 3, 2009 at 4:18 PM, Saravana Kumar wrote: >> >>> Hi Guy Waugh, >>> >>> >>> In fact I am not using 64 Bit Centos this is 32 Bit. And I installed >>> gd-devel and gd packages using *yum install gd gd-devel* command. >>> >>> >>> Please help me. >>> >>> >>> Thanks >>> Saravana Kumar >>> >>> >>> On Fri, Jul 3, 2009 at 8:00 PM, Guy Waugh wrote: >>> >>>> Hmm... only other thing I can think of (without knowing where those >>>> unfound functions are) is... is it 64-bit Centos? If so, do you only have >>>> the 64-bit version of gd-devel installed? >>>> >>>> Looking back at how I compiled nagios-3.0.6 on a RHEL5 x86_64 system, I >>>> included these arguments to ./configure: >>>> >>>> --with-gd-inc=/usr/include --with-gd-lib=/usr/lib64 >>>> >>>> Regards, >>>> Guy. >>>> >>>> >>>> On Fri, Jul 3, 2009 at 2:25 PM, Saravana Kumar wrote: >>>> >>>>> >>>>> thanks for quick response. >>>>> >>>>> >>>>> Yes I have. >>>>> >>>>> [root at nagios ~]# rpm -qa | grep gd >>>>> gd-2.0.33-9.4.el5_1.1 >>>>> gd-devel-2.0.33-9.4.el5_1.1 >>>>> >>>>> >>>>> >>>>> Thanks >>>>> >>>>> --Saravana Kumar >>>>> >>>>> >>>>> >>>>> >>>>> On Fri, Jul 3, 2009 at 6:52 PM, Guy Waugh wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> It looks to be complaining about not finding GD library stuff... do >>>>>> you have the 'gd-devel' package installed (if that's what it's called on >>>>>> Centos)? >>>>>> >>>>>> Regards, >>>>>> Guy. >>>>>> >>>>>> On Fri, Jul 3, 2009 at 2:03 PM, Saravana Kumar < >>>>>> skumarsmails at gmail.com> wrote: >>>>>> >>>>>>> Hi Folks, >>>>>>> >>>>>>> I am trying to install nagios-3.0.6 on Centos 5. while compiling cgis >>>>>>> i am getting following error and i couldn't able to proceed further I have >>>>>>> installed all possible dependency packages for the please help me >>>>>>> >>>>>>> >>>>>>> skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o >>>>>>> xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib -lglib-2.0 >>>>>>> gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 >>>>>>> -I/usr/lib/glib-2.0/include -DNSCGI -o history.cgi history.c getcgi.o >>>>>>> cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o >>>>>>> statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib >>>>>>> -lglib-2.0 >>>>>>> gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 >>>>>>> -I/usr/lib/glib-2.0/include -DNSCGI -o histogram.cgi histogram.c getcgi.o >>>>>>> cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o >>>>>>> statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib >>>>>>> -lglib-2.0 >>>>>>> /tmp/ccCq2F9D.o: In function `draw_dashed_line': >>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2474: undefined >>>>>>> reference to `gdImageSetStyle' >>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2477: undefined >>>>>>> reference to `gdImageLine' >>>>>>> /tmp/ccCq2F9D.o: In function `draw_line': >>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2453: undefined >>>>>>> reference to `gdImageSetStyle' >>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2456: undefined >>>>>>> reference to `gdImageLine' >>>>>>> /tmp/ccCq2F9D.o: In function `graph_all_histogram_data': >>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1619: undefined >>>>>>> reference to `gdFontSmall' >>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1652: undefined >>>>>>> reference to `gdFontSmall' >>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1653: undefined >>>>>>> reference to `gdImageString' >>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1673: undefined >>>>>>> reference to `gdFontSmall' >>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1675: undefined >>>>>>> reference to `gdImageStringUp' >>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1681: undefined >>>>>>> reference to `gdFontSmall' >>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1682: undefined >>>>>>> reference to `gdImageStringUp' >>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1694: undefined >>>>>>> reference to `gdFontSmall' >>>>>>> >>>>>>> >>>>>>> Please let me if you need any more info on this. >>>>>>> >>>>>>> >>>>>>> Thanks >>>>>>> -- >>>>>>> Saravana Kumar >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Nagios-users mailing list >>>>>>> Nagios-users at lists.sourceforge.net >>>>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>>>>> reporting any issue. >>>>>>> ::: Messages without supporting info will risk being sent to >>>>>>> /dev/null >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Saravana Kumar >>>>> >>>> >>>> >>> >>> >>> -- >>> Saravana Kumar >>> >> >> > > > -- > Saravana Kumar > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skumarsmails at gmail.com Fri Jul 3 18:26:27 2009 From: skumarsmails at gmail.com (Saravana Kumar) Date: Fri, 3 Jul 2009 21:56:27 +0530 Subject: Not able to compile CGIS In-Reply-To: References: <620e4cdb0907030603o5c9653dcwafd4f12f4f8b2885@mail.gmail.com> <620e4cdb0907030625k50553e60t9e3f9b03b36fa2fb@mail.gmail.com> <620e4cdb0907030818n6ba3feb5qe651fbf6feccf028@mail.gmail.com> <620e4cdb0907030847j2ae80b7dm731a111e596fffbe@mail.gmail.com> Message-ID: <620e4cdb0907030926t2010bd02ke9455353abcd5472@mail.gmail.com> Hi Guy, Below are the commands and options which I used while compiling installing nagios. ./configure --prefix=/usr/local/nagios --with-htmlurl=/nagios/ --with-cgiurl=/nagios/cgi-bin --with-nagios-user=nagios --with-nagios-group=nagios --with-command-group=ncmd --with-lockfile=/usr/local/nagios/var/lock/subsys/nagios make all make install make install-init make install-commandmode make install-config make install-webconf Thanks Saravana Kumar On Fri, Jul 3, 2009 at 9:30 PM, Guy Waugh wrote: > OK, I think that means that rpm didn't find any problems with the gd-devel > package. > > What options did you pass to configure? > Is there anything useful in config.log? > > Regards, > Guy. > > > > > On Fri, Jul 3, 2009 at 4:47 PM, Saravana Kumar wrote: > >> I don't see any out put when i execute that command. >> >> >> [root at nagios ~]# rpm -qav | grep gd-devel >> gd-devel-2.0.33-9.4.el5_1.1 >> >> [root at nagios ~]# rpm -V gd-devel >> [root at nagios ~]# >> >> >> Thanks >> Saravana Kumar >> >> >> >> On Fri, Jul 3, 2009 at 9:08 PM, Guy Waugh wrote: >> >>> Well, I can see the header definition for gdImageSetStyle in >>> /usr/include/gd.h, which according to RPM, is owned by the gd-devel package. >>> >>> What does 'rpm -V gd-devel' say? >>> >>> >>> On Fri, Jul 3, 2009 at 4:18 PM, Saravana Kumar wrote: >>> >>>> Hi Guy Waugh, >>>> >>>> >>>> In fact I am not using 64 Bit Centos this is 32 Bit. And I installed >>>> gd-devel and gd packages using *yum install gd gd-devel* command. >>>> >>>> >>>> Please help me. >>>> >>>> >>>> Thanks >>>> Saravana Kumar >>>> >>>> >>>> On Fri, Jul 3, 2009 at 8:00 PM, Guy Waugh wrote: >>>> >>>>> Hmm... only other thing I can think of (without knowing where those >>>>> unfound functions are) is... is it 64-bit Centos? If so, do you only have >>>>> the 64-bit version of gd-devel installed? >>>>> >>>>> Looking back at how I compiled nagios-3.0.6 on a RHEL5 x86_64 system, I >>>>> included these arguments to ./configure: >>>>> >>>>> --with-gd-inc=/usr/include --with-gd-lib=/usr/lib64 >>>>> >>>>> Regards, >>>>> Guy. >>>>> >>>>> >>>>> On Fri, Jul 3, 2009 at 2:25 PM, Saravana Kumar >>>> > wrote: >>>>> >>>>>> >>>>>> thanks for quick response. >>>>>> >>>>>> >>>>>> Yes I have. >>>>>> >>>>>> [root at nagios ~]# rpm -qa | grep gd >>>>>> gd-2.0.33-9.4.el5_1.1 >>>>>> gd-devel-2.0.33-9.4.el5_1.1 >>>>>> >>>>>> >>>>>> >>>>>> Thanks >>>>>> >>>>>> --Saravana Kumar >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Fri, Jul 3, 2009 at 6:52 PM, Guy Waugh wrote: >>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> It looks to be complaining about not finding GD library stuff... do >>>>>>> you have the 'gd-devel' package installed (if that's what it's called on >>>>>>> Centos)? >>>>>>> >>>>>>> Regards, >>>>>>> Guy. >>>>>>> >>>>>>> On Fri, Jul 3, 2009 at 2:03 PM, Saravana Kumar < >>>>>>> skumarsmails at gmail.com> wrote: >>>>>>> >>>>>>>> Hi Folks, >>>>>>>> >>>>>>>> I am trying to install nagios-3.0.6 on Centos 5. while compiling >>>>>>>> cgis i am getting following error and i couldn't able to proceed further I >>>>>>>> have installed all possible dependency packages for the please help me >>>>>>>> >>>>>>>> >>>>>>>> skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o >>>>>>>> xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib -lglib-2.0 >>>>>>>> gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 >>>>>>>> -I/usr/lib/glib-2.0/include -DNSCGI -o history.cgi history.c getcgi.o >>>>>>>> cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o >>>>>>>> statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib >>>>>>>> -lglib-2.0 >>>>>>>> gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 >>>>>>>> -I/usr/lib/glib-2.0/include -DNSCGI -o histogram.cgi histogram.c getcgi.o >>>>>>>> cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o >>>>>>>> statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib >>>>>>>> -lglib-2.0 >>>>>>>> /tmp/ccCq2F9D.o: In function `draw_dashed_line': >>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2474: undefined >>>>>>>> reference to `gdImageSetStyle' >>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2477: undefined >>>>>>>> reference to `gdImageLine' >>>>>>>> /tmp/ccCq2F9D.o: In function `draw_line': >>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2453: undefined >>>>>>>> reference to `gdImageSetStyle' >>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2456: undefined >>>>>>>> reference to `gdImageLine' >>>>>>>> /tmp/ccCq2F9D.o: In function `graph_all_histogram_data': >>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1619: undefined >>>>>>>> reference to `gdFontSmall' >>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1652: undefined >>>>>>>> reference to `gdFontSmall' >>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1653: undefined >>>>>>>> reference to `gdImageString' >>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1673: undefined >>>>>>>> reference to `gdFontSmall' >>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1675: undefined >>>>>>>> reference to `gdImageStringUp' >>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1681: undefined >>>>>>>> reference to `gdFontSmall' >>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1682: undefined >>>>>>>> reference to `gdImageStringUp' >>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1694: undefined >>>>>>>> reference to `gdFontSmall' >>>>>>>> >>>>>>>> >>>>>>>> Please let me if you need any more info on this. >>>>>>>> >>>>>>>> >>>>>>>> Thanks >>>>>>>> -- >>>>>>>> Saravana Kumar >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------------------------------ >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Nagios-users mailing list >>>>>>>> Nagios-users at lists.sourceforge.net >>>>>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>>>>>> reporting any issue. >>>>>>>> ::: Messages without supporting info will risk being sent to >>>>>>>> /dev/null >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Saravana Kumar >>>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Saravana Kumar >>>> >>> >>> >> >> >> -- >> Saravana Kumar >> > > -- Saravana Kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Fri Jul 3 19:13:22 2009 From: guidosh at gmail.com (Guy Waugh) Date: Fri, 3 Jul 2009 18:13:22 +0100 Subject: Not able to compile CGIS In-Reply-To: <620e4cdb0907030926t2010bd02ke9455353abcd5472@mail.gmail.com> References: <620e4cdb0907030603o5c9653dcwafd4f12f4f8b2885@mail.gmail.com> <620e4cdb0907030625k50553e60t9e3f9b03b36fa2fb@mail.gmail.com> <620e4cdb0907030818n6ba3feb5qe651fbf6feccf028@mail.gmail.com> <620e4cdb0907030847j2ae80b7dm731a111e596fffbe@mail.gmail.com> <620e4cdb0907030926t2010bd02ke9455353abcd5472@mail.gmail.com> Message-ID: Oh, I'm confused now... I missed in your first email that you're now only compiling the CGIs... weren't they automatically compiled with your nagios build below? I don't remember compiling the CGIs separately. I'm not in the office now anyway so don't have access to my nagios server, but if I can help you when I return to workland on Monday, I will. Cheers, Guy. On Fri, Jul 3, 2009 at 5:26 PM, Saravana Kumar wrote: > Hi Guy, > > > Below are the commands and options which I used while compiling installing > nagios. > > > ./configure --prefix=/usr/local/nagios --with-htmlurl=/nagios/ > --with-cgiurl=/nagios/cgi-bin --with-nagios-user=nagios > --with-nagios-group=nagios --with-command-group=ncmd > --with-lockfile=/usr/local/nagios/var/lock/subsys/nagios > make all > make install > make install-init > make install-commandmode > make install-config > make install-webconf > > > Thanks > Saravana Kumar > > > On Fri, Jul 3, 2009 at 9:30 PM, Guy Waugh wrote: > >> OK, I think that means that rpm didn't find any problems with the gd-devel >> package. >> >> What options did you pass to configure? >> Is there anything useful in config.log? >> >> Regards, >> Guy. >> >> >> >> >> On Fri, Jul 3, 2009 at 4:47 PM, Saravana Kumar wrote: >> >>> I don't see any out put when i execute that command. >>> >>> >>> [root at nagios ~]# rpm -qav | grep gd-devel >>> gd-devel-2.0.33-9.4.el5_1.1 >>> >>> [root at nagios ~]# rpm -V gd-devel >>> [root at nagios ~]# >>> >>> >>> Thanks >>> Saravana Kumar >>> >>> >>> >>> On Fri, Jul 3, 2009 at 9:08 PM, Guy Waugh wrote: >>> >>>> Well, I can see the header definition for gdImageSetStyle in >>>> /usr/include/gd.h, which according to RPM, is owned by the gd-devel package. >>>> >>>> What does 'rpm -V gd-devel' say? >>>> >>>> >>>> On Fri, Jul 3, 2009 at 4:18 PM, Saravana Kumar wrote: >>>> >>>>> Hi Guy Waugh, >>>>> >>>>> >>>>> In fact I am not using 64 Bit Centos this is 32 Bit. And I installed >>>>> gd-devel and gd packages using *yum install gd gd-devel* command. >>>>> >>>>> >>>>> Please help me. >>>>> >>>>> >>>>> Thanks >>>>> Saravana Kumar >>>>> >>>>> >>>>> On Fri, Jul 3, 2009 at 8:00 PM, Guy Waugh wrote: >>>>> >>>>>> Hmm... only other thing I can think of (without knowing where those >>>>>> unfound functions are) is... is it 64-bit Centos? If so, do you only have >>>>>> the 64-bit version of gd-devel installed? >>>>>> >>>>>> Looking back at how I compiled nagios-3.0.6 on a RHEL5 x86_64 system, >>>>>> I included these arguments to ./configure: >>>>>> >>>>>> --with-gd-inc=/usr/include --with-gd-lib=/usr/lib64 >>>>>> >>>>>> Regards, >>>>>> Guy. >>>>>> >>>>>> >>>>>> On Fri, Jul 3, 2009 at 2:25 PM, Saravana Kumar < >>>>>> skumarsmails at gmail.com> wrote: >>>>>> >>>>>>> >>>>>>> thanks for quick response. >>>>>>> >>>>>>> >>>>>>> Yes I have. >>>>>>> >>>>>>> [root at nagios ~]# rpm -qa | grep gd >>>>>>> gd-2.0.33-9.4.el5_1.1 >>>>>>> gd-devel-2.0.33-9.4.el5_1.1 >>>>>>> >>>>>>> >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> --Saravana Kumar >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Fri, Jul 3, 2009 at 6:52 PM, Guy Waugh wrote: >>>>>>> >>>>>>>> Hello, >>>>>>>> >>>>>>>> It looks to be complaining about not finding GD library stuff... do >>>>>>>> you have the 'gd-devel' package installed (if that's what it's called on >>>>>>>> Centos)? >>>>>>>> >>>>>>>> Regards, >>>>>>>> Guy. >>>>>>>> >>>>>>>> On Fri, Jul 3, 2009 at 2:03 PM, Saravana Kumar < >>>>>>>> skumarsmails at gmail.com> wrote: >>>>>>>> >>>>>>>>> Hi Folks, >>>>>>>>> >>>>>>>>> I am trying to install nagios-3.0.6 on Centos 5. while compiling >>>>>>>>> cgis i am getting following error and i couldn't able to proceed further I >>>>>>>>> have installed all possible dependency packages for the please help me >>>>>>>>> >>>>>>>>> >>>>>>>>> skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o >>>>>>>>> xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib -lglib-2.0 >>>>>>>>> gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 >>>>>>>>> -I/usr/lib/glib-2.0/include -DNSCGI -o history.cgi history.c getcgi.o >>>>>>>>> cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o >>>>>>>>> statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib >>>>>>>>> -lglib-2.0 >>>>>>>>> gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 >>>>>>>>> -I/usr/lib/glib-2.0/include -DNSCGI -o histogram.cgi histogram.c getcgi.o >>>>>>>>> cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o >>>>>>>>> statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib >>>>>>>>> -lglib-2.0 >>>>>>>>> /tmp/ccCq2F9D.o: In function `draw_dashed_line': >>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2474: undefined >>>>>>>>> reference to `gdImageSetStyle' >>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2477: undefined >>>>>>>>> reference to `gdImageLine' >>>>>>>>> /tmp/ccCq2F9D.o: In function `draw_line': >>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2453: undefined >>>>>>>>> reference to `gdImageSetStyle' >>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2456: undefined >>>>>>>>> reference to `gdImageLine' >>>>>>>>> /tmp/ccCq2F9D.o: In function `graph_all_histogram_data': >>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1619: undefined >>>>>>>>> reference to `gdFontSmall' >>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1652: undefined >>>>>>>>> reference to `gdFontSmall' >>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1653: undefined >>>>>>>>> reference to `gdImageString' >>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1673: undefined >>>>>>>>> reference to `gdFontSmall' >>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1675: undefined >>>>>>>>> reference to `gdImageStringUp' >>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1681: undefined >>>>>>>>> reference to `gdFontSmall' >>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1682: undefined >>>>>>>>> reference to `gdImageStringUp' >>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1694: undefined >>>>>>>>> reference to `gdFontSmall' >>>>>>>>> >>>>>>>>> >>>>>>>>> Please let me if you need any more info on this. >>>>>>>>> >>>>>>>>> >>>>>>>>> Thanks >>>>>>>>> -- >>>>>>>>> Saravana Kumar >>>>>>>>> >>>>>>>>> >>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> Nagios-users mailing list >>>>>>>>> Nagios-users at lists.sourceforge.net >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>>>>>>> reporting any issue. >>>>>>>>> ::: Messages without supporting info will risk being sent to >>>>>>>>> /dev/null >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Saravana Kumar >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Saravana Kumar >>>>> >>>> >>>> >>> >>> >>> -- >>> Saravana Kumar >>> >> >> > > > -- > Saravana Kumar > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Harald.Boehmecke at bertelsmann.de Fri Jul 3 21:16:35 2009 From: Harald.Boehmecke at bertelsmann.de (Harald.Boehmecke at bertelsmann.de) Date: Fri, 3 Jul 2009 21:16:35 +0200 Subject: Help with Monitoring Bandwidth on Gigabit Interfaces In-Reply-To: References: Message-ID: <33652AF6B41FAA45988402291A546B6C03C21042@gtlbmlexs0026.bagmail.net> Hello! I need to monitor 1 Gbit Interfaces and I?m unable to find a plugin that will show me accurate bandwidth utilization. Has anyone had experience with this and/or already have a plugin that works? I?d love to do this via SNMP with no temp-files (on the fly). Thanks! Regards, Harald -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harald.boehmecke at bertelsmann.de Sat Jul 4 15:12:38 2009 From: harald.boehmecke at bertelsmann.de (Harald =?ISO-8859-1?Q?B=F6hmecke?=) Date: Sat, 04 Jul 2009 15:12:38 +0200 Subject: Help with Monitoring Bandwidth on Gigabit Interfaces In-Reply-To: <33652AF6B41FAA45988402291A546B6C03C21042@gtlbmlexs0026.bagmail.net> References: <33652AF6B41FAA45988402291A546B6C03C21042@gtlbmlexs0026.bagmail.net> Message-ID: <1246713158.5624.2.camel@bdi12718.arvato-logistics.de> I have found what I was looking for! http://nagios.manubulon.com/snmp_int.html check_snmp_int.pl. Great Plugin, SNMP-Based, and will correctly graph 32-bit 10-100/MB and 64-bit 1-10/GB Interfaces. Regards, Harald -----Original Message----- From: Harald.Boehmecke at bertelsmann.de To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help with Monitoring Bandwidth on Gigabit Interfaces Date: Fri, 3 Jul 2009 21:16:35 +0200 Hello! I need to monitor 1 Gbit Interfaces and I?m unable to find a plugin that will show me accurate bandwidth utilization. Has anyone had experience with this and/or already have a plugin that works? I?d love to do this via SNMP with no temp-files (on the fly). Thanks! Regards, Harald ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harald.boehmecke at bertelsmann.de Sun Jul 5 13:53:46 2009 From: harald.boehmecke at bertelsmann.de (Harald =?ISO-8859-1?Q?B=F6hmecke?=) Date: Sun, 05 Jul 2009 13:53:46 +0200 Subject: Distributed Monitoring Parents In-Reply-To: <1246713158.5624.2.camel@bdi12718.arvato-logistics.de> References: <33652AF6B41FAA45988402291A546B6C03C21042@gtlbmlexs0026.bagmail.net> <1246713158.5624.2.camel@bdi12718.arvato-logistics.de> Message-ID: <1246794826.16751.5.camel@bdi12718.arvato-logistics.de> Hi all, I currently have 1 Master Nagios Server and 4 Nagios "Satellites" which do the hard work. I have defined all Parents (dependencies) on the Master Server. Do I also need to define the Parents on the Satellites? Or will the Master Server (the one sending out Notifications) automatically define the Unreachable hosts by itself? Regards, Harald -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.shipway at auckland.ac.nz Mon Jul 6 02:07:52 2009 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 6 Jul 2009 12:07:52 +1200 Subject: Distributed Monitoring Parents In-Reply-To: <1246794826.16751.5.camel@bdi12718.arvato-logistics.de> References: <33652AF6B41FAA45988402291A546B6C03C21042@gtlbmlexs0026.bagmail.net> <1246713158.5624.2.camel@bdi12718.arvato-logistics.de> <1246794826.16751.5.camel@bdi12718.arvato-logistics.de> Message-ID: <6B587E8C999646469B54486AF21958460C7E8ECE3F@UXCHANGE7-1.UoA.auckland.ac.nz> If you want the satellites to suppress host/service checks when hosts are unreachable, then yes. Otherwise, your central Nagios master will correctly suppress notifications (as it knows about the dependencies, and the satellites don't do notifications) On our system, Ive defined the dependencies on the satellites as well because I want to suppress checks of unreachables (as with Nagios 2.x it causes horrible latencies when a sector drops out). It's a bit messy though, as it requires host checks to be done on both master and satellite. Steve ________________________________ From: Harald B?hmecke [mailto:harald.boehmecke at bertelsmann.de] Sent: Sunday, 5 July 2009 11:54 p.m. To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Distributed Monitoring Parents Hi all, I currently have 1 Master Nagios Server and 4 Nagios "Satellites" which do the hard work. I have defined all Parents (dependencies) on the Master Server. Do I also need to define the Parents on the Satellites? Or will the Master Server (the one sending out Notifications) automatically define the Unreachable hosts by itself? Regards, Harald -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chethan.mnc at wipro.com Mon Jul 6 09:17:27 2009 From: chethan.mnc at wipro.com (chethan.mnc at wipro.com) Date: Mon, 6 Jul 2009 12:47:27 +0530 Subject: [Nagios-Users]- How to change the alert message pattern Message-ID: Dear All, Please let me know how to change the alert message pattern in nagios alerts. We need to change the alert message according to the customers requests. Please help me. Thanks & Regards, Chethan M N, Go Green P Save a Tree - Please consider the environment before printing this email -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2310 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mad at b-care.net Mon Jul 6 09:43:07 2009 From: mad at b-care.net (=?ISO-8859-1?Q?Marc-Andr=E9?= Doll) Date: Mon, 06 Jul 2009 09:43:07 +0200 Subject: [Nagios-Users]- How to change the alert message pattern In-Reply-To: References: Message-ID: <1246866187.3479.0.camel@MADness> You have to change the notification commands in your commands.cfg file Marc-Andr? Doll Le lundi 06 juillet 2009 ? 12:47 +0530, chethan.mnc at wipro.com a ?crit : > > Dear All, > > > > Please let me know how to change the alert message pattern in nagios > alerts. We need to change the alert message according to the customers > requests. > > > > > > Please help me. > > > > > > > > Thanks & Regards, > > > > Chethan M N, > > > > Go Green > > PSave a Tree - Please consider the environment before printing this > email > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 6 09:52:06 2009 From: ae at op5.se (Andreas Ericsson) Date: Mon, 06 Jul 2009 09:52:06 +0200 Subject: [Nagios-Users]- How to change the alert message pattern In-Reply-To: References: Message-ID: <4A51AD26.7030002@op5.se> chethan.mnc at wipro.com wrote: > > > Dear All, > > > > Please let me know how to change the alert message pattern in nagios > alerts. We need to change the alert message according to the customers > requests. > Configure Nagios the way to send notifications the way you want. > > Please help me. > I just did. Now... Since you're incapable of formulating a precise problem description, including your own attempts to find a solution (which docs you've read etc), it's impossible for anyone here to help you. Since you also seem to be making money from this (as you speak of your customer), you really, really shouldn't expect anyone else to spend time dragging the information out of you that they need to help you. Shame on you. Now go RTFM. Everything you need to know is in there. Oh, and read http://catb.org/~esr/faqs/smart-questions.html before you post here again, please. -- 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. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tore.lonoy at gmail.com Mon Jul 6 12:55:56 2009 From: tore.lonoy at gmail.com (=?ISO-8859-1?Q?Tore_L=F8n=F8y?=) Date: Mon, 6 Jul 2009 12:55:56 +0200 Subject: Monitor for memory bottleneck on Windows? Message-ID: Hello naguis usergroup! I have for some time now tried to find a way to monitor performance bottlenecks related to shortage of memory on Windows, with no luck. As far my knowlegde of memory bottlenecks concern, using NSClient++ command CheckMem and argument physical, is far from enough. Also, monitoring windows performance counters, like Memory \ Pages Out/sec is no good either since it doesn't support average results. There is alot of documentation on how to determine that memory is a bottleneck, like e.g.: http://support.microsoft.com/kb/555223 But, for what I understand, using nagios to determine this is hard. So how do you guys locate memory bottlenecks on windows machines, with or without the help of nagios? Best regards, Tore -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 6 13:41:38 2009 From: ae at op5.se (Andreas Ericsson) Date: Mon, 06 Jul 2009 13:41:38 +0200 Subject: Monitor for memory bottleneck on Windows? In-Reply-To: References: Message-ID: <4A51E2F2.9020406@op5.se> Tore L?n?y wrote: > Hello naguis usergroup! > > I have for some time now tried to find a way to monitor performance > bottlenecks related to shortage of memory on Windows, with no luck. As far > my knowlegde of memory bottlenecks concern, using NSClient++ command > CheckMem and argument physical, is far from enough. Also, monitoring windows > performance counters, like Memory \ Pages Out/sec is no good either since it > doesn't support average results. > > There is alot of documentation on how to determine that memory is a > bottleneck, like e.g.: http://support.microsoft.com/kb/555223 > > But, for what I understand, using nagios to determine this is hard. > > So how do you guys locate memory bottlenecks on windows machines, with or > without the help of nagios? > By checking the swap usage. Basically, when a system starts swapping performance will go downhill very, very fast. The disk is several hundred orders of magnitude slower than the RAM. If you have high swap usage, you should buy more RAM for your servers (or modify whatever programs are running on them). -- 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. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Mon Jul 6 14:53:41 2009 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Mon, 06 Jul 2009 08:53:41 -0400 Subject: Nagios Alerts to SMS using SMSTools help? In-Reply-To: References: Message-ID: <4A51F3D5.1000605@collaborativefusion.com> Mirza Dedic wrote: > Hello, > > I plan to use "smstools" for my Nagios box to send out alerts to our cells if per say, our email gateway was down and Nagios alerts would not be delivered to the blackberries. > > In order to do this, I see a lot of users are using "smstools", when I checked their site it seems that the development has been passed to another author and is now called smstools 3. > > Has anyone got smstools 3 working with nagios alerts? > > I live in Canada, will a cell-phone such as MOTO KRZR or RAZR work? > > Thanks. smstools3 is just a fork of smstools, which won't be receiving updates; functionally, they're the same. I'm using smstools3 with the following notification commands: # 'notify-host-by-sms' command definition define command{ command_name notify-host-by-sms command_line /usr/local/bin/sendsms $CONTACTPAGER$ "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" } # 'notify-service-by-sms' command definition define command{ command_name notify-service-by-sms command_line /usr/local/bin/sendsms $CONTACTPAGER$ "** $NOTIFICATIONTYPE$ Service Alert: $SERVICEDESC$ is $SERVICESTATE$ **" } I can't answer your compatibility question, but if you have problems with it, the Moxa OnCell G2100 (http://www.moxa.com/product/OnCell_G2100_Series.htm) has been absolutely rock solid. -- Sean McAfee System Engineer ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jul 6 19:58:11 2009 From: michael at medin.name (Michael Medin) Date: Mon, 06 Jul 2009 19:58:11 +0200 Subject: Monitor for memory bottleneck on Windows? In-Reply-To: References: Message-ID: <4A523B33.2000100@medin.name> Hello humm, if anyone is interested I could add either: 1, option to do average value checks for arbitrary counters (ie. like CheckCPU) 2, add an option to check Memory\Pages Output/Sec to CheckMem ? // Michael Medin On 2009-07-06 12:55, Tore L?n?y wrote: > Hello naguis usergroup! > > I have for some time now tried to find a way to monitor performance > bottlenecks related to shortage of memory on Windows, with no luck. As > far my knowlegde of memory bottlenecks concern, using NSClient++ > command CheckMem and argument physical, is far from enough. Also, > monitoring windows performance counters, like Memory \ Pages Out/sec > is no good either since it doesn't support average results. > > There is alot of documentation on how to determine that memory is a > bottleneck, like e.g.: http://support.microsoft.com/kb/555223 > > But, for what I understand, using nagios to determine this is hard. > > So how do you guys locate memory bottlenecks on windows machines, with > or without the help of nagios? > > Best regards, > > Tore > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 6 22:25:23 2009 From: subscription at kkeane.com (Kevin Keane) Date: Mon, 06 Jul 2009 13:25:23 -0700 Subject: Monitor for memory bottleneck on Windows? In-Reply-To: References: Message-ID: <4A525DB3.9030205@kkeane.com> I found that a good proxy for memory problems is page file utilization, or memory use %. The other possibility is to identify the applications most likely to be a problem (usually, SQL Server, Exchange or some line-of-business application) and monitor those. At least in my settings, all I need is a very general idea. With memory being so cheap nowadays, I add memory at the first hint of a problem. Of course that's not always an option - when you are maxed out on 32-bit Windows or the motherboard, or located in some remote place the nearest computer store may be hours away. Tore L?n?y wrote: > Hello naguis usergroup! > > I have for some time now tried to find a way to monitor performance > bottlenecks related to shortage of memory on Windows, with no luck. As > far my knowlegde of memory bottlenecks concern, using NSClient++ > command CheckMem and argument physical, is far from enough. Also, > monitoring windows performance counters, like Memory \ Pages Out/sec > is no good either since it doesn't support average results. > > There is alot of documentation on how to determine that memory is a > bottleneck, like e.g.: http://support.microsoft.com/kb/555223 > > But, for what I understand, using nagios to determine this is hard. > > So how do you guys locate memory bottlenecks on windows machines, with > or without the help of nagios? > > Best regards, > > Tore > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nttbroken at gmail.com Tue Jul 7 13:20:48 2009 From: nttbroken at gmail.com (ntt broken) Date: Tue, 7 Jul 2009 14:20:48 +0300 Subject: Configure NSCA in NSClient++. Message-ID: Hello Nagios users, I have 2 questions for NSClient++ users: 1. How can I configure NSCA in NSClient++ (installed on the windows server 2003 machine) to send passive checks data to the Nagios Linux server? from the installation and the initial ini file to the working and ready NSclient++ with passive checks. 2. What ports I need to enable on the windows machine? 5667? others? what i need to enable on the Linux server machine? the NSCA is configured and supposed to work on the Nagios Linux machine. Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Tue Jul 7 17:25:15 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Tue, 7 Jul 2009 11:25:15 -0400 Subject: a special http check Message-ID: <6db4a4200907070825h6fa5646dg1da682cdc89395da@mail.gmail.com> All, I need to do a special kind of http check to see if our authentication service is working or not. These are the sequence of event need to take place. I need to hit the url https://myserver.com/login then I need do additional query service=myservice then I need to additinal query to validattion url https://myserver.com/validate here I will add additional query with my username and password. then I want to check the http response and search for the string "yes" Can this be done using check_http or do I need a custom check? Please advise on this. Thanks -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kgs at uvm.edu Tue Jul 7 17:34:27 2009 From: kgs at uvm.edu (Kent Saunders) Date: Tue, 07 Jul 2009 11:34:27 -0400 Subject: a special http check In-Reply-To: <6db4a4200907070825h6fa5646dg1da682cdc89395da@mail.gmail.com> References: <6db4a4200907070825h6fa5646dg1da682cdc89395da@mail.gmail.com> Message-ID: <4A536B03.8070209@uvm.edu> I've had good luck using WebInject for similar kinds of tests. Might do what you're after. http://www.webinject.org/ -kent shadih rahman wrote: > All, > I need to do a special kind of http check to see if our > authentication service is working or not. These are the sequence of > event need to take place. > > I need to hit the url https://myserver.com/login > then I need do additional query service=myservice > then I need to additinal query to validattion url > https://myserver.com/validate > here I will add additional query with my username and password. > then I want to check the http response and search for the string "yes" > > > Can this be done using check_http or do I need a custom check? Please > advise on this. Thanks > > -- > Cordially, > Shadhin Rahman > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/blackberry > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Tue Jul 7 17:36:37 2009 From: guidosh at gmail.com (Guy Waugh) Date: Tue, 7 Jul 2009 16:36:37 +0100 Subject: Using two or more host templates to aggregate contacts Message-ID: Hi all, I'm trying to configure nagios 3.0.6 so that I can add contact groups to a host by adding a host template to the host definition. I have one host template called 'unix-host' that I'm using to aggregate the Unix Team contacts into a template. I have another host template called 'oncall-host' that I'm using to represent people on call 24x7. If a host is critical enough that the on-call people should be alerted if it goes down, I want to be able to add the 'oncall-host' host template as a template for the critical host, have the 'unix-host' host template as another template for the host, and have nagios alert both the people on call and the Unix Team admins if the host goes down. The on-call people should be alerted by SMS and email every 5 minutes, but the Unix Team admins are should only be alerted by email every 10 minutes. I have an email server called 'doris' that is currently down, and is configured as specified below. What's happening is that the on-call people are being alerted by SMS and email every 10 minutes (which is as it should be), but the Unix Team admins aren't being alerted at all. If I remove the 'oncall-host' template from the host definition, the Unix Team admins are alerted by email as they should be. Can anyone suggest how I might get the alerting working, and still be able to just add the 'oncall-host' template as a template for a critical host? Perhaps it would be better to do this with hostgroups? Here are all my definitions... sorry if it's a bit convoluted: Here's the host definition for the host in question: define host { host_name doris alias doris email server address 192.168.2.25 parents sw-l3-mail use oncall-host,unix-host register 1 } 'unix-host' host template: define host { name unix-host alias Unix Team host template use generic-host contact_groups +unix-admin register 0 } 'oncall-host' host template: define host { name oncall-host alias Host template for critical hosts use generic-host contact_groups oncall-primary notification_interval 5 register 0 } 'generic-host' host template: define host { name generic-host alias Top-level host template check_command check-host-alive max_check_attempts 10 check_interval 5 retry_interval 1 active_checks_enabled 1 check_period 24x7 obsess_over_host 1 check_freshness 1 event_handler notify-host-by-email event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 10 notification_period 24x7 notification_options d,u,r notifications_enabled 1 failure_prediction_enabled 1 register 0 } 'unix-admin' contact group: define contactgroup { contactgroup_name unix-admin alias Unix Team Admins members nagiosadmin } 'oncall-primary' contact group: define contactgroup { contactgroup_name oncall-primary alias On-call Primary members oncall_phone1 } 'nagiosadmin' contact: define contact { contact_name nagiosadmin alias Nagios Admin contactgroups unix-admin email nagiosadmin at mydomain.co.uk use human-contact } 'oncall-phone1' contact: define contact { contact_name oncall_phone1 alias On-call Phone #1 contactgroups oncall-primary email phone1 at mydomain.co.uk pager 07555555555 use oncall-contact } 'human-contact' contact template: define contact { name human-contact alias Human contact template contactgroups unix-admin host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,u,r service_notification_options w,u,c,r host_notification_commands notify-host-by-email service_notification_commands notify-service-by-email use generic-contact register 0 } 'oncall-contact' contact template: define contact { name oncall-contact alias On-call contact template contactgroups oncall-primary host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,r service_notification_options u,c,r host_notification_commands notify-host-by-email,notify-host-by-sms service_notification_commands notify-service-by-email,notify-service-by-sms use generic-contact register 0 } 'generic-contact' contact template: define contact { name generic-contact alias Highest-level contact template host_notifications_enabled 1 service_notifications_enabled 1 host_notification_period 24x7 service_notification_period 24x7 register 0 } Regards, Guy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ena.com Tue Jul 7 17:42:17 2009 From: marc at ena.com (Marc Powell) Date: Tue, 7 Jul 2009 10:42:17 -0500 Subject: a special http check In-Reply-To: <6db4a4200907070825h6fa5646dg1da682cdc89395da@mail.gmail.com> References: <6db4a4200907070825h6fa5646dg1da682cdc89395da@mail.gmail.com> Message-ID: <0B3B10E9-7208-4D47-81A1-87FB73A56834@ena.com> On Jul 7, 2009, at 10:25 AM, shadih rahman wrote: > All, > I need to do a special kind of http check to see if our > authentication service is working or not. These are the sequence > of event need to take place. > > [multiple http requests/posts/validations] > > > Can this be done using check_http It cannot. > or do I need a custom check? Please advise on this. Thanks Yes, you'll need to create a custom plugin. This link may prove helpful -- http://nagiosplugins.org/node/102 -- Marc ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jul 7 18:34:10 2009 From: darose at darose.net (David Rosenstrauch) Date: Tue, 07 Jul 2009 12:34:10 -0400 Subject: a special http check In-Reply-To: <6db4a4200907070825h6fa5646dg1da682cdc89395da@mail.gmail.com> References: <6db4a4200907070825h6fa5646dg1da682cdc89395da@mail.gmail.com> Message-ID: <4A537902.9090207@darose.net> shadih rahman wrote: > All, > I need to do a special kind of http check to see if our authentication > service is working or not. These are the sequence of event need to take > place. > > I need to hit the url https://myserver.com/login > then I need do additional query service=myservice > then I need to additinal query to validattion url > https://myserver.com/validate > here I will add additional query with my username and password. > then I want to check the http response and search for the string "yes" > > > Can this be done using check_http or do I need a custom check? Please > advise on this. Thanks I'm currently doing a login check using check_http, but it's a much simpler, single-step check. It basically just checks that we can successfully login with a special nagios username and password by checking for the presence of the word "Logout" on the resulting page. (That word only appears if the login is successful.) define service { service_description portal login use our-service servicegroups http-services host_name our-host check_command check_http!-S!-s Logout!-u '/portal/j_spring_security_check?j_username=$USER3$&j_password=$USER4$' _ADDL_DETAIL This service verifies that we can log in to the portal (via: if the login is successful then the string Logout will be found on the page) } Perhaps you might be to accomplish what you want using only check_http by breaking this up into several different service checks. i.e.: 1) check that you can log in successfully, 2) check that you can (login and) hit the service=myservice page, etc. HTH, DR ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From massimobalestra at hotmail.com Tue Jul 7 18:52:27 2009 From: massimobalestra at hotmail.com (Massimo Balestra) Date: Tue, 7 Jul 2009 09:52:27 -0700 Subject: monitor windows remote desktop from linux In-Reply-To: <90f6e8270906300549k18261051hddd867183d46f3eb@mail.gmail.com> References: <4A488C9F.9060900@aznetwork.fr> <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> <4A49CB93.9000909@aznetwork.fr> <90f6e8270906300549k18261051hddd867183d46f3eb@mail.gmail.com> Message-ID: Hi, I did some googleing for this problem but with no success. Maybe somebody in this list can help me to figure how to do this check. My nagios is running on linux and I have two windows servers used for remote desktop (terminal service). One of this servers has some problems (we will reinstall it) and sometimes the remote desktop stops answering and the nobody can login. To tell the truth the whole server hangs but in this moment my concern is the remote desktop. I already setup a check on the remote desktop port (using check_tcp) but it is not enough. The RD port answers to the socket connection but when I try to connect with the client it hangs. So the port is open but the service is frozen. Is there anybody who knows what to do to monitor the Windows Remote Desktop? Thank you in advance Massimo ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Tue Jul 7 19:04:36 2009 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Tue, 7 Jul 2009 13:04:36 -0400 Subject: monitor windows remote desktop from linux In-Reply-To: References: <4A488C9F.9060900@aznetwork.fr> <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> <4A49CB93.9000909@aznetwork.fr><90f6e8270906300549k18261051hddd867183d46f3eb@mail.gmail.com> Message-ID: >-----Original Message----- >From: Massimo Balestra [mailto:massimobalestra at hotmail.com] >Sent: Tuesday, July 07, 2009 12:52 PM >To: 'Natxo Asenjo'; nagios-users at lists.sourceforge.net >Subject: [Nagios-users] monitor windows remote desktop from linux > >Hi, > >I did some googleing for this problem but with no success. Maybe >somebody in >this list can help me to figure how to do this check. > >My nagios is running on linux and I have two windows servers used for >remote >desktop (terminal service). > >One of this servers has some problems (we will reinstall it) and >sometimes >the remote desktop stops answering and the nobody can login. To tell the >truth the whole server hangs but in this moment my concern is the remote >desktop. > >I already setup a check on the remote desktop port (using check_tcp) but >it >is not enough. The RD port answers to the socket connection but when I >try >to connect with the client it hangs. So the port is open but the service >is >frozen. > >Is there anybody who knows what to do to monitor the Windows Remote >Desktop? > > >Thank you in advance >Massimo Massimo, I guess if the port is still listening it wouldn't solve the issue to monitor the Windows service the provides Remote Desktop (although that seems like it would be a good idea anyway). Any chance there's a corresponding message in the Windows Event log indicating something bad happening with Remote Desktop? If so, you could use one of several utilities (of which NSClient++ is one) to trigger an alert when it sees that event in the Event Log. Mark ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From massimobalestra at hotmail.com Tue Jul 7 19:10:47 2009 From: massimobalestra at hotmail.com (Massimo Balestra) Date: Tue, 7 Jul 2009 10:10:47 -0700 Subject: monitor windows remote desktop from linux In-Reply-To: References: <4A488C9F.9060900@aznetwork.fr> <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> <4A49CB93.9000909@aznetwork.fr><90f6e8270906300549k18261051hddd867183d46f3eb@mail.gmail.com> Message-ID: Thank you Mark. Unfortunately nothing is written in the event log that can help. The only error I see is about printer drivers but there are a lot of them and they normally does not affect the server behavior. I was hoping somebody would know better than me the RD protocol in order to send some commands to the port (I have no problem to make my own nagios plugin) to monitor if it is working or not. Thank you again. Massimo -----Original Message----- From: Frost, Mark {PBG} [mailto:mark.frost1 at pepsi.com] Sent: Tuesday, July 07, 2009 10:05 AM To: Massimo Balestra; Natxo Asenjo; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] monitor windows remote desktop from linux >-----Original Message----- >From: Massimo Balestra [mailto:massimobalestra at hotmail.com] >Sent: Tuesday, July 07, 2009 12:52 PM >To: 'Natxo Asenjo'; nagios-users at lists.sourceforge.net >Subject: [Nagios-users] monitor windows remote desktop from linux > >Hi, > >I did some googleing for this problem but with no success. Maybe >somebody in >this list can help me to figure how to do this check. > >My nagios is running on linux and I have two windows servers used for >remote >desktop (terminal service). > >One of this servers has some problems (we will reinstall it) and >sometimes >the remote desktop stops answering and the nobody can login. To tell the >truth the whole server hangs but in this moment my concern is the remote >desktop. > >I already setup a check on the remote desktop port (using check_tcp) but >it >is not enough. The RD port answers to the socket connection but when I >try >to connect with the client it hangs. So the port is open but the service >is >frozen. > >Is there anybody who knows what to do to monitor the Windows Remote >Desktop? > > >Thank you in advance >Massimo Massimo, I guess if the port is still listening it wouldn't solve the issue to monitor the Windows service the provides Remote Desktop (although that seems like it would be a good idea anyway). Any chance there's a corresponding message in the Windows Event log indicating something bad happening with Remote Desktop? If so, you could use one of several utilities (of which NSClient++ is one) to trigger an alert when it sees that event in the Event Log. Mark ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john at andrunas.net Tue Jul 7 19:28:22 2009 From: john at andrunas.net (John Andrunas) Date: Tue, 7 Jul 2009 10:28:22 -0700 Subject: monitor windows remote desktop from linux In-Reply-To: References: <4A488C9F.9060900@aznetwork.fr> <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> <4A49CB93.9000909@aznetwork.fr> <90f6e8270906300549k18261051hddd867183d46f3eb@mail.gmail.com> Message-ID: <9c4cd14a0907071028x3db6c1c3u4232c66d85da283a@mail.gmail.com> It seems like you ought to be able to create a check that actually connects to rdp, not that this is an ideal solution. rdesktop -u -d -p On Tue, Jul 7, 2009 at 10:10 AM, Massimo Balestra wrote: > Thank you Mark. > > Unfortunately nothing is written in the event log that can help. The only > error I see is about printer drivers but there are a lot of them and they > normally does not affect the server behavior. > > I was hoping somebody would know better than me the RD protocol in order to > send some commands to the port (I have no problem to make my own nagios > plugin) to monitor if it is working or not. > > Thank you again. > Massimo > > -----Original Message----- > From: Frost, Mark {PBG} [mailto:mark.frost1 at pepsi.com] > Sent: Tuesday, July 07, 2009 10:05 AM > To: Massimo Balestra; Natxo Asenjo; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] monitor windows remote desktop from linux > > > >>-----Original Message----- >>From: Massimo Balestra [mailto:massimobalestra at hotmail.com] >>Sent: Tuesday, July 07, 2009 12:52 PM >>To: 'Natxo Asenjo'; nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] monitor windows remote desktop from linux >> >>Hi, >> >>I did some googleing for this problem but with no success. Maybe >>somebody in >>this list can help me to figure how to do this check. >> >>My nagios is running on linux and I have two windows servers used for >>remote >>desktop (terminal service). >> >>One of this servers has some problems (we will reinstall it) and >>sometimes >>the remote desktop stops answering and the nobody can login. To tell > the >>truth the whole server hangs but in this moment my concern is the > remote >>desktop. >> >>I already setup a check on the remote desktop port (using check_tcp) > but >>it >>is not enough. The RD port answers to the socket connection but when I >>try >>to connect with the client it hangs. So the port is open but the > service >>is >>frozen. >> >>Is there anybody who knows what to do to monitor the Windows Remote >>Desktop? >> >> >>Thank you in advance >>Massimo > > Massimo, > > I guess if the port is still listening it wouldn't solve the issue to > monitor the Windows service the provides Remote Desktop (although that > seems like it would be a good idea anyway). > > Any chance there's a corresponding message in the Windows Event log > indicating something bad happening with Remote Desktop? ?If so, you > could use one of several utilities (of which NSClient++ is one) to > trigger an alert when it sees that event in the Event Log. > > Mark > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/blackberry > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- John ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Tue Jul 7 19:38:01 2009 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Tue, 7 Jul 2009 13:38:01 -0400 Subject: monitor windows remote desktop from linux In-Reply-To: <9c4cd14a0907071028x3db6c1c3u4232c66d85da283a@mail.gmail.com> References: <4A488C9F.9060900@aznetwork.fr> <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> <4A49CB93.9000909@aznetwork.fr> <90f6e8270906300549k18261051hddd867183d46f3eb@mail.gmail.com> <9c4cd14a0907071028x3db6c1c3u4232c66d85da283a@mail.gmail.com> Message-ID: >-----Original Message----- >From: John Andrunas [mailto:john at andrunas.net] >Sent: Tuesday, July 07, 2009 1:28 PM >To: Massimo Balestra >Cc: Frost, Mark {PBG}; Natxo Asenjo; nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] monitor windows remote desktop from linux > >It seems like you ought to be able to create a check that actually >connects to rdp, not that this is an ideal solution. > >rdesktop -u -d -p > > > >>>-----Original Message----- >>>From: Massimo Balestra [mailto:massimobalestra at hotmail.com] >>>Sent: Tuesday, July 07, 2009 12:52 PM >>>To: 'Natxo Asenjo'; nagios-users at lists.sourceforge.net >>>Subject: [Nagios-users] monitor windows remote desktop from linux >>> >>>Hi, >>> >>>I did some googleing for this problem but with no success. Maybe >>>somebody in >>>this list can help me to figure how to do this check. >>> >>>My nagios is running on linux and I have two windows servers used for >>>remote >>>desktop (terminal service). >>> >>>One of this servers has some problems (we will reinstall it) and >>>sometimes >>>the remote desktop stops answering and the nobody can login. To tell >> the >>>truth the whole server hangs but in this moment my concern is the >> remote >>>desktop. >>> >>>I already setup a check on the remote desktop port (using check_tcp) >> but >>>it >>>is not enough. The RD port answers to the socket connection but when I >>>try >>>to connect with the client it hangs. So the port is open but the >> service >>>is >>>frozen. >>> >>>Is there anybody who knows what to do to monitor the Windows Remote >>>Desktop? >>> >>> >>>Thank you in advance >>>Massimo Unfortunately, I don't think rdesktop will run without having a corresponding X display to send output to. If only it did, this would be the best route, methinks. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john at andrunas.net Tue Jul 7 19:40:55 2009 From: john at andrunas.net (John Andrunas) Date: Tue, 7 Jul 2009 10:40:55 -0700 Subject: monitor windows remote desktop from linux In-Reply-To: References: <4A488C9F.9060900@aznetwork.fr> <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> <4A49CB93.9000909@aznetwork.fr> <90f6e8270906300549k18261051hddd867183d46f3eb@mail.gmail.com> <9c4cd14a0907071028x3db6c1c3u4232c66d85da283a@mail.gmail.com> Message-ID: <9c4cd14a0907071040y3eb11b3cv806a8c7eb2e2d65@mail.gmail.com> On Tue, Jul 7, 2009 at 10:38 AM, Frost, Mark {PBG} wrote: > > >>-----Original Message----- >>From: John Andrunas [mailto:john at andrunas.net] >>Sent: Tuesday, July 07, 2009 1:28 PM >>To: Massimo Balestra >>Cc: Frost, Mark {PBG}; Natxo Asenjo; nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] monitor windows remote desktop from linux >> >>It seems like you ought to be able to create a check that actually >>connects to rdp, not that this is an ideal solution. >> >>rdesktop -u -d -p >> >> >> >>>>-----Original Message----- >>>>From: Massimo Balestra [mailto:massimobalestra at hotmail.com] >>>>Sent: Tuesday, July 07, 2009 12:52 PM >>>>To: 'Natxo Asenjo'; nagios-users at lists.sourceforge.net >>>>Subject: [Nagios-users] monitor windows remote desktop from linux >>>> >>>>Hi, >>>> >>>>I did some googleing for this problem but with no success. Maybe >>>>somebody in >>>>this list can help me to figure how to do this check. >>>> >>>>My nagios is running on linux and I have two windows servers used for >>>>remote >>>>desktop (terminal service). >>>> >>>>One of this servers has some problems (we will reinstall it) and >>>>sometimes >>>>the remote desktop stops answering and the nobody can login. To tell >>> the >>>>truth the whole server hangs but in this moment my concern is the >>> remote >>>>desktop. >>>> >>>>I already setup a check on the remote desktop port (using check_tcp) >>> but >>>>it >>>>is not enough. The RD port answers to the socket connection but when > I >>>>try >>>>to connect with the client it hangs. So the port is open but the >>> service >>>>is >>>>frozen. >>>> >>>>Is there anybody who knows what to do to monitor the Windows Remote >>>>Desktop? >>>> >>>> >>>>Thank you in advance >>>>Massimo > > Unfortunately, I don't think rdesktop will run without having a > corresponding X display to send output to. ?If only it did, this would > be the best route, methinks. > True, not sure if there is a way to script it in windows and do a passive check. -- John ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From massimobalestra at hotmail.com Tue Jul 7 19:41:39 2009 From: massimobalestra at hotmail.com (Massimo Balestra) Date: Tue, 7 Jul 2009 10:41:39 -0700 Subject: monitor windows remote desktop from linux In-Reply-To: <9c4cd14a0907071028x3db6c1c3u4232c66d85da283a@mail.gmail.com> References: <4A488C9F.9060900@aznetwork.fr> <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> <4A49CB93.9000909@aznetwork.fr> <90f6e8270906300549k18261051hddd867183d46f3eb@mail.gmail.com> <9c4cd14a0907071028x3db6c1c3u4232c66d85da283a@mail.gmail.com> Message-ID: Thank you John, I thought that, but rdesktop needs an xwindows server and, also, I did not find any command in rdesktop that make a conencion and exits immediately. Do you know how I could do this? Thank you Massimo -----Original Message----- From: John Andrunas [mailto:john at andrunas.net] Sent: Tuesday, July 07, 2009 10:28 AM To: Massimo Balestra Cc: Frost, Mark {PBG}; Natxo Asenjo; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] monitor windows remote desktop from linux It seems like you ought to be able to create a check that actually connects to rdp, not that this is an ideal solution. rdesktop -u -d -p On Tue, Jul 7, 2009 at 10:10 AM, Massimo Balestra wrote: > Thank you Mark. > > Unfortunately nothing is written in the event log that can help. The only > error I see is about printer drivers but there are a lot of them and they > normally does not affect the server behavior. > > I was hoping somebody would know better than me the RD protocol in order to > send some commands to the port (I have no problem to make my own nagios > plugin) to monitor if it is working or not. > > Thank you again. > Massimo > > -----Original Message----- > From: Frost, Mark {PBG} [mailto:mark.frost1 at pepsi.com] > Sent: Tuesday, July 07, 2009 10:05 AM > To: Massimo Balestra; Natxo Asenjo; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] monitor windows remote desktop from linux > > > >>-----Original Message----- >>From: Massimo Balestra [mailto:massimobalestra at hotmail.com] >>Sent: Tuesday, July 07, 2009 12:52 PM >>To: 'Natxo Asenjo'; nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] monitor windows remote desktop from linux >> >>Hi, >> >>I did some googleing for this problem but with no success. Maybe >>somebody in >>this list can help me to figure how to do this check. >> >>My nagios is running on linux and I have two windows servers used for >>remote >>desktop (terminal service). >> >>One of this servers has some problems (we will reinstall it) and >>sometimes >>the remote desktop stops answering and the nobody can login. To tell > the >>truth the whole server hangs but in this moment my concern is the > remote >>desktop. >> >>I already setup a check on the remote desktop port (using check_tcp) > but >>it >>is not enough. The RD port answers to the socket connection but when I >>try >>to connect with the client it hangs. So the port is open but the > service >>is >>frozen. >> >>Is there anybody who knows what to do to monitor the Windows Remote >>Desktop? >> >> >>Thank you in advance >>Massimo > > Massimo, > > I guess if the port is still listening it wouldn't solve the issue to > monitor the Windows service the provides Remote Desktop (although that > seems like it would be a good idea anyway). > > Any chance there's a corresponding message in the Windows Event log > indicating something bad happening with Remote Desktop? ?If so, you > could use one of several utilities (of which NSClient++ is one) to > trigger an alert when it sees that event in the Event Log. > > Mark > > > ---------------------------------------------------------------------------- -- > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/blackberry > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- John ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harald.boehmecke at bertelsmann.de Tue Jul 7 19:44:29 2009 From: harald.boehmecke at bertelsmann.de (Harald =?ISO-8859-1?Q?B=F6hmecke?=) Date: Tue, 07 Jul 2009 19:44:29 +0200 Subject: Distributed Monitoring - Freshness and Latency Message-ID: <1246988669.17032.0.camel@bdi12718.arvato-logistics.de> Hi, I am having a problem regarding Latency. Here my Technical information: All O.S: Ubuntu 9.03 Server//Nagios3.0.6 Main Server DL-380 4GB RAM and Quad-Core 3.0Mhz My distributed Nagios3 Satellites are reporting Latency, although no CPU, Mem, Disk or other peaks are evident: Hosts: Check Execution Time: 0.03 sec 4.22 sec 1.009 sec Check Latency:0.01 sec 22.67 sec 3.166 sec Services: Check Execution Time: 0.04 sec 0.21 sec 0.099 sec Check Latency: 0.01 sec 20.18 sec 2.957 sec Now I am just starting to configure this Satellite, so I only have 29 Hosts and 153 Services. Due to the Latency on the Satellite, the freshness checks on the Main Nagios are triggering and this is not good, because my SNMP bandwidth plugins are making disasters on my graphs. Attached is an output of nagios3 -s /etc/nagios3/nagios.cfg Tried debugging but everything looks ok... but... what do I know, rite? Any help is greatly appreciated!! Regards, Harald -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 12-01-2008 License: GPL Timing information on object configuration processing is listed below. You can use this information to see if precaching your object configuration would be useful. Object Config Source: Config files (uncached) OBJECT CONFIG PROCESSING TIMES (* = Potential for precache savings with -u option) ---------------------------------- Read: 0.009900 sec Resolve: 0.000208 sec * Recomb Contactgroups: 0.000020 sec * Recomb Hostgroups: 0.000003 sec * Dup Services: 0.001928 sec * Recomb Servicegroups: 0.000006 sec * Duplicate: 0.000007 sec * Inherit: 0.000083 sec * Recomb Contacts: 0.000001 sec * Sort: 0.000000 sec * Register: 0.001701 sec Free: 0.000185 sec ============ TOTAL: 0.014044 sec * = 0.002258 sec (16.08%) estimated savings RETENTION DATA TIMES ---------------------------------- Read and Process: 0.009276 sec ============ TOTAL: 0.009276 sec Timing information on configuration verification is listed below. CONFIG VERIFICATION TIMES (* = Potential for speedup with -x option) ---------------------------------- Object Relationships: 0.000556 sec Circular Paths: 0.000011 sec * Misc: 0.000302 sec ============ TOTAL: 0.000869 sec * = 0.000011 sec (1.3%) estimated savings EVENT SCHEDULING TIMES ------------------------------------- Get service info: 0.000955 sec Get host info info: 0.000003 sec Get service params: 0.000023 sec Schedule service times: 0.000986 sec Schedule service events: 0.000206 sec Get host params: 0.000002 sec Schedule host times: 0.000132 sec Schedule host events: 0.000042 sec ============ TOTAL: 0.002349 sec Projected scheduling information for host and service checks is listed below. This information assumes that you are going to start running Nagios with your current config files. HOST SCHEDULING INFORMATION --------------------------- Total hosts: 29 Total scheduled hosts: 29 Host inter-check delay method: SMART Average host check interval: 300.00 sec Host inter-check delay: 10.34 sec Max host check spread: 30 min First scheduled check: Thu Jan 1 01:00:00 1970 Last scheduled check: Thu Jan 1 01:00:00 1970 SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 153 Total scheduled services: 153 Service inter-check delay method: SMART Average service check interval: 271.76 sec Inter-check delay: 1.78 sec Interleave factor method: SMART Average services per host: 5.28 Service interleave factor: 6 Max service check spread: 30 min First scheduled check: Tue Jul 7 18:45:37 2009 Last scheduled check: Tue Jul 7 18:49:33 2009 CHECK PROCESSING INFORMATION ---------------------------- Check result reaper interval: 10 sec Max concurrent service checks: Unlimited PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. -------------- next part -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john at andrunas.net Tue Jul 7 19:45:44 2009 From: john at andrunas.net (John Andrunas) Date: Tue, 7 Jul 2009 10:45:44 -0700 Subject: monitor windows remote desktop from linux In-Reply-To: References: <4A488C9F.9060900@aznetwork.fr> <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> <4A49CB93.9000909@aznetwork.fr> <90f6e8270906300549k18261051hddd867183d46f3eb@mail.gmail.com> <9c4cd14a0907071028x3db6c1c3u4232c66d85da283a@mail.gmail.com> Message-ID: <9c4cd14a0907071045t5ec32b79kb053a30ba3f66923@mail.gmail.com> On Tue, Jul 7, 2009 at 10:41 AM, Massimo Balestra wrote: > > Thank you John, > > I thought that, but rdesktop needs an xwindows server and, also, I did not > find any command in rdesktop that make a conencion and exits immediately. > > Do you know how I could do this? > > Thank you > Massimo > > > -----Original Message----- > From: John Andrunas [mailto:john at andrunas.net] > Sent: Tuesday, July 07, 2009 10:28 AM > To: Massimo Balestra > Cc: Frost, Mark {PBG}; Natxo Asenjo; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] monitor windows remote desktop from linux > > It seems like you ought to be able to create a check that actually > connects to rdp, not that this is an ideal solution. > > rdesktop -u -d -p > > > > On Tue, Jul 7, 2009 at 10:10 AM, Massimo > Balestra wrote: >> Thank you Mark. >> >> Unfortunately nothing is written in the event log that can help. The only >> error I see is about printer drivers but there are a lot of them and they >> normally does not affect the server behavior. >> >> I was hoping somebody would know better than me the RD protocol in order > to >> send some commands to the port (I have no problem to make my own nagios >> plugin) to monitor if it is working or not. >> >> Thank you again. >> Massimo >> >> -----Original Message----- >> From: Frost, Mark {PBG} [mailto:mark.frost1 at pepsi.com] >> Sent: Tuesday, July 07, 2009 10:05 AM >> To: Massimo Balestra; Natxo Asenjo; nagios-users at lists.sourceforge.net >> Subject: RE: [Nagios-users] monitor windows remote desktop from linux >> >> >> >>>-----Original Message----- >>>From: Massimo Balestra [mailto:massimobalestra at hotmail.com] >>>Sent: Tuesday, July 07, 2009 12:52 PM >>>To: 'Natxo Asenjo'; nagios-users at lists.sourceforge.net >>>Subject: [Nagios-users] monitor windows remote desktop from linux >>> >>>Hi, >>> >>>I did some googleing for this problem but with no success. Maybe >>>somebody in >>>this list can help me to figure how to do this check. >>> >>>My nagios is running on linux and I have two windows servers used for >>>remote >>>desktop (terminal service). >>> >>>One of this servers has some problems (we will reinstall it) and >>>sometimes >>>the remote desktop stops answering and the nobody can login. To tell >> the >>>truth the whole server hangs but in this moment my concern is the >> remote >>>desktop. >>> >>>I already setup a check on the remote desktop port (using check_tcp) >> but >>>it >>>is not enough. The RD port answers to the socket connection but when I >>>try >>>to connect with the client it hangs. So the port is open but the >> service >>>is >>>frozen. >>> >>>Is there anybody who knows what to do to monitor the Windows Remote >>>Desktop? >>> >>> >>>Thank you in advance >>>Massimo >> >> Massimo, >> >> I guess if the port is still listening it wouldn't solve the issue to >> monitor the Windows service the provides Remote Desktop (although that >> seems like it would be a good idea anyway). >> >> Any chance there's a corresponding message in the Windows Event log >> indicating something bad happening with Remote Desktop? ?If so, you >> could use one of several utilities (of which NSClient++ is one) to >> trigger an alert when it sees that event in the Event Log. >> >> Mark >> >> >> > ---------------------------------------------------------------------------- > -- >> Enter the BlackBerry Developer Challenge >> This is your chance to win up to $100,000 in prizes! For a limited time, >> vendors submitting new applications to BlackBerry App World(TM) will have >> the opportunity to enter the BlackBerry Developer Challenge. See full > prize >> details at: http://p.sf.net/sfu/blackberry >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > John > > you can use -s and run a specific application (a batch file or something) to log you out, but yes you would need X. -- John ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john at andrunas.net Tue Jul 7 19:23:01 2009 From: john at andrunas.net (John Andrunas) Date: Tue, 7 Jul 2009 10:23:01 -0700 Subject: Nagios thinks the archive logs are empty but they are not. Message-ID: <9c4cd14a0907071023h34e4afa7sfd5f6315cba9955f@mail.gmail.com> When using the reporting functions in Nagios I can only view the current days logs/statistics, anything beyond that is empty (on the web interface). The log path and permissions all seem to be good, and I can see that the files do contain information. ls -al /usr/local/nagios/var/nagios.log -rw-rw-r-- 1 nagios nagios 3178106 Jul 7 10:09 /usr/local/nagios/var/nagios.log ls -al /usr/local/nagios/var/archives/nagios-07-06-2009-00.log -rw-r--r-- 1 nagios nagios 57943 Jul 5 23:59 /usr/local/nagios/var/archives/nagios-07-06-2009-00.log -- John ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harald.boehmecke at bertelsmann.de Tue Jul 7 19:58:40 2009 From: harald.boehmecke at bertelsmann.de (Harald =?ISO-8859-1?Q?B=F6hmecke?=) Date: Tue, 07 Jul 2009 19:58:40 +0200 Subject: Distributed Monitoring - Freshness and Latency In-Reply-To: <1246988669.17032.0.camel@bdi12718.arvato-logistics.de> References: <1246988669.17032.0.camel@bdi12718.arvato-logistics.de> Message-ID: <1246989520.17032.3.camel@bdi12718.arvato-logistics.de> I found the problem. All International SNMP Bandwidth checks from check_snmp_int.pl which are giving Nagios Satellites latencies of up to 17 seconds and a minimum of 5 seconds. This is making the whole check queue go rocket high. I'll just have to go back to MRTG :( Or does anyone have a good SNMP option for bandwidth usage monitoring with pnp4nagios compatibility? Regards, Harald -----Original Message----- From: Harald B?hmecke To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Distributed Monitoring - Freshness and Latency Date: Tue, 07 Jul 2009 19:44:29 +0200 Hi, I am having a problem regarding Latency. Here my Technical information: All O.S: Ubuntu 9.03 Server//Nagios3.0.6 Main Server DL-380 4GB RAM and Quad-Core 3.0Mhz My distributed Nagios3 Satellites are reporting Latency, although no CPU, Mem, Disk or other peaks are evident: Hosts: Check Execution Time: 0.03 sec 4.22 sec 1.009 sec Check Latency:0.01 sec 22.67 sec 3.166 sec Services: Check Execution Time: 0.04 sec 0.21 sec 0.099 sec Check Latency: 0.01 sec 20.18 sec 2.957 sec Now I am just starting to configure this Satellite, so I only have 29 Hosts and 153 Services. Due to the Latency on the Satellite, the freshness checks on the Main Nagios are triggering and this is not good, because my SNMP bandwidth plugins are making disasters on my graphs. Attached is an output of nagios3 -s /etc/nagios3/nagios.cfg Tried debugging but everything looks ok... but... what do I know, rite? Any help is greatly appreciated!! Regards, Harald ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From massimobalestra at hotmail.com Tue Jul 7 20:03:58 2009 From: massimobalestra at hotmail.com (Massimo Balestra) Date: Tue, 7 Jul 2009 11:03:58 -0700 Subject: monitor windows remote desktop from linux In-Reply-To: References: <4A488C9F.9060900@aznetwork.fr> <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> <4A49CB93.9000909@aznetwork.fr> <90f6e8270906300549k18261051hddd867183d46f3eb@mail.gmail.com> <9c4cd14a0907071028x3db6c1c3u4232c66d85da283a@mail.gmail.com> Message-ID: Yes probably I found the solution. I can run rdesktop with the option -s to run a batch that runs "shutdown /l". I have to set the rdesktop in order to use xvfb as xwindows server. I can set a timeout in the command so I kill rdesktop if it does not answer after ... 1 minute and let nagios raise an alarm. It is a little complicated but it could work. I have something to begin to write my custom plugin. I will let you know and I will post the (perl) plugin if it works Thank you to everybody. Massimo -----Original Message----- From: Massimo Balestra [mailto:massimobalestra at hotmail.com] Sent: Tuesday, July 07, 2009 10:42 AM To: 'John Andrunas' Cc: 'Frost, Mark {PBG}'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] monitor windows remote desktop from linux Thank you John, I thought that, but rdesktop needs an xwindows server and, also, I did not find any command in rdesktop that make a conencion and exits immediately. Do you know how I could do this? Thank you Massimo -----Original Message----- From: John Andrunas [mailto:john at andrunas.net] Sent: Tuesday, July 07, 2009 10:28 AM To: Massimo Balestra Cc: Frost, Mark {PBG}; Natxo Asenjo; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] monitor windows remote desktop from linux It seems like you ought to be able to create a check that actually connects to rdp, not that this is an ideal solution. rdesktop -u -d -p On Tue, Jul 7, 2009 at 10:10 AM, Massimo Balestra wrote: > Thank you Mark. > > Unfortunately nothing is written in the event log that can help. The only > error I see is about printer drivers but there are a lot of them and they > normally does not affect the server behavior. > > I was hoping somebody would know better than me the RD protocol in order to > send some commands to the port (I have no problem to make my own nagios > plugin) to monitor if it is working or not. > > Thank you again. > Massimo > > -----Original Message----- > From: Frost, Mark {PBG} [mailto:mark.frost1 at pepsi.com] > Sent: Tuesday, July 07, 2009 10:05 AM > To: Massimo Balestra; Natxo Asenjo; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] monitor windows remote desktop from linux > > > >>-----Original Message----- >>From: Massimo Balestra [mailto:massimobalestra at hotmail.com] >>Sent: Tuesday, July 07, 2009 12:52 PM >>To: 'Natxo Asenjo'; nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] monitor windows remote desktop from linux >> >>Hi, >> >>I did some googleing for this problem but with no success. Maybe >>somebody in >>this list can help me to figure how to do this check. >> >>My nagios is running on linux and I have two windows servers used for >>remote >>desktop (terminal service). >> >>One of this servers has some problems (we will reinstall it) and >>sometimes >>the remote desktop stops answering and the nobody can login. To tell > the >>truth the whole server hangs but in this moment my concern is the > remote >>desktop. >> >>I already setup a check on the remote desktop port (using check_tcp) > but >>it >>is not enough. The RD port answers to the socket connection but when I >>try >>to connect with the client it hangs. So the port is open but the > service >>is >>frozen. >> >>Is there anybody who knows what to do to monitor the Windows Remote >>Desktop? >> >> >>Thank you in advance >>Massimo > > Massimo, > > I guess if the port is still listening it wouldn't solve the issue to > monitor the Windows service the provides Remote Desktop (although that > seems like it would be a good idea anyway). > > Any chance there's a corresponding message in the Windows Event log > indicating something bad happening with Remote Desktop? ?If so, you > could use one of several utilities (of which NSClient++ is one) to > trigger an alert when it sees that event in the Event Log. > > Mark > > > ---------------------------------------------------------------------------- -- > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/blackberry > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- John ---------------------------------------------------------------------------- -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ena.com Tue Jul 7 20:07:34 2009 From: marc at ena.com (Marc Powell) Date: Tue, 7 Jul 2009 13:07:34 -0500 Subject: Nagios thinks the archive logs are empty but they are not. In-Reply-To: <9c4cd14a0907071023h34e4afa7sfd5f6315cba9955f@mail.gmail.com> References: <9c4cd14a0907071023h34e4afa7sfd5f6315cba9955f@mail.gmail.com> Message-ID: <9388CE75-FE86-44EE-A33B-21C6D419574B@ena.com> On Jul 7, 2009, at 12:23 PM, John Andrunas wrote: > When using the reporting functions in Nagios I can only view the > current days logs/statistics, anything beyond that is empty (on the > web interface). The log path and permissions all seem to be good, and > I can see that the files do contain information. > > ls -al /usr/local/nagios/var/nagios.log > -rw-rw-r-- 1 nagios nagios 3178106 Jul 7 10:09 /usr/local/nagios/ > var/nagios.log > > ls -al /usr/local/nagios/var/archives/nagios-07-06-2009-00.log > -rw-r--r-- 1 nagios nagios 57943 Jul 5 23:59 > /usr/local/nagios/var/archives/nagios-07-06-2009-00.log How about permissions on the /usr/local/nagios/var/archives directory? Is SELinux enabled? Does the value of log_rotation_method in nagios.cfg match the rotation method indicated by the actual archive files? -- Marc ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steve.Onotsky at broadridge.com Tue Jul 7 20:12:36 2009 From: Steve.Onotsky at broadridge.com (Onotsky, Steve x55328) Date: Tue, 7 Jul 2009 14:12:36 -0400 Subject: monitor windows remote desktop from linux In-Reply-To: <9c4cd14a0907071045t5ec32b79kb053a30ba3f66923@mail.gmail.com> References: <4A488C9F.9060900@aznetwork.fr><90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com><4A49CB93.9000909@aznetwork.fr><90f6e8270906300549k18261051hddd867183d46f3eb@mail.gmail.com><9c4cd14a0907071028x3db6c1c3u4232c66d85da283a@mail.gmail.com> <9c4cd14a0907071045t5ec32b79kb053a30ba3f66923@mail.gmail.com> Message-ID: <30A417B62E7EE448B3864ADC881CEFD609610E34@missemsa01.bsg.ad.adp.com> > -----Original Message----- > From: John Andrunas [mailto:john at andrunas.net] > Sent: July 7, 2009 13:46 > To: Massimo Balestra > Cc: Frost, Mark {PBG}; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] monitor windows remote desktop from linux > > you can use -s and run a specific application (a batch file or > something) to log you out, but yes you would need X. Couldn't you use a virtual framebuffer X server to allow for clients to connect back, thereby redirecting screen output to the bitbucket? That way, the logout script (a batch file with "shutdown -l -f" in it, most likely) could accomplish the user-less session quite nicely, I would think. Cheers Steve This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ena.com Tue Jul 7 20:39:30 2009 From: marc at ena.com (Marc Powell) Date: Tue, 7 Jul 2009 13:39:30 -0500 Subject: monitor windows remote desktop from linux In-Reply-To: References: <4A488C9F.9060900@aznetwork.fr> <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> <4A49CB93.9000909@aznetwork.fr> <90f6e8270906300549k18261051hddd867183d46f3eb@mail.gmail.com> Message-ID: <4B9F9C08-7752-4156-B58F-E90074B367C1@ena.com> On Jul 7, 2009, at 11:52 AM, Massimo Balestra wrote: > Hi, > > I did some googleing for this problem but with no success. Maybe > somebody in > this list can help me to figure how to do this check. Try googleing for 'nagios check x224'. -- Marc ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jul 7 20:42:46 2009 From: subscription at kkeane.com (Kevin Keane) Date: Tue, 07 Jul 2009 11:42:46 -0700 Subject: monitor windows remote desktop from linux In-Reply-To: References: <4A488C9F.9060900@aznetwork.fr> <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> <4A49CB93.9000909@aznetwork.fr><90f6e8270906300549k18261051hddd867183d46f3eb@mail.gmail.com> Message-ID: <4A539726.7050507@kkeane.com> In my mind, Nagios really isn't a good tool for troubleshooting - it's a good tool for monitoring. In this case, it seems you aren't really entirely certain what to monitor? That said, I have seen this behavior in Windows 2008 64-bit in some cases (Vista is supposed to also be affected. Not sure if 32-bit versions are). What makes this problem even more insidious is that the symptoms are all over the place. Sometimes, RDP isn't responsive. Other times, it could be completely different services that are affected. If yours is the same problem that I'm thinking of, it's actually caused by a resource leak deep in Windows that is triggered by the TDI interface (which is what many antivirus applications are using). Microsoft fixed this bug in the latest service pack. It isn't actually the remote desktop protocol at all that crashes. Rather, many services will stall in more-or-less unpredictable ways. The most obvious sign is often that logging in no longer works (locally as well as remotely). Also, if you are logged in, it is entirely possible that the keyboard and mouse no longer work (although you can usually still move the mouse pointer). There are other problems that can cause the same symptoms, too. Unplugging a USB drive without "safely remove hardware" will also sometimes do it (again, it might be caused by the antivirus software; I've been working with Microsoft support on this problem but so far haven't figured it out). Massimo Balestra wrote: > Thank you Mark. > > Unfortunately nothing is written in the event log that can help. The only > error I see is about printer drivers but there are a lot of them and they > normally does not affect the server behavior. > > I was hoping somebody would know better than me the RD protocol in order to > send some commands to the port (I have no problem to make my own nagios > plugin) to monitor if it is working or not. > > Thank you again. > Massimo > > -----Original Message----- > From: Frost, Mark {PBG} [mailto:mark.frost1 at pepsi.com] > Sent: Tuesday, July 07, 2009 10:05 AM > To: Massimo Balestra; Natxo Asenjo; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] monitor windows remote desktop from linux > > > > >> -----Original Message----- >> From: Massimo Balestra [mailto:massimobalestra at hotmail.com] >> Sent: Tuesday, July 07, 2009 12:52 PM >> To: 'Natxo Asenjo'; nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] monitor windows remote desktop from linux >> >> Hi, >> >> I did some googleing for this problem but with no success. Maybe >> somebody in >> this list can help me to figure how to do this check. >> >> My nagios is running on linux and I have two windows servers used for >> remote >> desktop (terminal service). >> >> One of this servers has some problems (we will reinstall it) and >> sometimes >> the remote desktop stops answering and the nobody can login. To tell >> > the > >> truth the whole server hangs but in this moment my concern is the >> > remote > >> desktop. >> >> I already setup a check on the remote desktop port (using check_tcp) >> > but > >> it >> is not enough. The RD port answers to the socket connection but when I >> try >> to connect with the client it hangs. So the port is open but the >> > service > >> is >> frozen. >> >> Is there anybody who knows what to do to monitor the Windows Remote >> Desktop? >> >> >> Thank you in advance >> Massimo >> > > Massimo, > > I guess if the port is still listening it wouldn't solve the issue to > monitor the Windows service the provides Remote Desktop (although that > seems like it would be a good idea anyway). > > Any chance there's a corresponding message in the Windows Event log > indicating something bad happening with Remote Desktop? If so, you > could use one of several utilities (of which NSClient++ is one) to > trigger an alert when it sees that event in the Event Log. > > Mark > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john at andrunas.net Tue Jul 7 20:43:35 2009 From: john at andrunas.net (John Andrunas) Date: Tue, 7 Jul 2009 11:43:35 -0700 Subject: Nagios thinks the archive logs are empty but they are not. In-Reply-To: <9388CE75-FE86-44EE-A33B-21C6D419574B@ena.com> References: <9c4cd14a0907071023h34e4afa7sfd5f6315cba9955f@mail.gmail.com> <9388CE75-FE86-44EE-A33B-21C6D419574B@ena.com> Message-ID: <9c4cd14a0907071143i42e42c15h6805632e98a9bd5d@mail.gmail.com> On Tue, Jul 7, 2009 at 11:07 AM, Marc Powell wrote: > > On Jul 7, 2009, at 12:23 PM, John Andrunas wrote: > >> When using the reporting functions in Nagios I can only view the >> current days logs/statistics, anything beyond that is empty (on the >> web interface). ?The log path and permissions all seem to be good, and >> I can see that the files do contain information. >> >> ls -al /usr/local/nagios/var/nagios.log >> -rw-rw-r-- 1 nagios nagios 3178106 Jul ?7 10:09 /usr/local/nagios/ >> var/nagios.log >> >> ls -al /usr/local/nagios/var/archives/nagios-07-06-2009-00.log >> -rw-r--r-- 1 nagios nagios 57943 Jul ?5 23:59 >> /usr/local/nagios/var/archives/nagios-07-06-2009-00.log > > How about permissions on the /usr/local/nagios/var/archives directory? > Is SELinux enabled? > > Does the value of log_rotation_method in nagios.cfg match the rotation > method indicated by the actual archive files? > > -- > Marc > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/blackberry > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > drwxrwxr-x 2 nagios apache 4096 Jul 7 00:00 archives no SELinux log_rotaion is d which seems to correspond to the contents of the files. The webUI seems to be looking in the right file/path, it just doesn't show any contents. Is there any way to increase the log level of the Nagios Daemon? I didn't see anything in nagios.cfg -- John ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From massimobalestra at hotmail.com Tue Jul 7 21:26:12 2009 From: massimobalestra at hotmail.com (Massimo Balestra) Date: Tue, 7 Jul 2009 12:26:12 -0700 Subject: monitor windows remote desktop from linux In-Reply-To: <4A539726.7050507@kkeane.com> References: <4A488C9F.9060900@aznetwork.fr> <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> <4A49CB93.9000909@aznetwork.fr><90f6e8270906300549k18261051hddd867183d46f3eb@mail.gmail.com> <4A539726.7050507@kkeane.com> Message-ID: Hi Kevin, I am trying to monitor, not to troubleshoot. We bought a new server to replace the one we have and we will reinstall everything. This is the solution. What I want to do is monitor the current server to avoid the users to call us. If we see it frozen we reboot it. Thank you for your suggestion. I will use what you wrote to try to understand what happened but I really think that the best solution is format the server. Massimo -----Original Message----- From: Kevin Keane [mailto:subscription at kkeane.com] Sent: Tuesday, July 07, 2009 11:43 AM Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] monitor windows remote desktop from linux In my mind, Nagios really isn't a good tool for troubleshooting - it's a good tool for monitoring. In this case, it seems you aren't really entirely certain what to monitor? That said, I have seen this behavior in Windows 2008 64-bit in some cases (Vista is supposed to also be affected. Not sure if 32-bit versions are). What makes this problem even more insidious is that the symptoms are all over the place. Sometimes, RDP isn't responsive. Other times, it could be completely different services that are affected. If yours is the same problem that I'm thinking of, it's actually caused by a resource leak deep in Windows that is triggered by the TDI interface (which is what many antivirus applications are using). Microsoft fixed this bug in the latest service pack. It isn't actually the remote desktop protocol at all that crashes. Rather, many services will stall in more-or-less unpredictable ways. The most obvious sign is often that logging in no longer works (locally as well as remotely). Also, if you are logged in, it is entirely possible that the keyboard and mouse no longer work (although you can usually still move the mouse pointer). There are other problems that can cause the same symptoms, too. Unplugging a USB drive without "safely remove hardware" will also sometimes do it (again, it might be caused by the antivirus software; I've been working with Microsoft support on this problem but so far haven't figured it out). Massimo Balestra wrote: > Thank you Mark. > > Unfortunately nothing is written in the event log that can help. The only > error I see is about printer drivers but there are a lot of them and they > normally does not affect the server behavior. > > I was hoping somebody would know better than me the RD protocol in order to > send some commands to the port (I have no problem to make my own nagios > plugin) to monitor if it is working or not. > > Thank you again. > Massimo > > -----Original Message----- > From: Frost, Mark {PBG} [mailto:mark.frost1 at pepsi.com] > Sent: Tuesday, July 07, 2009 10:05 AM > To: Massimo Balestra; Natxo Asenjo; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] monitor windows remote desktop from linux > > > > >> -----Original Message----- >> From: Massimo Balestra [mailto:massimobalestra at hotmail.com] >> Sent: Tuesday, July 07, 2009 12:52 PM >> To: 'Natxo Asenjo'; nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] monitor windows remote desktop from linux >> >> Hi, >> >> I did some googleing for this problem but with no success. Maybe >> somebody in >> this list can help me to figure how to do this check. >> >> My nagios is running on linux and I have two windows servers used for >> remote >> desktop (terminal service). >> >> One of this servers has some problems (we will reinstall it) and >> sometimes >> the remote desktop stops answering and the nobody can login. To tell >> > the > >> truth the whole server hangs but in this moment my concern is the >> > remote > >> desktop. >> >> I already setup a check on the remote desktop port (using check_tcp) >> > but > >> it >> is not enough. The RD port answers to the socket connection but when I >> try >> to connect with the client it hangs. So the port is open but the >> > service > >> is >> frozen. >> >> Is there anybody who knows what to do to monitor the Windows Remote >> Desktop? >> >> >> Thank you in advance >> Massimo >> > > Massimo, > > I guess if the port is still listening it wouldn't solve the issue to > monitor the Windows service the provides Remote Desktop (although that > seems like it would be a good idea anyway). > > Any chance there's a corresponding message in the Windows Event log > indicating something bad happening with Remote Desktop? If so, you > could use one of several utilities (of which NSClient++ is one) to > trigger an alert when it sees that event in the Event Log. > > Mark > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ---------------------------------------------------------------------------- -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From massimobalestra at hotmail.com Tue Jul 7 21:27:19 2009 From: massimobalestra at hotmail.com (Massimo Balestra) Date: Tue, 7 Jul 2009 12:27:19 -0700 Subject: monitor windows remote desktop from linux In-Reply-To: <4B9F9C08-7752-4156-B58F-E90074B367C1@ena.com> References: <4A488C9F.9060900@aznetwork.fr> <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> <4A49CB93.9000909@aznetwork.fr> <90f6e8270906300549k18261051hddd867183d46f3eb@mail.gmail.com> <4B9F9C08-7752-4156-B58F-E90074B367C1@ena.com> Message-ID: Thank you Mark I did not know that the protocol was called x224. I think I found an interesting tool for my needs check_x224 Thank you very much. Massimo -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Tuesday, July 07, 2009 11:40 AM To: Nagios Users Mail-list Subject: Re: [Nagios-users] monitor windows remote desktop from linux On Jul 7, 2009, at 11:52 AM, Massimo Balestra wrote: > Hi, > > I did some googleing for this problem but with no success. Maybe > somebody in > this list can help me to figure how to do this check. Try googleing for 'nagios check x224'. -- Marc ---------------------------------------------------------------------------- -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lecb79 at gmail.com Tue Jul 7 22:34:12 2009 From: lecb79 at gmail.com (Eduardo Barreto) Date: Tue, 7 Jul 2009 17:34:12 -0300 Subject: Command Line Message-ID: Hi all, I got a script to send a sms, but I'm confused on how to set the correct command line to set Nagios to talk through sms, the sms script is attached. Thanks in advance Eduardo Barreto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: sms Type: application/octet-stream Size: 262 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anoonan at gmail.com Tue Jul 7 23:10:16 2009 From: anoonan at gmail.com (Andrew Noonan) Date: Tue, 7 Jul 2009 16:10:16 -0500 Subject: Nagios lockup for about 8.5 hours Message-ID: <7c6fe39f0907071410k29539868ubc509db63dc7e1c6@mail.gmail.com> I've been testing out Nagios in general to replace our current system and I noticed a strange blank in my PNP graphs this morning. When I looked closer, I found that nagios had basically hung for several hours. Then, the log shows a warning of: [1246958195] Warning: A system time change of 0d 4h 56m 48s (forwards in time) has been detected. Compensating... and then for several hours, messages like: [1246958830] Warning: The check of host 'superhost1' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host... I'm running nagios 3.0.6 with ndo2db. The system has under 1000 services, most of which are nrpe checks to remote hosts. The nagios system was not terribly loaded at the time (about 50% idle) and mysql did not show any errors at the time. Typically, the number of buffers used is only 2-3 out of the 4096. Any ideas as to what this could have been, or how I can detect this condition or log to gain more info? I wouldn't think that this is normal, but my Google searches aren't turning up a lot. Thanks! ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 8 04:55:49 2009 From: subscription at kkeane.com (Kevin Keane) Date: Tue, 07 Jul 2009 19:55:49 -0700 Subject: Nagios lockup for about 8.5 hours In-Reply-To: <7c6fe39f0907071410k29539868ubc509db63dc7e1c6@mail.gmail.com> References: <7c6fe39f0907071410k29539868ubc509db63dc7e1c6@mail.gmail.com> Message-ID: <4A540AB5.8050300@kkeane.com> It seems to me that for some reason your system clock has changed by about five hours. Did you change your system by any chance from local time (Eastern time, probably, based on the five-hour difference) to UTC? Or maybe your clock had drifted for a long time. When the clock skew becomes too great, NTP refuses to update the time (because there is no way to be sure that the time signal isn't the one that's incorrect). If you restart NTP, it will set your clock regardless of the clock skew. The following "immediate check" messages probably occurred because Nagios thought that these services hadn't been checked for five hours. Andrew Noonan wrote: > I've been testing out Nagios in general to replace our current system > and I noticed a strange blank in my PNP graphs this morning. When I > looked closer, I found that nagios had basically hung for several > hours. Then, the log shows a warning of: > > [1246958195] Warning: A system time change of 0d 4h 56m 48s (forwards > in time) has been detected. Compensating... > > and then for several hours, messages like: > > [1246958830] Warning: The check of host 'superhost1' looks like it was > orphaned (results never came back). I'm scheduling an immediate check > of the host... > > I'm running nagios 3.0.6 with ndo2db. The system has under 1000 > services, most of which are nrpe checks to remote hosts. > > The nagios system was not terribly loaded at the time (about 50% idle) > and mysql did not show any errors at the time. Typically, the number > of buffers used is only 2-3 out of the 4096. > > Any ideas as to what this could have been, or how I can detect this > condition or log to gain more info? I wouldn't think that this is > normal, but my Google searches aren't turning up a lot. > > Thanks! > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/blackberry > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 8 05:12:21 2009 From: subscription at kkeane.com (Kevin Keane) Date: Tue, 07 Jul 2009 20:12:21 -0700 Subject: monitor windows remote desktop from linux In-Reply-To: References: <4A488C9F.9060900@aznetwork.fr> <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> <4A49CB93.9000909@aznetwork.fr><90f6e8270906300549k18261051hddd867183d46f3eb@mail.gmail.com> <4A539726.7050507@kkeane.com> Message-ID: <4A540E95.3080800@kkeane.com> Yeah, I understand what you mean. The problem is that before you can monitor, you have to identify what exactly needs to be monitored. And that's where the troubleshooting comes in. From then on, it could be anything from an authentication issue to a protocol issue to an encryption issue, clock skew (I'm not sure if the encryption in RDP is time-sensitive. I don't think it is, but wanted to mention it), and the monitoring needs to reflect the specific problem you are monitoring for. If you don't know what exactly is going wrong, there is a high likelihood that you are monitoring the wrong thing and don't actually detect when the users are experiencing a problem - just as you saw with the sockets. Massimo Balestra wrote: > Hi Kevin, > > I am trying to monitor, not to troubleshoot. > > We bought a new server to replace the one we have and we will reinstall > everything. This is the solution. > > What I want to do is monitor the current server to avoid the users to call > us. If we see it frozen we reboot it. > > Thank you for your suggestion. > I will use what you wrote to try to understand what happened but I really > think that the best solution is format the server. > > Massimo > > > > -----Original Message----- > From: Kevin Keane [mailto:subscription at kkeane.com] > Sent: Tuesday, July 07, 2009 11:43 AM > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] monitor windows remote desktop from linux > > In my mind, Nagios really isn't a good tool for troubleshooting - it's a > good tool for monitoring. In this case, it seems you aren't really > entirely certain what to monitor? > > That said, I have seen this behavior in Windows 2008 64-bit in some > cases (Vista is supposed to also be affected. Not sure if 32-bit > versions are). What makes this problem even more insidious is that the > symptoms are all over the place. Sometimes, RDP isn't responsive. Other > times, it could be completely different services that are affected. If > yours is the same problem that I'm thinking of, it's actually caused by > a resource leak deep in Windows that is triggered by the TDI interface > (which is what many antivirus applications are using). Microsoft fixed > this bug in the latest service pack. > > It isn't actually the remote desktop protocol at all that crashes. > Rather, many services will stall in more-or-less unpredictable ways. The > most obvious sign is often that logging in no longer works (locally as > well as remotely). Also, if you are logged in, it is entirely possible > that the keyboard and mouse no longer work (although you can usually > still move the mouse pointer). > > There are other problems that can cause the same symptoms, too. > Unplugging a USB drive without "safely remove hardware" will also > sometimes do it (again, it might be caused by the antivirus software; > I've been working with Microsoft support on this problem but so far > haven't figured it out). > > Massimo Balestra wrote: > >> Thank you Mark. >> >> Unfortunately nothing is written in the event log that can help. The only >> error I see is about printer drivers but there are a lot of them and they >> normally does not affect the server behavior. >> >> I was hoping somebody would know better than me the RD protocol in order >> > to > >> send some commands to the port (I have no problem to make my own nagios >> plugin) to monitor if it is working or not. >> >> Thank you again. >> Massimo >> >> -----Original Message----- >> From: Frost, Mark {PBG} [mailto:mark.frost1 at pepsi.com] >> Sent: Tuesday, July 07, 2009 10:05 AM >> To: Massimo Balestra; Natxo Asenjo; nagios-users at lists.sourceforge.net >> Subject: RE: [Nagios-users] monitor windows remote desktop from linux >> >> >> >> >> >>> -----Original Message----- >>> From: Massimo Balestra [mailto:massimobalestra at hotmail.com] >>> Sent: Tuesday, July 07, 2009 12:52 PM >>> To: 'Natxo Asenjo'; nagios-users at lists.sourceforge.net >>> Subject: [Nagios-users] monitor windows remote desktop from linux >>> >>> Hi, >>> >>> I did some googleing for this problem but with no success. Maybe >>> somebody in >>> this list can help me to figure how to do this check. >>> >>> My nagios is running on linux and I have two windows servers used for >>> remote >>> desktop (terminal service). >>> >>> One of this servers has some problems (we will reinstall it) and >>> sometimes >>> the remote desktop stops answering and the nobody can login. To tell >>> >>> >> the >> >> >>> truth the whole server hangs but in this moment my concern is the >>> >>> >> remote >> >> >>> desktop. >>> >>> I already setup a check on the remote desktop port (using check_tcp) >>> >>> >> but >> >> >>> it >>> is not enough. The RD port answers to the socket connection but when I >>> try >>> to connect with the client it hangs. So the port is open but the >>> >>> >> service >> >> >>> is >>> frozen. >>> >>> Is there anybody who knows what to do to monitor the Windows Remote >>> Desktop? >>> >>> >>> Thank you in advance >>> Massimo >>> >>> >> Massimo, >> >> I guess if the port is still listening it wouldn't solve the issue to >> monitor the Windows service the provides Remote Desktop (although that >> seems like it would be a good idea anyway). >> >> Any chance there's a corresponding message in the Windows Event log >> indicating something bad happening with Remote Desktop? If so, you >> could use one of several utilities (of which NSClient++ is one) to >> trigger an alert when it sees that event in the Event Log. >> >> Mark >> >> > > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 8 04:56:18 2009 From: subscription at kkeane.com (Kevin Keane) Date: Tue, 07 Jul 2009 19:56:18 -0700 Subject: Nagios lockup for about 8.5 hours In-Reply-To: <7c6fe39f0907071410k29539868ubc509db63dc7e1c6@mail.gmail.com> References: <7c6fe39f0907071410k29539868ubc509db63dc7e1c6@mail.gmail.com> Message-ID: <4A540AD2.4090900@kkeane.com> It seems to me that for some reason your system clock has changed by about five hours. Did you change your system by any chance from local time (Eastern time, probably, based on the five-hour difference) to UTC? Or maybe your clock had drifted for a long time. When the clock skew becomes too great, NTP refuses to update the time (because there is no way to be sure that the time signal isn't the one that's incorrect). If you restart NTP, it will set your clock regardless of the clock skew. The following "immediate check" messages probably occurred because Nagios thought that these services hadn't been checked for five hours. Andrew Noonan wrote: > I've been testing out Nagios in general to replace our current system > and I noticed a strange blank in my PNP graphs this morning. When I > looked closer, I found that nagios had basically hung for several > hours. Then, the log shows a warning of: > > [1246958195] Warning: A system time change of 0d 4h 56m 48s (forwards > in time) has been detected. Compensating... > > and then for several hours, messages like: > > [1246958830] Warning: The check of host 'superhost1' looks like it was > orphaned (results never came back). I'm scheduling an immediate check > of the host... > > I'm running nagios 3.0.6 with ndo2db. The system has under 1000 > services, most of which are nrpe checks to remote hosts. > > The nagios system was not terribly loaded at the time (about 50% idle) > and mysql did not show any errors at the time. Typically, the number > of buffers used is only 2-3 out of the 4096. > > Any ideas as to what this could have been, or how I can detect this > condition or log to gain more info? I wouldn't think that this is > normal, but my Google searches aren't turning up a lot. > > Thanks! > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/blackberry > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschneemann at suse.de Wed Jul 8 09:25:10 2009 From: cschneemann at suse.de (Christian Schneemann) Date: Wed, 8 Jul 2009 09:25:10 +0200 Subject: Command Line In-Reply-To: References: Message-ID: <200907080925.11088.cschneemann@suse.de> On Tuesday 07 July 2009 22:34:12 Eduardo Barreto wrote: > Hi all, > > I got a script to send a sms, but I'm confused on how to set the correct > command line to set Nagios to talk through sms, the sms script is attached. > > Thanks in advance > > Eduardo Barreto Hi, interesting script, if you want to send sms from your nagios system try smstools, it is very easy to send sms through a gsm modem with it. Greetings, Christian -- ---------------------------------------- SUSE Linux Products GmbH Maxfeldstr. 5, D - 90409 N?rnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneemann at suse.de ---------------------------------------- SUSE Linux Products GmbH, GF: Markus Rex HRB 16746 (AG N?rnberg) ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Wed Jul 8 11:15:30 2009 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Wed, 8 Jul 2009 10:15:30 +0100 Subject: monitor windows remote desktop from linux In-Reply-To: <4A540E95.3080800@kkeane.com> References: <4A488C9F.9060900@aznetwork.fr> <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> <4A49CB93.9000909@aznetwork.fr><90f6e8270906300549k18261051hddd867183d46f3eb@mail.gmail.com> <4A539726.7050507@kkeane.com> <4A540E95.3080800@kkeane.com> Message-ID: > Yeah, I understand what you mean. The problem is that before > you can monitor, you have to identify what exactly needs to > be monitored. And that's where the troubleshooting comes in. I disagree. The OP would like to monitor remote desktop logins. As an admin, I care that RDP is broken, not (neccersarilly) that the clock is out of sync. > From then on, it could be anything from an authentication > issue to a protocol issue to an encryption issue, clock skew > (I'm not sure if the encryption in RDP is time-sensitive. I > don't think it is, but wanted to mention it), and the > monitoring needs to reflect the specific problem you are > monitoring for. > If you don't know what exactly is going wrong, there is a > high likelihood that you are monitoring the wrong thing and > don't actually detect when the users are experiencing a > problem - just as you saw with the sockets. An ideal check would be for some meatware to sit infront of a computer, log in with a few user names, check that the login is succesful, and push a button which sets the nagios state to "green". If they have a problem, push a different button to set the light to "red". You may be able to get a perl module that can control remote desktop, have a system log in, run a command, and log out. A quick google doesn't show anything up, and experimentation with "rdesktop -u USER -d DOMAIN -p PASS -s SOMETHING.EXE $HOSTADDRESS$" seems to leave the session logged in. You could create SOMETHING.EXE which made a call back to nagios to say "I'm working", but you'd need to get windows to log out afterwards. A bit of windows scripting would probably do that for you, so you would have something like $ok = 0; $port = 2345; while ($ok == 0) { $port++; $ok = listenOnPort($port) } run_in_foreground("rdesktop -u USER -d DOMAIN -p PASS -s "remote_check.wsh $nagiosaddress $port" $HOSTADDRESS$"); my ($status, $info) = receivedMsg(); print $info; exit $status; my ($nagiosaddress, $port) = shift; open_socket("$nagiosaddress:$port"); print_socket("OK,Remote Desktop OK for user $USER"); close_socket(); logout(); For already-written plugins, check_x224 will give a better check than check_tcp. -- Paul Weaver Systems Development Engineer News Production Facilities, BBC News 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. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jd at op5.com Wed Jul 8 11:40:51 2009 From: jd at op5.com (Johannes Dagemark) Date: Wed, 08 Jul 2009 11:40:51 +0200 Subject: monitor windows remote desktop from linux In-Reply-To: References: <4A488C9F.9060900@aznetwork.fr> <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> <4A49CB93.9000909@aznetwork.fr><90f6e8270906300549k18261051hddd867183d46f3eb@mail.gmail.com> <4A539726.7050507@kkeane.com> <4A540E95.3080800@kkeane.com> Message-ID: <4A5469A3.10208@op5.com> > An ideal check would be for some meatware to sit infront of a computer, > log in with a few user names, check that the login is succesful, and > push a button which sets the nagios state to "green". If they have a > problem, push a different button to set the light to "red". > a bit of topic perhaps but something I have been thinking of every time people ask me if it's possible to monitor this and that windows application is to simply create a plugin wrapper around a mouse/keyboard recorder such as www.autohotkey.com. This will let you record whatever user behavior and run it as a plugin from nsclient++. You could even create a macro starting an rdp session from a windows box :) cheers Johannes ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-listas at gmx.net Wed Jul 8 11:44:28 2009 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Wed, 8 Jul 2009 06:44:28 -0300 Subject: About Nagios3 and arbitrary code execution Message-ID: <20090708094428.GA6759@defiant.freesoftware.org> Hi all! At the moment I am using Nagios 3.0.6 (12/01/2008) compiled from the source code provided from nagios.org. Recently I have read in the DSA-1825-1 [1] about an arbitrary code execution. According to I see in changelog of the version 3.1.1, it incorporates a security fix for statuswml.cgi where arbitrary shell injection was possible. Somebody could confirm to me that this vulnerability is the same that is mentioned in the DSA? Thanks in advance. Regards, Daniel [1] http://lwn.net/Alerts/339889/ -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Squeeze - Linux user #188.598 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.omahony at curamsoftware.com Wed Jul 8 12:12:02 2009 From: brian.omahony at curamsoftware.com (Brian O'Mahony) Date: Wed, 8 Jul 2009 11:12:02 +0100 Subject: Installing on Solaris 10 with a package Message-ID: <86E8DA9E18BC2344BD0218BF23C88DF3010B01146A2B@MAIL06.curamsoftware.com> Im using a package from monitoring exchange (http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed/3061.html;d=1) For installing on some SPARC 10 systems. I installed on one system, and it works perfectly, nothing to be done, and I can check_nrpe -H localhost, or access it from another machine using the name. The second machine I installed it on, later, gives : bash-3.00# ./check_nrpe -H localhost CHECK_NRPE: Error - Could not complete SSL handshake. And the same from a remote machine. However both have OpenSSL installed (default with solaris) bash-3.00# pkginfo | grep ssl system SUNWopenssl-commands OpenSSL Commands (Usr) system SUNWopenssl-include OpenSSL Header Files system SUNWopenssl-libraries OpenSSL Libraries (Usr) system SUNWopenssl-man OpenSSL Manual Pages system SUNWopensslr OpenSSL (Root) What else could I be missing - the package install said everything was completed successfully, and both machines have the same cfg file, the same ports being listened to in netstat (5666) and both are running as a daemon (/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d) They are two different versions of Sol10 though: bash-3.00# uname -a SunOS beatrix 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V215 bash-3.00# uname -a SunOS marla 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Fire-V210 Any ideas whats going wrong? The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.omahony at curamsoftware.com Wed Jul 8 12:31:55 2009 From: brian.omahony at curamsoftware.com (Brian O'Mahony) Date: Wed, 8 Jul 2009 11:31:55 +0100 Subject: Installing on Solaris 10 with a package In-Reply-To: <86E8DA9E18BC2344BD0218BF23C88DF3010B01146A2B@MAIL06.curamsoftware.com> References: <86E8DA9E18BC2344BD0218BF23C88DF3010B01146A2B@MAIL06.curamsoftware.com> Message-ID: <86E8DA9E18BC2344BD0218BF23C88DF3010B01146A5A@MAIL06.curamsoftware.com> I got this working using the check_nrpe executable which supports only the basic encryptions that was included. Not sure why the two versions of solaris differ with the encryptions however. From: Brian O'Mahony [mailto:brian.omahony at curamsoftware.com] Sent: 08 July 2009 11:12 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Installing on Solaris 10 with a package Im using a package from monitoring exchange (http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed/3061.html;d=1) For installing on some SPARC 10 systems. I installed on one system, and it works perfectly, nothing to be done, and I can check_nrpe -H localhost, or access it from another machine using the name. The second machine I installed it on, later, gives : bash-3.00# ./check_nrpe -H localhost CHECK_NRPE: Error - Could not complete SSL handshake. And the same from a remote machine. However both have OpenSSL installed (default with solaris) bash-3.00# pkginfo | grep ssl system SUNWopenssl-commands OpenSSL Commands (Usr) system SUNWopenssl-include OpenSSL Header Files system SUNWopenssl-libraries OpenSSL Libraries (Usr) system SUNWopenssl-man OpenSSL Manual Pages system SUNWopensslr OpenSSL (Root) What else could I be missing - the package install said everything was completed successfully, and both machines have the same cfg file, the same ports being listened to in netstat (5666) and both are running as a daemon (/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d) They are two different versions of Sol10 though: bash-3.00# uname -a SunOS beatrix 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V215 bash-3.00# uname -a SunOS marla 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Fire-V210 Any ideas whats going wrong? The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.omahony at curamsoftware.com Wed Jul 8 12:35:40 2009 From: brian.omahony at curamsoftware.com (Brian O'Mahony) Date: Wed, 8 Jul 2009 11:35:40 +0100 Subject: Installing on Solaris 10 with a package In-Reply-To: <86E8DA9E18BC2344BD0218BF23C88DF3010B01146A5A@MAIL06.curamsoftware.com> References: <86E8DA9E18BC2344BD0218BF23C88DF3010B01146A2B@MAIL06.curamsoftware.com> <86E8DA9E18BC2344BD0218BF23C88DF3010B01146A5A@MAIL06.curamsoftware.com> Message-ID: <86E8DA9E18BC2344BD0218BF23C88DF3010B01146A62@MAIL06.curamsoftware.com> Actually this only works on the localhost. I am still getting the SSL errors from the nagios server. From: Brian O'Mahony Sent: 08 July 2009 11:32 To: Brian O'Mahony; nagios-users at lists.sourceforge.net Subject: RE: Installing on Solaris 10 with a package I got this working using the check_nrpe executable which supports only the basic encryptions that was included. Not sure why the two versions of solaris differ with the encryptions however. From: Brian O'Mahony [mailto:brian.omahony at curamsoftware.com] Sent: 08 July 2009 11:12 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Installing on Solaris 10 with a package Im using a package from monitoring exchange (http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed/3061.html;d=1) For installing on some SPARC 10 systems. I installed on one system, and it works perfectly, nothing to be done, and I can check_nrpe -H localhost, or access it from another machine using the name. The second machine I installed it on, later, gives : bash-3.00# ./check_nrpe -H localhost CHECK_NRPE: Error - Could not complete SSL handshake. And the same from a remote machine. However both have OpenSSL installed (default with solaris) bash-3.00# pkginfo | grep ssl system SUNWopenssl-commands OpenSSL Commands (Usr) system SUNWopenssl-include OpenSSL Header Files system SUNWopenssl-libraries OpenSSL Libraries (Usr) system SUNWopenssl-man OpenSSL Manual Pages system SUNWopensslr OpenSSL (Root) What else could I be missing - the package install said everything was completed successfully, and both machines have the same cfg file, the same ports being listened to in netstat (5666) and both are running as a daemon (/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d) They are two different versions of Sol10 though: bash-3.00# uname -a SunOS beatrix 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V215 bash-3.00# uname -a SunOS marla 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Fire-V210 Any ideas whats going wrong? The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at opsera.com Wed Jul 8 12:42:15 2009 From: ton.voon at opsera.com (Ton Voon) Date: Wed, 8 Jul 2009 11:42:15 +0100 Subject: About Nagios3 and arbitrary code execution In-Reply-To: <20090708094428.GA6759@defiant.freesoftware.org> References: <20090708094428.GA6759@defiant.freesoftware.org> Message-ID: On 8 Jul 2009, at 10:44, Daniel Bareiro wrote: > According to I see in changelog of the version 3.1.1, it > incorporates a > security fix for statuswml.cgi where arbitrary shell injection was > possible. Somebody could confirm to me that this vulnerability is the > same that is mentioned in the DSA? Yes it is. Ton ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mad at b-care.net Wed Jul 8 12:47:49 2009 From: mad at b-care.net (=?ISO-8859-1?Q?Marc-Andr=E9?= Doll) Date: Wed, 08 Jul 2009 12:47:49 +0200 Subject: Check result used as an argument for the next check Message-ID: <1247050069.3471.6.camel@MADness> Is there a way to use the result of a check (the return value or the output for example) as an argument for the next check. I need to keep an history of the checks of one particular service in order to compare the previous check result with the current one. I thought to use the $SERVICESTATEID$ and $SERVICEOUTPUT$ macros but the documentation says that would make no sense because they are not initialized when a check is running. Marc-Andr? Doll ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From duncan.ferguson at opsera.com Wed Jul 8 12:50:41 2009 From: duncan.ferguson at opsera.com (Duncan Ferguson) Date: Wed, 8 Jul 2009 11:50:41 +0100 Subject: Installing on Solaris 10 with a package In-Reply-To: <86E8DA9E18BC2344BD0218BF23C88DF3010B01146A2B@MAIL06.curamsoftware.com> References: <86E8DA9E18BC2344BD0218BF23C88DF3010B01146A2B@MAIL06.curamsoftware.com> Message-ID: <9F090BFD-5603-4C1A-B927-F654347C53FD@opsera.com> On 8 Jul 2009, at 11:12, Brian O'Mahony wrote: > Im using a package from monitoring exchange > (http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed/3061.html;d=1 > ) > For installing on some SPARC 10 systems. > > I installed on one system, and it works perfectly, nothing to be > done, and I can check_nrpe ?H localhost, or access it from another > machine using the name. > > The second machine I installed it on, later, gives : > bash-3.00# ./check_nrpe -H localhost > CHECK_NRPE: Error - Could not complete SSL handshake. Make sure you have the SUNWcryr and SUNWcryx packages installed to allow for full encryption. Without those packages nrpe cannot negotiate a working key length properly (it defaults to 256 bit keys which it cannot generate without the extra packages). http://www.sun.com/download/index.jsp?cat=Security&tab=3&subcat=Cryptography%20%26%20Encryption Duncs -- Duncan Ferguson Senior Developer Opsera Limited | Unit 69 Suttons Business Park Reading | Berkshire | RG6 1AZ | UK Phone: +44 (0) 845 057 7887 Mobile: +44 (0) 7968 148 748 Skype: duncan_j_ferguson Email: duncan.ferguson at opsera.com www.opsera.com Opsera Limited is registered in the UK under Company Number 5396532. Our registered office is Gorse View, Horsell Rise, Woking, Surrey, GU21 4RB. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 749 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chethan.mnc at wipro.com Wed Jul 8 14:28:53 2009 From: chethan.mnc at wipro.com (chethan.mnc at wipro.com) Date: Wed, 8 Jul 2009 17:58:53 +0530 Subject: Monitoring Eventlogs on windows server References: <86E8DA9E18BC2344BD0218BF23C88DF3010B01146A2B@MAIL06.curamsoftware.com> <9F090BFD-5603-4C1A-B927-F654347C53FD@opsera.com> Message-ID: Dear All, I m using Nagios 3 running on Rhel 5. I am monitoring windows server using NS Client++. How can I monitor eventlogs on the windows server? PLease let me know the same. I referred check_nt options and didnt find how to monitor critical events from the eventlogs(system,applicaion,security). PLease help. Thanks & Regards, Chethan M N -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 749 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.omahony at curamsoftware.com Wed Jul 8 14:19:32 2009 From: brian.omahony at curamsoftware.com (Brian O'Mahony) Date: Wed, 8 Jul 2009 13:19:32 +0100 Subject: Installing on Solaris 10 with a package In-Reply-To: <9F090BFD-5603-4C1A-B927-F654347C53FD@opsera.com> References: <86E8DA9E18BC2344BD0218BF23C88DF3010B01146A2B@MAIL06.curamsoftware.com> <9F090BFD-5603-4C1A-B927-F654347C53FD@opsera.com> Message-ID: <86E8DA9E18BC2344BD0218BF23C88DF3010B04B00948@MAIL06.curamsoftware.com> Perfect. Thanks a lot. From: Duncan Ferguson [mailto:duncan.ferguson at opsera.com] Sent: 08 July 2009 11:51 To: Brian O'Mahony Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Installing on Solaris 10 with a package On 8 Jul 2009, at 11:12, Brian O'Mahony wrote: Im using a package from monitoring exchange (http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed/3061.html;d=1) For installing on some SPARC 10 systems. I installed on one system, and it works perfectly, nothing to be done, and I can check_nrpe -H localhost, or access it from another machine using the name. The second machine I installed it on, later, gives : bash-3.00# ./check_nrpe -H localhost CHECK_NRPE: Error - Could not complete SSL handshake. Make sure you have the SUNWcryr and SUNWcryx packages installed to allow for full encryption. Without those packages nrpe cannot negotiate a working key length properly (it defaults to 256 bit keys which it cannot generate without the extra packages). http://www.sun.com/download/index.jsp?cat=Security&tab=3&subcat=Cryptography%20%26%20Encryption Duncs -- Duncan Ferguson Senior Developer [cid:image001.gif at 01C9FFCE.BB642C60] Opsera Limited | Unit 69 Suttons Business Park Reading | Berkshire | RG6 1AZ | UK Phone: +44 (0) 845 057 7887 Mobile: +44 (0) 7968 148 748 Skype: duncan_j_ferguson Email: duncan.ferguson at opsera.com www.opsera.com Opsera Limited is registered in the UK under Company Number 5396532. Our registered office is Gorse View, Horsell Rise, Woking, Surrey, GU21 4RB. The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 749 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Wed Jul 8 17:43:38 2009 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Wed, 8 Jul 2009 11:43:38 -0400 Subject: monitoring unreachable hosts Message-ID: This topic of unreachable hosts that's come up recently has got me thinking about an issue we have. We have a few hosts that are behind proxies and as such are impossible to ping. They have a single service which we can check through the proxy successfully. I'm a little stuck on what to do with the host checks. I can supress the alerts, but they still always show as critical (kind of permanently critical). Maybe I'm too anal, but I don't like that. It's meaningless. So I was thinking of making the host check command identical to the service check command. The end result being that if the service is up, the host will also show up, if the service is down, the host will also show down. Still weird, but at least kind of conceptually correct. What concerns me about is the my understanding of how host and service checks would work in this case. If the service check fails, it's going to want to fallback and try the host check which will fail also because it's running the exact same check as the service. However, what if I've disabled notfications on the host itself? That is, I really only ever want service alerts -- no host alerts. In the case of a normal set of host/service checks, Nagios will notice that the host is down, suppress alerts about all the services being down and send out only a "host is down" alert. In the scenario where the host and service checks are the same and the host notifications are disabled, wouldn't a service alert be suppressed and I'd never hear about an issue on this host? Again, conceptually, the service result is all that's meaningful. Maybe Nagios is smarter than that and would decide that since the host notifications were disabled that it would go ahead and send the service alerts anyway? I guess this could be an issue with any host that has notifications disabled now that I think about it. I tried earlier to disable all checking of the host in this case and that gives me a host unreachable alert when the service goes down. That makes sense since the host can't be checked, but I don't want it going into that bogus state. What would probably be ideal is if Nagios had some way of marking a host as being irrelevanet. That is, the service would sort of stand alone without any host dependency in terms of monitoring. Kind of strange, though. Thanks Mark ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 smetj.net Wed Jul 8 17:57:42 2009 From: nagios at smetj.net (Jelle Smet) Date: Wed, 08 Jul 2009 17:57:42 +0200 Subject: Organisation of hostgroups & availability reports Message-ID: <166493af77772f20b82c36886eeed38b@smetj.net> Hi all, I'm looking for the most flexible way to create availability reports of host or service groups. Let's look at the availability of servers for example and take following conditions into account: * Hosts can be of different types: 4 possibilities (Servers, Network equipment, Storage, Peripherals) * Hosts can be located in different countries: 15 possibilities. * Servers can be located in different environments: 2 possibilities (Remote offices, Datacenters) * Servers can have different OS's: 5 possibilities (Windows, Linux, Solaris, Aix, Novel) * Servers can have a different state: 3 possibilities (Production,Acceptance, Development) I want to have the ability to create reports with any kind of combination of the abovementioned parameters. For example: Give me a report of the Belgian Datacenter Windows Development Servers It would be great to have a functionality within Nagios saying: "only show hosts that appear in each selected group." But that's not the case. So, ... Any idea how to organize hosts and how to get this kind of information out of there? Cheers, Jelle Smet http://www.smetj.net ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Wed Jul 8 18:17:52 2009 From: guidosh at gmail.com (Guy Waugh) Date: Wed, 8 Jul 2009 17:17:52 +0100 Subject: Multiple contactgroups for a host through groups or templates Message-ID: Hi all, I'm seeking a way to be able to associate a contactgroup with a server, in addition to the contactgroups that are already associated with the server through a hosttemplate, such that if the host goes down, both contactgroups are notified. As I outlined in a post to this list a couple of days ago, I've been trying to do it by associating the host with a second hosttemplate that has the contactgroup associated with it, but only the contactgroup associated with the first hosttemplate in the list is notified if the host goes down. For example: define host { host_name doris use oncall-host,unix-host register 1 } define host { host_name oncall-host contact_groups oncall-primary register 0 } define host { host_name unix-host contact_groups +unix-admin register 0 } When doris goes down, only the 'oncall-primary' contactgroup is notified, not 'unix-admin'. Short of manually associating the contactgroup with the host, can anyone suggest a way I might achieve my desired configuration using groups or templates? Thanks, Guy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ena.com Wed Jul 8 18:29:45 2009 From: marc at ena.com (Marc Powell) Date: Wed, 8 Jul 2009 11:29:45 -0500 Subject: monitoring unreachable hosts In-Reply-To: References: Message-ID: <19D39A9B-D9F2-4018-923B-5DFC74ED7FD9@ena.com> On Jul 8, 2009, at 10:43 AM, Frost, Mark {PBG} wrote: > So I was thinking of making the host check command > identical to the service check command. The end result being that if > the service is up, the host will also show up, if the service is down, > the host will also show down. Still weird, but at least kind of > conceptually correct. Yes, that's one approach that leads to a somewhat correct indication. > However, what if I've disabled notfications on the host itself? > That is, I really only > ever want service alerts -- no host alerts. In the case of a normal > set > of host/service checks, Nagios will notice that the host is down, > suppress alerts about all the services being down and send out only a > "host is down" alert. > > In the scenario where the host and service checks are the same and the > host notifications are disabled, wouldn't a service alert be > suppressed > and I'd never hear about an issue on this host? Yes, if you've disabled notifications for the host. > I tried earlier to disable all checking of the host in this case and > that gives me a host unreachable alert when the service goes down. > That > makes sense since the host can't be checked, but I don't want it going > into that bogus state. To get an unreachable state, a parent for this host would have had to return a non-OK result. If you don't want that, find out why the parent returned a non-OK state or remove the parents definition. > What would probably be ideal is if Nagios had some way of marking a > host > as being irrelevanet. That is, the service would sort of stand alone > without any host dependency in terms of monitoring. Kind of strange, > though. 90% of my hosts are like this. No parents, no check_command and check_period none. Most of what I monitor are routers, that I only care about pinging. I have a ping service and no checks of the host at all. Notifications only come for the service. -- Marc ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave.list at pixelhammer.com Wed Jul 8 18:15:08 2009 From: dave.list at pixelhammer.com (DAve) Date: Wed, 08 Jul 2009 12:15:08 -0400 Subject: hostgroups causing hairloss Message-ID: <4A54C60C.3020905@pixelhammer.com> I am at a point that I am looking for gremlins, no other cause can be found. I am replacing a very old Nagios install with Nagios 3.0.6, no importing, a fresh install, new hardware, a network audit and entering all hosts and services manually. It seems that no matter what I do I keep getting some hosts added to a host group, even though I clearly did not define them as part of the host group. My hostgroups.cfg, ############################################################################### define hostgroup { hostgroup_name AUTH_DNS alias Authoritative DNS members CDC-Ns1auth,CDC-NSMS,IDC-Ns2auth,SDC-Ns3auth } define hostgroup { hostgroup_name CACHE_DNS alias Caching DNS members CDC-Dnscache,CDC-Ns1,IDC-Ns2,SDC-Ns3 } My hosts/CDC-Ns1auth.cfg, ############################################################################### define host { host_name CDC-Ns1auth alias ns1auth.tls.net display_name TLS DNS server address 65.124.104.30 parents null hostgroups null check_command check-host-alive use generic-host initial_state o max_check_attempts 3 check_interval 15 retry_interval 1 check_period 24x7 process_perf_data 1 retain_status_information 1 contact_groups host-oncall notification_interval 15 notification_period 24x7 notification_options d,u,r register 1 } Everything looks fine, but when I start Nagios and look at View Config->Object Type->Host Groups, I see this! Group Name Description Host Members CACHE_DNS Caching DNS service CDC-Dnscache , CDC-Ns1 , CDC-Ns1auth , IDC-Ns2 , IDC-Ns2auth , SDC-Ns3 , SDC-Ns3auth The CACHE_DNS host group should only contain CDC-Ns1, IDC-Ns2, and SDC-Ns3. Why are the other hosts in there? I have tried renaming, I have tried starting fresh with new config files, new retention data, new object cache. Yet the hostgroup CACHE_DNS still contains hosts I did not define to be there. Any help is appreciated, clues, clue bats, links, (yes I looked at the change log and searched for an answer, no luck). Thanks, DAve -- "Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it." John Quincy Adams http://appleseedinfo.org ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john at andrunas.net Wed Jul 8 18:29:13 2009 From: john at andrunas.net (John Andrunas) Date: Wed, 8 Jul 2009 09:29:13 -0700 Subject: Nagios Daemon Verbosity Message-ID: <9c4cd14a0907080929m3a63e8e9p69645800b40fb995@mail.gmail.com> Anyone know of a way to increase the verbosity of the actual Nagios Daemon? I am trying to track down an issue (see my message from yesterday), but Nagios only logs the checks/alerts etc. I would like to turn on debugging of some sort but I don't see any way of doing so. -- John ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 8 18:38:54 2009 From: darose at darose.net (David Rosenstrauch) Date: Wed, 08 Jul 2009 12:38:54 -0400 Subject: monitoring unreachable hosts In-Reply-To: References: Message-ID: <4A54CB9E.602@darose.net> Frost, Mark {PBG} wrote: > This topic of unreachable hosts that's come up recently has got me > thinking about an issue we have. We have a few hosts that are behind > proxies and as such are impossible to ping. They have a single service > which we can check through the proxy successfully. > > I'm a little stuck on what to do with the host checks. Might a passive check be the solution here? I.e., instead of having the nagios box do an active check and try to connect out to the external hosts, perhaps there's a way to have the external host connect in to the nagios box periodically and say "I'm still here". HTH, DR ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Wed Jul 8 19:01:57 2009 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Wed, 8 Jul 2009 13:01:57 -0400 Subject: monitoring unreachable hosts In-Reply-To: <4A54CB9E.602@darose.net> References: <4A54CB9E.602@darose.net> Message-ID: >-----Original Message----- >From: David Rosenstrauch [mailto:darose at darose.net] >Sent: Wednesday, July 08, 2009 12:39 PM >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] monitoring unreachable hosts > >Frost, Mark {PBG} wrote: >> This topic of unreachable hosts that's come up recently has got me >> thinking about an issue we have. We have a few hosts that are behind >> proxies and as such are impossible to ping. They have a single >service >> which we can check through the proxy successfully. >> >> I'm a little stuck on what to do with the host checks. > >Might a passive check be the solution here? I.e., instead of having the >nagios box do an active check and try to connect out to the external >hosts, perhaps there's a way to have the external host connect in to the >nagios box periodically and say "I'm still here". > >HTH, > >DR In my case, this is a host that we have no administrative access to. Imagine that you're monitoring yahoo.com :-) It just seems like while the host check is an integral part of the process (in terms of the way that Nagios looks at things), it's also completely pointless and actually gets in the way here. Mark ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rijilv at riji.lv Wed Jul 8 18:13:54 2009 From: rijilv at riji.lv (RijilV) Date: Wed, 8 Jul 2009 09:13:54 -0700 Subject: Check result used as an argument for the next check In-Reply-To: <1247050069.3471.6.camel@MADness> References: <1247050069.3471.6.camel@MADness> Message-ID: <5068c6420907080913o3af6c85cl854fb8f198506878@mail.gmail.com> 2009/7/8 Marc-Andr? Doll : > Is there a way to use the result of a check (the return value or the > output for example) as an argument for the next check. I need to keep an > history of the checks of one particular service in order to compare the > previous check result with the current one. > > I thought to use the $SERVICESTATEID$ and $SERVICEOUTPUT$ macros but the > documentation says that would make no sense because they are not > initialized when a check is running. > > Marc-Andr? Doll I use $SERVICEPERFDATA$ all the time in my service check commands and it works fine, I imagine you can use $SERVICEOUTPUT$ too. It isn't difficult to test, just write a little check command to spit the unixtime stamp and whatever you pass to it back out, and feed it the $SERVICEOUTPUT$ as an arguement. .r' ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ena.com Wed Jul 8 19:05:17 2009 From: marc at ena.com (Marc Powell) Date: Wed, 8 Jul 2009 12:05:17 -0500 Subject: Nagios Daemon Verbosity In-Reply-To: <9c4cd14a0907080929m3a63e8e9p69645800b40fb995@mail.gmail.com> References: <9c4cd14a0907080929m3a63e8e9p69645800b40fb995@mail.gmail.com> Message-ID: <11CEC72C-8C9E-4503-8764-08071DB9ACFB@ena.com> On Jul 8, 2009, at 11:29 AM, John Andrunas wrote: > Anyone know of a way to increase the verbosity of the actual Nagios > Daemon? I am trying to track down an issue (see my message from > yesterday), but Nagios only logs the checks/alerts etc. I would like > to turn on debugging of some sort but I don't see any way of doing so. You don't say what version of nagios you are using. In version 2.x and prior, debug options are set at compile time and passed via --enable-DEBUG[x] parameters to ./configure (./configure -- help). In version 3.x, debug options are set in the main config file. http://nagios.sourceforge.net/docs/3_0/configmain.html -- Marc ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 8 19:15:12 2009 From: darose at darose.net (David Rosenstrauch) Date: Wed, 08 Jul 2009 13:15:12 -0400 Subject: hostgroups causing hairloss In-Reply-To: <4A54C60C.3020905@pixelhammer.com> References: <4A54C60C.3020905@pixelhammer.com> Message-ID: <4A54D420.3090601@darose.net> DAve wrote: > Everything looks fine, but when I start Nagios and look at View > Config->Object Type->Host Groups, I see this! > > Group Name Description Host Members > CACHE_DNS Caching DNS service CDC-Dnscache , CDC-Ns1 , CDC-Ns1auth , > IDC-Ns2 , IDC-Ns2auth , SDC-Ns3 , SDC-Ns3auth > > The CACHE_DNS host group should only contain CDC-Ns1, IDC-Ns2, and > SDC-Ns3. Probably not a coincidence that CDC-Ns1auth starts with CDC-Ns1. Sounds like it's using CDC-Ns1 as a prefix to match hostnames, rather than as an actual hostname. Looks like there's config setting in 3.0 called use_regexp_matching which might control that. Perhaps in your old config file that was somehow turned on. (Or perhaps not defined at all, and on is the default.) Who knows what other old settings you're inheriting too. It's probably best for you to scrap your old config, and start fresh with a new 3.0 config file, then adopt it to your needs (i.e., point it to whatever custom definitions/definition-files you've created). HTH, DR ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmelin at gmail.com Wed Jul 8 19:15:15 2009 From: mmelin at gmail.com (Martin Melin) Date: Wed, 8 Jul 2009 19:15:15 +0200 Subject: hostgroups causing hairloss In-Reply-To: <4A54C60C.3020905@pixelhammer.com> References: <4A54C60C.3020905@pixelhammer.com> Message-ID: Something that immediately comes to mind: What are your regex_matching settings? use_regex_matching and use_true_regex_matching Regards Martin On Wed, Jul 8, 2009 at 6:15 PM, DAve wrote: > I am at a point that I am looking for gremlins, no other cause can be > found. > > I am replacing a very old Nagios install with Nagios 3.0.6, no > importing, a fresh install, new hardware, a network audit and entering > all hosts and services manually. It seems that no matter what I do I > keep getting some hosts added to a host group, even though I clearly did > not define them as part of the host group. > > My hostgroups.cfg, > > ############################################################################### > define hostgroup { > hostgroup_name AUTH_DNS > alias Authoritative DNS > members CDC-Ns1auth,CDC-NSMS,IDC-Ns2auth,SDC-Ns3auth > } > > define hostgroup { > hostgroup_name CACHE_DNS > alias Caching DNS > members CDC-Dnscache,CDC-Ns1,IDC-Ns2,SDC-Ns3 > } > > My hosts/CDC-Ns1auth.cfg, > > ############################################################################### > define host { > host_name CDC-Ns1auth > alias ns1auth.tls.net > display_name TLS DNS server > address 65.124.104.30 > parents null > hostgroups null > check_command check-host-alive > use generic-host > initial_state o > max_check_attempts 3 > check_interval 15 > retry_interval 1 > check_period 24x7 > process_perf_data 1 > retain_status_information 1 > contact_groups host-oncall > notification_interval 15 > notification_period 24x7 > notification_options d,u,r > register 1 > } > > Everything looks fine, but when I start Nagios and look at View > Config->Object Type->Host Groups, I see this! > > Group Name Description Host Members > CACHE_DNS Caching DNS service CDC-Dnscache , CDC-Ns1 , > CDC-Ns1auth , > IDC-Ns2 , IDC-Ns2auth , SDC-Ns3 , SDC-Ns3auth > > The CACHE_DNS host group should only contain CDC-Ns1, IDC-Ns2, and > SDC-Ns3. Why are the other hosts in there? I have tried renaming, I have > tried starting fresh with new config files, new retention data, new > object cache. Yet the hostgroup CACHE_DNS still contains hosts I did not > define to be there. > > Any help is appreciated, clues, clue bats, links, (yes I looked at the > change log and searched for an answer, no luck). > > Thanks, > > DAve > > > -- > "Posterity, you will know how much it cost the present generation to > preserve your freedom. I hope you will make good use of it. If you > do not, I shall repent in heaven that ever I took half the pains to > preserve it." John Quincy Adams > > http://appleseedinfo.org > > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 8 19:26:07 2009 From: darose at darose.net (David Rosenstrauch) Date: Wed, 08 Jul 2009 13:26:07 -0400 Subject: monitoring unreachable hosts In-Reply-To: References: <4A54CB9E.602@darose.net> Message-ID: <4A54D6AF.1050608@darose.net> Frost, Mark {PBG} wrote: > >> -----Original Message----- >> From: David Rosenstrauch [mailto:darose at darose.net] >> Sent: Wednesday, July 08, 2009 12:39 PM >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] monitoring unreachable hosts >> >> Frost, Mark {PBG} wrote: >>> This topic of unreachable hosts that's come up recently has got me >>> thinking about an issue we have. We have a few hosts that are behind >>> proxies and as such are impossible to ping. They have a single >> service >>> which we can check through the proxy successfully. >>> >>> I'm a little stuck on what to do with the host checks. >> Might a passive check be the solution here? I.e., instead of having > the >> nagios box do an active check and try to connect out to the external >> hosts, perhaps there's a way to have the external host connect in to > the >> nagios box periodically and say "I'm still here". >> >> HTH, >> >> DR > > In my case, this is a host that we have no administrative access to. > Imagine that you're monitoring yahoo.com :-) > > It just seems like while the host check is an integral part of the > process (in terms of the way that Nagios looks at things), it's also > completely pointless and actually gets in the way here. > > Mark Hmmm .... OK, well couldn't you just remove the check_command for those hosts? From the "define host" docs: "check_command: This directive is used to specify the short name of the command that should be used to check if the host is up or down. Typically, this command would try and ping the host to see if it is "alive". ... If you leave this argument blank, the host will not be actively checked. Thus, Nagios will likely always assume the host is up (it may show up as being in a "PENDING" state in the web interface). This is useful if you are monitoring printers or other devices that are frequently turned off. ..." DR ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From naloi at experisdatacenters.com Wed Jul 8 19:06:28 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Wed, 08 Jul 2009 17:06:28 +0000 Subject: basic nagios/linux info needed Message-ID: Hello all, I am attempting to install nagios on a new server...I wanted to use nag-3.0.6 but there is no rpm for it and I have been frustrated trying to use rpmbuild to create what I need, so since its a new server (or relatively blank) I tried this: Based on this info below 1. is it a problem unable to send message to package kit? 2. What does yum actually do? Does it install nagios so that I don't have to compile binaries, etc? thanks! [root at dns /]# yum install nagios Loaded plugins: refresh-packagekit Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check ---> Package nagios.i386 0:2.11-3.fc9 set to be updated --> Finished Dependency Resolution Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: nagios i386 2.11-3.fc9 fedora 2.1 M Transaction Summary ============================================================================= Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 2.1 M Is this ok [y/N]: y Downloading Packages: (1/1): nagios-2.11-3.fc9.i386.rpm | 2.1 MB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: nagios ######################### [1/1] Unable to send message to PackageKit Installed: nagios.i386 0:2.11-3.fc9 Complete! [root at dns /]# pwd / [root at dns /]# find . -name nagios* -print ./usr/bin/nagiostats ./usr/sbin/nagios ./usr/lib/nagios ./usr/share/nagios ./usr/share/nagios/html/images/logos/nagios.gif ./usr/share/nagios/html/images/logos/nagiosvrml.png ./usr/share/nagios/html/images/logos/nagios.gd2 ./usr/share/nagios/html/docs/nagiostats.html ./usr/share/doc/nagios-2.11 ./usr/share/selinux/targeted/nagios.pp ./var/spool/nagios ./var/log/nagios ./etc/nagios ./etc/nagios/nagios.cfg ./etc/rc.d/init.d/nagios ./etc/logrotate.d/nagios ./etc/httpd/conf.d/nagios.conf ./etc/selinux/targeted/modules/active/modules/nagios.pp Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:naloi at experisdatacenters.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From naloi at experisdatacenters.com Wed Jul 8 19:46:22 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Wed, 08 Jul 2009 17:46:22 +0000 Subject: basic nagios/linux info needed Message-ID: Fedora 9 -----Original Message----- From: Max Hetrick [mailto:maxhetrick at verizon.net] Sent: Wednesday, July 8, 2009 01:41 PM To: 'Natalie Aloi' Subject: Re: [Nagios-users] basic nagios/linux info needed Natalie Aloi wrote: > Hello all, I am attempting to install nagios on a new server...I wanted > to use nag-3.0.6 but there is no rpm for it and I have been frustrated > trying to use rpmbuild > to create what I need, so since its a new server (or relatively blank) I > tried this: > Based on this info below 1. is it a problem unable to send message > to package kit? > 2. What does yum actually do? Does it install nagios so that I don't > have to compile binaries, etc? What OS are you using? Regards, Max -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 8 20:04:36 2009 From: darose at darose.net (David Rosenstrauch) Date: Wed, 08 Jul 2009 14:04:36 -0400 Subject: basic nagios/linux info needed In-Reply-To: References: Message-ID: <4A54DFB4.7060008@darose.net> Natalie Aloi wrote: > Hello all, I am attempting to install nagios on a new server...I wanted to use nag-3.0.6 but there is no rpm for it There's a nagios RPM available through the rpmforge repos: How to configure to use RPMforge ? http://dag.wieers.com/rpm/FAQ.php#B2 HTH, DR ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlitwin at stubhub.com Wed Jul 8 19:29:31 2009 From: mlitwin at stubhub.com (Litwin, Matthew) Date: Wed, 8 Jul 2009 10:29:31 -0700 Subject: Banner Text in status.cgi Message-ID: How can one change the "Location" red banner text that is on the top of the status page? I did a grep for the text and it was a string inside status.cgi. Is set up at compile time somehow? That doesn't seem right... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john at andrunas.net Wed Jul 8 20:05:40 2009 From: john at andrunas.net (John Andrunas) Date: Wed, 8 Jul 2009 11:05:40 -0700 Subject: Nagios Daemon Verbosity In-Reply-To: <11CEC72C-8C9E-4503-8764-08071DB9ACFB@ena.com> References: <9c4cd14a0907080929m3a63e8e9p69645800b40fb995@mail.gmail.com> <11CEC72C-8C9E-4503-8764-08071DB9ACFB@ena.com> Message-ID: <9c4cd14a0907081105j43abda31ia548ac18d090138@mail.gmail.com> Sorry running 3.0.6 compiled from source. I will take a look at the configure options. On Wed, Jul 8, 2009 at 10:05 AM, Marc Powell wrote: > > On Jul 8, 2009, at 11:29 AM, John Andrunas wrote: > >> Anyone know of a way to increase the verbosity of the actual Nagios >> Daemon? ?I am trying to track down an issue (see my message from >> yesterday), but Nagios only logs the checks/alerts etc. ?I would like >> to turn on debugging of some sort but I don't see any way of doing so. > > You don't say what version of nagios you are using. > > In version 2.x and prior, debug options are set at compile time and > passed via --enable-DEBUG[x] parameters to ./configure (./configure -- > help). > > In version 3.x, debug options are set in the main config file. ?http://nagios.sourceforge.net/docs/3_0/configmain.html > > -- > Marc > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- John ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Wed Jul 8 20:05:59 2009 From: guidosh at gmail.com (Guy Waugh) Date: Wed, 8 Jul 2009 19:05:59 +0100 Subject: basic nagios/linux info needed In-Reply-To: References: Message-ID: Hi Natalie, I don't know the answer to Question 1... might be worth googling for. In answer to Question 2, yum is, to quote from the first result of my google search for 'man yum', "an interactive, automated update program which can be used for maintaining systems using rpm". Basically, yum is a system that allows an administrator to download and install pre-built software packages from a repository. So, yes, it has installed nagios for you, so you don't have to compile binaries etc. However, it is nagios 2 rather than nagios 3. Cheers, Guy. On Wed, Jul 8, 2009 at 6:06 PM, Natalie Aloi wrote: > Hello all, I am attempting to install nagios on a new server...I wanted > to use nag-3.0.6 but there is no rpm for it and I have been frustrated > trying to use rpmbuild > to create what I need, so since its a new server (or relatively blank) I > tried this: > Based on this info below 1. is it a problem unable to send message > to package kit? > 2. What does yum actually do? Does it install nagios so that I don't have > to compile binaries, etc? > > thanks! > > [root at dns /]# yum install nagios > Loaded plugins: refresh-packagekit > Setting up Install Process > Parsing package install arguments > Resolving Dependencies > --> Running transaction check > ---> Package nagios.i386 0:2.11-3.fc9 set to be updated > --> Finished Dependency Resolution > Dependencies Resolved > > ============================================================================= > Package Arch Version Repository Size > > ============================================================================= > Installing: > nagios i386 2.11-3.fc9 fedora 2.1 > M > Transaction Summary > > ============================================================================= > Install 1 Package(s) > Update 0 Package(s) > Remove 0 Package(s) > Total download size: 2.1 M > Is this ok [y/N]: y > Downloading Packages: > (1/1): nagios-2.11-3.fc9.i386.rpm | 2.1 MB 00:00 > Running rpm_check_debug > Running Transaction Test > Finished Transaction Test > Transaction Test Succeeded > Running Transaction > Installing: nagios ######################### [1/1] > Unable to send message to PackageKit > Installed: nagios.i386 0:2.11-3.fc9 > Complete! > [root at dns /]# pwd > / > [root at dns /]# find . -name nagios* -print > ./usr/bin/nagiostats > ./usr/sbin/nagios > ./usr/lib/nagios > ./usr/share/nagios > ./usr/share/nagios/html/images/logos/nagios.gif > ./usr/share/nagios/html/images/logos/nagiosvrml.png > ./usr/share/nagios/html/images/logos/nagios.gd2 > ./usr/share/nagios/html/docs/nagiostats.html > ./usr/share/doc/nagios-2.11 > ./usr/share/selinux/targeted/nagios.pp > ./var/spool/nagios > ./var/log/nagios > ./etc/nagios > ./etc/nagios/nagios.cfg > ./etc/rc.d/init.d/nagios > ./etc/logrotate.d/nagios > ./etc/httpd/conf.d/nagios.conf > ./etc/selinux/targeted/modules/active/modules/nagios.pp > Network Operations Center Manager > Experis Data Center LLC > 8209 Valley Pike > PO Box 535 > Middletown,VA 22645 > phone:540-869-8702 > cell:240-988-3267 > fax:540-869-8710 > e-mail:naloi at experisdatacenters.com > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john at andrunas.net Wed Jul 8 20:15:48 2009 From: john at andrunas.net (John Andrunas) Date: Wed, 8 Jul 2009 11:15:48 -0700 Subject: Nagios Daemon Verbosity In-Reply-To: <9c4cd14a0907081105j43abda31ia548ac18d090138@mail.gmail.com> References: <9c4cd14a0907080929m3a63e8e9p69645800b40fb995@mail.gmail.com> <11CEC72C-8C9E-4503-8764-08071DB9ACFB@ena.com> <9c4cd14a0907081105j43abda31ia548ac18d090138@mail.gmail.com> Message-ID: <9c4cd14a0907081115y14399bd4pd2bdfdd47840d8b9@mail.gmail.com> Man I swear I looked at that page a million times, not sure how I missed it. Thanks! On Wed, Jul 8, 2009 at 11:05 AM, John Andrunas wrote: > Sorry running 3.0.6 compiled from source. ?I will take a look at the > configure options. > > On Wed, Jul 8, 2009 at 10:05 AM, Marc Powell wrote: >> >> On Jul 8, 2009, at 11:29 AM, John Andrunas wrote: >> >>> Anyone know of a way to increase the verbosity of the actual Nagios >>> Daemon? ?I am trying to track down an issue (see my message from >>> yesterday), but Nagios only logs the checks/alerts etc. ?I would like >>> to turn on debugging of some sort but I don't see any way of doing so. >> >> You don't say what version of nagios you are using. >> >> In version 2.x and prior, debug options are set at compile time and >> passed via --enable-DEBUG[x] parameters to ./configure (./configure -- >> help). >> >> In version 3.x, debug options are set in the main config file. ?http://nagios.sourceforge.net/docs/3_0/configmain.html >> >> -- >> Marc >> >> >> ------------------------------------------------------------------------------ >> Enter the BlackBerry Developer Challenge >> This is your chance to win up to $100,000 in prizes! For a limited time, >> vendors submitting new applications to BlackBerry App World(TM) will have >> the opportunity to enter the BlackBerry Developer Challenge. See full prize >> details at: http://p.sf.net/sfu/Challenge >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > John > -- John ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave.list at pixelhammer.com Wed Jul 8 20:18:36 2009 From: dave.list at pixelhammer.com (DAve) Date: Wed, 08 Jul 2009 14:18:36 -0400 Subject: hostgroups causing hairloss In-Reply-To: <4A54D420.3090601@darose.net> References: <4A54C60C.3020905@pixelhammer.com> <4A54D420.3090601@darose.net> Message-ID: <4A54E2FC.5010406@pixelhammer.com> David Rosenstrauch wrote: > DAve wrote: >> Everything looks fine, but when I start Nagios and look at View >> Config->Object Type->Host Groups, I see this! >> >> Group Name Description Host Members >> CACHE_DNS Caching DNS service CDC-Dnscache , CDC-Ns1 , CDC-Ns1auth , >> IDC-Ns2 , IDC-Ns2auth , SDC-Ns3 , SDC-Ns3auth >> >> The CACHE_DNS host group should only contain CDC-Ns1, IDC-Ns2, and >> SDC-Ns3. > > Probably not a coincidence that CDC-Ns1auth starts with CDC-Ns1. Sounds > like it's using CDC-Ns1 as a prefix to match hostnames, rather than as > an actual hostname. > > Looks like there's config setting in 3.0 called use_regexp_matching > which might control that. Perhaps in your old config file that was > somehow turned on. (Or perhaps not defined at all, and on is the default.) > > Who knows what other old settings you're inheriting too. It's probably > best for you to scrap your old config, and start fresh with a new 3.0 > config file, then adopt it to your needs (i.e., point it to whatever > custom definitions/definition-files you've created). As I did, this is an all new install, everything is being re-done after a complete host and service audit of our network. There are no old configs in use. Matching, hmmmm, that sticks in my mind somewhere. Time to go read the docs yet again for what I may have missed. DAve -- "Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it." John Quincy Adams http://appleseedinfo.org ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave.list at pixelhammer.com Wed Jul 8 20:19:45 2009 From: dave.list at pixelhammer.com (DAve) Date: Wed, 08 Jul 2009 14:19:45 -0400 Subject: hostgroups causing hairloss In-Reply-To: References: <4A54C60C.3020905@pixelhammer.com> Message-ID: <4A54E341.2020400@pixelhammer.com> Martin Melin wrote: > Something that immediately comes to mind: > > What are your regex_matching settings? use_regex_matching and > use_true_regex_matching Ahhh! You are correct sir, thank you. I totally and completely missed that new feature. Thank you. DAve > > Regards > Martin > > On Wed, Jul 8, 2009 at 6:15 PM, DAve > wrote: > > I am at a point that I am looking for gremlins, no other cause can > be found. > > I am replacing a very old Nagios install with Nagios 3.0.6, no > importing, a fresh install, new hardware, a network audit and entering > all hosts and services manually. It seems that no matter what I do I > keep getting some hosts added to a host group, even though I clearly did > not define them as part of the host group. > > My hostgroups.cfg, > ############################################################################### > define hostgroup { > hostgroup_name AUTH_DNS > alias Authoritative DNS > members CDC-Ns1auth,CDC-NSMS,IDC-Ns2auth,SDC-Ns3auth > } > > define hostgroup { > hostgroup_name CACHE_DNS > alias Caching DNS > members CDC-Dnscache,CDC-Ns1,IDC-Ns2,SDC-Ns3 > } > > My hosts/CDC-Ns1auth.cfg, > ############################################################################### > define host { > host_name CDC-Ns1auth > alias ns1auth.tls.net > > display_name TLS DNS server > address 65.124.104.30 > parents null > hostgroups null > check_command check-host-alive > use generic-host > initial_state o > max_check_attempts 3 > check_interval 15 > retry_interval 1 > check_period 24x7 > process_perf_data 1 > retain_status_information 1 > contact_groups host-oncall > notification_interval 15 > notification_period 24x7 > notification_options d,u,r > register 1 > } > > Everything looks fine, but when I start Nagios and look at View > Config->Object Type->Host Groups, I see this! > > Group Name Description Host Members > CACHE_DNS Caching DNS service CDC-Dnscache , CDC-Ns1 , > CDC-Ns1auth , > IDC-Ns2 , IDC-Ns2auth , SDC-Ns3 , SDC-Ns3auth > > The CACHE_DNS host group should only contain CDC-Ns1, IDC-Ns2, and > SDC-Ns3. Why are the other hosts in there? I have tried renaming, I have > tried starting fresh with new config files, new retention data, new > object cache. Yet the hostgroup CACHE_DNS still contains hosts I did not > define to be there. > > Any help is appreciated, clues, clue bats, links, (yes I looked at the > change log and searched for an answer, no luck). > > Thanks, > > DAve > > > -- > "Posterity, you will know how much it cost the present generation to > preserve your freedom. I hope you will make good use of it. If you > do not, I shall repent in heaven that ever I took half the pains to > preserve it." John Quincy Adams > > http://appleseedinfo.org -- "Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it." John Quincy Adams http://appleseedinfo.org ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxhetrick at verizon.net Wed Jul 8 20:05:50 2009 From: maxhetrick at verizon.net (Max Hetrick) Date: Wed, 08 Jul 2009 14:05:50 -0400 Subject: basic nagios/linux info needed In-Reply-To: References: Message-ID: <4A54DFFE.9000809@verizon.net> Natalie Aloi wrote: > Fedora 9 Oh, ok. I know RPMForge has RPMs for some Fedora versions, but I think they only go up to Fedora 4 or 5. I'm running CentOS and have 3.0.6 running from their RPMs. Regards, Max ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 8 22:56:42 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 8 Jul 2009 16:56:42 -0400 Subject: External Command File Error Message-ID: Hi there - I completed the installation of the Nagios 3.1.2 application onto our CentOS 5.3 server. Everything appears to be working fine with one noticeable exception: If I go to the host information page of any host, and select Schedule a check of all services on the host, and subsequently click on commit, I get the following error: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occurred while attempting to commit your command for processing. I went through and verified the following: 1. The nagios user account has the bash shell. 2. The permissions on the nagios directory, and its subdirectories are as follows: user:group ownership = nagios:nagios permissions = rwxrwxrwx What did I miss here, and what can I do to 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 -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ena.com Thu Jul 9 00:03:19 2009 From: marc at ena.com (Marc Powell) Date: Wed, 8 Jul 2009 17:03:19 -0500 Subject: External Command File Error In-Reply-To: References: Message-ID: <51728EAA-28CB-496F-B0AF-F28F92FFEFFD@ena.com> On Jul 8, 2009, at 3:56 PM, Kaplan, Andrew H. wrote: > Hi there - > > I completed the installation of the Nagios 3.1.2 application onto > our CentOS 5.3 server. Everything appears > to be working fine with one noticeable exception: If I go to the > host information page of any host, and select > Schedule a check of all services on the host, and subsequently click > on commit, I get the following error: > > Error: Could not open command file '/usr/local/nagios/var/rw/ > nagios.cmd' for update! > > The permissions on the external command file and/or directory may be > incorrect. > Read the FAQs on how to setup proper permissions. > > An error occurred while attempting to commit your command for > processing. > > I went through and verified the following: > > 1. The nagios user account has the bash shell. > 2. The permissions on the nagios directory, and its subdirectories > are as follows: > user:group ownership = nagios:nagios > permissions = rwxrwxrwx > > What did I miss here, and what can I do to correct it? Thanks. > Does /usr/local/nagios/var/rw exist? If not run 'make install- commandmode' if you installed from source code. Does /usr/local/nagios/var/rw/nagios.cmd exist after starting nagios? If not, verify that you've set check_external_commands and related options in nagios.cfg. Is the ownership of /usr/local/nagios/var/rw nagios:nagios? If so, review the Fedora Quickstart Guide, specifically Step 1, Create Account Information; you've missed setting the ownership of the files and apache group membership correctly. Apache will need to be restarted after making those changes. Do you have SELinux enabled and in enforcing mode? If so, is your policy preventing access to that directory and named pipe? -- Marc ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 9 00:40:08 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 8 Jul 2009 18:40:08 -0400 Subject: External Command File Error References: <51728EAA-28CB-496F-B0AF-F28F92FFEFFD@ena.com> Message-ID: Hi there -- Thanks for your reply. The answers to your questions are the following: Does /usr/local/nagios/var/rw exist? Yes, it does. Does /usr/local/nagios/var/rw/nagios.cmd exist after starting nagios? Yes, it does. The external commands option is set to "1" in the nagios.cfg file. Is the ownership of /usr/local/nagios/var/rw nagios:nagios? Yes, the ownership is set to nagios:nagios. Is the ownership of /usr/local/nagios/var/rw nagios:nagios? If so, review the Fedora Quickstart Guide, specifically Step 1, Create Account Information; you've missed setting the ownership of the files and apache group membership correctly. Apache will need to be restarted after making those changes. I went ahead and ran the usermod command for Apache that was mentioned in step one of the Fedora Quickstart guide. Once that was done, I restarted Apache, and that appears to have solved the problem. Thanks for the help. -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Wed 7/8/2009 6:03 PM To: Nagios Users Mail-list Subject: Re: [Nagios-users] External Command File Error On Jul 8, 2009, at 3:56 PM, Kaplan, Andrew H. wrote: > Hi there - > > I completed the installation of the Nagios 3.1.2 application onto > our CentOS 5.3 server. Everything appears > to be working fine with one noticeable exception: If I go to the > host information page of any host, and select > Schedule a check of all services on the host, and subsequently click > on commit, I get the following error: > > Error: Could not open command file '/usr/local/nagios/var/rw/ > nagios.cmd' for update! > > The permissions on the external command file and/or directory may be > incorrect. > Read the FAQs on how to setup proper permissions. > > An error occurred while attempting to commit your command for > processing. > > I went through and verified the following: > > 1. The nagios user account has the bash shell. > 2. The permissions on the nagios directory, and its subdirectories > are as follows: > user:group ownership = nagios:nagios > permissions = rwxrwxrwx > > What did I miss here, and what can I do to correct it? Thanks. > Does /usr/local/nagios/var/rw exist? If not run 'make install- commandmode' if you installed from source code. Does /usr/local/nagios/var/rw/nagios.cmd exist after starting nagios? If not, verify that you've set check_external_commands and related options in nagios.cfg. Is the ownership of /usr/local/nagios/var/rw nagios:nagios? If so, review the Fedora Quickstart Guide, specifically Step 1, Create Account Information; you've missed setting the ownership of the files and apache group membership correctly. Apache will need to be restarted after making those changes. Do you have SELinux enabled and in enforcing mode? If so, is your policy preventing access to that directory and named pipe? -- Marc ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null 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. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From selliott at unwiredbb.com Thu Jul 9 01:07:59 2009 From: selliott at unwiredbb.com (Shon Elliott) Date: Wed, 8 Jul 2009 16:07:59 -0700 Subject: Weird issue with check_ping Message-ID: <43BAB891D6D01742AFDEA3D62DCE9E5D251571@uwbb-cat2.unwiredbb.local> occasionally, I'll get a response that flags nagios to go critical: /sbin/ping -n -c 5 10.1.1.1 CRITICAL - Could not interpret output from ping command This happens maybe once or twice a day. Is it getting confused with something else? It doesn't seem to happen on any consistant basis, or with any particular host we are monitoring, and does not appear that the host has stopped responding via a normal ping when this happens. Regards, Shon Elliott Senior Network Engineer unWired Broadband, Inc. Office: (559) 261-4444 x 511 Cell: (559) 917-6480 ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 9 04:56:10 2009 From: subscription at kkeane.com (Kevin Keane) Date: Wed, 08 Jul 2009 19:56:10 -0700 Subject: Weird issue with check_ping In-Reply-To: <43BAB891D6D01742AFDEA3D62DCE9E5D251571@uwbb-cat2.unwiredbb.local> References: <43BAB891D6D01742AFDEA3D62DCE9E5D251571@uwbb-cat2.unwiredbb.local> Message-ID: <4A555C4A.20201@kkeane.com> I've seen this happen when ping returned an error. In my case, it was actually ping6 because it had a bad IPv6 address configured. Since it's intermittent in your case, most likely the root cause is something else, but ping is still returning an error. If I had to venture a guess, maybe it's "destination unreachable" - which would indicate a real problem in your network. If 10.1.1.1 is on a different subnet, it would be a routing issue. If it's on the same subnet, it's probably an ARP resolution issue. But all that is guesswork. You'd have to catch ping in the act and see what it really returns. I don't see any options in check_ping that could give you that information, but maybe you can write your own shell script that watches for ping error messages and logs them or reports them as check results. Shon Elliott wrote: > occasionally, I'll get a response that flags nagios to go critical: > > /sbin/ping -n -c 5 10.1.1.1 > CRITICAL - Could not interpret output from ping command > > This happens maybe once or twice a day. Is it getting confused with > something else? > > It doesn't seem to happen on any consistant basis, or with any > particular host we are monitoring, and does not appear that the host has > stopped responding via a normal ping when this happens. > > > Regards, > Shon Elliott > Senior Network Engineer > unWired Broadband, Inc. > Office: (559) 261-4444 x 511 > Cell: (559) 917-6480 > > > > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chethan.mnc at wipro.com Thu Jul 9 06:22:20 2009 From: chethan.mnc at wipro.com (chethan.mnc at wipro.com) Date: Thu, 9 Jul 2009 09:52:20 +0530 Subject: Monitoring Eventlogs on windows server Message-ID: Dear All, I m using Nagios 3 running on Rhel 5. I am monitoring windows server using NS Client++. How can I monitor eventlogs on the windows server? PLease let me know the same. I referred check_nt options and didnt find how to monitor critical events from the eventlogs(system,applicaion,security). PLease help. Thanks & Regards, Chethan M N -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jd at op5.com Thu Jul 9 09:06:05 2009 From: jd at op5.com (Johannes Dagemark) Date: Thu, 09 Jul 2009 09:06:05 +0200 Subject: monitoring unreachable hosts In-Reply-To: References: Message-ID: <4A5596DD.8060009@op5.com> Hi Mark Frost, Mark {PBG} wrote: > This topic of unreachable hosts that's come up recently has got me > thinking about an issue we have. We have a few hosts that are behind > proxies and as such are impossible to ping. They have a single service > which we can check through the proxy successfully. > > Why not simply use this check then as the host check as well as the service check? Cheers Johannes > I'm a little stuck on what to do with the host checks. I can supress > the alerts, but they still always show as critical (kind of permanently > critical). Maybe I'm too anal, but I don't like that. It's > meaningless. So I was thinking of making the host check command > identical to the service check command. The end result being that if > the service is up, the host will also show up, if the service is down, > the host will also show down. Still weird, but at least kind of > conceptually correct. > > What concerns me about is the my understanding of how host and service > checks would work in this case. If the service check fails, it's going > to want to fallback and try the host check which will fail also because > it's running the exact same check as the service. However, what if > I've disabled notfications on the host itself? That is, I really only > ever want service alerts -- no host alerts. In the case of a normal set > of host/service checks, Nagios will notice that the host is down, > suppress alerts about all the services being down and send out only a > "host is down" alert. > > In the scenario where the host and service checks are the same and the > host notifications are disabled, wouldn't a service alert be suppressed > and I'd never hear about an issue on this host? Again, conceptually, > the service result is all that's meaningful. Maybe Nagios is smarter > than that and would decide that since the host notifications were > disabled that it would go ahead and send the service alerts anyway? I > guess this could be an issue with any host that has notifications > disabled now that I think about it. > > I tried earlier to disable all checking of the host in this case and > that gives me a host unreachable alert when the service goes down. That > makes sense since the host can't be checked, but I don't want it going > into that bogus state. > > What would probably be ideal is if Nagios had some way of marking a host > as being irrelevanet. That is, the service would sort of stand alone > without any host dependency in terms of monitoring. Kind of strange, > though. > > Thanks > > Mark > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Johannes Dagemark CTO / VP Engineering ________________________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 Gothenburg cell: +46 733-70 90 24 fax: +46 31-774 04 32 Email: jd at op5.com http://www.op5.com/ ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tore.lonoy at gmail.com Thu Jul 9 09:37:55 2009 From: tore.lonoy at gmail.com (=?ISO-8859-1?Q?Tore_L=F8n=F8y?=) Date: Thu, 9 Jul 2009 09:37:55 +0200 Subject: Monitor for memory bottleneck on Windows? In-Reply-To: <4A51E2F2.9020406@op5.se> References: <4A51E2F2.9020406@op5.se> Message-ID: This is true for some cases but we have a few servers which are using 75% swap (8GB RAM, 8GB Swap), which are blazing fast even then. So I don?t think swap usage _alone_ is a good indicator, but it can be. 2009/7/6 Andreas Ericsson > Tore L?n?y wrote: > >> Hello naguis usergroup! >> >> I have for some time now tried to find a way to monitor performance >> bottlenecks related to shortage of memory on Windows, with no luck. As far >> my knowlegde of memory bottlenecks concern, using NSClient++ command >> CheckMem and argument physical, is far from enough. Also, monitoring >> windows >> performance counters, like Memory \ Pages Out/sec is no good either since >> it >> doesn't support average results. >> >> There is alot of documentation on how to determine that memory is a >> bottleneck, like e.g.: http://support.microsoft.com/kb/555223 >> >> But, for what I understand, using nagios to determine this is hard. >> >> So how do you guys locate memory bottlenecks on windows machines, with or >> without the help of nagios? >> >> > By checking the swap usage. Basically, when a system starts swapping > performance will go downhill very, very fast. The disk is several hundred > orders of magnitude slower than the RAM. If you have high swap usage, you > should buy more RAM for your servers (or modify whatever programs are > running on them). > > -- > 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 -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tore.lonoy at gmail.com Thu Jul 9 09:44:59 2009 From: tore.lonoy at gmail.com (=?ISO-8859-1?Q?Tore_L=F8n=F8y?=) Date: Thu, 9 Jul 2009 09:44:59 +0200 Subject: Monitor for memory bottleneck on Windows? In-Reply-To: <4A523B33.2000100@medin.name> References: <4A523B33.2000100@medin.name> Message-ID: Number 2 seems to be the best choice for me. But I think it has to be an average value for the last e.g. 15 min, or something similar. The best would be if you could combine a check which measured swap usage, free physical memory, committed bytes, and pages out/sec, in which an warning / critical error is returned if all of them is in a warning or critical state. But that can we done in nagios, the only thing i miss now is an average value for pages out/sec. My 2 cents 2009/7/6 Michael Medin > Hello > > humm, if anyone is interested I could add either: > 1, option to do average value checks for arbitrary counters (ie. like > CheckCPU) > 2, add an option to check Memory\Pages Output/Sec to CheckMem ? > > // Michael Medin > > > On 2009-07-06 12:55, Tore L?n?y wrote: > > Hello naguis usergroup! > > I have for some time now tried to find a way to monitor performance > bottlenecks related to shortage of memory on Windows, with no luck. As far > my knowlegde of memory bottlenecks concern, using NSClient++ command > CheckMem and argument physical, is far from enough. Also, monitoring windows > performance counters, like Memory \ Pages Out/sec is no good either since it > doesn't support average results. > > There is alot of documentation on how to determine that memory is a > bottleneck, like e.g.: http://support.microsoft.com/kb/555223 > > But, for what I understand, using nagios to determine this is hard. > > So how do you guys locate memory bottlenecks on windows machines, with or > without the help of nagios? > > Best regards, > > Tore > > ------------------------------ > > ------------------------------------------------------------------------------ > > > ------------------------------ > > _______________________________________________ > 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.clarkson at smorg.co.uk Thu Jul 9 11:36:27 2009 From: mark.clarkson at smorg.co.uk (Mark Clarkson) Date: Thu, 09 Jul 2009 09:36:27 +0000 Subject: Display a http link in status information Message-ID: Hi, I am currently upgrading from nagios 2.9 to 3.0.6. In 2.9 I was able to display a http link in the status information but in 3.0.6 the HTML is now displayed instead so the user can't click on it. Is there a way to stop nagios from translating my http link to text? Cheers Mark. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 9 12:19:12 2009 From: ae at op5.se (Andreas Ericsson) Date: Thu, 09 Jul 2009 12:19:12 +0200 Subject: Monitor for memory bottleneck on Windows? In-Reply-To: <4A55C2D5.9020802@medin.name> References: <4A51E2F2.9020406@op5.se> <4A55C2D5.9020802@medin.name> Message-ID: <4A55C420.9030909@op5.se> Michael Medin wrote: > I think by usage he did not mean usage but *usage* :) > As in how much the swap area i used (having 8Gb swap which is allocated > but not used wont matter much). > Where as in a system who is spending time writing/reading from/to the > swap area performance will degrade considerably. > Indeed. Swap allocation growing quickly is a good indication of a busy system with not enough *real* memory to perform the task it's been assigned. -- 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. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 9 12:17:39 2009 From: michael at medin.name (Michael Medin) Date: Thu, 09 Jul 2009 12:17:39 +0200 Subject: Monitor for memory bottleneck on Windows? In-Reply-To: References: <4A523B33.2000100@medin.name> Message-ID: <4A55C3C3.5020605@medin.name> The CPU is measured as averages for the last X