From al_smyth at yahoo.com Sun Aug 1 00:14:06 2004 From: al_smyth at yahoo.com (Al Smith) Date: Sat, 31 Jul 2004 15:14:06 -0700 (PDT) Subject: Temperature Sensors In-Reply-To: References: Message-ID: <20040731221406.14848.qmail@web53509.mail.yahoo.com> I started looking at Nagios when I got some low cost temperature sensing equipment for a large data center. We started with a 'weather goose' from IT Watchdogs http://www.itwatchdogs.com/ (under $400) which gives a basic central point and can report up to 16 add-on sensors (power, temp, temp/airflow). When I put on more that 16, snmp get checks from Nagios took care of the details that the goos could not handle. I even put together some hiostory for these items and mapped room overlays with the data to show color coded hot spots. --------------------------------- Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! -------------- next part -------------- An HTML attachment was scrubbed... URL: From phil at usc.edu Sun Aug 1 08:50:59 2004 From: phil at usc.edu (Phil Dibowitz) Date: Sat, 31 Jul 2004 23:50:59 -0700 Subject: Multiple interfaces In-Reply-To: <20040731021448.GE96313@gargantuan.com> References: <20040730221231.GS21084@usc.edu> <20040731011715.GD96313@gargantuan.com> <20040731015228.GD21084@usc.edu> <20040731021448.GE96313@gargantuan.com> Message-ID: <20040801065059.GV21084@usc.edu> On Fri, Jul 30, 2004 at 10:14:48PM -0400, Michael W. Oliver wrote: > On 2004-07-30T18:52:28-0700, Phil Dibowitz wrote: > > No, that was exactly my point, except that the FAQ doesn't use pairs, it > > just uses addresses: > > address 192.168.1.1,192.168.2.1 > > > > But none of the plugins I tried support that syntax. > > I don't know of any that would, so the only solution here is to roll > your own plugin. I have done this a few times, with the most recent to > ping some hosts via IPv6 (ping6). > > Shouldn't be too much trouble to code it up in bourne shell, perl, etc. > depending on your skill level. > > Good luck! OK, just to be clear here -- I know I can make my own plugins... and I might. My question is -- what is everyone ELSE doing? I can't be the first person using nagios to have multiple interfaces on my servers... -- Phil Dibowitz Systems Architect and Administrator Enterprise Infrastructure / ISD / USC UCC 174 - 213-821-5427 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From ctny at yahoo.com Sun Aug 1 23:49:29 2004 From: ctny at yahoo.com (- CT -) Date: Sun, 01 Aug 2004 17:49:29 -0400 Subject: why Nagios not checking external commands? Message-ID: <410D6569.3000607@yahoo.com> When I try to acknowledge a down service, I get a message saying "Sorry, but Nagios is currently not checking for external commands, so your command will not be committed!" This is strange, since I followed documentation and put the following in cgi.cfg check_external_commands=1 command_check_interval=1 command_file=/usr/local/nagios/var/rw/nagios.cmd I also chmod 777 /usr/local/nagios/var/rw. I don't see the nagios.cmd file being created when I try to acknowledge the down service either. I am just using standard install config. Web server runs as "apache", all nagios stuff is owned by "nagios" Please help... Clayton ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 luke at madstop.com Mon Aug 2 01:40:07 2004 From: luke at madstop.com (Luke A. Kanies) Date: Sun, 1 Aug 2004 18:40:07 -0500 (CDT) Subject: Generation of distributed nagios configuration Message-ID: Hi, I've been working on this project for a while, and I think I've finally reached what I would call a beta. I've now got a collection of scripts (all written in Ruby) which generate the necessary configurations for running an appropriate nagios configuration on each node (using nsca to push updates to the central server) plus an aggregated configuration for the central node. This system is completely self-maintaining, built off the information I store in my cfengine configurations. Using cfengine, it automatically restarts the nagios processes when configurations change, and it automatically builds and redistributes the configurations as necessary. As with all betas, the documentation is not yet up to snuff, but you can find the (current) main page at: http://madstop.com/naginator There you'll also find a tarball of the latest snapshot (as of today) plus a link to the Subversion code. Install instructions are available at http://madstop.com/svn/naginator/INSTALL, along with mucho detail about the whys and wherefores. As with all solutions, this one works for the author (me), but others might find it useful, too. I do need to point out, though: This is not necessarily terribly easy to set up, as its setup is meant to be entirely automated with a tool like cfengine. The focus of its development is on its ability to maintain itself over time; as I add services to my hosts (using cfengine), I want to automatically start monitoring them, and as I add things like disks, I want them to automatically start being monitored. Yes, I have achieved a completely self-maintaining monitoring system with Nagios. It still has some quirks, but hopefully if a few more people use it, we can iron them out and get something good. I will gladly take suggestions and recommendations. I'm especially interested in people who might be integrating this with their own larger management system, as it will force me to abstract out the cfengine parts. On the other hand, if anyone is interested in how this integrates with the rest of my automation, please email me off-list. This package also includes a full, LALR parser for nagios configuration files. It's written in ruby, but it makes parsing files trivial, and it includes full object definitions for all currently known Nagios objects. I also have a generated LDAP schema for nagios objects, although I'm not currently using it. Please let me know if you're interested. Thanks, Luke -- Meeting, n.: An assembly of people coming together to decide what person or department not represented in the room must solve a problem. --------------------------------------------------------------------- Luke Kanies | http://abstractive.org | http://reductiveconsulting.com ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 TWEdwards at cimplify.net Mon Aug 2 01:38:53 2004 From: TWEdwards at cimplify.net (Edwards, Thomas W.) Date: Sun, 1 Aug 2004 18:38:53 -0500 Subject: Adding a Custom Field to notifications Message-ID: Was doing some research into finding how to add a custom field to the notifications? Is there a way to make it also include say a phone number for a downed site when paging? Thanks for the help. -------------- next part -------------- An HTML attachment was scrubbed... URL: From benny at bennyvision.com Mon Aug 2 02:24:12 2004 From: benny at bennyvision.com (C. Bensend) Date: Sun, 1 Aug 2004 19:24:12 -0500 (CDT) Subject: Adding a Custom Field to notifications In-Reply-To: References: Message-ID: <52786.63.227.74.41.1091406274.squirrel@webmail.stinkweasel.net> > Was doing some research into finding how to add a custom field to the > notifications? Is there a way to make it also include say a phone > number for a downed site when paging? While it's somewhat of a hack, I add information like that to either the service_description (if it's a service) or the alias (if it's a host). Ie, one of my hosts: alias DS1 to UUNET - CKT ID XXXXXX - Call 888-xxx-xxxx If the service or host alerts, the responsible parties have everything they need in the page to call in to the provider, as well as the circuit ID. Remember to keep it short if possible - some providers don't allow very many characters in pages. HTH, Benny -- "Horrible pain! I made sounds like a dolphin giving birth." -- Mr. Corman, "Scrubs" ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 marc at ena.com Mon Aug 2 03:09:18 2004 From: marc at ena.com (Marc Powell) Date: Sun, 1 Aug 2004 20:09:18 -0500 Subject: Adding a Custom Field to notifications Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A4D4@mismail2.ena.com> The notification command can be anything. For simplicity's sake the default is just to pipe a few things to /bin/mail(x). You could make the command a simple script that pulls all the additional information you'd like to include in the email from whatever data source you use in the format you like and send _that_ to mail(x). The data source could be grep'ing the host name out of a text file formatted like 'hostname: other info' (but not very practical for upkeep). In that way you're not limited to just those few things that can be included in Nagios. -- Marc p.s. Please try to post to the list in plain text. Not only will more people be able to see it and respond but it makes replying in context easier and doesn't clutter the digests with useless HTML. ________________________________________ From: Edwards, Thomas W. [mailto:TWEdwards at cimplify.net] Sent: Sunday, August 01, 2004 6:39 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Adding a Custom Field to notifications Was doing some research into finding how to add a custom field to the notifications?? Is there a way to make it also include say a phone number for a downed site when paging?? Thanks for the help. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 luke at madstop.com Mon Aug 2 03:34:02 2004 From: luke at madstop.com (Luke A. Kanies) Date: Sun, 1 Aug 2004 20:34:02 -0500 (CDT) Subject: Host looks down but isn't Message-ID: Hi all, I've got a host that nagios thinks is down, but it definitely is not. I'm typing this from the host right now, in fact. I even ran the host alive command got 'OK', and I've also forced checks on the host (which didn't work initially because my web server could not write to the file...). The host _was_ down, but it's been up for more than a day now, and nagios still has not corrected itself. Anybody know what the problem might be? Any help would be much appreciated. -- "The major difference between a thing that might go wrong and a thing that cannot possibly go wrong is that when a thing that cannot possibly goes wrong goes wrong it usually turns out to be impossible to get at or repair." -- Douglas Adams, Mostly Harmless --------------------------------------------------------------------- Luke Kanies | http://abstractive.org | http://reductiveconsulting.com ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 Nicola.Fusco at merloni.com Mon Aug 2 10:40:56 2004 From: Nicola.Fusco at merloni.com (Nicola.Fusco at merloni.com) Date: Mon, 2 Aug 2004 10:40:56 +0200 Subject: Nicola Fusco/brembate/Merloni Elettrodomestici =?iso-8859-1?Q?=E8_assente_dall'ufficio=2E?= Message-ID: Sar? assente dall'ufficio a partire da 02/08/2004 e non verr? restituito fino al 30/08/2004. Risponder? al messaggio al mio ritorno. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 edrandom at gmail.com Mon Aug 2 10:39:06 2004 From: edrandom at gmail.com (Ed Voncken) Date: Mon, 2 Aug 2004 10:39:06 +0200 Subject: Host looks down but isn't In-Reply-To: References: Message-ID: <3c19a99304080201395796dd8e@mail.gmail.com> Hi Luke, > I've got a host that nagios thinks is down, but it definitely is not. I'm > typing this from the host right now, in fact. I could not determine this from your mail, but do you have any services defined for that host? I added a PING service on each host which solved my problems. -- Gxis! Ed. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 tb at westend.com Mon Aug 2 15:03:32 2004 From: tb at westend.com (Thomas Braun) Date: Mon, 02 Aug 2004 15:03:32 +0200 Subject: Nagios recovery In-Reply-To: <410A180A.6070608@volteurope.com> References: <410A15A9.9000001@westend.com> <410A180A.6070608@volteurope.com> Message-ID: <410E3BA4.5020600@westend.com> Pete Dewell wrote: > Have you set Nagios to notify on the service recovery ? Yes, this is my service entry: define service{ use generic-service host_name 192.168.230.14 service_description SMTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 3 contact_groups sms notification_interval 120 notification_period 24x7 notification_options r,c,w check_command check_smtp } and this my host entry: define host{ use generic-host host_name 192.168.230.14 alias 192.168.230.14 address 192.168.230.14 check_command check-host-alive max_check_attempts 3 notification_interval 120 notification_period 24x7 notification_options r,d,u } i have tryed it with nagios version 1.0 and 1.2. cu thomas > > Pete Dewell > > Thomas Braun wrote: > >> hi, >> i have a problem with the nagios logic. >> If i test this : >> iptables -I INPUT -t tcp --dport 25 -j DROP. I get a message like >> service SMTP is critical. >> Than i type iptables -I INPUT -p icmp -j DROP. >> I get a Host down Message. >> After I get the Message , I type iptables -F than the only message i >> get is the Host Up message. Why is nagios not sending a smtp recovery >> Message. >> What could be the problem? >> >> >> thanks for your answers. >> >> cu thomas >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by OSTG. Have you noticed the changes on >> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, >> one more big change to announce. We are now OSTG- Open Source Technology >> Group. Come see the changes on the new OSTG site. www.ostg.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 >> > -- Thomas Braun WESTEND GmbH | Internet-Business-Provider Technik CISCO Systems Partner - Authorized Reseller Lu"tticher Stra?e 10 Tel 0241/701333-17 tb at westend.com D-52064 Aachen Fax 0241/911879 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 wp.junior at terra.com.br Mon Aug 2 15:58:38 2004 From: wp.junior at terra.com.br (Wilson Pires Jr) Date: Mon, 2 Aug 2004 10:58:38 -0300 Subject: Process In-Reply-To: <8DA75072BA437146A23E36D54D7059B402F703@WOLK.wshd.waterschap.adm> References: <8DA75072BA437146A23E36D54D7059B402F703@WOLK.wshd.waterschap.adm> Message-ID: <20040802135937.1048737004F@potosi.terra.com.br> Hi all. I run nagios 1.2 on redhat 9. I always have a nagios process like this: nagios 22138 0.0 0.0 0 0 ? Z Jul31 0:00 [nagios ] Also my nagios has gotten stucked: Process Status Information Process Status: WARNING Check Command Output: Nagios problem: located 27 processes, status log updated 199792 seconds ago The questions: 1 - How can I discover what is causing the process? 2 - May the process be the cause of nagios stucking? 3 - What are the possible causes for nagios stucking? Regards, Wilson ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 gijs.wuyts at ubizen.com Mon Aug 2 16:28:37 2004 From: gijs.wuyts at ubizen.com (Gijs Wuyts) Date: Mon, 02 Aug 2004 12:28:37 -0200 Subject: overcr collector Message-ID: <410E4F95.9050506@ubizen.com> Who is using this too to collect stats. diskspace etc from unix hosts? Version is 1.50 Problem is the following. I installed it on 1 machine, running RH9. works fine. Then I distributed it on a large number of machines,running RH7.3, SunOS5.8, and it started screaming errors about uninitialized errors, on line 619,644,645,647 in collector.pl Just wanted to know if somebody ran into this before i start digging into the script. (kinda time pressure here) Newer. better versions out there? tnks g -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4397 bytes Desc: S/MIME Cryptographic Signature URL: From MG at ev3.net Mon Aug 2 17:20:56 2004 From: MG at ev3.net (Wheeler, MG) Date: Mon, 2 Aug 2004 10:20:56 -0500 Subject: Creating Static HTML from a CGI Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D0103115A@mail.ev3.net> I want to use Cron to run one of the CGI reports and have it save to a static HTML page. It's our "Availability" report that I want as a static so people can see it without needing a password etc and since it's for the preceding week It doesn't need to be live. _____________________________________________________________________ This message has been checked for all known viruses ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 GWCOOK at mactec.com Mon Aug 2 17:22:32 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 2 Aug 2004 09:22:32 -0600 Subject: Is my nagios in good shape? Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E96C1@golden-m.mactec.com> Neil wrote: > Hi Garry, > > Thank you very much. Btw, here is my new performance info after the > changes: > > Time Frame Checks Completed > <= 1 minute: 59 (20.6%) > <= 5 minutes: 208 (72.7%) > <= 15 minutes: 277 (96.9%) > <= 1 hour: 286 (100.0%) > Since program start: 286 (100.0%) > > Metric Min. Max. Average > Check Execution Time: < 1 sec 16 sec 2.245 sec > Check Latency: 20 sec 81 sec 49.769 sec > Percent State Change: 0.00% 14.80% 0.07% > > What do you think about the new result? Well, you've trimmed the check latency quite a bit from your original post. However, your checks are still run an average of (almost) 1 minute behind schedule. It looks like you are running about 300 checks. My implementation is currently checking about 700 services, and my Performance Info looks like this: Metric Min. Max. Average Check Execution Time: < 1 sec 23 sec 2.534 sec Check Latency: < 1 sec 9 sec 0.153 sec Percent State Change: 0.00% 5.86% 0.01% Checks on average are run less than 1 second behind schedule. A minute behind, like you show above, may not seem like much, although it can really be a factor when dealing with mission critical hosts/services. This issue could also be due to issues on the Nagios server itself... Perhaps the load on the box is too high, or you're out of memory and swapping a lot? Maybe the Nagios server is too far away from the boxes you are checking, and actual link latency is a problem? If you don't think that any of these suggestions are getting in the way, then I would continue to read through the docs, there are quite a few options in nagios.cfg that can help to trim check latency. Keep tweaking it until you get it right, and after every tweak run 'nagios -s nagios.cfg' again to see what Nagios thinks of your changes. If you don't have any issues with the Nagios server, you might want to try running Nagios with the max_concurrent_checks value set to 0, which does not restrict the number of checks that can be run at one time. > Cook, Garry writes: > >> Resending message as per your request: >> >> You should take a look at the max_concurrent_checks value in your >> Nagios config. The output below recommends some values to use. After >> making the change and restarting Nagios, give it some time to run >> some checks and have a look at your performance info again. >> >> Also, have a look at the following docs: >> > http://nagios.sourceforge.net/docs/1_0/configmain.html#max_con > current_ch >> ecks >> http://nagios.sourceforge.net/docs/1_0/checkscheduling.html >> >> HTH >> >> -g >> >> -----Original Message----- >> From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] >> Sent: Wed 7/28/2004 2:38 PM >> To: Cook, Garry >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: Is my nagios in good shape? >> >> >> >> Hi Garry, >> >> This is the result: >> SERVICE SCHEDULING INFORMATION >> ------------------------------- >> Total services: 276 >> Total hosts: 115 >> >> Command check interval: 5 sec >> Check reaper interval: 10 sec >> >> Inter-check delay method: SMART >> Average check interval: 319.130 sec >> Inter-check delay: 1.156 sec >> >> Interleave factor method: SMART >> Average services per host: 2.400 >> Service interleave factor: 3 >> >> Initial service check scheduling info: >> -------------------------------------- >> First scheduled check: 1091047230 -> Wed Jul 28 13:40:30 >> 2004 Last scheduled check: 1091047548 -> Wed Jul 28 >> 13:45:48 2004 >> >> Rough guidelines for max_concurrent_checks value: >> ------------------------------------------------- >> Absolute minimum value: 9 >> Recommend value: 27 >> >> So what are the changes I need to make? >> >> Thanks :) >> >> Cook, Garry writes: >> >>> nagios-users-admin at lists.sourceforge.net wrote: >>>> Hey guys, >>>> >>>> Here is the output of our production nagios' performance info. Is >>>> my box ok? >>>> >>>> Program-Wide Performance Information >>>> Active Checks: Time Frame Checks Completed >>>> <= 1 minute: 71 (25.7%) >>>> <= 5 minutes: 220 (79.7%) >>>> <= 15 minutes: 262 (94.9%) >>>> <= 1 hour: 276 (100.0%) >>>> Since program start: 276 (100.0%) >>>> >>>> Metric Min. Max. Average >>>> Check Execution Time: < 1 sec 16 sec 2.192 sec >>>> Check Latency: 70 sec 130 sec 97.312 sec >>>> Percent State Change: 0.00% 8.95% 0.17% >>> >>> It doesn't appear to be in 'bad' shape, although your checks appear >>> to >> >>> be running a little behind. >>> Run //bin/nagios -s />> nagios>/etc/nagios.cfg to see what Nagios thinks about your check >>> latency, and this will also suggest some config changes for >>> improvement. >>> >>>> >>>> >>>> Thanks, >>>> >>>> Neil >>> >>> >>> Garry W. Cook, CCNA >>> Network Infrastructure Manager >>> MACTEC, Inc. - http://www.mactec.com/ >>> 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 luke at madstop.com Mon Aug 2 17:21:55 2004 From: luke at madstop.com (Luke A. Kanies) Date: Mon, 2 Aug 2004 10:21:55 -0500 (CDT) Subject: Host looks down but isn't In-Reply-To: <20040802150928.897D860802B@mail2.itgroundwork.com> References: <20040802150928.897D860802B@mail2.itgroundwork.com> Message-ID: On Mon, 2 Aug 2004, Harper Mann wrote: > I'd try setting one or all of the passive checks to OK. That should clear > the host. The host gets checked when the services change state. This worked almost immediately. That's very strange. Any idea why this is the case, and what I might be able to do to avoid needing to manually intervene? Thanks for the pointer. -- A child can go only so far in life without potty training. It is not mere coincidence that six of the last seven presidents were potty trained, not to mention nearly half of the nation's state legislators. -- Dave Barry --------------------------------------------------------------------- Luke Kanies | http://abstractive.org | http://reductiveconsulting.com ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 newsletters at atcomputerconsulting.com Mon Aug 2 18:02:12 2004 From: newsletters at atcomputerconsulting.com (Andy Stein) Date: Mon, 2 Aug 2004 12:02:12 -0400 (EDT) Subject: fping issue Message-ID: <36400.63.102.39.70.1091462532.squirrel@63.102.39.70> Hey Gang, I'm having a recurring problem: I have two hosts that are listed as down right now, but pinging with both ping and fping from the nagios server return replies that the host is up. Running RH7.3, Nagios 1.2, Nagios-plugins 1.3.1. I am watching over 400 hosts and I am currently having this issue with two hosts. Config file: # 'check-host-alive' command definition define command{ command_name check-host-alive # command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 2000.0,60% -c 5000.0,100% -t 15 -p 2 command_line $USER1$/check_fping -H $HOSTADDRESS$ -w 2000.0,60% -c 5000.0,100% } Web status page: Host Status: DOWN (Has been acknowledged) Status Information: FPING CRITICAL - 165.75.x.x (loss=100.000000% ) Last Status Check: 08-02-2004 09:48:31 Status Data Age: 0d 0h 0m 51s Last State Change: 08-02-2004 05:48:26 Current State Duration: 0d 4h 0m 56s Last Host Notification: 08-02-2004 06:30:13 Current Notification Number: 2 Is This Host Flapping? NO Percent State Change: 10.00% In Scheduled Downtime? NO Last Update: 08-02-2004 09:49:07 fping from command line: [root at mnmslx11 libexec]# ./check_fping -v -H 165.75.x.x /usr/local/sbin/fping -b 56 -c 1 165.75.x.x 165.75.x.x : [0], 84 bytes, 0.22 ms (0.22 avg, 0% loss) 165.75.x.x : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.22/0.22/0.22 FPING OK - 165.75.x.x (loss=0.000000%, rta=0.220000 ms) ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 johnherdy at hotmail.com Mon Aug 2 18:17:21 2004 From: johnherdy at hotmail.com (John Herdy) Date: Mon, 02 Aug 2004 18:17:21 +0200 Subject: Command runs fine manually but not in nagios Message-ID: I have searched this list but wasn't able to find anything. When I run the following command as the nagios user; /usr/nagios/libexec/check_by_ssh -t 120 -l root -i /etc/nagios/.ssh/id_dsa -H 130.177.194.149 -C '/usr/nagios/libexec/check_ssh 204.104.28.182' I get the following result; SSH OK - OpenSSH_3.8.1p1 (protocol 2.0) Perfect, excactly how I want it. I monitor everthing over ssh and therefor I have changed my "Host Check Command" to check for an active ssh-conncection, because ping is disabled in our network setup. If I define the command above as a "Host Check Command" I always get a "Host Down-alert", with the following notification; No Information Returned From Host Check But in a console this runs fine?!? I have double triple and quadrubble checked my configfiles (checkcommands.cfg and hosts.cfg) and I'm positive that they are ok. I'm running Nagios 1.2 I have no idea how to debug this, because everything works fine on the command line. I'm using a dozen hosts with each a dozen services and had no problems before. If more information is required please let me know and I will provide. Is anyone able to help me. Please !!! Thanks a lot! John. _________________________________________________________________ MSN Search, for accurate results! http://search.msn.nl ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 jhmartin at toger.us Mon Aug 2 18:28:44 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 2 Aug 2004 09:28:44 -0700 Subject: Command runs fine manually but not in nagios In-Reply-To: References: Message-ID: <20040802162844.GS31499@zippy.toger.us> Please include the exact host check command entry you are using. Also, please check your nagios.log for any data that might pertain to this host check. -Jason Martin On Mon, Aug 02, 2004 at 06:17:21PM +0200, John Herdy wrote: > If I define the command above as a "Host Check Command" I always get a > "Host Down-alert", with the following notification; > No Information Returned From Host Check -- INTERLACE: To tie two boots together. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From marc at ena.com Mon Aug 2 18:31:25 2004 From: marc at ena.com (Marc Powell) Date: Mon, 2 Aug 2004 11:31:25 -0500 Subject: Creating Static HTML from a CGI Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A4FC@mismail2.ena.com> ----Original Message---- From: Wheeler, MG [mailto:MG at ev3.net] Sent: Monday, August 02, 2004 10:21 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Creating Static HTML from a CGI > I want to use Cron to run one of the CGI reports and have it save to > a static HTML page. It's our "Availability" report that I want as a > static so people can see it without needing a password etc and since > it's for the preceding week It doesn't need to be live. Create the availability you want to be static in Nagios. Find the complete url for the page (in I.E., right click on the availability report frame and select properties); for a services availability report using the default options it'll be something like: http://your.nagios.host/cgi-bin/avail.cgi?show_log_entries=&service=all& timeperiod=last7days&smon=8&sday=1&syear=2004&shour=0&smin=0&ssec=0&emon =8&eday=2&eyear=2004&ehour=24&emin=0&esec=0&assumeinitialstates=yes&assu mestateretention=yes&initialassumedstate=0&backtrack=4 Create a little script that uses wget to grab the page -- Mystaticreport.sh: #/bin/sh # Get the page with wget, saving it as a temp file /usr/bin/wget --http-user nagiosloginuser --http-passwd nagiosloginpassword -O /path/to/put/page/somereportname.tmp.$$ -q "http://your.nagios.host/cgi-bin/avail.cgi?show_log_entries=&service=all &timeperiod=last7days&smon=8&sday=1&syear=2004&shour=0&smin=0&ssec=0&emo n=8&eday=2&eyear=2004&ehour=24&emin=0&esec=0&assumeinitialstates=yes&ass umestateretention=yes&initialassumedstate=0&backtrack=4" # Atomically move the file. You might want to put some error checking here. mv /path/to/put/page/somereportname.tmp.$$ /path/to/put/page/somereportname.html exit(0) That's it. Very basic, does no error checking. I've been doing this to create the summary pages for about two years now with no noticable problems. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 marc at ena.com Mon Aug 2 19:01:34 2004 From: marc at ena.com (Marc Powell) Date: Mon, 2 Aug 2004 12:01:34 -0500 Subject: Creating Static HTML from a CGI Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A501@mismail2.ena.com> ----Original Message---- From: Marc Powell Sent: Monday, August 02, 2004 11:31 AM To: Wheeler, MG; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Creating Static HTML from a CGI > ----Original Message---- > From: Wheeler, MG [mailto:MG at ev3.net] > Sent: Monday, August 02, 2004 10:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Creating Static HTML from a CGI > > > I want to use Cron to run one of the CGI reports and have it save > > to a static HTML page. It's our "Availability" report that I want > > as a static so people can see it without needing a password etc and > > since it's for the preceding week It doesn't need to be live. > > Create the availability you want to be static in Nagios. Find the > complete url for the page (in I.E., right click on the availability > report frame and select properties); for a services availability > report using the default options it'll be something like: > > http://your.nagios.host/cgi-bin/avail.cgi?show_log_entries=&service=all& > timeperiod=last7days&smon=8&sday=1&syear=2004&shour=0&smin=0&ssec=0&emon > =8&eday=2&eyear=2004&ehour=24&emin=0&esec=0&assumeinitialstates=yes&assu > mestateretention=yes&initialassumedstate=0&backtrack=4 As a followup, depending on the page you're trying to generate, there may be some dynamic information you'll want to modify as part of your wget. In the above example, &smon=8&sday=1&syear=2004 and &eday=2&eyear=2004 won't give you the report you expect if it's run three weeks from now. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 Darren.Kemp at xerox.com Mon Aug 2 20:08:11 2004 From: Darren.Kemp at xerox.com (Kemp, Darren) Date: Mon, 2 Aug 2004 14:08:11 -0400 Subject: Web service or SNMP? Message-ID: <330CE9F92C02064B86090D40B479712F3390D9@usa0300ms04.na.xerox.net> Has anyone attempted using NAGIOS to post its "status" to some sort of web service? Or sending notification via SNMP traps? If anyone can point me in the right direction I'd appreciate it. -dkk -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Mon Aug 2 20:21:14 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 2 Aug 2004 11:21:14 -0700 Subject: Web service or SNMP? In-Reply-To: <330CE9F92C02064B86090D40B479712F3390D9@usa0300ms04.na.xerox.net> References: <330CE9F92C02064B86090D40B479712F3390D9@usa0300ms04.na.xerox.net> Message-ID: <20040802182114.GT31499@zippy.toger.us> On Mon, Aug 02, 2004 at 02:08:11PM -0400, Kemp, Darren wrote: > Has anyone attempted using NAGIOS to post its "status" to some sort of > web service? I'm using a custom 'contact' to have notifications submitted to an upstream system. The contact has a special nofitication command that formats the output and sends it. You could use something like that. -Jason Martin -- Why doesn't the Bat Computer ever crash? This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From Seth.Hollist at ingenix.com Mon Aug 2 18:48:47 2004 From: Seth.Hollist at ingenix.com (Hollist, Seth ) Date: Mon, 2 Aug 2004 11:48:47 -0500 Subject: Nagios Wont start Message-ID: I came in this morning, and nagios wasn't running. I tried to start it and get this: # service nagios start Starting network monitor: nagios NAGIOS CRITICAL - could not find proc file: /proc/19126 I've looked around to see if it was a simple problem, but wasn't able to find anything. This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. "Secure Server" made the following annotations on 08/02/2004 01:28:06 PM ------------------------------"This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately." ============================== ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 marc at ena.com Mon Aug 2 20:35:35 2004 From: marc at ena.com (Marc Powell) Date: Mon, 2 Aug 2004 13:35:35 -0500 Subject: Web service or SNMP? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A510@mismail2.ena.com> ________________________________ From: Kemp, Darren [mailto:Darren.Kemp at xerox.com] Sent: Monday, August 02, 2004 1:08 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Web service or SNMP? Has anyone attempted using NAGIOS to post its "status" to some sort of web service? You'll need to be more specific. Are you talking about the nagios daemon status? Status of hosts and services? If the latter, then http://www.nagios.org/faqs/viewfaq.php?faq_id=66&expand=false&showdesc=f alse will be useful to you. Eventhandlers might also be the place to look depending on what you're really trying to accomplish. Or sending notification via SNMP traps? http://www.nagios.org/faqs/viewfaq.php?faq_id=28 -- Marc P.s. Please try to post to the list in plain text. Not only will more people be able to read and respond to your questions but we'll be able to reply in context easier and it won't clutter the digests with useless HTML. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 mscandian at freebsdbrasil.com.br Mon Aug 2 22:29:39 2004 From: mscandian at freebsdbrasil.com.br (Mario Sergio Candian) Date: Mon, 2 Aug 2004 17:29:39 -0300 (BRT) Subject: notification In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F38A4B9@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F38A4B9@mismail2.ena.com> Message-ID: <20040802172845.S1235-100000@cyberdine.freebsdbrasil.com.br> Thanks Marc. I wanted to delay notifications by a certain number of minutes. Do u know how i can monitoring a service (HTTP) defining a different port? 8887 for example. I need to configure some services (Sendmail), but its working in other machine only local. How i can do it? Mario Sergio Candian On Fri, 30 Jul 2004, Marc Powell wrote: > ----Original Message---- > From: Mario Sergio Candian [mailto:mscandian at freebsdbrasil.com.br] > Sent: Friday, July 30, 2004 3:47 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notification > > > Hi, > > > > how i configure the time of the nagios to send me a notification? > > That's a vague question. Do you mean you only want notifications during > certain hours of the day? > > Define a time_period : > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#timeperiod > > Apply it as the notification_period for the host or service : > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host, > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service > > > Or do you want to delay notifications by a certain number of minutes > (only works for services): > > Set your max_check_attempts, normal_check_interval and > retry_check_interval to appropriate numbers. For example, > > Normal_check_interval 5 #minutes > Retry_check_interval 3 #minutes > Max_check_attempts 5 #try 5 times total > > Results in about a 15 minute delay from the first CRITICAL check result > until notification, presuming the service is critical for the entire > interval. > > -- > Marc > > > ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 jhmartin at toger.us Mon Aug 2 22:36:10 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 2 Aug 2004 13:36:10 -0700 Subject: notification In-Reply-To: <20040802172845.S1235-100000@cyberdine.freebsdbrasil.com.br> References: <370ACCFA5BB3B346A31222E5559BF91F38A4B9@mismail2.ena.com> <20040802172845.S1235-100000@cyberdine.freebsdbrasil.com.br> Message-ID: <20040802203610.GV31499@zippy.toger.us> On Mon, Aug 02, 2004 at 05:29:39PM -0300, Mario Sergio Candian wrote: > Thanks Marc. I wanted to delay notifications by a certain number of You can do this by setting the max check attempts and the retry interval. -Jason Martin -- Our houseplants have a good sense of humous. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From Christopher.Thuys at bdigital.com.au Tue Aug 3 03:15:56 2004 From: Christopher.Thuys at bdigital.com.au (Christopher Thuys) Date: Tue, 3 Aug 2004 09:15:56 +0800 Subject: Management from a Cell phone Message-ID: Howdy, We use the gnokii software for sending sms alerts via a serial connected mobile phone. This software also has the ability to receive sms messages. We use the receive function to acknowledge host and service alerts. We do the by replying with the original sms message. a script then looks up the sending mobile number in the contacts to retrieve the nagios user and uses that user to acknowledge the alert. The script is a bit crude in that it uses wget to post the acknowledgment through the web interface instead of using the external command interface. But then that is only because I have yet to fond out what the external command is. I know this is not email but it is very simple for acknowlegments. Chris Thuys. ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Chris Waters Sent: Saturday, July 31, 2004 8:02 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Management from a Cell phone Has anyone been successful in sending commands to Nagios from a cell phone or similar device via email? I am thinking of writing some procmail filters/actions to do some things like parse return emails from my trouble ticket system and then add the ticket number in a comment. Along those lines, I was wondering if anyone has developed a method for acknowledging host down alerts by sending an email back to the nagios server. It would seem that processing an external command that is initiated from procmail would do the trick. Has anyone done this or something similar. Trying not to re-invent the wheel, Chris Waters --"The conclusive proof that intelligent life exists elsewhere in the universe lies in the fact that nobody has bothered to contact us"--unknown -------------- next part -------------- An HTML attachment was scrubbed... URL: From kelvin.wu at gmail.com Tue Aug 3 07:12:09 2004 From: kelvin.wu at gmail.com (Kelvin Wu) Date: Tue, 3 Aug 2004 13:12:09 +0800 Subject: How to create a sub menu on left frame? Message-ID: hello, how to create a sub menu item on left frame? i defined 2 host groups in hostgroups.cfg define hostgroup { hostgroup_name new-hub .... } define hostgroup { hostgroup_name old-hub .... } and i want it appear on the left frame under "service detail" Service Detail new-hub old-hub how to do that? thanks. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 teng at dataway.com Tue Aug 3 08:00:38 2004 From: teng at dataway.com (Tedman Eng) Date: Mon, 2 Aug 2004 23:00:38 -0700 Subject: Command runs fine manually but not in nagios Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC72C5@dw-mail.dataway.com> Make sure you're using _ONLY_ $HOSTADDRESS$ in the check-host-alive-ssh command that you have defined. I once had this problem too until I looked REALLY REALLY closely at the docs and found that "HOST CHECKS" supports VERY limited set of nagios variables. Notably, it doesn't support $ARG$ variables! (Argh!) (see "Host Checks" column) http://nagios.sourceforge.net/docs/1_0/macros.html So you can't do something like this: check_host_ssh!username!identity!execcommand My suggestion is to use check_tcp hard coded to port 22 in the command instead: define command { command_name host-check-alive-tcp22 command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 22 } Host checks need to happen fast, a full SSH session check is comparitively slow...when really, only testing the port should suffice in most cases to determine the same thing as ping would (ie. reachability) If you'd like to monitor ssh, define a check_ssh service check for that host, but for optimal performance use fast checks like check_tcp, check_ping or check_udp for host-check definitions. -Tedman -----Original Message----- From: John Herdy [mailto:johnherdy at hotmail.com] Sent: Monday, August 02, 2004 9:17 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Command runs fine manually but not in nagios I have searched this list but wasn't able to find anything. When I run the following command as the nagios user; /usr/nagios/libexec/check_by_ssh -t 120 -l root -i /etc/nagios/.ssh/id_dsa -H 130.177.194.149 -C '/usr/nagios/libexec/check_ssh 204.104.28.182' I get the following result; SSH OK - OpenSSH_3.8.1p1 (protocol 2.0) Perfect, excactly how I want it. I monitor everthing over ssh and therefor I have changed my "Host Check Command" to check for an active ssh-conncection, because ping is disabled in our network setup. If I define the command above as a "Host Check Command" I always get a "Host Down-alert", with the following notification; No Information Returned From Host Check But in a console this runs fine?!? I have double triple and quadrubble checked my configfiles (checkcommands.cfg and hosts.cfg) and I'm positive that they are ok. I'm running Nagios 1.2 I have no idea how to debug this, because everything works fine on the command line. I'm using a dozen hosts with each a dozen services and had no problems before. If more information is required please let me know and I will provide. Is anyone able to help me. Please !!! Thanks a lot! John. _________________________________________________________________ MSN Search, for accurate results! http://search.msn.nl ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 M.Arndt at science-computing.de Tue Aug 3 09:39:54 2004 From: M.Arndt at science-computing.de (Michael Arndt) Date: Tue, 3 Aug 2004 09:39:54 +0200 Subject: Phil: "multiple interfaces" In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Sun, Aug 01, 2004 at 08:36:28PM -0700 References: Message-ID: <20040803093954.A89482@blnsrv1.science-computing.de> Hello Phil > My question is -- what is everyone ELSE doing? I can't be the first person > using nagios to have multiple interfaces on my servers... > Phil Dibowitz short time ago i posted the same qustion, without a conclusive result. For the time being we declare the additional interfaces as separate hosts and group them as hostgroup drawback as summarized very clear in a previous answer from somebody to your mail: you get a clear structure in the nagios config this way, but the ergonomy of nagios GUI is "reduced" due to overloading ( 700 hosts instead of about 150 in our case) now we rethink, if we "wrap" all plugins, like also suggested in a previous mail, to reduce the number of hosts in the GUI. Reason for our first selection: we have not unique sets of interfaces offering services, getting full monitoring and "just pingable" interfaces. hth Micha ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 phil at usc.edu Tue Aug 3 09:55:29 2004 From: phil at usc.edu (Phil Dibowitz) Date: Tue, 3 Aug 2004 00:55:29 -0700 Subject: Phil: "multiple interfaces" In-Reply-To: <20040803093954.A89482@blnsrv1.science-computing.de> References: <20040803093954.A89482@blnsrv1.science-computing.de> Message-ID: <20040803075529.GV14714@usc.edu> On Tue, Aug 03, 2004 at 09:39:54AM +0200, Michael Arndt wrote: > Hello Phil > > > My question is -- what is everyone ELSE doing? I can't be the first person > > using nagios to have multiple interfaces on my servers... > > > Phil Dibowitz > > > short time ago i posted the same qustion, without a conclusive > result. > > For the time being we declare the additional interfaces > as separate hosts and group them as hostgroup > > drawback as summarized very clear in a previous answer from somebody > to your mail: > > you get a clear structure in the nagios config this way, > but the ergonomy of nagios GUI is "reduced" due to overloading > ( 700 hosts instead of about 150 in our case) > > now we rethink, if we "wrap" all plugins, like also suggested in > a previous mail, to reduce the number of hosts in the GUI. > > Reason for our first selection: > > we have not unique sets of interfaces offering services, getting full > monitoring and "just pingable" interfaces. I have talked it over with some other people using Nagios, and we've decided to just add an extra "ping" service for each extra interface, and that's it. One host entry per host. -- Phil Dibowitz Systems Architect and Administrator Enterprise Infrastructure / ISD / USC UCC 174 - 213-821-5427 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From Stefan.Giesen at firstgate.de Tue Aug 3 10:33:14 2004 From: Stefan.Giesen at firstgate.de (Stefan Giesen) Date: Tue, 03 Aug 2004 10:33:14 +0200 Subject: Redundant Switches/Routers/Network Interfaces and parent configuration question Message-ID: <1091521993.29669.111.camel@giesen-lx.firstgate.local> Hi all, I've got a question/problem regarding redundant network connections. We have the setup as displayed in the graphic below (sorry for the image, but a picture says more than thousand words and it's easier to understand what i mean). As you can see, we've two redundant routers connected to the backbone (or internet or whatever). Connected to each router is a master switch. The frontend switches are each connected to both master switches. All clients have two network interfaces, each connected to one corresponding frontend switch. There are several virtual IPs (VIP) on each client (RIP/Zebra is used for routing) and different services running on each VIP. I added a logical client to the picture (which has no IP address, since it's only a concept) to clarify the explanations below. What we need is the following: 1) If anything fails, we want to get notifications for it, but 2) if anything blocking fails, we don't want to get notifications for anything below, only for the blocking parts. 3) Blocking means that both of the structural elements are not reachable/down (e.g. both routers, both master switches or both client interfaces and so on). 4) we want ONE entry in the host/services list for every host (that's why i added the "logical" host in the diagram), so the overview won't get huge because of every service is listed twice (= for each network interface of the client). Actually I tried the following (i only list the relevant part of the entries, all hosts checked via ping, except the logical host (which has it's own check script to check if both interfaces are up), system is Debian woody with Nagios version 1.2-0 from backports.org): checkcommands.cfg: define command{ command_name check_myping command_line /usr/lib/nagios/plugins/check_ping -H $ARG1$ -w 100:25% -c 250:100% } define command{ command_name check_vhost command_line /usr/lib/nagios/plugins/check_http -H $ARG1$ -I $ARG1$ -w $ARG2$ -c $ARG3$ -e "HTTP/1.1 200 OK" } hosts.cfg: define host{ host_name router1 } define host{ host_name router2 } define host{ host_name switch1 parents router1 } define host{ host_name switch2 parents router2 } define host{ host_name switch3 parents switch1,switch2 } define host{ host_name switch4 parents switch1,switch2 } define host{ host_name eth0.client1 parents switch3 } define host{ host_name eth1.client1 parents switch4 } define host{ host_name client1 parents eth0.client1,eth0.client1 } hostgroups.cfg: define hostgroup{ hostgroup_name all-routers members router1,router2 } define hostgroup{ hostgroup_name all-switches members switch1,switch2,switch3,switch4 } define hostgroup{ hostgroup_name all-pclients members eth0.client1,eth0.client1 } services.cfg: define service{ use ping-template hostgroup_name all-routers } define service{ use ping-template hostgroup_name all-switches } define service{ use ping-template hostgroup_name all-pclients } define service{ host_name client1 service_description Logical Host Check check_command check_lhost!eth0.client1!eth1.client1 } define service{ host_name client1 service_description PING servive1 IP check_command check_myping!service1-vip.client1 } define service{ host_name client1 service_description PING servive2 IP check_command check_myping!service2-vip.client1 } define service{ host_name client1 service_description PING servive3 IP check_command check_myping!service3-vip.client1 } define service{ host_name client1 service_description HTTP Service1 on client1 check_command check_vhost!service1-vip.client1!150!500 } define service{ host_name client1 service_description HTTP Service2 on client1 check_command check_vhost!service2-vip.client1!150!500 } define service{ host_name client1 service_description HTTP Service3 on client1 check_command check_vhost!service3-vip.client1!150!500 } dependencies.cfg: define servicedependency{ host_name client1 service_description PING servive1 IP dependent_host_name client dependent_service_description HTTP Service1 on client1 execution_failure_criteria u,w,c notification_failure_criteria u,w,c } define servicedependency{ host_name client1 service_description PING servive2 IP dependent_host_name client dependent_service_description HTTP Service2 on client1 execution_failure_criteria u,w,c notification_failure_criteria u,w,c } define servicedependency{ host_name client1 service_description PING servive3 IP dependent_host_name client dependent_service_description HTTP Service3 on client1 execution_failure_criteria u,w,c notification_failure_criteria u,w,c } We tried it and got the result that we won't get any notifications from the services if just ONE switch/router/interface is going down. So it looks like "parents" rules are like: "_all_ parents have to be up" instead of "at least _one_ of the parents has to be up" (which makes much more sense regarding "normal" network structures - how often do you have a client which fails if ONE of his parents fails? And no, if you have two switches in a row, the client would have just ONE parent, because the second switch has the first one as parent, no problem there). Has anyone a similar network layout or knows the solution for this? Thanks in advance, Stefan -- Stefan Giesen, Systemadministration Frankfurt FIRSTGATE Internet AG, Im MediaPark 5, 50670 Koeln Telefon: +49 (0) 2 21 / 45 45-745, Telefax: +49 (0) 2 21 / 45 45-710 Internet: www.firstgate.de eMail: Stefan.Giesen at firstgate.de -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios-konzept.png Type: image/png Size: 19724 bytes Desc: not available URL: From sjg at easynet.fr Tue Aug 3 10:37:14 2004 From: sjg at easynet.fr (Sebastien J. Gross) Date: Tue, 3 Aug 2004 10:37:14 +0200 Subject: Pending status problem In-Reply-To: <20040728171539.GH4187@zippy.members.linode.com> References: <20040701151538.GE16720@easynet.fr> <20040728165911.GS31188@easynet.fr> <20040728171539.GH4187@zippy.members.linode.com> Message-ID: <20040803083714.GC8965@easynet.fr> On Wed, Jul 28, 2004 at 10:15:39AM -0700, jhmartin at toger.us wrote: > On Wed, Jul 28, 2004 at 06:59:11PM +0200, Sebastien J. Gross wrote: > > Hi, > > Can someone explain me why passive nagios host write information it read > > from an old retention table every 30mn? Is there a way to disable this > > feature? > I don't believe Nagios ever actually reads from those tables > except for the CGI's; so the passive nagios will just write out > it's entire memory into the table every so often. You can't use > replicated mysql to syncronize two Nagios instances. Absolutly. Nagios reads this tables when displaying CGI information. What I do not understand is WHY nagios writes this tables with retentions values. There is no way to synchronise two nagios instances, except using nsca? -- Sebastien J. Gross ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 martin.mielke at thales-is.com Tue Aug 3 10:40:14 2004 From: martin.mielke at thales-is.com (Martin Mielke) Date: Tue, 03 Aug 2004 10:40:14 +0200 Subject: Everyday scheduled downtime Message-ID: <410F4F6E.7020303@thales-is.com> Hi all, I can't find the right options to tell Nagios not to check a host on a known period of time because the system is rebooted everyday at a certain time (please don't ask me why... our customer wants this). So, how would I tell Nagios not to perform system/service checks on a host everyday at 05:00 AM? Because now it's generating false-positives and sending a lot of "down / recovery" emails... Thanks and regards, Martin ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 Sam at Luna.nl Tue Aug 3 11:03:48 2004 From: Sam at Luna.nl (Sam Terburg - Luna.nl) Date: Tue, 3 Aug 2004 11:03:48 +0200 Subject: Everyday scheduled downtime References: <410F4F6E.7020303@thales-is.com> Message-ID: <039001c47938$c9bc5930$248d4dd9@focuz.net> i did the following: in /etc/crontab: 00 6 * * * nagios /usr/local/bin/schedule_downtime hostname servicename "tomorrow 01:00" 3600 /usr/local/bin/schedule_downtime: now=`date +%s` host="$1" service="$2" from=`date --date="$3" +%s` duration=$4 till=$(($from+$duration)) echo "[$now] SCHEDULE_SVC_DOWNTIME;$host;$service;$from;$till;1;$duration;Cron;automatic downtime scheduled from cron" >>/var/run/nagios/nagios.cmd Greetings, Sam Terburg Luna.nl Martin Mielke wrote: > Hi all, > > I can't find the right options to tell Nagios not to check a host on a > known period of time because the system is rebooted everyday at a > certain time (please don't ask me why... our customer wants this). So, > how would I tell Nagios not to perform system/service checks on a host > everyday at 05:00 AM? Because now it's generating false-positives and > sending a lot of "down / recovery" emails... > > > Thanks and regards, > Martin > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes > on Linux.com, ITManagersJournal and NewsForge in the past few weeks? > Now, one more big change to announce. We are now OSTG- Open Source > Technology Group. Come see the changes on the new OSTG site. > www.ostg.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 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 Markus.Roelle at sytech.de Tue Aug 3 11:23:09 2004 From: Markus.Roelle at sytech.de (Markus.Roelle at sytech.de) Date: Tue, 3 Aug 2004 11:23:09 +0200 Subject: Antwort: Everyday scheduled downtime In-Reply-To: <410F4F6E.7020303@thales-is.com> References: <410F4F6E.7020303@thales-is.com> Message-ID: Hi Martin You can use a special timeperiode for this service. You can define in timeperiods.cfg things like define timeperiod { timeperiod_name workhours alias workhours monday 06:00-12:00,13:00-20:00 tuesday 06:00-12:00,13:00-20:00 wednesday 06:00-12:00,13:00-20:00 thursday 06:00-12:00,13:00-20:00 friday 06:00-12:00,13:00-20:00 } and in the service.cfg you have to use the entry workhours as a example for the timeperiode I use it this way Greetings Markus -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ludo.Bosmans at aureusim.be Tue Aug 3 12:02:29 2004 From: Ludo.Bosmans at aureusim.be (Ludo Bosmans) Date: Tue, 3 Aug 2004 12:02:29 +0200 Subject: Everyday scheduled downtime Message-ID: <02769B432700E649B14C0847840DC83B042A68@becompanysrv020.consulting.becompany> Martin, Define a timeperiod that doesn't cover the shutdown period. regards, ludo -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Martin Mielke Sent: dinsdag 3 augustus 2004 10:40 To: Nagios Users Subject: [Nagios-users] Everyday scheduled downtime Hi all, I can't find the right options to tell Nagios not to check a host on a known period of time because the system is rebooted everyday at a certain time (please don't ask me why... our customer wants this). So, how would I tell Nagios not to perform system/service checks on a host everyday at 05:00 AM? Because now it's generating false-positives and sending a lot of "down / recovery" emails... Thanks and regards, Martin ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 flinque at brieres.faurecia.com Tue Aug 3 14:56:29 2004 From: flinque at brieres.faurecia.com (LINQUE Fabrice) Date: Tue, 3 Aug 2004 14:56:29 +0200 Subject: Host assumed to be up Message-ID: <2B9AD6124CAF9B4B98C861A1A38A56282D9C0B@frbriexc0003> Syst?me Info : - Redhat 9 - Nagios 1.2-0 (RPM) - Nagios-plugins 1.3.1-1 - Nagios-plugins-extras 1.3.1-1 When I'm in 'Service Detail' the status of my hosts are OK and status-informations are PING OK... When I'm in 'Host Detail' the status of my hosts are OK and status-informations are (Host assumed to be up)... Then the reporting of Availability and Histogram are not realist ! Does some one know the problem ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From GWCOOK at mactec.com Tue Aug 3 16:09:20 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 3 Aug 2004 08:09:20 -0600 Subject: Redundant Switches/Routers/Network Interfaces and parent configuration question Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E96E4@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > Hi all, > > I've got a question/problem regarding redundant network > connections. We > have the setup as displayed in the graphic below (sorry for the image, > but a picture says more than thousand words and it's easier to > understand what i mean). I've got a network similar to that... > As you can see, we've two redundant routers connected to the backbone > (or internet or whatever). Connected to each router is a > master switch. > The frontend switches are each connected to both master switches. All > clients have two network interfaces, each connected to one > corresponding frontend switch. There are several virtual IPs (VIP) on > each client (RIP/Zebra is used for routing) and different services > running on each VIP. I added a logical client to the picture (which > has no IP address, since it's only a concept) to clarify the > explanations below. Very similar in fact. The only problem with your picture is that it does not show the location of the Nagios box. Therefore, it is difficult to determine if your parents are setup correctly. > What we need is the following: > 1) If anything fails, we want to get notifications for it, but > 2) if anything blocking fails, we don't want to get notifications for > anything below, only for the blocking parts. > 3) Blocking means that both of the structural elements are not > reachable/down (e.g. both routers, both master switches or both > client interfaces and so on). 4) we want ONE entry in the > host/services list for every host (that's why i added the "logical" > host in the diagram), so the overview won't get huge because of every > service is listed twice (= for each network interface of the client). Sounds logical. For number 1, just make sure that you have devices setup to notify when they are in a 'Down' state. For number 2, you'll want to NOT receive 'Unreachable' messages for devices below the 'blocking' device. > Actually I tried the following (i only list the relevant part of the > entries, all hosts checked via ping, except the logical host (which > has it's own check script to check if both interfaces are up), system > is Debian woody with Nagios version 1.2-0 from backports.org): > [snip] > > We tried it and got the result that we won't get any > notifications from > the services if just ONE switch/router/interface is going down. So it > looks like "parents" rules are like: "_all_ parents have to be up" > instead of "at least _one_ of the parents has to be up" (which makes > much more sense regarding "normal" network structures - how > often do you > have a client which fails if ONE of his parents fails? And no, if you > have two switches in a row, the client would have just ONE parent, > because the second switch has the first one as parent, no problem > there). I don't understand the paragraph above. Can you elaborate? Are you stating that if Switch 1 were to go down, you would not receive notifications for service failures on Switch 3? If so, then something is not working correctly. Since Switch2 is a parent of Switch3, you should still see alerts/notifications when Switch3 has problems. In my experience, Nagios does NOT work as you have stated. The 'parents' rules work in such a way that just ONE of the parents needs to be up in order for Nagios to continue running checks against child services/hosts. > Has anyone a similar network layout or knows the solution for this? > > Thanks in advance, > Stefan At this point, I would have to guess that my earlier theory about incorrect parents is causing your issue. From the config snippets (which I've removed from the thread), it appears as though your Nagios box is somewhere on the backbone. I doubt this is the case, but please correct me if I'm wrong here. The documentation here, http://nagios.sourceforge.net/docs/1_0/networkreachability.html, is quite old, I believe that it has not been updated since it was written for NetSaint (other than to change NetSaint references to Nagios). However, it gives an explanation of parent/child relationships. It is important to understand that parent/child relationships have nothing to do with how your network looks to an Admin, but more specifically how the hosts relate to the location of Nagios. For instance, looking at your image from the original mail, if client-vip1 is the Nagios host, then the logical client would be the parent of client-eth0 and client-eth1. These two clients would be the parents of switch3 and switch4 respectively. Switches 3 & 4 would BOTH be parents of switches 1 AND 2. Finally, switches 1 & 2 would be parents of routers 1 & 2 respectively. There is most likely more documentation to explain this, perhaps even a FAQ entry on the nagios.org site. These docs may help: http://nagios.sourceforge.net/docs/1_0/networkoutages.html Hopefully I've been able to shed some light on parent/child relationships if this is your issue. I also noticed that you included some dependency definitions from your configuration files. I don't use many dependencies, so I can't offer much help there, but you should be aware of the fact that service/host dependencies are NOT related to parent/child relationships in the way you might think. The docs at http://nagios.sourceforge.net/docs/1_0/dependencies.html go into vivid detail about host/service dependencies. There is also a FAQ entry at http://www.nagios.org/faqs/viewfaq.php?faq_id=145 that explains away some confusion between dependencies and parent/child relationships. If your Nagios host really is somewhere on the Backbone, and therefore your parent/child relationships are correct, then dependencies may be the reason that things are not working as you would expect. I've guessed at some of this, because I did not clearly understand the nature of your problem or where in the network the Nagios host lives. I hope this information helps you, but if you find that my theory is way off base, please provide additional information to the list, including the location of the Nagios host. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 marc at ena.com Tue Aug 3 16:43:50 2004 From: marc at ena.com (Marc Powell) Date: Tue, 3 Aug 2004 09:43:50 -0500 Subject: Host assumed to be up Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A534@mismail2.ena.com> ________________________________ From: LINQUE Fabrice [mailto:flinque at brieres.faurecia.com] Sent: Tuesday, August 03, 2004 7:56 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Host assumed to be up Syst?me Info : - Redhat 9 - Nagios 1.2-0 (RPM) - Nagios-plugins 1.3.1-1 - Nagios-plugins-extras 1.3.1-1 When I'm in 'Service Detail' the status of my hosts are OK and status-informations are PING OK... When I'm in 'Host Detail' the status of my hosts are OK and status-informations are (Host assumed to be up)... Then the reporting of Availability and Histogram are not realist ! Does some one know the problem ? There is no problem (or spoon). http://www.nagios.org/faqs/viewfaq.php?faq_id=86 and http://www.nagios.org/faqs/viewfaq.php?faq_id=136&expand=false&showdesc=false -- Marc ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 scarpe01 at tufts.edu Tue Aug 3 17:35:05 2004 From: scarpe01 at tufts.edu (Stephen Carpenter) Date: Tue, 3 Aug 2004 11:35:05 -0400 Subject: NRPE patch for metachars Message-ID: <20040803153505.GA23855@brake.usg.tufts.edu> I noticed a bit ago someone else had the same problem I did: trying to pass a perl regular expression to a check failed due to a rather paranoid restriction in NRPE. I submitted a patch to nagios at nagios.org a while ago but heard nothing, so I figure maybe sending it to this list will help someone. I have added a new config option: allow_metachars=1 This and command line arguments has vastly simplified my life. === Allow Metachars Patch === here is the patch: RCS file: /usr/local/cvsroot/build/nrpe2/src/src/nrpe.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- nrpe.c 29 Dec 2003 17:30:05 -0000 1.1 +++ nrpe.c 24 Jun 2004 15:28:29 -0000 1.2 @@ -67,6 +67,7 @@ char *nrpe_group=NULL; int allow_arguments=FALSE; +int allow_metachars=FALSE; int show_help=FALSE; int show_license=FALSE; @@ -381,6 +382,9 @@ else if(!strcmp(varname,"dont_blame_nrpe")) allow_arguments=(atoi(varvalue)==1)?TRUE:FALSE; + else if(!strcmp(varname,"allow_metachars")) + allow_metachars=(atoi(varvalue)==1)?TRUE:FALSE; + else if(!strcmp(varname,"command_timeout")){ command_timeout=atoi(varvalue); if(command_timeout<1){ @@ -1295,7 +1299,7 @@ } /* make sure request doesn't contain nasties */ - if(contains_nasty_metachars(pkt->buffer)==TRUE){ + if(! allow_metachars && contains_nasty_metachars(pkt->buffer)==TRUE){ syslog(LOG_ERR,"Error: Request contained illegal metachars!"); return ERROR; } === END === -- "The Creation of the Universe was made possible by a grant from Texas Instruments. " -- PBS ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 jhmartin at toger.us Tue Aug 3 18:13:42 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 3 Aug 2004 09:13:42 -0700 Subject: NRPE patch for metachars In-Reply-To: <20040803153505.GA23855@brake.usg.tufts.edu> References: <20040803153505.GA23855@brake.usg.tufts.edu> Message-ID: <20040803161342.GW31499@zippy.toger.us> I was the one who made the complaint; the problem is that allowing metacharacters leaves one wide open for attack. Allowing metacharacters without requiring ssl / tcp wrappers just makes it too easy for someone to misuse NRPE and I'd hate for NRPE to get on the 'bad' list in the IT Security world. I solved it by base64 encoding the regular expression (using a very simple perl script in the check command definition so the expression was cleartext in the nagios config) prior to sending it and modifying the plugin to handle decoding it. -Jason Martin On Tue, Aug 03, 2004 at 11:35:05AM -0400, Stephen Carpenter wrote: > I noticed a bit ago someone else had the same problem I did: trying > to pass a perl regular expression to a check failed due to a rather > paranoid restriction in NRPE. > > I submitted a patch to nagios at nagios.org a while ago but heard > nothing, so I figure maybe sending it to this list will help someone. > I have added a new config option: > > allow_metachars=1 > > This and command line arguments has vastly simplified my life. > > === Allow Metachars Patch === > here is the patch: > RCS file: /usr/local/cvsroot/build/nrpe2/src/src/nrpe.c,v > retrieving revision 1.1 > retrieving revision 1.2 > diff -u -r1.1 -r1.2 > --- nrpe.c 29 Dec 2003 17:30:05 -0000 1.1 > +++ nrpe.c 24 Jun 2004 15:28:29 -0000 1.2 > @@ -67,6 +67,7 @@ > char *nrpe_group=NULL; > > int allow_arguments=FALSE; > +int allow_metachars=FALSE; > > int show_help=FALSE; > int show_license=FALSE; > @@ -381,6 +382,9 @@ > else if(!strcmp(varname,"dont_blame_nrpe")) > allow_arguments=(atoi(varvalue)==1)?TRUE:FALSE; > > + else if(!strcmp(varname,"allow_metachars")) > + allow_metachars=(atoi(varvalue)==1)?TRUE:FALSE; > + > else if(!strcmp(varname,"command_timeout")){ > command_timeout=atoi(varvalue); > if(command_timeout<1){ > @@ -1295,7 +1299,7 @@ > } > > /* make sure request doesn't contain nasties */ > - if(contains_nasty_metachars(pkt->buffer)==TRUE){ > + if(! allow_metachars && > contains_nasty_metachars(pkt->buffer)==TRUE){ > syslog(LOG_ERR,"Error: Request contained illegal > metachars!"); > return ERROR; > } > === END === > -- This isn't hell, but I can see it from here. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From nsahnoun at refco.fr Tue Aug 3 18:49:09 2004 From: nsahnoun at refco.fr (SAHNOUN, Nadir) Date: Tue, 3 Aug 2004 18:49:09 +0200 Subject: ERROR : Apan could not find service Message-ID: <5F0A27BFF6A3D811A8200002A547CD3C1A68B6@SRPAREXCHG2> Hi all, The error is : Apan could not find service Can you help me please ? Thank You very much. My configuration file : ========================================= SERVICES.CFG ========================================= # Service definition define service{ use generic-service-apan host_name server1 name Net_usage service_description Net_usage check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 check_command apan-sql!snmpget!10!20 } ========================================= SERVICEXTINFO-APAN ========================================= # Network traffic define serviceextinfo { host_name server1 service_description Net_usage notes_url /nagios/cgi-bin/apan-sql.cgi?host=nagios1&service=Net_usage icon_image graph.png icon_image_alt View Apan-graphs } ========================================= CHECKCOMMANDS.CFG ========================================= # 'apan-sql' command definition define command{ command_name apan-sql command_line /usr/local/nagios/apan-sql/apan-sql.sh $ARG1$ $HOSTADDRESS$ $SERVICEDESC$ $TIMET$ $ARG2$ $ARG3#$ } ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 mscandian at freebsdbrasil.com.br Tue Aug 3 19:09:06 2004 From: mscandian at freebsdbrasil.com.br (Mario Sergio Candian) Date: Tue, 3 Aug 2004 14:09:06 -0300 (BRT) Subject: Monitoring services... Message-ID: <20040803140711.S966-100000@cyberdine.freebsdbrasil.com.br> Someone know how i can monitoring a service (HTTP) defining a different port? 8887 for example. I need to configure some services (Sendmail) and monitoring it, but its working in other machine only local. How i can do it? Mario Sergio Candian On Fri, 30 Jul 2004, Marc Powell wrote: > ----Original Message---- > From: Mario Sergio Candian [mailto:mscandian at freebsdbrasil.com.br] > Sent: Friday, July 30, 2004 3:47 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notification > > > Hi, > > > > how i configure the time of the nagios to send me a notification? > > That's a vague question. Do you mean you only want notifications during > certain hours of the day? > > Define a time_period : > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#timeperiod > > Apply it as the notification_period for the host or service : > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host, > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service > > > Or do you want to delay notifications by a certain number of minutes > (only works for services): > > Set your max_check_attempts, normal_check_interval and > retry_check_interval to appropriate numbers. For example, > > Normal_check_interval 5 #minutes > Retry_check_interval 3 #minutes > Max_check_attempts 5 #try 5 times total > > Results in about a 15 minute delay from the first CRITICAL check result > until notification, presuming the service is critical for the entire > interval. > > -- > Marc > > > ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 jhmartin at toger.us Tue Aug 3 19:18:03 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 3 Aug 2004 10:18:03 -0700 Subject: Monitoring services... In-Reply-To: <20040803140711.S966-100000@cyberdine.freebsdbrasil.com.br> References: <20040803140711.S966-100000@cyberdine.freebsdbrasil.com.br> Message-ID: <20040803171803.GA32547@zippy.toger.us> On Tue, Aug 03, 2004 at 02:09:06PM -0300, Mario Sergio Candian wrote: > Someone know how i can monitoring a service (HTTP) defining a > different port? 8887 for example. I need to configure some services Many of the plugins have a -p option that allows you to specify a different port; I believe check_http is one of them. You may have to modify your check command and service definition to utilize this. -Jason Martin -- These are only my opinions. You should see my convictions. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From marc at ena.com Tue Aug 3 19:35:46 2004 From: marc at ena.com (Marc Powell) Date: Tue, 3 Aug 2004 12:35:46 -0500 Subject: Monitoring services... Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A561@mismail2.ena.com> ----Original Message---- From: Mario Sergio Candian [mailto:mscandian at freebsdbrasil.com.br] Sent: Tuesday, August 03, 2004 12:09 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring services... > Someone know how i can monitoring a service (HTTP) defining a > different port? 8887 for example. I need to configure some services > (Sendmail) and monitoring it, but its working in other machine only > local. > How i can do it? >From check_http --help: -p, --port=INTEGER Port number (default: 80) -- Marc ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 dknutson at sydran.com Tue Aug 3 18:41:15 2004 From: dknutson at sydran.com (David Knutson) Date: Tue, 03 Aug 2004 09:41:15 -0700 Subject: Plugin for counting files? Message-ID: Can anyone point me to a plugin for checking the number of files in a directory? I'm new to nagios and would rather not dive into creating a plugin at this time. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From shoemake at america.net Tue Aug 3 19:37:19 2004 From: shoemake at america.net (Michael Shoemaker) Date: Tue, 3 Aug 2004 13:37:19 -0400 Subject: check_dhcp remote network Message-ID: <200408031337.19986.shoemake@america.net> I am wondering if I can use the check_dhcp script to query a remote dhcp server that is not on the network of the central nagios server. I know it works checking against the local dhcp server, but I need to know if it is possible to monitor a remote host without having the nagios client installed on the dhcp server. Thanks Michael Shoemaker ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 dmourati at cm.math.uiuc.edu Tue Aug 3 21:06:58 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Tue, 3 Aug 2004 14:06:58 -0500 (CDT) Subject: check_dhcp remote network In-Reply-To: <200408031337.19986.shoemake@america.net> References: <200408031337.19986.shoemake@america.net> Message-ID: On Tue, 3 Aug 2004, Michael Shoemaker wrote: > I am wondering if I can use the check_dhcp script to query a remote dhcp > server that is not on the network of the central nagios server. I know > it works checking against the local dhcp server, but I need to know if > it is possible to monitor a remote host without having the nagios client > installed on the dhcp server. Read the docs? http://nagios.sourceforge.net/docs/1_0/indirectchecks.html You can do this with NRPE or check_by_ssh. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 marc at ena.com Tue Aug 3 21:29:27 2004 From: marc at ena.com (Marc Powell) Date: Tue, 3 Aug 2004 14:29:27 -0500 Subject: check_dhcp remote network Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A56D@mismail2.ena.com> ----Original Message---- From: Michael Shoemaker [mailto:shoemake at america.net] Sent: Tuesday, August 03, 2004 12:37 PM To: Nagios User Maillist Subject: [Nagios-users] check_dhcp remote network > I am wondering if I can use the check_dhcp script to query a remote > dhcp server that is not on the network of the central nagios server. > I know it works checking against the local dhcp server, but I need to > know if it is possible to monitor a remote host without having the > nagios client installed on the dhcp server. DHCP only works on the local LAN segment unless it is being relayed by all routers in between (generally not a good idea). That's just the nature of DHCP and not a failure of the plugin. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 chris at dhinnovations.com Tue Aug 3 23:57:05 2004 From: chris at dhinnovations.com (Christopher D. Chandler) Date: Tue, 3 Aug 2004 17:57:05 -0400 Subject: Icon disappear after using MYSQL for XDATA Message-ID: To Nagios Support: I have recently complied the nagios bin to use MYSQL for xdata upon doing so I have lost all my icons for my status map. All the host have a black question mark on top of them. Can anyone help get my icons back. Below are the configuration files that I am using. Thanks - Chris CONFIG.STATUS ./configure --disable-statuswrl --enable-embedded-perl --with-perlcache --with-file-perfdata --with-mysql-xdata CGI.CFG xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg HOSTEXTINFO.CFG # DH01 Description define hostextinfo{ host_name dh01 icon_image win40.jpg icon_image_alt DH01 vrml_image win40.jpg statusmap_image win40.jpg gd2_image win40.jpg register 1 } # DH02 Description define hostextinfo{ host_name dh02 icon_image win40.jpg icon_image_alt DH02 vrml_image win40.jpg statusmap_image win40.jpg gd2_image win40.jpg register 1 } # DH03 Description define hostextinfo{ host_name dh03 icon_image redhat.jpg icon_image_alt DH03 vrml_image redhat.jpg statusmap_image redhat.jpg gd2_image redhat.jpg register 1 } # DH04 Description define hostextinfo{ host_name dh04 icon_image redhat.jpg icon_image_alt DH01 vrml_image redhat.jpg statusmap_image redhat.jpg gd2_image redhat.jpg register 1 } Christopher D. Chandler Managing Partner Office: 919-481-9876 Mobile: 919-274-7684 chris at dhinnovations.com DH Innovations, LLC Post Office Box 5335 | Cary, North Carolina 27512 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jaap.hogenberg at marketxs.com Wed Aug 4 11:22:42 2004 From: jaap.hogenberg at marketxs.com (Jaap Hogenberg) Date: Wed, 04 Aug 2004 11:22:42 +0200 Subject: Plugin for counting files? In-Reply-To: References: Message-ID: <1091611362.2885.4.camel@kyle> On Tue, 2004-08-03 at 18:41, David Knutson wrote: > Can anyone point me to a plugin for checking the number of files in a > directory? I'm new to nagios and would rather not dive into creating > a plugin at this time. Thanks! > I would encourage you to dive in ! Writing plugins is really quite easy, and will give you the power to monitor almost anything you could think of. But I'm in a good mood, so I wrote a plugin for you, it is attached (shell script, tested to work on a linux machine) Regards, Jaap. -------------- next part -------------- A non-text attachment was scrubbed... Name: check_filecount Type: text/x-sh Size: 784 bytes Desc: not available URL: From h.januschka at krone.at Wed Aug 4 12:21:03 2004 From: h.januschka at krone.at (Helmut Januschka) Date: Wed, 4 Aug 2004 12:21:03 +0200 Subject: AW: Plugin for counting files? Message-ID: <481EAEA6BAED9A4EAF26BA149197AA3E87F84F@office1.online.krone.at> We are using, check_files_in_dir for checking exim/sendmail queue directories call it with "-h" #-----------snip #!/bin/bash export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin PROGNAME=`basename $0` PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` REVISION=`echo '$Revision: 1.0 $' | sed -e 's/[^0-9.]//g'` . $PROGPATH/utils.sh print_usage() { echo "Check How many files in a Direcotry" echo "---------------------Usage-----------------------------------------------" echo "-D Directory Def:/usr/local/bannerd/QUEUE"; echo "-w WARN if greater than N files Def: 20"; echo "-c CRIT if greater than N files Def: 50"; echo "-h Show This Help" echo "-------------------------------------------------------------------------" print_revision } #Defs: DIRE=/default/dir/ WARN="20"; CRIT="50"; while getopts D:w:c:h o do case $o in D) DIRE=$OPTARG;; w) WARN=$OPTARG;; c) CRIT=$OPTARG;; h) print_usage; exit $STATE_UNKOWN;; esac done CHK=`find $DIRE -type f|wc -l|tr -d [:blank:]`; if [ $CHK -gt $CRIT ]; then echo "FilesInDir($DIRE/$CHK) critical `date`"; exit $STATE_CRITICAL; fi; if [ $CHK -gt $WARN ]; then echo "FilesInDir($DIRE/$CHK) warning `date`"; exit $STATE_WARNING; fi; echo "FilesInDir($DIRE/$CHK) ok `date`"; exit $STATE_OK; #----------snip -----Urspr?ngliche Nachricht----- Von: Jaap Hogenberg [mailto:jaap.hogenberg at marketxs.com] Gesendet: Mittwoch, 04. August 2004 11:23 An: David Knutson Cc: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] Plugin for counting files? On Tue, 2004-08-03 at 18:41, David Knutson wrote: > Can anyone point me to a plugin for checking the number of files in a > directory? I'm new to nagios and would rather not dive into creating > a plugin at this time. Thanks! > I would encourage you to dive in ! Writing plugins is really quite easy, and will give you the power to monitor almost anything you could think of. But I'm in a good mood, so I wrote a plugin for you, it is attached (shell script, tested to work on a linux machine) Regards, Jaap. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 andreoni at ksolutions.it Wed Aug 4 13:12:50 2004 From: andreoni at ksolutions.it (Andreoni Antonella) Date: Wed, 4 Aug 2004 13:12:50 +0200 Subject: R: Icon disappear after using MYSQL for XDATA Message-ID: <11AD6C34FEBDB34E96622FEB7E6B64C5050540E4@kmail.ksolutions.it> Nagios will read xdata from MySQL DB tables so you have to insert your xdata in hostextinfo table in your MySQL DB you have to connect to your DB, you should find a table called hostextinfo (and also serviceextinfo) mysql> describe hostextinfo; +----------------+--------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +----------------+--------------+------+-----+---------+-------+ | host_name | varchar(75) | | | | | | notes_url | varchar(128) | | | | | | icon_image | varchar(32) | | | | | | vrml_image | varchar(32) | | | | | | gd2_icon_image | varchar(32) | | | | | | icon_image_alt | varchar(128) | | | | | | x_2d | int(11) | | | -1 | | | y_2d | int(11) | | | -1 | | | x_3d | double(16,4) | | | -1.0000 | | | y_3d | double(16,4) | | | -1.0000 | | | z_3d | double(16,4) | | | -1.0000 | | | have_2d_coords | tinyint(4) | | | 0 | | | have_3d_coords | tinyint(4) | | | 0 | | +----------------+--------------+------+-----+---------+-------+ 13 rows in set (0.02 sec) then you have to insert your xdata for all your hosts this is an example of insert command for one of my hosts mysql> insert into hostextinfo values ('PESM0005','http://xxx.xxx.xxx.xxx/cgi-bin/PESM0005-rrd.cgi/PESM0005_se00_locIfInOutBitsSec/','router40.png','','router40.gd2','PESM0005',200,200,100.0,100.0,300.0,100,100); if you have lots of hosts I suggest you to write a text file with insert commands for all your hosts and input it to mysql hope this helps Antonella --------------------------------------------- Antonella Andreoni System Engineer KSOLUTIONS S.p.A. Via Lenin, 132/26 56017 San Martino Ulmiano (PI) - Italy Tel. +39 50 898111 Fax +39 50 861200 E-mail: andreoni at ksolutions.it http://www.ksolutions.it --------------------------------------------- -----Messaggio originale----- Da: Christopher D. Chandler [mailto:chris at dhinnovations.com] Inviato: marted? 3 agosto 2004 23.57 A: nagios-users at lists.sourceforge.net Oggetto: [Nagios-users] Icon disappear after using MYSQL for XDATA To Nagios Support: I have recently complied the nagios bin to use MYSQL for xdata upon doing so I have lost all my icons for my status map. All the host have a black question mark on top of them. Can anyone help get my icons back. Below are the configuration files that I am using. Thanks - Chris CONFIG.STATUS ./configure --disable-statuswrl --enable-embedded-perl --with-perlcache --with-file-perfdata --with-mysql-xdata CGI.CFG xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg HOSTEXTINFO.CFG # DH01 Description define hostextinfo{ host_name dh01 icon_image win40.jpg icon_image_alt DH01 vrml_image win40.jpg statusmap_image win40.jpg gd2_image win40.jpg register 1 } # DH02 Description define hostextinfo{ host_name dh02 icon_image win40.jpg icon_image_alt DH02 vrml_image win40.jpg statusmap_image win40.jpg gd2_image win40.jpg register 1 } # DH03 Description define hostextinfo{ host_name dh03 icon_image redhat.jpg icon_image_alt DH03 vrml_image redhat.jpg statusmap_image redhat.jpg gd2_image redhat.jpg register 1 } # DH04 Description define hostextinfo{ host_name dh04 icon_image redhat.jpg icon_image_alt DH01 vrml_image redhat.jpg statusmap_image redhat.jpg gd2_image redhat.jpg register 1 } Christopher D. Chandler Managing Partner Office: 919-481-9876 Mobile: 919-274-7684 chris at dhinnovations.com DH Innovations, LLC Post Office Box 5335 | Cary, North Carolina 27512 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wp.junior at terra.com.br Wed Aug 4 17:18:44 2004 From: wp.junior at terra.com.br (Wilson Pires Jr) Date: Wed, 4 Aug 2004 12:18:44 -0300 Subject: FW: Process Message-ID: <20040804151936.5591A3C157@talara.terra.com.br> Hello guys, please, could anybody help me with this problem? I don't know from where to begin checking to solve it! My nagios gets stuck, so I can't put it into production. Please again, help me !!! Regards, Wilson -----Original Message----- From: Wilson Pires Jr [mailto:wp.junior at terra.com.br] Sent: segunda-feira, 2 de agosto de 2004 10:59 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Process Hi all. I run nagios 1.2 on redhat 9. I always have a nagios process like this: nagios 22138 0.0 0.0 0 0 ? Z Jul31 0:00 [nagios ] Also my nagios has gotten stucked: Process Status Information Process Status: WARNING Check Command Output: Nagios problem: located 27 processes, status log updated 199792 seconds ago The questions: 1 - How can I discover what is causing the process? 2 - May the process be the cause of nagios stucking? 3 - What are the possible causes for nagios stucking? Regards, Wilson ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 h.januschka at krone.at Wed Aug 4 18:41:11 2004 From: h.januschka at krone.at (Helmut Januschka) Date: Wed, 4 Aug 2004 18:41:11 +0200 Subject: AW: Process Message-ID: <481EAEA6BAED9A4EAF26BA149197AA3E87F854@office1.online.krone.at> Had same trouble's with the *** rh9 http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/release-notes/x86/ export LD_ASSUME_KERNEL=2.4.1 to get back the normal thread libaries /etc/init.d/nagios start wie switched, after much more redhat related troubles/changes, all servers to debian if that doesn't work try to find a child process and strace it down and try to find out where it hangs strace -p cu -----Urspr?ngliche Nachricht----- Von: Wilson Pires Jr [mailto:wp.junior at terra.com.br] Gesendet: Mittwoch, 04. August 2004 17:19 An: nagios-users at lists.sourceforge.net Betreff: FW: [Nagios-users] Process Hello guys, please, could anybody help me with this problem? I don't know from where to begin checking to solve it! My nagios gets stuck, so I can't put it into production. Please again, help me !!! Regards, Wilson -----Original Message----- From: Wilson Pires Jr [mailto:wp.junior at terra.com.br] Sent: segunda-feira, 2 de agosto de 2004 10:59 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Process Hi all. I run nagios 1.2 on redhat 9. I always have a nagios process like this: nagios 22138 0.0 0.0 0 0 ? Z Jul31 0:00 [nagios ] Also my nagios has gotten stucked: Process Status Information Process Status: WARNING Check Command Output: Nagios problem: located 27 processes, status log updated 199792 seconds ago The questions: 1 - How can I discover what is causing the process? 2 - May the process be the cause of nagios stucking? 3 - What are the possible causes for nagios stucking? Regards, Wilson ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 mscandian at freebsdbrasil.com.br Wed Aug 4 18:48:12 2004 From: mscandian at freebsdbrasil.com.br (Mario Sergio Candian) Date: Wed, 4 Aug 2004 13:48:12 -0300 (BRT) Subject: multiple instances Message-ID: <20040804134519.J952-100000@cyberdine.freebsdbrasil.com.br> Hi guys, how i can install nagios with multiple instances? I wanna to install it by ports (freebsd). Whats the correct procedure for it? Tkz all! Mario Sergio Candian ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 sudheer at tgs-solutions.com Wed Aug 4 19:49:31 2004 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Wed, 04 Aug 2004 13:49:31 -0400 Subject: Not able to send emails Message-ID: <411121AB.4050009@tgs-solutions.com> Hi all, I am having problem in sending emails from nagios, when ever there is a state change in host's status. Here is my config file. I get emails for warning and recovery. But not on down or unknown or critical. I had only c and r enabled before. Now I have w,u,c and r enabled. Please help. define service{ host_name hostname service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups server-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 #passive_checks_enabled 1 check_command check_ping!100.0,20%!500.0,60% } Thanks, Sudheer ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 dmourati at cm.math.uiuc.edu Wed Aug 4 19:55:07 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 4 Aug 2004 12:55:07 -0500 (CDT) Subject: Not able to send emails In-Reply-To: <411121AB.4050009@tgs-solutions.com> References: <411121AB.4050009@tgs-solutions.com> Message-ID: On Wed, 4 Aug 2004, Sudheer Muddappa wrote: > Hi all, > > I am having problem in sending emails from nagios, when ever there is a > state change in host's status. > > Here is my config file. > I get emails for warning and recovery. But not on down or unknown or > critical. > > I had only c and r enabled before. Now I have w,u,c and r enabled. Restarted Nagios? --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 Darren.Kemp at xerox.com Wed Aug 4 20:11:54 2004 From: Darren.Kemp at xerox.com (Kemp, Darren) Date: Wed, 4 Aug 2004 14:11:54 -0400 Subject: Downtime Notifications? Message-ID: <330CE9F92C02064B86090D40B479712F33919C@usa0300ms04.na.xerox.net> Is there a way to make a scheduled downtime send a notification at the start/end of the downtime? (ie scheduled downtime on host/service is starting/stopping) I have scanned the FAQ's and didn't see anything along these lines. It would probably be a useful feature. Thanks -dkk ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 msalists at gmx.net Wed Aug 4 20:18:43 2004 From: msalists at gmx.net (Mark) Date: Wed, 4 Aug 2004 11:18:43 -0700 Subject: Check_dns problem "output parsing exited with no address" Message-ID: <054901c47a4f$7a671ec0$b5d501cc@dragonfly> Hi, I get this error really frequently - a few times an hour mostly... SERVICE ALERT: dns_66_2;DNS;CRITICAL;SOFT;1;DNS CRITICAL - '/usr/bin/nslookup -sil' output parsing exited with no address If I try to test the server manually I have no problems. The problem comes and goes, sometimes it gets the error, a few minutes later it's ok again. I don't think that it is really the DNS server's problem or the network... I have a second IP address for the same server, that one never has this problem... I saw a mailing about this problem before, but nobody had replied with an answer how to fix it or an idea what it might be... This is my configuration: define host{ use generic-host ; Name of host template to use host_name dns_66_2 alias dns_66_2 address 66.116.69.80 check_command check-host-alive max_check_attempts 20 notification_interval 60 notification_period 24x7 notification_options d,u,r } define service{ use generic-service ; Name of service template to use hostgroup_name name_servers service_description DNS is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups freightgate-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_dns } define command{ command_name check_dns command_line $USER1$/check_dns -H www.yahoo.com -s $HOSTADDRESS$ } Thanks, MARK ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 jhmartin at toger.us Wed Aug 4 20:21:48 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 4 Aug 2004 11:21:48 -0700 Subject: Downtime Notifications? In-Reply-To: <330CE9F92C02064B86090D40B479712F33919C@usa0300ms04.na.xerox.net> References: <330CE9F92C02064B86090D40B479712F33919C@usa0300ms04.na.xerox.net> Message-ID: <20040804182148.GH32547@zippy.toger.us> On Wed, Aug 04, 2004 at 02:11:54PM -0400, Kemp, Darren wrote: > Is there a way to make a scheduled downtime send a notification at the > start/end of the downtime? (ie scheduled downtime on host/service is > starting/stopping) That would be an interesting feature, but I don't think it is currently implemented. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From msalists at gmx.net Wed Aug 4 20:23:58 2004 From: msalists at gmx.net (Mark) Date: Wed, 4 Aug 2004 11:23:58 -0700 Subject: Check_dns problem "output parsing exited with no address" In-Reply-To: <054901c47a4f$7a671ec0$b5d501cc@dragonfly> References: <054901c47a4f$7a671ec0$b5d501cc@dragonfly> Message-ID: <054c01c47a50$36214960$b5d501cc@dragonfly> Oops, I forgot... I was running nagios 1.1 and plugins 1.3.1 Just upgraded Nagios to 1.2 5 minutes ago, not sure if there is any chance this might fix it - probably not.... > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mark > Sent: Wednesday, August 04, 2004 11:19 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check_dns problem "output parsing > exited with no address" > > > Hi, > > I get this error really frequently - a few times an hour mostly... > SERVICE ALERT: dns_66_2;DNS;CRITICAL;SOFT;1;DNS CRITICAL - > '/usr/bin/nslookup -sil' output parsing exited with no address > > If I try to test the server manually I have no problems. The > problem comes > and goes, sometimes it gets the error, a few minutes later > it's ok again. I > don't think that it is really the DNS server's problem or the > network... I > have a second IP address for the same server, that one never has this > problem... > > I saw a mailing about this problem before, but nobody had > replied with an > answer how to fix it or an idea what it might be... > > This is my configuration: > > > define host{ > use generic-host ; Name of host > template to use > host_name dns_66_2 > alias dns_66_2 > address 66.116.69.80 > check_command check-host-alive > max_check_attempts 20 > notification_interval 60 > notification_period 24x7 > notification_options d,u,r > } > > define service{ > use generic-service > ; Name of > service template to use > hostgroup_name name_servers > service_description DNS > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups freightgate-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_dns > } > > define command{ > command_name check_dns > command_line $USER1$/check_dns -H www.yahoo.com -s > $HOSTADDRESS$ > } > > > > Thanks, > > MARK > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the > changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source > Technology > Group. Come see the changes on the new OSTG site. www.ostg.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 > ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 max at militant.dk Wed Aug 4 20:52:34 2004 From: max at militant.dk (Max Andersen) Date: Wed, 04 Aug 2004 20:52:34 +0200 Subject: Not able to send emails In-Reply-To: <411121AB.4050009@tgs-solutions.com> References: <411121AB.4050009@tgs-solutions.com> Message-ID: <41113072.7090003@militant.dk> Sudheer Muddappa wrote: > Hi all, > > I am having problem in sending emails from nagios, when ever there is > a state change in host's status. > > Here is my config file. > I get emails for warning and recovery. But not on down or unknown or > critical. > > I had only c and r enabled before. Now I have w,u,c and r enabled. > You might try to restart nagios, but if that doesn't seem to work, then check if multiple instances of nagios are running, and stop them all before starting nagios again. Sincerely Max -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3697 bytes Desc: S/MIME Cryptographic Signature URL: From joao.paulo at orbitel.com.br Wed Aug 4 21:37:38 2004 From: joao.paulo at orbitel.com.br (=?ISO-8859-1?Q?Jo=E3o_Paulo_Vaz_da_Silva?=) Date: Wed, 04 Aug 2004 16:37:38 -0300 Subject: what's Message-ID: <41113B02.3020103@orbitel.com.br> What's error before restart Nagios Error: Global host event handler command 'somecommand' is not defined anywhere! Error: Global service event handler command 'somecommand' is not defined anywhere! HELP - ME Please Jo?o Paulo ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 marc at ena.com Wed Aug 4 21:50:33 2004 From: marc at ena.com (Marc Powell) Date: Wed, 4 Aug 2004 14:50:33 -0500 Subject: what's Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A5CA@mismail2.ena.com> ----Original Message---- From: Jo?o Paulo Vaz da Silva [mailto:joao.paulo at orbitel.com.br] Sent: Wednesday, August 04, 2004 2:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] what's > What's error before restart Nagios > > Error: Global host event handler command 'somecommand' is not defined > anywhere! > Error: Global service event handler command 'somecommand' is not > defined anywhere! Ummm... You seem to have un-commented the following lines in nagios.cfg without actually reading the doccos -- # GLOBAL HOST AND SERVICE EVENT HANDLERS # These options allow you to specify a host and service event handler # command that is to be run for every host or service state change. # The global event handler is executed immediately prior to the event # handler that you have optionally specified in each host or # service definition. The command argument is the short name of a # command definition that you define in your host configuration file. # Read the HTML docs for more information. #global_host_event_handler=somecommand #global_service_event_handler=somecommand -- Marc ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 Darren.Kemp at xerox.com Wed Aug 4 21:47:53 2004 From: Darren.Kemp at xerox.com (Kemp, Darren) Date: Wed, 4 Aug 2004 15:47:53 -0400 Subject: what's Message-ID: <330CE9F92C02064B86090D40B479712F3391AF@usa0300ms04.na.xerox.net> Somewhere you are calling an event_handler named somecommand that is not defined in your command.cfg (or nagios.cfg) file. -dkk -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jo?o Paulo Vaz da Silva Sent: Wednesday, August 04, 2004 3:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] what's What's error before restart Nagios Error: Global host event handler command 'somecommand' is not defined anywhere! Error: Global service event handler command 'somecommand' is not defined anywhere! HELP - ME Please Jo?o Paulo ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 GWCOOK at mactec.com Wed Aug 4 22:01:21 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 4 Aug 2004 14:01:21 -0600 Subject: what's Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E971E@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > What's error before restart Nagios > > Error: Global host event handler command 'somecommand' is not defined > anywhere! Error: Global service event handler command 'somecommand' is > not defined > anywhere! > > > HELP - ME > Please > > Jo?o Paulo I think you've uncommented the lines in nagios.cfg which activate the global host and service event handlers. But it does not look like you've updated the files to point to a real command. I would recommend commenting these out again, and then try to start Nagios. Then, if it works, and you still need the global event handlers, read the docs before attempting to implement them again. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 joao.paulo at orbitel.com.br Wed Aug 4 22:16:45 2004 From: joao.paulo at orbitel.com.br (=?ISO-8859-1?Q?Jo=E3o_Paulo_Vaz_da_Silva?=) Date: Wed, 04 Aug 2004 17:16:45 -0300 Subject: my now problem Message-ID: <4111442D.3050600@orbitel.com.br> Is my now problem: It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. Help-me ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 jhmartin at toger.us Wed Aug 4 22:09:08 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 4 Aug 2004 13:09:08 -0700 Subject: Freshness & failover Message-ID: <20040804200908.GJ32547@zippy.toger.us> Can anyone recommend a way to handle services with freshness checking and failover conditions? The docs say to disable notifications and active checks, but expired freshness timers force checks regardless. Thank you, -Jason Martin -- Have it OUR way. Yours is IRRELEVANT. At BORGerKing. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From marc at ena.com Wed Aug 4 22:11:45 2004 From: marc at ena.com (Marc Powell) Date: Wed, 4 Aug 2004 15:11:45 -0500 Subject: what's Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A5CD@mismail2.ena.com> ----Original Message---- From: Jo?o Paulo Vaz da Silva [mailto:joao.paulo at orbitel.com.br] Sent: Wednesday, August 04, 2004 3:12 PM To: Marc Powell Subject: Re: [Nagios-users] what's > > > thank's now my problem's: > > It appears as though you do not have permission to view information > for any of the services you requested... > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI and check the authorization > options in your CGI configuration file. The documentation and resources for Nagios are very very good. This is thoroughly covered in the documentation under "Configuring Authorization for the CGI's", in the FAQ and in the file that you edited to enable this feature. Please consult those sources _first_, then a second time before calling out for help. Thanks, -- Marc ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 dhobbs at chancery.com Wed Aug 4 23:00:36 2004 From: dhobbs at chancery.com (Dale Hobbs) Date: Wed, 4 Aug 2004 14:00:36 -0700 Subject: my now problem Message-ID: <903C68C2CC785C4684A59862E3067553916D89@s-exchange4.chancery.com> You need to set the proper permissions on the /nagios/var/rw folder as follows drwxrwsr-x 2 nagios nagiocmd 4096 Aug 3 12:10 rw -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jo?o Paulo Vaz da Silva Sent: 4-Aug-04 1:17 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] my now problem Is my now problem: It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. Help-me ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 walrus+nagios at glassonion.org Wed Aug 4 23:02:50 2004 From: walrus+nagios at glassonion.org (Chaos Golubitsky) Date: Wed, 4 Aug 2004 17:02:50 -0400 Subject: dump of nagios configuration Message-ID: <20040804210249.GA13397@glassonion.org> Hi guys, I poked through the Nagios manual in some detail, and i don't believe i was able to find an answer to this. I am trying to debug a somewhat complex configuration, and am finding that it would be very useful to be able to get a dump of what Nagios thinks all of its configuration variables are. That is, ideally, i could start Nagios, and it would read its config, and output: service: name=my-service normal_check_interval=30 retry_check_interval=3 ... (for each service, and for all configuration variables, both those which were declared and those which had taken their default values), and it would do the same thing for hosts, check commands, etc. Does anyone have any suggestions about how to get Nagios to output its configuration variables to this level of detail? Thanks in advance. -Chaos ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 ae at op5.se Wed Aug 4 23:41:37 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 04 Aug 2004 23:41:37 +0200 Subject: dump of nagios configuration In-Reply-To: <20040804210249.GA13397@glassonion.org> References: <20040804210249.GA13397@glassonion.org> Message-ID: <41115811.2050009@op5.se> Chaos Golubitsky wrote: > Hi guys, > > I poked through the Nagios manual in some detail, and i don't believe > i was able to find an answer to this. I am trying to debug a > somewhat complex configuration, and am finding that it would be > very useful to be able to get a dump of what Nagios thinks all of > its configuration variables are. That is, ideally, i could start > Nagios, and it would read its config, and output: > > service: > name=my-service > normal_check_interval=30 > retry_check_interval=3 > ... > > (for each service, and for all configuration variables, both those > which were declared and those which had taken their default values), > and it would do the same thing for hosts, check commands, etc. > > Does anyone have any suggestions about how to get Nagios to output > its configuration variables to this level of detail? > Upgrade to Nagios 2.0 and have a look at /usr/local/nagios/var/objects.cache It should be exactly what you're looking for. > Thanks in advance. > > -Chaos > No worries, Mr. Entropy. ;-) -- Sourcerer / Andreas Ericsson OP5 AB ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 walrus+nagios at glassonion.org Thu Aug 5 00:17:03 2004 From: walrus+nagios at glassonion.org (Chaos Golubitsky) Date: Wed, 4 Aug 2004 18:17:03 -0400 Subject: dump of nagios configuration In-Reply-To: <41115811.2050009@op5.se> References: <20040804210249.GA13397@glassonion.org> <41115811.2050009@op5.se> Message-ID: <20040804221703.GA9146@glassonion.org> On Wed, 04 Aug, 2004 at 23:41:37 +0200, Andreas Ericsson wrote: > Upgrade to Nagios 2.0 and have a look at /usr/local/nagios/var/objects.cache > It should be exactly what you're looking for. Hrm. This may be more of an RTFM question, but is Nagios 2.0 production quality? The webpage seems to indicate that it's pretty much in alpha, and i need this for a stable production environment. -Chaos ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 jeff at skislave.com Thu Aug 5 00:20:25 2004 From: jeff at skislave.com (Jeff Scott) Date: Wed, 04 Aug 2004 16:20:25 -0600 Subject: Service Checks not being executed Message-ID: I have nagios 1.2 complied for rh9. All is working great, except I have a few service checks that are no longer running for a few hosts. For instance, I have a simple PING monitor, where the hosts_names is "*" for all hosts. But 2 or 3 out of the 10 or so servers has not updated in a couple of weeks. The Schedule queue shows the check scheduled every 5 minutes for the hosts in question. And the command runs fine from command line. And other service checks for the same hosts work. Nothing in the nagios.log about these service checks at all. No errors. Nothing to troubleshoot....I'm very frustrated. I have nagios 1.0 compiled on Solaris, with 80 hosts or so, with no issues. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 dmourati at cm.math.uiuc.edu Thu Aug 5 01:36:36 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 4 Aug 2004 18:36:36 -0500 (CDT) Subject: Freshness & failover In-Reply-To: <20040804200908.GJ32547@zippy.toger.us> References: <20040804200908.GJ32547@zippy.toger.us> Message-ID: On Wed, 4 Aug 2004, Jason Martin wrote: > Can anyone recommend a way to handle services with freshness > checking and failover conditions? The docs say to disable > notifications and active checks, but expired freshness timers > force checks regardless. Jason, If you failover, wouldn't the primary Nagios process be dead? If not, you could shutdown Nagios at the primary Nagios as part of the failover process. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 jhmartin at toger.us Thu Aug 5 02:00:05 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 4 Aug 2004 17:00:05 -0700 Subject: Freshness & failover In-Reply-To: References: <20040804200908.GJ32547@zippy.toger.us> Message-ID: <20040805000005.GM32547@zippy.toger.us> On Wed, Aug 04, 2004 at 06:36:36PM -0500, Demetri Mouratis wrote: > > Can anyone recommend a way to handle services with freshness > > checking and failover conditions? The docs say to disable > > notifications and active checks, but expired freshness timers > > force checks regardless. My concern was that the backup server that is supposed to be 'idle' will in fact force-execute checks that have a freshness threshold set. -Jason Martin -- DIODE: What happens to people who don't die young. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From dmourati at cm.math.uiuc.edu Thu Aug 5 04:00:44 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 4 Aug 2004 21:00:44 -0500 (CDT) Subject: Freshness & failover In-Reply-To: <20040805000005.GM32547@zippy.toger.us> References: <20040805000005.GM32547@zippy.toger.us> Message-ID: On Wed, 4 Aug 2004, Jason Martin wrote: > On Wed, Aug 04, 2004 at 06:36:36PM -0500, Demetri Mouratis wrote: > > > Can anyone recommend a way to handle services with freshness > > > checking and failover conditions? The docs say to disable > > > notifications and active checks, but expired freshness timers > > > force checks regardless. > My concern was that the backup server that is supposed to be > 'idle' will in fact force-execute checks that have a freshness > threshold set. Ok, I see now. So, you might need an intelligent version of staleservice.sh, or equivalent. The script would first check to see whether the local Nagios is idle. If so, return 0 OK. Else, if the local Nagios is active, return 2 Critical. You could determine active/idle by a lock file, or some such, or by screen-scraping extinfo.cgi. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 Darren.Lichty at alltel.com Thu Aug 5 04:26:14 2004 From: Darren.Lichty at alltel.com (Darren.Lichty at alltel.com) Date: Wed, 4 Aug 2004 21:26:14 -0500 Subject: statusmap.cgi -- not retaining state between refreshes Message-ID: <34AD324F4602224F82CEE5F3B2FB638C010095C1@LITEXCH4.alltel.com> Nagios: v1.2 Plugins: v1.3.1 Platform: SPARC (32-bit), Solaris 8 HTTP: Apache 1.3 If this question has already been posted and answered, I apologize. I did attempt to find the answer to this question both on the FAQ and the archives of the various lists, but did not find anything. Here is the issue I am experiencing: When viewing the Status Map (statusmap.cgi), and altering any of the options (Layout Method, Scaling Factor, etc), these options are lost when the page is automatically reloaded. In taking a look at the code for statusmap.cgi, I see that the 'Refresh:' HTTP Header is sent with only a time delta value (URL value is missing). I was able to get the retention of some data (notably layout and scaling) between refreshes by altering the code of this CGI. Now to the question: Is there a patch to correct this issue? (see above for the current version I am running) If a patch is not available, I would be happy to provide an appropriate 'diff' of the alterations I made. Please note, however, that I do not claim the method I deployed in accomplishing this task is the best-case. Other developers may wish to scrutinize my changes to improve performance, scalability, portability, etc. Thanks in advance, Darren ****************************************************************************************** The information contained in this message, including attachments, may contain privileged or confidential information that is intended to be delivered only to the person identified above. If you are not the intended recipient, or the person responsible for delivering this message to the intended recipient, ALLTEL requests that you immediately notify the sender and asks that you do not read the message or its attachments, and that you delete them without copying or sending them to anyone else. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedmonds.nagios at boursedata.com.au Thu Aug 5 07:46:18 2004 From: pedmonds.nagios at boursedata.com.au (Peter Edmonds) Date: Thu, 5 Aug 2004 15:46:18 +1000 Subject: Restart Services on Windows 2000/2003 Servers In-Reply-To: <1091182020.410a1dc4bbb1b@webbmail.rebound.se> References: <1091182020.410a1dc4bbb1b@webbmail.rebound.se> Message-ID: <002801c47aaf$877f0310$f707a8c0@pedellwin2k> Hi Lars, I use ssh for the remote access to the Windows machines (keys only authentication) and PSTools from http://www.sysinternals.com/ntw2k/freeware/pstools.shtml for restarting services, grabbing process lists etc etc. Only suckage is that I can't get OpenSSH working on Windows 2003 Server with key only authentication. I have circumvented this by using the psexec utility from PSTools to remotely execute the command on a Windows 2000 server (ssh into Win2k box and run psexec \\Windows2003Server Peter Edmonds > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > nagios at rebound.se > Sent: Friday, 30 July 2004 8:07 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Restart Services on Windows 2000/2003 Servers > > > Hi > > Im trying to find a good way to let Nagios restart services on > Win 2000/2003 > Server when a service goes down. The nagios event handler & UNIX > part is not a > problem but finding the right way to communicate with the Windows > machine is. > > I have been looking for some good third part program that can start, stop > services and reboot a machine. I have found one (rsm, > http://www.coresis.com/rsm/) but it does not work (cant establish a > connection)for some reason and so that one falls off and since samba has > removed the support for this functions i v3 i feel a litte stranded. > > have any of you done this? and what utillites did you use when doing it ? > > Im in no way a nagios pro and need all the help i can get. i hope > some of you > gurus have done this and can help me. > > Regards, > Lars-G?ran Forsberg > nagios at rebound.se > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.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 > ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 alex-sch at web.de Thu Aug 5 08:48:48 2004 From: alex-sch at web.de (alex-sch at web.de) Date: Thu, 05 Aug 2004 08:48:48 +0200 Subject: Problem with "processing performance data" Message-ID: <342625562@web.de> Hello, i am using Nagios 1.2 and i would like to use the "performance data processing" feature. But it seems to not working for me ;o( In nagios.cfg i use following options to activate it: ... cfg_file=/usr/local/nagios/etc/Command.cfg ... process_performance_data=1 # host_perfdata_command=process-host-perfdata service_perfdata_command=service-perf-data-handler ... (what i need is only service performance data processing) In my Command.cfg i define the according command: ... define command { command_name service-perf-data-handler command_line /bin/echo -e "$LASTCHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$STATETYPE$\t$EXECUTIONTIME$\t$LATENCY$\t$OUTPUT$\t$PERFDATA$" /usr/local/ nagios/var/service-perfdata } ... With this configuration the file "/usr/local/nagios/var/service-perfdata" should be created and some information about all the service-check resulst written into it (i'm using about 65 service-checks in my environment), but nothing is happens: The file "/usr/local/nagios/var/service-perfdata" is not created and it is no error messages or something like it in naigos.log or in /var/log/messages The nagios is compiled using --with-default-perfdata argument to the configure script. What can be wrong here? Thanks for all your ideas Alexander Schaefer ________________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 ae at op5.se Thu Aug 5 09:32:06 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 05 Aug 2004 09:32:06 +0200 Subject: dump of nagios configuration In-Reply-To: <20040804221703.GA9146@glassonion.org> References: <20040804210249.GA13397@glassonion.org> <41115811.2050009@op5.se> <20040804221703.GA9146@glassonion.org> Message-ID: <4111E276.6040105@op5.se> Chaos Golubitsky wrote: > On Wed, 04 Aug, 2004 at 23:41:37 +0200, Andreas Ericsson wrote: > > >>Upgrade to Nagios 2.0 and have a look at /usr/local/nagios/var/objects.cache >>It should be exactly what you're looking for. > > > Hrm. This may be more of an RTFM question, but is Nagios 2.0 > production quality? The webpage seems to indicate that it's pretty > much in alpha, and i need this for a stable production environment. > We'll be shipping it to customers within 2 months time. Beta tests of the scheduling logic is coming along just fine. > -Chaos > -- Sourcerer / Andreas Ericsson OP5 AB ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 ae at op5.se Thu Aug 5 09:36:00 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 05 Aug 2004 09:36:00 +0200 Subject: Service Checks not being executed In-Reply-To: References: Message-ID: <4111E360.2080808@op5.se> Jeff Scott wrote: > I have nagios 1.2 complied for rh9. All is working great, except I have a > few service checks that are no longer running for a few hosts. For > instance, I have a simple PING monitor, where the hosts_names is "*" for > all hosts. But 2 or 3 out of the 10 or so servers has not updated in a > couple of weeks. The Schedule queue shows the check scheduled every 5 > minutes for the hosts in question. And the command runs fine from > command line. And other service checks for the same hosts work. > > Nothing in the nagios.log about these service checks at all. No errors. > Nothing to troubleshoot....I'm very frustrated. I have nagios 1.0 > compiled on Solaris, with 80 hosts or so, with no issues. > Nagios only updates its logs when a service changes state, so the behaviour you describe is quite natural, given that the services mentioned has not changed HARD state since the last time they were updated (this is why you sometimes need to choose initial states in the availability cgi). -- Andreas Ericsson OP5 AB ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 wim.degeeter at bt.com Thu Aug 5 15:00:50 2004 From: wim.degeeter at bt.com (wim.degeeter at bt.com) Date: Thu, 5 Aug 2004 14:00:50 +0100 Subject: Allowed_host in nrpe.cfg question Message-ID: Hi, In the nrpe.cfg you can define (with "allowed_hosts") which server is allowed to access to the Nagios port to check the commands. Is there an easy way to allow all IP Addresses to connect to the nrpe daemon? When I uncomment this option I"ve got this error: Host "IP Address" is not allowed to talk to us. Any ideas ?? Thanks and regards, Wim ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 GWCOOK at mactec.com Thu Aug 5 15:59:31 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Thu, 5 Aug 2004 07:59:31 -0600 Subject: Problem with "processing performance data" Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E9729@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > Hello, > > i am using Nagios 1.2 and i would like to use the > "performance data processing" feature. But it seems to not > working for me ;o( First, make sure you have restarted Nagios after adding the config changes. Seems obvious, but is sometimes overlooked. Next, log in to your Nagios site as the administrative user, go to the 'Process Info' page, and at the bottom of the Process Information box, ensure you have: Performance Data Being Processed? Yes If Performance Data is not being processed, click the 'Enable performance data' link in the 'Process Commands' box. This issue bit me the first time I attempted to setup perfdata processing. I think I may have turned it off via the cgi before ever enabling it in the configs. If Performance Data is still not being added to the perfdata log files, maybe you have not yet installed Nagios plugins that will generate Performance Data? IIRC, the first version of plugins to support Performance Data was 1.4.0. Your best bet to ensure that you have a maximum number of Performance Data producing plugins is to use the latest version from CVS. > > In nagios.cfg i use following options to activate it: ... > cfg_file=/usr/local/nagios/etc/Command.cfg > ... > process_performance_data=1 > # host_perfdata_command=process-host-perfdata > service_perfdata_command=service-perf-data-handler ... > > (what i need is only service performance data processing) > > In my Command.cfg i define the according command: > ... > define command { > command_name service-perf-data-handler > command_line /bin/echo -e > "$LASTCHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERV > ICEATTEMPT$\t$STATETYPE$\t$EXECUTIONTIME$\t$LATENCY$\t$OUTPUT$ > \t$PERFDATA$" /usr/local/ nagios/var/service-perfdata > } > ... Is the space in the path above really there? Or is that just a typo? That could be the source of the problem... > With this configuration the file > "/usr/local/nagios/var/service-perfdata" should be created > and some information about all the service-check resulst > written into it (i'm using about 65 service-checks in my > environment), but nothing is happens: > The file "/usr/local/nagios/var/service-perfdata" is not > created and it is no error messages or something like it in > naigos.log or in /var/log/messages > > The nagios is compiled using --with-default-perfdata argument > to the configure script. What is the reason for using the default-perfdata method? Have you looked at the file based method? The file based method would most likely work well for you, as its intent is to update a file with Performance Data. I believe that the default method would better serve users who want to do something other than put the data in a file. > What can be wrong here? > > Thanks for all your ideas The PerfParse project uses the file based method to gather Performance Data into files, and then export from the files to a MySQL DB. You may want to look at the docs on http://perfparse.sf.net/docs.php for some detailed instructions on enabling performance data (also links back to the appropriate Nagios docs on the subject). > Alexander Schaefer > ________________________________________________________________ > Verschicken Sie romantische, coole und witzige Bilder per SMS! > Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193 Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 smokey at aquaticum.hu Thu Aug 5 16:11:39 2004 From: smokey at aquaticum.hu (=?iso-8859-2?Q?L=E1szl=F3_Csaba_Ferenc?=) Date: Thu, 5 Aug 2004 16:11:39 +0200 Subject: Downtime for the operator In-Reply-To: References: Message-ID: It's a pity, that nagios doesn't have an option for setting the operator a downtime... I use an email alert to get sms messages on my cell phone, and now i'm off for vacation, and now i could use a downtime :) Ok, i know i can set my email address to nothing, but that's not the same :))) SMokey ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 marc at ena.com Thu Aug 5 16:33:57 2004 From: marc at ena.com (Marc Powell) Date: Thu, 5 Aug 2004 09:33:57 -0500 Subject: Downtime for the operator Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A5ED@mismail2.ena.com> ----Original Message---- From: L?szl? Csaba Ferenc [mailto:smokey at aquaticum.hu] Sent: Thursday, August 05, 2004 9:12 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Downtime for the operator > It's a pity, that nagios doesn't have an option for setting the > operator a downtime... I use an email alert to get sms messages on my > cell phone, and now i'm off for vacation, and now i could use a > downtime :) > > Ok, i know i can set my email address to nothing, but that's not the > same :))) Change your contact notification_period to none. A basic assumption is that if you tell nagios that you're a notification contact for a service, you want to get notified about it when there's a problem ;) Exceptions to that are few and far between for the majority of users so there isn't an option in the GUI to disable notification on a per-contact basis. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 gebhardt at hrz.uni-marburg.de Thu Aug 5 16:34:03 2004 From: gebhardt at hrz.uni-marburg.de (Gebhardt Thomas) Date: Thu, 5 Aug 2004 16:34:03 +0200 Subject: Problem with "processing performance data" In-Reply-To: <342625562@web.de> References: <342625562@web.de> Message-ID: <200408051634.04422.gebhardt@hrz.uni-marburg.de> On Thursday 05 August 2004 08:48, alex-sch at web.de wrote: Hi, > i am using Nagios 1.2 and i would like to use the "performance data > processing" feature. But it seems to not working for me ;o( just in case you are using debian sarge: you might have been hit by bug 257289 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=257289) Another idea: if you have enabled state retention you might want to try to remove status.sav before restarting nagios. Cheers, Thomas -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: signature URL: From Darren.Kemp at xerox.com Thu Aug 5 16:48:56 2004 From: Darren.Kemp at xerox.com (Kemp, Darren) Date: Thu, 5 Aug 2004 10:48:56 -0400 Subject: Cluster Query Message-ID: <330CE9F92C02064B86090D40B479712F3391E6@usa0300ms04.na.xerox.net> Does anyone have any sort of base documentation for check_cluster2 for NAGIOS 2.0? It appears to be completely different and I cannot get the syntax to work properly. Thanks in advance. -dkk ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 jdoyle at lewisgaleclinic.com Thu Aug 5 16:55:41 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Thu, 5 Aug 2004 10:55:41 -0400 Subject: Downtime for the operator Message-ID: That's something that I've thought would be nice, too. i.e. the abiliby to specify someone as a replacement, too. Another specified contact. i.e. contact 1 will be off during this time, please send notifications during this time to contact 2. ----- Jack Doyle, Network+ Systems Operations Specialist Lewis-Gale Clinic Information Systems -----Original Message----- From: L?szl? Csaba Ferenc [mailto:smokey at aquaticum.hu] Sent: Thursday, August 05, 2004 10:12 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Downtime for the operator It's a pity, that nagios doesn't have an option for setting the operator a downtime... I use an email alert to get sms messages on my cell phone, and now i'm off for vacation, and now i could use a downtime :) Ok, i know i can set my email address to nothing, but that's not the same :))) SMokey ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 Darren.Kemp at xerox.com Thu Aug 5 17:09:23 2004 From: Darren.Kemp at xerox.com (Kemp, Darren) Date: Thu, 5 Aug 2004 11:09:23 -0400 Subject: Cluster Query Message-ID: <330CE9F92C02064B86090D40B479712F3391EA@usa0300ms04.na.xerox.net> It occurs to me I need to be more specific. I have the syntax ok, but even through I have 16 services in my cluster, the check only resturns that 1 is ok, and 0 for crit/warn etc. I have a somewhat strange cluster setup as we have multiple services in the cluster on each host (4 java apps running on different ports) so my cluster.cfg looks something like: Host1;service a Host1;service b Host2;service c Host2;service d Etc. Also, in the service entry for the cluster I just have host1 under host_name (it seemed redundant to put anything else there, seeing the actual hosts are in the cluster.cfg) Will this work? And if so, am I missing a step? Command def: define command{ command_name check_service_cluster command_line /usr/local/nagios/libexec/check_cluster2 --service -w $A RG1$ -c $ARG2$ -d /usr/local/nagios/var/status.log < $ARG3$ } Service def: define service { use generic-service service_description SERVICE CLUSTER host_name host1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 3 contact_groups admins notification_interval 120 notification_period 24x7 notification_options w,c,r check_command check_service_cluster!2!4!/usr/local/nagios/etc/servicecluster.cfg } -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Kemp, Darren Sent: Thursday, August 05, 2004 10:49 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Cluster Query Does anyone have any sort of base documentation for check_cluster2 for NAGIOS 2.0? It appears to be completely different and I cannot get the syntax to work properly. Thanks in advance. -dkk ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 testoddard at ualr.edu Thu Aug 5 17:15:41 2004 From: testoddard at ualr.edu (Tim Stoddard) Date: Thu, 05 Aug 2004 10:15:41 -0500 Subject: Automatic Host Checks Message-ID: <41124F1D.7090609@ualr.edu> I have been reading through the docs and I cannot find a definitive answer to this. Does Nagios do a ICMP host check automatically? Is this something that need to put in the nagios.cfg file? I have been defining an ICMP "check-host-alive" command on each host. Now I think that Nagios is double ICMP checking all hosts. -- Timothy Stoddard -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Thu Aug 5 17:33:06 2004 From: jhmartin at toger.us (Jason Martin) Date: Thu, 5 Aug 2004 08:33:06 -0700 Subject: Automatic Host Checks In-Reply-To: <41124F1D.7090609@ualr.edu> References: <41124F1D.7090609@ualr.edu> Message-ID: <20040805153305.GP32547@zippy.toger.us> Nagios does not intrinsically know how to check anything, so unless you've defined a command for a given type of check Nagios isn't doing it. -Jason Martin On Thu, Aug 05, 2004 at 10:15:41AM -0500, Tim Stoddard wrote: > I have been reading through the docs and I cannot find a definitive > answer to this. Does Nagios do a ICMP host check automatically? Is > this something that need to put in the nagios.cfg file? I have been > defining an ICMP "check-host-alive" command on each host. Now I think > that Nagios is double ICMP checking all hosts. > -- Dust-balls: The cheap man's Tribble This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From gyoungblood at saicmail.jsc.nasa.gov Thu Aug 5 17:30:46 2004 From: gyoungblood at saicmail.jsc.nasa.gov (Youngblood, Gregory (SAIC)) Date: Thu, 5 Aug 2004 10:30:46 -0500 Subject: Downtime for the operator Message-ID: <0158368F4840D41191D600508B9B06ECE2441A@saicmail.jsc.nasa.gov> As a new user of nagios, my only semi-complaint is the apparent requirement to restart nagios after any config file changes. I wish there was a way, through the web interface, to make nagios queue a command to reread its config, similar to how a retest of all the services on a host can be scheduled (and forced). A second nice thing would be the option to have all of configuration saved in a database, requiring only the information to connect to the database to be in a text file. As time permits, and I work with it more, I might try to work on these. In the mean time, I am fairly impressed with nagios. I've already written several active and passive tests for my environment, and am working on more as we speak. To all the developers ... a job well done! An idea to create the requested "downtime" feature, without having to change anything in the nagios config files, would be to use an email alias (or virtual email address) in nagios for the delivery of notifications. When your going to be away and don't want the messages delivered, then the alias can be redirected to /dev/null if the messages can be dropped, or to another regular email address if the messages should be kept for review later. Greg > -----Original Message----- > From: Marc Powell [mailto:marc at ena.com] > Sent: Thursday, August 05, 2004 9:34 AM > To: L?szl? Csaba Ferenc; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Downtime for the operator > > > ----Original Message---- > From: L?szl? Csaba Ferenc [mailto:smokey at aquaticum.hu] > Sent: Thursday, August 05, 2004 9:12 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Downtime for the operator > > > It's a pity, that nagios doesn't have an option for setting the > > operator a downtime... I use an email alert to get sms > messages on my > > cell phone, and now i'm off for vacation, and now i could use a > > downtime :) > > > > Ok, i know i can set my email address to nothing, but that's not the > > same :))) > > Change your contact notification_period to none. A basic > assumption is that if you tell nagios that you're a > notification contact for a service, you want to get notified > about it when there's a problem ;) Exceptions to that are few > and far between for the majority of users so there isn't an > option in the GUI to disable notification on a per-contact basis. > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the > changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source > Technology > Group. Come see the changes on the new OSTG site. www.ostg.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 > ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 jhmartin at toger.us Thu Aug 5 17:42:26 2004 From: jhmartin at toger.us (Jason Martin) Date: Thu, 5 Aug 2004 08:42:26 -0700 Subject: Downtime for the operator In-Reply-To: <0158368F4840D41191D600508B9B06ECE2441A@saicmail.jsc.nasa.gov> References: <0158368F4840D41191D600508B9B06ECE2441A@saicmail.jsc.nasa.gov> Message-ID: <20040805154226.GQ32547@zippy.toger.us> On Thu, Aug 05, 2004 at 10:30:46AM -0500, Youngblood, Gregory (SAIC) wrote: > As a new user of nagios, my only semi-complaint is the apparent requirement > to restart nagios after any config file changes. I wish there was a way, > through the web interface, to make nagios queue a command to reread its > config, similar to how a retest of all the services on a host can be > scheduled (and forced). Such a command exists on the Process Info page, named "Restart Nagios". > A second nice thing would be the option to have all of configuration saved > in a database, requiring only the information to connect to the database to > be in a text file. That has been requested several times in the past, and the answer has repeatedly been 'no' from the core developers. > several active and passive tests for my environment, and am working on more > as we speak. To all the developers ... a job well done! I encourage you to contribute any plugins you write to the nagiosplug sourceforge project. -Jason Martin -- Dust-balls: The cheap man's Tribble This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From marc at ena.com Thu Aug 5 17:58:52 2004 From: marc at ena.com (Marc Powell) Date: Thu, 5 Aug 2004 10:58:52 -0500 Subject: Automatic Host Checks Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A5F1@mismail2.ena.com> ________________________________ From: Tim Stoddard [mailto:testoddard at ualr.edu] Sent: Thursday, August 05, 2004 10:16 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Automatic Host Checks I have been reading through the docs and I cannot find a definitive answer to this. Does Nagios do a ICMP host check automatically? Is this something that need to put in the nagios.cfg file? I have been defining an ICMP "check-host-alive" command on each host. Now I think that Nagios is double ICMP checking all hosts. http://nagios.sourceforge.net/docs/1_0/plugintheory.html Using Plugins For Host Checks Using plugins to check the status of hosts may be a bit more difficult to understand. In each host definition you use the argument to specify a plugin that should be executed to check the status of the host. Host checks are not performed on a regular basis - they are executed only as needed, usually when there are problems with one or more services that are associated with the host. This directly ties into http://nagios.sourceforge.net/docs/1_0/networkreachability.html -- Marc ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 sudheer at tgs-solutions.com Thu Aug 5 18:03:26 2004 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Thu, 05 Aug 2004 12:03:26 -0400 Subject: Not getting email alerts Message-ID: <41125A4E.5030800@tgs-solutions.com> All, I am not receiving any emails from nagios regarding the host being down. But I do get emails for ping packet loss and traps. I have restradted the nagios server itself. and here are my config files. service.cfg define service{ host_name debian service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups server-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } and hosts.cfg define host{ host_name debian alias Debian server address 198.180.37.88 check_command check-host-alive max_check_attempts 3 notification_interval 480 notification_period 24x7 } Thanks ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 testoddard at ualr.edu Thu Aug 5 18:10:28 2004 From: testoddard at ualr.edu (Tim Stoddard) Date: Thu, 05 Aug 2004 11:10:28 -0500 Subject: Automatic Host Checks In-Reply-To: <20040805153305.GP32547@zippy.toger.us> References: <41124F1D.7090609@ualr.edu> <20040805153305.GP32547@zippy.toger.us> Message-ID: <41125BF4.4010406@ualr.edu> I have a check command defined in my template used by all hosts. Is the host status "(Host assumed to be up)" normal? Here is a paste from my anyone of my host status pages. Host State Information Host Status: UP Status Information: (Host assumed to be up) Last Status Check: 08-05-2004 09:59:26 Status Data Age: 0d 0h 58m 12s Last State Change: 07-09-2004 16:41:37 Current State Duration: 26d 18h 16m 1s Last Host Notification: N/A Current Notification Number: 0 Is This Host Flapping? NO Percent State Change: 0.00% In Scheduled Downtime? NO Last Update: 08-05-2004 10:56:55 Here is my template for my hosts. define host { name 24x7-30min check_command check-host-alive max_check_attempts 5 checks_enabled 1 event_handler_enabled 1 low_flap_threshold 0 high_flap_threshold 0 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 30 notification_period 24x7 notification_options d,u,r notifications_enabled 1 register 0 } I am using the standard "check-host-alive" command defined in the checkcommands.cfg file. define command { command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,50% -c 5000.0,100% -p 3 -t 5 } If I understand you correctly then I should not need to define a service to "check-host-alive" in the services.cfg file? -- Timothy Stoddard Jason Martin wrote: >Nagios does not intrinsically know how to check anything, >so unless you've defined a command for a given type of check >Nagios isn't doing it. > >-Jason Martin > > >On Thu, Aug 05, 2004 at 10:15:41AM -0500, Tim Stoddard wrote: > > >>I have been reading through the docs and I cannot find a definitive >>answer to this. Does Nagios do a ICMP host check automatically? Is >>this something that need to put in the nagios.cfg file? I have been >>defining an ICMP "check-host-alive" command on each host. Now I think >>that Nagios is double ICMP checking all hosts. >> >> >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joao.paulo at orbitel.com.br Thu Aug 5 18:24:05 2004 From: joao.paulo at orbitel.com.br (=?ISO-8859-1?Q?Jo=E3o_Paulo_Vaz_da_Silva?=) Date: Thu, 05 Aug 2004 13:24:05 -0300 Subject: HTTPD server authentication accessing CGI Message-ID: <41125F25.4000103@orbitel.com.br> My problem is in Attachments. Jo?o Paulo Vaz da Silva Network Operation Control -------------- next part -------------- A non-text attachment was scrubbed... Name: TelaCapturada.png Type: image/png Size: 143142 bytes Desc: not available URL: From marc at ena.com Thu Aug 5 18:26:34 2004 From: marc at ena.com (Marc Powell) Date: Thu, 5 Aug 2004 11:26:34 -0500 Subject: Downtime for the operator Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A5F3@mismail2.ena.com> ----Original Message---- From: Youngblood, Gregory (SAIC) [mailto:gyoungblood at saicmail.jsc.nasa.gov] Sent: Thursday, August 05, 2004 10:31 AM To: Marc Powell; L?szl? Csaba Ferenc; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Downtime for the operator > As a new user of nagios, my only semi-complaint is the apparent > requirement to restart nagios after any config file changes. I wish > there was a way, through the web interface, to make nagios queue a > command to reread its config, similar to how a retest of all the > services on a host can be scheduled (and forced). There are two ways to do this, one of them exactly what you are asking for: 1) Select "Process Info" from the GUI, then "Restart the Nagios process". As you'll read -- "This command is used to restart the Nagios process. Executing a restart command is equivalent to sending the process a HUP signal. All information will be flushed from memory, the configuration files will be re-read, and Nagios will start monitoring with the new configuration information." 2) Issue a HUP signal to the master Nagios process from the command line. > A second nice thing would be the option to have all of configuration > saved in a database, requiring only the information to connect to the > database to be in a text file. My personal feeling is that while it sounds nice, you're a) burdening Ethan with the need to follow the development of whatever databases are supported and having to re-test when new versions come out. b) duplicating a bunch of code to support different databases (mysql, postgres, informix, mssql, etc), not to mention the significant amounts of additional and repetitive testing that would be required to make sure that all pertinent operations worked with all supported database types. Ethan has already realised this isn't workable and/or worth the effort. c) duplicating work that is already done or in progrss. The ability to store configs in a database exists now courtesy of Nagmin and others. Those projects could probably use the help more and certainly offer the greatest flexibility to the end-user. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 marc at ena.com Thu Aug 5 18:32:10 2004 From: marc at ena.com (Marc Powell) Date: Thu, 5 Aug 2004 11:32:10 -0500 Subject: Automatic Host Checks Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A5F6@mismail2.ena.com> Yes, search the FAQ. -- Marc ________________________________ From: Tim Stoddard [mailto:testoddard at ualr.edu] Sent: Thursday, August 05, 2004 11:10 AM To: nagios-users at lists.sourceforge.net Cc: Jason Martin Subject: Re: [Nagios-users] Automatic Host Checks I have a check command defined in my template used by all hosts. Is the host status "(Host assumed to be up)" normal? ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 jhmartin at toger.us Thu Aug 5 18:25:36 2004 From: jhmartin at toger.us (Jason Martin) Date: Thu, 5 Aug 2004 09:25:36 -0700 Subject: Automatic Host Checks In-Reply-To: <41125BF4.4010406@ualr.edu> References: <41124F1D.7090609@ualr.edu> <20040805153305.GP32547@zippy.toger.us> <41125BF4.4010406@ualr.edu> Message-ID: <20040805162536.GS32547@zippy.toger.us> On Thu, Aug 05, 2004 at 11:10:28AM -0500, Tim Stoddard wrote: > I have a check command defined in my template used by all hosts. Is the > host status "(Host assumed to be up)" normal? FAQ: http://www.nagios.org/faqs/viewfaq.php?faq_id=86 -Jason Martin -- The longer the title, the less important the job. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From GWCOOK at mactec.com Thu Aug 5 19:08:51 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Thu, 5 Aug 2004 11:08:51 -0600 Subject: Automatic Host Checks Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E9730@golden-m.mactec.com> Tim Stoddard wrote: > I have a check command defined in my template used by all hosts. Is > the host status "(Host assumed to be up)" normal? > > Here is a paste from my anyone of my host status pages. [snip] Check the FAQ at http://www.nagios.org/faqs/viewfaq.php?faq_id=86 for more information on this. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 TWEdwards at cimplify.net Thu Aug 5 19:12:09 2004 From: TWEdwards at cimplify.net (Edwards, Thomas W.) Date: Thu, 5 Aug 2004 12:12:09 -0500 Subject: HTTPD server authentication accessing CGI Message-ID: Best guess, you either haven't assigned yourself in the cgi.cfg file as noted halfway down this page: http://nagios.sourceforge.net/docs/1_0/cgiauth.html Or your not setup as a contact for any of the devices you have defined. Put your username in as a contact and assign it to a contact group responsible for the hosts defined - this explains it: http://nagios.sourceforge.net/docs/1_0/xodtemplate.html As this would be my first attempt at helping another person (trying to give back) could someone else say yes this is correct or add to it, thanks. Tom -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jo?o Paulo Vaz da Silva Sent: Thursday, August 05, 2004 11:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] HTTPD server authentication accessing CGI My problem is in Attachments. Jo?o Paulo Vaz da Silva Network Operation Control ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 TWEdwards at cimplify.net Thu Aug 5 19:14:26 2004 From: TWEdwards at cimplify.net (Edwards, Thomas W.) Date: Thu, 5 Aug 2004 12:14:26 -0500 Subject: Automatic Host Checks Message-ID: Here is a faq covering this. http://www.nagios.org/faqs/viewfaq.php?faq_id=86 It is normal. ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tim Stoddard Sent: Thursday, August 05, 2004 11:10 AM To: nagios-users at lists.sourceforge.net Cc: Jason Martin Subject: Re: [Nagios-users] Automatic Host Checks I have a check command defined in my template used by all hosts. Is the host status "(Host assumed to be up)" normal? Here is a paste from my anyone of my host status pages. Host State Information Host Status: UP Status Information: (Host assumed to be up) Last Status Check: 08-05-2004 09:59:26 Status Data Age: 0d 0h 58m 12s Last State Change: 07-09-2004 16:41:37 Current State Duration: 26d 18h 16m 1s Last Host Notification: N/A Current Notification Number: 0 Is This Host Flapping? NO -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Thu Aug 5 19:14:17 2004 From: marc at ena.com (Marc Powell) Date: Thu, 5 Aug 2004 12:14:17 -0500 Subject: HTTPD server authentication accessing CGI Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A5FC@mismail2.ena.com> ----Original Message---- From: Jo?o Paulo Vaz da Silva [mailto:joao.paulo at orbitel.com.br] Sent: Thursday, August 05, 2004 11:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] HTTPD server authentication accessing CGI > My problem is in Attachments. Your answer is in the FAQ and documentation -- http://www.nagios.org/faqs/viewfaq.php?faq_id=48 -- Marc ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 daniel.fiederling at warema.de Thu Aug 5 19:16:28 2004 From: daniel.fiederling at warema.de (Fiederling, Daniel) Date: Thu, 5 Aug 2004 19:16:28 +0200 Subject: SMS notifications for specific services only Message-ID: <877A6ECD8676D51194BF00A0C9C7559708D6A78A@S01EDV03> Hi! I'm working on sms notifications sent by nagios. I use the smstools developed by Stefan Frings (http://www.isis.de/~s.frings/smstools_index.html) with a Siemens TC35i GSM modem. It's really nice, we use this solution for other purposes too. I can define an email address and a pager number for each contact. If the notification command for sending sms is specified the contact will receive SMS for each service that fails. This works great. But: I don't want to receive an SMS for each service, only for some specific ones. I thought about defining a macro like $USER5$ in these specific service definitions (but I can't figure out how to :-) ) or putting a special string in the service_description and passing that macro to the notification script that decides if a sms is sent or not. I don't want to create 2 contact entries for the same person that should receive sms, one with sms notifcations, the other one without (my first idea). Maybe a special group is the better way?! I was asking myself if there is another (maybe straight through) way for doing this with Nagios 1.2. Maybe I'm thinking much too complicated - do I? Any suggestions? Thanks! Daniel ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 marc at ena.com Thu Aug 5 19:22:26 2004 From: marc at ena.com (Marc Powell) Date: Thu, 5 Aug 2004 12:22:26 -0500 Subject: Not getting email alerts Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A5FE@mismail2.ena.com> Please send all messages to the list, not just directly to me and in text/plain format only. Please see inline comment below -- ________________________________ From: Sudheer Muddappa [mailto:sudheer at tgs-solutions.com] Sent: Thursday, August 05, 2004 12:07 PM To: Marc Powell Subject: Re: [Nagios-users] Not getting email alerts Here they are [snip] # 'root' contact definition define contact{ contact_name root alias Super User service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email root at redbankng } You've noticed, I presume that root at redbankng isn't a valid, complete email address, right? While there are certain mailer configurations that would make that valid, they're rare and I assume you would inform us of that special configuration as it would be pertinent to troubleshooting. Additionally, I suggested you look in your nagios.log to verify that nagios was sending out the alerts. What did you find? -- Marc ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 daniel.fiederling at warema.de Thu Aug 5 19:24:30 2004 From: daniel.fiederling at warema.de (Fiederling, Daniel) Date: Thu, 5 Aug 2004 19:24:30 +0200 Subject: AW: HTTPD server authentication accessing CGI Message-ID: <877A6ECD8676D51194BF00A0C9C7559708D6A78B@S01EDV03> You have to do HTTP authentication with your web server so that nagios can get the username of the specific user. If you use apache look for htpasswd and HTTP basic authentication in the apache docs for an easy way of authenticating. I'm using mod_ntlm for NTLM auth with the IE, firefox makes some problems unfortunately. Or you have to define a default user in cgi.cfg. Or you allow every one to do all commands from the web interface. There are some settings in cgi.cfg. But consider SECURITY!!! If you get display "logged in as xyz" in the upper left box nagios has determined the username. In your screenshot there's you have "logged in as ?". Nagios disables some command from the web interface if you are not logged in as admin. Daniel -----Urspr?ngliche Nachricht----- Von: Jo?o Paulo Vaz da Silva [mailto:joao.paulo at orbitel.com.br] Gesendet: Donnerstag, 5. August 2004 18:24 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] HTTPD server authentication accessing CGI My problem is in Attachments. Jo?o Paulo Vaz da Silva Network Operation Control ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 jeff at skislave.com Thu Aug 5 19:39:17 2004 From: jeff at skislave.com (Jeff Scott) Date: Thu, 05 Aug 2004 11:39:17 -0600 Subject: Service Checks Not being updated...revised. Message-ID: >> Jeff Scott wrote: >> I have nagios 1.2 complied for rh9. All is working great, except I >> have a >> few service checks that are no longer running for a few hosts. For >> instance, I have a simple PING monitor, where the hosts_names is "*" for >> all hosts. But 2 or 3 out of the 10 or so servers has not updated in a >> couple of weeks. The Schedule queue shows the check scheduled every 5 >> minutes for the hosts in question. And the command runs fine from >> command line. And other service checks for the same hosts work. >> Nothing in the nagios.log about these service checks at all. No errors. >> Nothing to troubleshoot....I'm very frustrated. I have nagios 1.0 >> compiled on Solaris, with 80 hosts or so, with no issues. >> > Nagios only updates its logs when a service changes state, so the > behaviour you describe is quite natural, given that the services > mentioned has not changed HARD state since the last time they were > updated (this is why you sometimes need to choose initial states in the > availability cgi). Thats not what I mean. Just some of the service checks are not getting updated at all. They are getting scheduled and executed, but nothing is getting updated in Nagios. For example, I have a particular HOST with 5 service checks. Four are working, one isn't. Second host has SAME EXACT service checks. Four are working, but a different one is not. Makes no sense. All service checks were working until the same date and time, about two weeks ago, now a few ramdom checks are stale and won't update. Even if the service goes down hard...it never updates. Very strange. Take for instance a PING test. I have the same PING test for all servers. However, 2 or 3 haven't updated in 2 weeks. I've restarted NAGIOS. I've disable state tracking. I've enable freshness checking. Nothing helps. I disable state tracking, the service changes to "PENDING", then right back to what it was 2 weeks ago. All other services update fine. What am I missing...going nuts here. Thanks! Jeff Scott ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 sudheer at tgs-solutions.com Thu Aug 5 19:35:27 2004 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Thu, 05 Aug 2004 13:35:27 -0400 Subject: Not getting email alerts In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F38A5FD@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F38A5FD@mismail2.ena.com> Message-ID: <41126FDF.2060205@tgs-solutions.com> As I mentioned before, I am receiving emails for other services, like disk checks cpu utilization etc. But host goes down , I dont get any emails at all. And the email id is fine. As everything is happening on the same server. Thanks, Marc Powell wrote: >Please send all messages to the list, not just directly to me and in >text/plain format only. Please see inline comment below -- > >________________________________ > >From: Sudheer Muddappa [mailto:sudheer at tgs-solutions.com] >Sent: Thursday, August 05, 2004 12:07 PM >To: Marc Powell >Subject: Re: [Nagios-users] Not getting email alerts > > >Here they are > >[snip] > ># 'root' contact definition >define contact{ > contact_name root > alias Super User > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email root at redbankng > } > > You've noticed, I presume that root at redbankng isn't a valid, >complete email address, right? While there are certain mailer >configurations that would make that valid, they're rare and I assume you >would inform us of that special configuration as it would be pertinent >to troubleshooting. Additionally, I suggested you look in your >nagios.log to verify that nagios was sending out the alerts. What did >you find? > >-- >Marc > > > > ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 Darren.Kemp at xerox.com Thu Aug 5 19:39:26 2004 From: Darren.Kemp at xerox.com (Kemp, Darren) Date: Thu, 5 Aug 2004 13:39:26 -0400 Subject: Cluster Query Message-ID: <330CE9F92C02064B86090D40B479712F339206@usa0300ms04.na.xerox.net> More info, I setup a standard host cluster check, 4 hosts, all are up, yet The cluster check still only reports 1 OK. Does anyone have this working in 2.0? -dkk -----Original Message----- From: Kemp, Darren Sent: Thursday, August 05, 2004 11:09 AM To: Kemp, Darren; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Cluster Query It occurs to me I need to be more specific. I have the syntax ok, but even through I have 16 services in my cluster, the check only resturns that 1 is ok, and 0 for crit/warn etc. I have a somewhat strange cluster setup as we have multiple services in the cluster on each host (4 java apps running on different ports) so my cluster.cfg looks something like: Host1;service a Host1;service b Host2;service c Host2;service d Etc. Also, in the service entry for the cluster I just have host1 under host_name (it seemed redundant to put anything else there, seeing the actual hosts are in the cluster.cfg) Will this work? And if so, am I missing a step? Command def: define command{ command_name check_service_cluster command_line /usr/local/nagios/libexec/check_cluster2 --service -w $A RG1$ -c $ARG2$ -d /usr/local/nagios/var/status.log < $ARG3$ } Service def: define service { use generic-service service_description SERVICE CLUSTER host_name host1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 3 contact_groups admins notification_interval 120 notification_period 24x7 notification_options w,c,r check_command check_service_cluster!2!4!/usr/local/nagios/etc/servicecluster.cfg } -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Kemp, Darren Sent: Thursday, August 05, 2004 10:49 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Cluster Query Does anyone have any sort of base documentation for check_cluster2 for NAGIOS 2.0? It appears to be completely different and I cannot get the syntax to work properly. Thanks in advance. -dkk ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 dknutson at sydran.com Thu Aug 5 19:45:33 2004 From: dknutson at sydran.com (David Knutson) Date: Thu, 05 Aug 2004 10:45:33 -0700 Subject: Check Intervals? Message-ID: I'm new to Nagios and have a question on how to setup a proper check interval. Here is the scenario: I'm doing an email mail test that seeds a local account with a test message. This test message is forwarded to an external account, which in turn forwards the message back to the local account. This round trip can take up to 5 minutes. The way the plugin works is to send a new serialized message to the local account, then test for receipt of the previously sent message. I want to be notified as soon as possible if this test fails. What settings should I use for normal_check_interval and retry_check_interval? -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhobbs at chancery.com Thu Aug 5 19:46:00 2004 From: dhobbs at chancery.com (Dale Hobbs) Date: Thu, 5 Aug 2004 10:46:00 -0700 Subject: Problems with check_radius command? Message-ID: <903C68C2CC785C4684A59862E3067553916D97@s-exchange4.chancery.com> Is anyone else having any problems with the check_radius command? I've been trying to use it with Nagios but keep getting errors. I am using the radiusclient-0.3.2 and Nagios-1.2. However I am having some difficulty with the dictionary. Every time I try to execute the command I get the following error in /var/log/messages: s-nagios check_radius: rc_read_dictionary: couldn't open dictionary /usr/local/etc/radiusclient/dictionary : No such file or directory Nagios just tells me config file error. Below is the contents of the folder /usr/local/etc/radiusclient/ and as you can see the dictionary file clearly exists. total 48 -rw-r--r-- 1 root root 6385 Jul 19 13:24 dictionary -rw-r--r-- 1 root root 12388 Jul 19 13:24 dictionary.ascend -rw-r--r-- 1 root root 1517 Jul 19 13:24 dictionary.compat -rw-r--r-- 1 root root 599 Jul 19 13:24 dictionary.merit -rw-r--r-- 1 root root 135 Jul 19 13:24 issue -rw-r--r-- 1 root root 410 Jul 19 13:24 port-id-map -rw-r--r-- 1 root root 2580 Jul 19 13:24 radiusclient.conf -rw------- 1 root root 169 Jul 19 13:24 servers ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 strombrg at dcs.nac.uci.edu Thu Aug 5 19:49:02 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Thu, 05 Aug 2004 10:49:02 -0700 Subject: monitoring private networks? Message-ID: <1091728142.3420.44.camel@tesuji.nac.uci.edu> We have some compute clusters here that have compute nodes and fileservers on unrouted networks. In these clusters, if -any- one machine goes down, it's an issue that needs to be fixed, so I'm not sure that check_cluster{,2} are what we need. In at least one of these compute clusters, some of the fileservers would require two hops to access them (EG, an ssh that ssh's further). What's the preferred way of monitoring important hosts on unrouted networks? check_by_ssh? Distributed nagios servers? NRPE? NRPEP? Which of these are chainable? Which of these would require minimal parameterization (if any)? The parameterization issue comes up, because we have a python script that generates nagios configs for hosts on our routed networks, by querying a sybase database to see which hosts on our (fully routed) network are on contract with us. I don't want people configuring our database via our web gateway, having to plug a lot of complicated parameters into the web interface, if that's avoidable. I've experimented with check_by_ssh, so far. It seems to work fine, but I'm thinking some net.wisdom might be useful before continuing. Thanks for your opinions. -- Dan Stromberg DCS/NACS/UCI ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 hmann at itgroundwork.com Thu Aug 5 19:45:01 2004 From: hmann at itgroundwork.com (Harper Mann) Date: Thu, 5 Aug 2004 10:45:01 -0700 Subject: Problem with "processing performance data" Message-ID: <20040805174608.6BE4E60801C@mail2.itgroundwork.com> I think you want to append output from the echo command, like this: /bin/echo -e "STRING" >> /usr/local/nagios/var/service-perfdata And there shouldn't be a space between local/ and Nagios. Also, check the complete echo command runs correctly from user Nagios. You may not have permission issues on .../nagios/var or elsewhere. Regards, - Harper Harper Mann Berkeley, CA 510-599-2075 (cell) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Cook, Garry Sent: Thursday, August 05, 2004 7:00 AM To: alex-sch at web.de; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Problem with "processing performance data" nagios-users-admin at lists.sourceforge.net wrote: > Hello, > > i am using Nagios 1.2 and i would like to use the > "performance data processing" feature. But it seems to not > working for me ;o( First, make sure you have restarted Nagios after adding the config changes. Seems obvious, but is sometimes overlooked. Next, log in to your Nagios site as the administrative user, go to the 'Process Info' page, and at the bottom of the Process Information box, ensure you have: Performance Data Being Processed? Yes If Performance Data is not being processed, click the 'Enable performance data' link in the 'Process Commands' box. This issue bit me the first time I attempted to setup perfdata processing. I think I may have turned it off via the cgi before ever enabling it in the configs. If Performance Data is still not being added to the perfdata log files, maybe you have not yet installed Nagios plugins that will generate Performance Data? IIRC, the first version of plugins to support Performance Data was 1.4.0. Your best bet to ensure that you have a maximum number of Performance Data producing plugins is to use the latest version from CVS. > > In nagios.cfg i use following options to activate it: ... > cfg_file=/usr/local/nagios/etc/Command.cfg > ... > process_performance_data=1 > # host_perfdata_command=process-host-perfdata > service_perfdata_command=service-perf-data-handler ... > > (what i need is only service performance data processing) > > In my Command.cfg i define the according command: > ... > define command { > command_name service-perf-data-handler > command_line /bin/echo -e > "$LASTCHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERV > ICEATTEMPT$\t$STATETYPE$\t$EXECUTIONTIME$\t$LATENCY$\t$OUTPUT$ > \t$PERFDATA$" /usr/local/ nagios/var/service-perfdata > } > ... Is the space in the path above really there? Or is that just a typo? That could be the source of the problem... > With this configuration the file > "/usr/local/nagios/var/service-perfdata" should be created > and some information about all the service-check resulst > written into it (i'm using about 65 service-checks in my > environment), but nothing is happens: > The file "/usr/local/nagios/var/service-perfdata" is not > created and it is no error messages or something like it in > naigos.log or in /var/log/messages > > The nagios is compiled using --with-default-perfdata argument > to the configure script. What is the reason for using the default-perfdata method? Have you looked at the file based method? The file based method would most likely work well for you, as its intent is to update a file with Performance Data. I believe that the default method would better serve users who want to do something other than put the data in a file. > What can be wrong here? > > Thanks for all your ideas The PerfParse project uses the file based method to gather Performance Data into files, and then export from the files to a MySQL DB. You may want to look at the docs on http://perfparse.sf.net/docs.php for some detailed instructions on enabling performance data (also links back to the appropriate Nagios docs on the subject). > Alexander Schaefer > ________________________________________________________________ > Verschicken Sie romantische, coole und witzige Bilder per SMS! > Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193 Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 stevelml1 at scee.sony.co.uk Thu Aug 5 19:56:46 2004 From: stevelml1 at scee.sony.co.uk (Steve Loughran) Date: Thu, 5 Aug 2004 18:56:46 +0100 Subject: HTTPD server authentication accessing CGI References: <41125F25.4000103@orbitel.com.br> Message-ID: <007201c47b15$93917690$0ffe10ac@niltxp2> Does anyone read the docs and FAQs (online or local) anymore? Read these, do the work, test them... if it doesnt work, go back, try again... http://www.nagios.org/faqs/viewfaq.php?faq_id=48&expand=false&showdesc=false http://nagios.sourceforge.net/docs/1_0/cgiauth.html Steve (Yes, I am cranky today) ============ Is my now problem: It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 dhobbs at chancery.com Thu Aug 5 20:04:07 2004 From: dhobbs at chancery.com (Dale Hobbs) Date: Thu, 5 Aug 2004 11:04:07 -0700 Subject: Problem with check_radius Message-ID: <903C68C2CC785C4684A59862E3067553916D9B@s-exchange4.chancery.com> Is anyone else having any problems with the check_radius command? I've been trying to use it with Nagios but keep getting errors. I am using the radiusclient-0.3.2 and Nagios-1.2. However I am having some difficulty with the dictionary. Every time I try to execute the command I get the following error in /var/log/messages: s-nagios check_radius: rc_read_dictionary: couldn't open dictionary /usr/local/etc/radiusclient/dictionary : No such file or directory Nagios just tells me config file error. Below is the contents of the folder /usr/local/etc/radiusclient/ and as you can see the dictionary file clearly exists. total 48 -rw-r--r-- 1 root root 6385 Jul 19 13:24 dictionary -rw-r--r-- 1 root root 12388 Jul 19 13:24 dictionary.ascend -rw-r--r-- 1 root root 1517 Jul 19 13:24 dictionary.compat -rw-r--r-- 1 root root 599 Jul 19 13:24 dictionary.merit -rw-r--r-- 1 root root 135 Jul 19 13:24 issue -rw-r--r-- 1 root root 410 Jul 19 13:24 port-id-map -rw-r--r-- 1 root root 2580 Jul 19 13:24 radiusclient.conf -rw------- 1 root root 169 Jul 19 13:24 servers Dale Hobbs -------------- next part -------------- An HTML attachment was scrubbed... URL: From quanah at stanford.edu Thu Aug 5 20:12:54 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Thu, 05 Aug 2004 11:12:54 -0700 Subject: Not getting email alerts In-Reply-To: <41126FDF.2060205@tgs-solutions.com> References: <370ACCFA5BB3B346A31222E5559BF91F38A5FD@mismail2.ena.com> <41126FDF.2060205@tgs-solutions.com> Message-ID: --On Thursday, August 05, 2004 1:35 PM -0400 Sudheer Muddappa wrote: > As I mentioned before, > I am receiving emails for other services, like disk checks cpu > utilization etc. > But host goes down , I dont get any emails at all. > > And the email id is fine. As everything is happening on the same server. Many people have an issue with Nagios and host down alerts. No one seems to have an answer for it, and I think the answer right now is "wait for the next version of Nagios", since there doesn't seem to be any developer looking into the issue for the current version. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 marc at ena.com Thu Aug 5 20:26:40 2004 From: marc at ena.com (Marc Powell) Date: Thu, 5 Aug 2004 13:26:40 -0500 Subject: Not getting email alerts Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A604@mismail2.ena.com> ----Original Message---- From: Sudheer Muddappa [mailto:sudheer at tgs-solutions.com] Sent: Thursday, August 05, 2004 12:35 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Not getting email alerts > As I mentioned before, > I am receiving emails for other services, like disk checks cpu > utilization etc. > But host goes down , I dont get any emails at all. > > And the email id is fine. As everything is happening on the same > server. > > > pertinent to troubleshooting. Additionally, I suggested you look in > > your nagios.log to verify that nagios was sending out the alerts. > > What did you find? ...? -- Marc ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 sudheer at tgs-solutions.com Thu Aug 5 20:49:08 2004 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Thu, 05 Aug 2004 14:49:08 -0400 Subject: Not getting email alerts In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F38A604@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F38A604@mismail2.ena.com> Message-ID: <41128124.9030107@tgs-solutions.com> This what is there in the nagios.log Is there any other way to generate notification when the host goes down or unreachable? [1091721976] HOST ALERT: debian;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [1091721979] HOST ALERT: debian;DOWN;SOFT;2;/bin/ping -n -U -c 1 198.180.37.88 [1091721982] HOST ALERT: debian;DOWN;HARD;3;/bin/ping -n -U -c 1 198.180.37.88 Thanks Marc Powell wrote: >----Original Message---- >From: Sudheer Muddappa [mailto:sudheer at tgs-solutions.com] >Sent: Thursday, August 05, 2004 12:35 PM >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Not getting email alerts > > > >>As I mentioned before, >>I am receiving emails for other services, like disk checks cpu >>utilization etc. >>But host goes down , I dont get any emails at all. >> >>And the email id is fine. As everything is happening on the same >>server. >> >> >> > > > >>>pertinent to troubleshooting. Additionally, I suggested you look in >>>your nagios.log to verify that nagios was sending out the alerts. >>>What did you find? >>> >>> > >...? > >-- >Marc > > >------------------------------------------------------- >This SF.Net email is sponsored by OSTG. Have you noticed the changes on >Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, >one more big change to announce. We are now OSTG- Open Source Technology >Group. Come see the changes on the new OSTG site. www.ostg.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: From stevelml1 at scee.sony.co.uk Thu Aug 5 21:23:39 2004 From: stevelml1 at scee.sony.co.uk (Steve Loughran) Date: Thu, 5 Aug 2004 20:23:39 +0100 Subject: SMS notifications for specific services only References: <877A6ECD8676D51194BF00A0C9C7559708D6A78A@S01EDV03> Message-ID: <00c901c47b21$b7466e40$0ffe10ac@niltxp2> This should work: create two notification groups admin-email (for normal email messages) admin-sms (for email-2-SMS alerts) and when you configure the particular service, specify (or not) the admin-sms contact group, depending on whether you want to receive an SMS for that service. Steve ----- Original Message ----- From: "Fiederling, Daniel" To: Sent: Thursday, August 05, 2004 6:16 PM Subject: [Nagios-users] SMS notifications for specific services only > Hi! > > I'm working on sms notifications sent by nagios. I use the smstools > developed by Stefan Frings > (http://www.isis.de/~s.frings/smstools_index.html) with a Siemens TC35i GSM > modem. It's really nice, we use this solution for other purposes too. > > I can define an email address and a pager number for each contact. If the > notification command for sending sms is specified the contact will receive > SMS for each service that fails. This works great. But: I don't want to > receive an SMS for each service, only for some specific ones. > I thought about defining a macro like $USER5$ in these specific service > definitions (but I can't figure out how to :-) ) or putting a special string > in the service_description and passing that macro to the notification script > that decides if a sms is sent or not. I don't want to create 2 contact > entries for the same person that should receive sms, one with sms > notifcations, the other one without (my first idea). Maybe a special group > is the better way?! > > I was asking myself if there is another (maybe straight through) way for > doing this with Nagios 1.2. Maybe I'm thinking much too complicated - do I? > > Any suggestions? > Thanks! > Daniel > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.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 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 sudheer at tgs-solutions.com Thu Aug 5 21:38:41 2004 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Thu, 05 Aug 2004 15:38:41 -0400 Subject: Not getting email alerts In-Reply-To: References: <370ACCFA5BB3B346A31222E5559BF91F38A5FD@mismail2.ena.com> <41126FDF.2060205@tgs-solutions.com> Message-ID: <41128CC1.3080400@tgs-solutions.com> Is this true?? Thats not good Quanah Gibson-Mount wrote: > > > --On Thursday, August 05, 2004 1:35 PM -0400 Sudheer Muddappa > wrote: > >> As I mentioned before, >> I am receiving emails for other services, like disk checks cpu >> utilization etc. >> But host goes down , I dont get any emails at all. >> >> And the email id is fine. As everything is happening on the same server. > > > Many people have an issue with Nagios and host down alerts. No one > seems to have an answer for it, and I think the answer right now is > "wait for the next version of Nagios", since there doesn't seem to be > any developer looking into the issue for the current version. > > --Quanah > > -- > Quanah Gibson-Mount > Principal Software Developer > ITSS/Shared Services > Stanford University > GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.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 > > -- ################## #Sudheer Muddappa# #TCIS # #732-212-5045 # ################## ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 marc at ena.com Thu Aug 5 21:57:32 2004 From: marc at ena.com (Marc Powell) Date: Thu, 5 Aug 2004 14:57:32 -0500 Subject: Not getting email alerts Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A60C@mismail2.ena.com> ________________________________ From: Sudheer Muddappa [mailto:sudheer at tgs-solutions.com] Sent: Thursday, August 05, 2004 1:49 PM To: Marc Powell; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Not getting email alerts This what is there in the nagios.log Is there any other way to generate notification when the host goes down or unreachable? [1091721976] HOST ALERT: debian;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [1091721979] HOST ALERT: debian;DOWN;SOFT;2;/bin/ping -n -U -c 1 198.180.37.88 [1091721982] HOST ALERT: debian;DOWN;HARD;3;/bin/ping -n -U -c 1 198.180.37.88 Yes, certainly. Change your host-notify-by-email command definition to be whatever you want. You probably need to look at that anyway to resolve your problem. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 Darren.Kemp at xerox.com Thu Aug 5 21:51:49 2004 From: Darren.Kemp at xerox.com (Kemp, Darren) Date: Thu, 5 Aug 2004 15:51:49 -0400 Subject: Not getting email alerts Message-ID: <330CE9F92C02064B86090D40B479712F339219@usa0300ms04.na.xerox.net> Hosts and Services have separate notification settings. Make sure your host object is setup to notify. -dkk -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Thursday, August 05, 2004 2:27 PM To: Sudheer Muddappa; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Not getting email alerts ----Original Message---- From: Sudheer Muddappa [mailto:sudheer at tgs-solutions.com] Sent: Thursday, August 05, 2004 12:35 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Not getting email alerts > As I mentioned before, > I am receiving emails for other services, like disk checks cpu > utilization etc. > But host goes down , I dont get any emails at all. > > And the email id is fine. As everything is happening on the same > server. > > > pertinent to troubleshooting. Additionally, I suggested you look in > > your nagios.log to verify that nagios was sending out the alerts. > > What did you find? ...? -- Marc ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 sudheer at tgs-solutions.com Thu Aug 5 21:52:02 2004 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Thu, 05 Aug 2004 15:52:02 -0400 Subject: Not getting email alerts In-Reply-To: <41128124.9030107@tgs-solutions.com> References: <370ACCFA5BB3B346A31222E5559BF91F38A604@mismail2.ena.com> <41128124.9030107@tgs-solutions.com> Message-ID: <41128FE2.8070801@tgs-solutions.com> Can anybody help with this???? With out this nagios is not at all usable. Thanks, Sudheer Muddappa wrote: > This what is there in the nagios.log > > Is there any other way to generate notification when the host goes > down or unreachable? > > > [1091721976] HOST ALERT: debian;DOWN;SOFT;1;CRITICAL - Plugin timed > out after 10 seconds > [1091721979] HOST ALERT: debian;DOWN;SOFT;2;/bin/ping -n -U -c 1 > 198.180.37.88 > [1091721982] HOST ALERT: debian;DOWN;HARD;3;/bin/ping -n -U -c 1 > 198.180.37.88 > > Thanks > > Marc Powell wrote: > >>----Original Message---- >>From: Sudheer Muddappa [mailto:sudheer at tgs-solutions.com] >>Sent: Thursday, August 05, 2004 12:35 PM >>To: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] Not getting email alerts >> >> >> >>>As I mentioned before, >>>I am receiving emails for other services, like disk checks cpu >>>utilization etc. >>>But host goes down , I dont get any emails at all. >>> >>>And the email id is fine. As everything is happening on the same >>>server. >>> >>> >>> >> >> >> >>>>pertinent to troubleshooting. Additionally, I suggested you look in >>>>your nagios.log to verify that nagios was sending out the alerts. >>>>What did you find? >>>> >>>> >> >>...? >> >>-- >>Marc >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by OSTG. Have you noticed the changes on >>Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, >>one more big change to announce. We are now OSTG- Open Source Technology >>Group. Come see the changes on the new OSTG site. www.ostg.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: From sudheer at tgs-solutions.com Thu Aug 5 22:21:33 2004 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Thu, 05 Aug 2004 16:21:33 -0400 Subject: Not getting email alerts In-Reply-To: <330CE9F92C02064B86090D40B479712F339219@usa0300ms04.na.xerox.net> References: <330CE9F92C02064B86090D40B479712F339219@usa0300ms04.na.xerox.net> Message-ID: <411296CD.6070300@tgs-solutions.com> Guys, The catch is I receive emails on snmp traps and disk quota etc..... But not on the host down or unreachable. Please let me know If you need any config files to look at. I will send them. THanks, Kemp, Darren wrote: >Hosts and Services have separate notification settings. Make sure your >host object is setup to notify. > >-dkk > > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc >Powell >Sent: Thursday, August 05, 2004 2:27 PM >To: Sudheer Muddappa; nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] Not getting email alerts > >----Original Message---- >From: Sudheer Muddappa [mailto:sudheer at tgs-solutions.com] >Sent: Thursday, August 05, 2004 12:35 PM >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Not getting email alerts > > > >>As I mentioned before, >>I am receiving emails for other services, like disk checks cpu >>utilization etc. >>But host goes down , I dont get any emails at all. >> >>And the email id is fine. As everything is happening on the same >>server. >> >> >> > > > >>>pertinent to troubleshooting. Additionally, I suggested you look in >>>your nagios.log to verify that nagios was sending out the alerts. >>>What did you find? >>> >>> > >...? > >-- >Marc > > >------------------------------------------------------- >This SF.Net email is sponsored by OSTG. Have you noticed the changes on >Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, >one more big change to announce. We are now OSTG- Open Source Technology >Group. Come see the changes on the new OSTG site. www.ostg.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 > > > > >------------------------------------------------------- >This SF.Net email is sponsored by OSTG. Have you noticed the changes on >Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, >one more big change to announce. We are now OSTG- Open Source Technology >Group. Come see the changes on the new OSTG site. www.ostg.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: From Darren.Kemp at xerox.com Thu Aug 5 22:26:42 2004 From: Darren.Kemp at xerox.com (Kemp, Darren) Date: Thu, 5 Aug 2004 16:26:42 -0400 Subject: Not getting email alerts Message-ID: <330CE9F92C02064B86090D40B479712F339221@usa0300ms04.na.xerox.net> Post your host template and your command syntax for the host notification. -dkk _____ From: Sudheer Muddappa [mailto:sudheer at tgs-solutions.com] Sent: Thursday, August 05, 2004 4:22 PM To: nagios-users at lists.sourceforge.net Cc: Kemp, Darren; Marc Powell Subject: Re: [Nagios-users] Not getting email alerts Guys, The catch is I receive emails on snmp traps and disk quota etc..... But not on the host down or unreachable. Please let me know If you need any config files to look at. I will send them. THanks, Kemp, Darren wrote: Hosts and Services have separate notification settings. Make sure your host object is setup to notify. -dkk -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Thursday, August 05, 2004 2:27 PM To: Sudheer Muddappa; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Not getting email alerts ----Original Message---- From: Sudheer Muddappa [mailto:sudheer at tgs-solutions.com] Sent: Thursday, August 05, 2004 12:35 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Not getting email alerts As I mentioned before, I am receiving emails for other services, like disk checks cpu utilization etc. But host goes down , I dont get any emails at all. And the email id is fine. As everything is happening on the same server. pertinent to troubleshooting. Additionally, I suggested you look in your nagios.log to verify that nagios was sending out the alerts. What did you find? ...? -- Marc ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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: From marc at ena.com Thu Aug 5 22:33:10 2004 From: marc at ena.com (Marc Powell) Date: Thu, 5 Aug 2004 15:33:10 -0500 Subject: Not getting email alerts Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A613@mismail2.ena.com> I do not believe this to be an accurate statement. Any host notification problems are likely configuration issues, not something wrong in the code. Such a problem would be widely encountered and it just isn't. -- Marc ----Original Message---- From: Sudheer Muddappa [mailto:sudheer at tgs-solutions.com] Sent: Thursday, August 05, 2004 2:39 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Not getting email alerts > Is this true?? > Thats not good > > Quanah Gibson-Mount wrote: > > > > > > > --On Thursday, August 05, 2004 1:35 PM -0400 Sudheer Muddappa > > wrote: > > > > > As I mentioned before, > > > I am receiving emails for other services, like disk checks cpu > > > utilization etc. But host goes down , I dont get any emails at > > > all. > > > > > > And the email id is fine. As everything is happening on the same > > > server. > > > > > > Many people have an issue with Nagios and host down alerts. No one > > seems to have an answer for it, and I think the answer right now is > > "wait for the next version of Nagios", since there doesn't seem to > > be any developer looking into the issue for the current version. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 Phillip.Wilson at gwinnettcounty.com Thu Aug 5 22:43:04 2004 From: Phillip.Wilson at gwinnettcounty.com (Phillip.Wilson at gwinnettcounty.com) Date: Thu, 5 Aug 2004 16:43:04 -0400 Subject: NRPE and Nagios plugins on AIX 5.2 Message-ID: Hello, I have multiple AIX 5.2 servers that I would like to run nrpe 2.0 on and run the 1.40 plugins to check everything from disk space (really filesystem utilization), free memory/swap/CPU utilization/users/etc. Has anyone compiled and ran either nrpe 2.0 or 1.40 of the plug-ins on AIX 5.2??? I've searched the mailing lists/source forge Nagios pages, but nothing was ever posted back indicating that anyone had any success. TIA Phillip Wilson Principal Consultant SNIA FC-Professional and FC-Specialist Gwinnett County Government DOSS/Information Technology Services 75 Langley Drive Lawrenceville, GA 30045 Office: 770-822-7381 phillip.wilson at gwinnettcounty.com ******************************************** This e-mail (including any attachments) is confidential and may be legally privileged. If you are not an intended recipient or an authorized representative of an intended recipient, you are prohibited from using, copying or distributing the information in this e-mail or its attachments. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete all copies of this message and any attachments. Thank you. ******************************************** ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 sudheer at tgs-solutions.com Thu Aug 5 22:47:55 2004 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Thu, 05 Aug 2004 16:47:55 -0400 Subject: Not getting email alerts In-Reply-To: <330CE9F92C02064B86090D40B479712F339221@usa0300ms04.na.xerox.net> References: <330CE9F92C02064B86090D40B479712F339221@usa0300ms04.na.xerox.net> Message-ID: <41129CFB.3040103@tgs-solutions.com> ## 'Debian server' host definition define host{ host_name debian alias Debian server address ipaddress check_command check-host-alive max_check_attempts 3 notification_interval 480 notification_period 24x7 } # Service definition 'debian' define service{ host_name debian service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups server-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } # 'root' contact definition define contact{ contact_name root alias Super User service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email root at redbankng } # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } Thanks, Kemp, Darren wrote: > Post your host template and your command syntax for the host notification. > > > > -dkk > > > > > > ------------------------------------------------------------------------ > > From: Sudheer Muddappa [mailto:sudheer at tgs-solutions.com] > Sent: Thursday, August 05, 2004 4:22 PM > To: nagios-users at lists.sourceforge.net > Cc: Kemp, Darren; Marc Powell > Subject: Re: [Nagios-users] Not getting email alerts > > > > Guys, > > The catch is I receive emails on snmp traps and disk quota etc..... > > But not on the host down or unreachable. > > Please let me know If you need any config files to look at. > I will send them. > > THanks, > > Kemp, Darren wrote: > >Hosts and Services have separate notification settings. Make sure your > >host object is setup to notify. > > > >-dkk > > > > > >-----Original Message----- > >From: nagios-users-admin at lists.sourceforge.net > >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc > >Powell > >Sent: Thursday, August 05, 2004 2:27 PM > >To: Sudheer Muddappa; nagios-users at lists.sourceforge.net > >Subject: RE: [Nagios-users] Not getting email alerts > > > >----Original Message---- > >From: Sudheer Muddappa [mailto:sudheer at tgs-solutions.com] > >Sent: Thursday, August 05, 2004 12:35 PM > >To: nagios-users at lists.sourceforge.net > >Subject: Re: [Nagios-users] Not getting email alerts > > > > > >>As I mentioned before, >> >>I am receiving emails for other services, like disk checks cpu >> >>utilization etc. >> >>But host goes down , I dont get any emails at all. >> >> >> >>And the email id is fine. As everything is happening on the same >> >>server. >> >> >> >> >> > > > > >>>pertinent to troubleshooting. Additionally, I suggested you look in >>> >>>your nagios.log to verify that nagios was sending out the alerts. >>> >>>What did you find? >>> >>> >>> > > >...? > > > >-- > >Marc > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by OSTG. Have you noticed the changes on > >Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > >one more big change to announce. We are now OSTG- Open Source Technology > >Group. Come see the changes on the new OSTG site. www.ostg.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 > > > > > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by OSTG. Have you noticed the changes on > >Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > >one more big change to announce. We are now OSTG- Open Source Technology > >Group. Come see the changes on the new OSTG site. www.ostg.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: From tryfan2k2 at sympatico.ca Thu Aug 5 23:07:57 2004 From: tryfan2k2 at sympatico.ca (Nick C) Date: Thu, 05 Aug 2004 21:07:57 +0000 Subject: nrpe / mailq problem Message-ID: <4112A1AD.8020703@sympatico.ca> Hello all, Having a bit of trouble with nrpe running mailq. On my remote host check_mailq responds with "OK: mailq is empty | mailq = 0" Checking remotely, it gives me " | mailq = 0". So the first message isn't being sent. The other nrpe checks I have running are doing fine. Is there something I'm doing wrong? If you need more info, feel free to ask. TIA Nick Celebic ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 cmorthland at christenson.com Thu Aug 5 23:12:52 2004 From: cmorthland at christenson.com (Morthland, Cam) Date: Thu, 5 Aug 2004 14:12:52 -0700 Subject: New to list: Newb questions Message-ID: <8A331D75F9F3CD4CA589854776E6F2E602557C2B@hq-ex01.christenson.dom> Hello all and thanks in advance for your patience and understanding as I am sure these questions have been asked a thousand times (but I still cannot find answers through hours of Googlng). I have recently installed the framework successfully and have the config file layouts the way I want. I am in a mostly Windows environment running HP/Compaq for my backend servers. Questions: 1) What is the best way to monitor windows servers? NSClient seems to be buggy/leaky from what I have read. 2) Is there ANY resource/examples/list out there of what checks/commands are available use to access MIB's/WMI's? - I understand check_nt can be used, I just have found nothing on HOW or WHAT checks are available. What other checks are out there like USEDDISKSPACE? - When I try to use check_nt to check disk space (command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$) I get a "Host Refused Connection). I am sure this is because I do not have port 1248 available to connect on. PROBLEM: I have found nowhere to find out how to get these things talking. 3) For the Compaq servers, I keep getting SNMPWALK: TIMOUT errors. Are there any resources out there that show HOW to do it and WHAT to monitor? Thanks again! Cam ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 quanah at stanford.edu Thu Aug 5 23:14:01 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Thu, 05 Aug 2004 14:14:01 -0700 Subject: Not getting email alerts In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F38A613@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F38A613@mismail2.ena.com> Message-ID: <47F4806515CF8CF4310F8B8A@cadabra-dsl.stanford.edu> --On Thursday, August 05, 2004 3:33 PM -0500 Marc Powell wrote: > I do not believe this to be an accurate statement. Any host notification > problems are likely configuration issues, not something wrong in the > code. Such a problem would be widely encountered and it just isn't. Excuse my french, But that is BS. I've noted several times that we get a *single* host down alert, and that continued alerts that *should* be coming from Nagios do not. There was an entire thread on this about a month ago, of another user who had this same situation. I've posted our configs, I've posted the log output, and everything *appears* to be working correctly. However, it simply never sends out any alerts past the initial HOST DOWN. There have been plenty of complaints about this behavior from others than myself, so I'd call that a widely encountered issue. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 s.shipway at auckland.ac.nz Thu Aug 5 23:23:04 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 6 Aug 2004 09:23:04 +1200 Subject: NRPE and Nagios plugins on AIX 5.2 In-Reply-To: References: Message-ID: <014201c47b32$65396ce0$b004d882@itss.auckland.ac.nz> Phillip.Wilson at gwinnettcounty.com wrote >Hello, >I have multiple AIX 5.2 servers that I would like to run nrpe >2.0 on and run the 1.40 plugins to check everything from disk >space (really filesystem utilization), free memory/swap/CPU >utilization/users/etc. > >Has anyone compiled and ran either nrpe 2.0 or 1.40 of the >plug-ins on AIX 5.2??? > >I've searched the mailing lists/source forge Nagios pages, but >nothing was ever posted back indicating that anyone had any success. We run AIX 5.2 with NRPE here. I have v2.0b5 compiled with parameter support but no SSL (I just can't make that work no matter how, even though the openssl libraries are installed). This means you need to use -n with the check_nrpe and set the daemon to us -n as well. If you need help, I can send you the binary. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From sudheer at tgs-solutions.com Thu Aug 5 23:44:25 2004 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Thu, 05 Aug 2004 17:44:25 -0400 Subject: Not getting email alerts In-Reply-To: <47F4806515CF8CF4310F8B8A@cadabra-dsl.stanford.edu> References: <370ACCFA5BB3B346A31222E5559BF91F38A613@mismail2.ena.com> <47F4806515CF8CF4310F8B8A@cadabra-dsl.stanford.edu> Message-ID: <4112AA39.10200@tgs-solutions.com> All, Thanks for investigating this problem. I was able to solve this issue. This is what I did. I added a this line in hosts.cfg . notification_options d,u,r That made a difference. Yeh ofcourse I had to restart the nagios services. Thanks, Quanah Gibson-Mount wrote: > > > --On Thursday, August 05, 2004 3:33 PM -0500 Marc Powell > wrote: > >> I do not believe this to be an accurate statement. Any host notification >> problems are likely configuration issues, not something wrong in the >> code. Such a problem would be widely encountered and it just isn't. > > > Excuse my french, > > But that is BS. > > I've noted several times that we get a *single* host down alert, and > that continued alerts that *should* be coming from Nagios do not. > There was an entire thread on this about a month ago, of another user > who had this same situation. I've posted our configs, I've posted the > log output, and everything *appears* to be working correctly. > However, it simply never sends out any alerts past the initial HOST > DOWN. There have been plenty of complaints about this behavior from > others than myself, so I'd call that a widely encountered issue. > > --Quanah > > -- > Quanah Gibson-Mount > Principal Software Developer > ITSS/Shared Services > Stanford University > GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.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: From walrus+nagios at glassonion.org Thu Aug 5 23:53:26 2004 From: walrus+nagios at glassonion.org (Chaos Golubitsky) Date: Thu, 5 Aug 2004 17:53:26 -0400 Subject: counterintuitive behaviour of retain_state_information Message-ID: <20040805215326.GG87943@glassonion.org> Hi all, So, i spent a large amount of time tracking down a problem i was having with Nagios configuration, and i would like some insight into why the program behaves this way. The problem i was having: after enabling performance data globally, i tried to turn it off for some services, that is, to have process_perf_data="yes" for some services, but not for others. However, even if i set process_perf_data="no", those services still collected performance data. The solution: stop nagios, delete status.sav, restart nagios. The reason: Nagios reads in its configuration file, and only after that reads in the state file, so any variables which are set in the state file, *including all the boolean configuration variables for services and hosts*, are overridden by the values in the state file. Could someone please explain to me how this is not a bug? Is there any way for me to keep the presumably useful last check information stored in status.sav across restarts, without losing the ability to reconfigure services? Apologies for the frustration, but i have trouble believing that i am the first person to waste 10+ hours of heavy debugging being baffled by this behaviour, and i feel strongly that it at least merits a warning in the configuration file next to the retain_state_information variable. If this is a bug, i will make an effort to report it to the proper forum, but i wanted to check here first to see if there is some feature-not-bug explanation for what i am seeing. I am running Nagios version 1.2 release 1 (per nagios.spec) on FreeBSD 4.9. -Chaos ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 gyoungblood at saicmail.jsc.nasa.gov Fri Aug 6 00:13:48 2004 From: gyoungblood at saicmail.jsc.nasa.gov (Youngblood, Gregory (SAIC)) Date: Thu, 5 Aug 2004 17:13:48 -0500 Subject: Not getting email alerts Message-ID: <0158368F4840D41191D600508B9B06ECE2441F@saicmail.jsc.nasa.gov> After reading a FAQ answer ( http://www.nagios.org/faqs/viewfaq.php?faq_id=41 &expand=false&showdesc=true) you might want to disregard what I said before about setting notifications for hosts similar to services. Similar may work, but it sounds like if you cut and paste them then they may not work properly. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gyoungblood at saicmail.jsc.nasa.gov Fri Aug 6 00:09:35 2004 From: gyoungblood at saicmail.jsc.nasa.gov (Youngblood, Gregory (SAIC)) Date: Thu, 5 Aug 2004 17:09:35 -0500 Subject: Not getting email alerts Message-ID: <0158368F4840D41191D600508B9B06ECE2441E@saicmail.jsc.nasa.gov> He just told you that hosts and services have _different_ settings. You included that in the quoted portion of your message just now. Just because your getting service notifications does not mean you have host notifications setup. Might I suggest you go through the configuration and set your host notification options to something similar to your services notification settings -- perhaps if one works, then the other will too. Once you get them working that way, then you can customize them to your needs. The instructions in http://nagios.sourceforge.net/docs/1_0/xodtemplate.html and http://nagios.sourceforge.net/docs/1_0/notifications.html as well as the example config files included in the nagios package provide just about everything you need to make this work. I suggest you check the following: hosts.cfg -> notification_[interval|period|options] and notifications_enabled misccommands.cfg -> an entry for host-notify-by-email [assuming you are using this file and already have an entry for notify-by-email] contacts.cfg -> host_notification_[period|options|commands] Another suggestion - you can add a ping test to the services list for the host in question. Since your getting your services page, a failed ping test would tell you that a server is probably offline or experiencing other problems. -----Original Message----- From: Sudheer Muddappa [mailto:sudheer at tgs-solutions.com] Sent: Thursday, August 05, 2004 3:22 PM To: nagios-users at lists.sourceforge.net Cc: Kemp, Darren; Marc Powell Subject: Re: [Nagios-users] Not getting email alerts Guys, The catch is I receive emails on snmp traps and disk quota etc..... But not on the host down or unreachable. Please let me know If you need any config files to look at. I will send them. THanks, Kemp, Darren wrote: Hosts and Services have separate notification settings. Make sure your host object is setup to notify. -dkk -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [ mailto:nagios-users-admin at lists.sourceforge.net ] On Behalf Of Marc Powell Sent: Thursday, August 05, 2004 2:27 PM To: Sudheer Muddappa; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Not getting email alerts ----Original Message---- From: Sudheer Muddappa [ mailto:sudheer at tgs-solutions.com ] Sent: Thursday, August 05, 2004 12:35 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Not getting email alerts As I mentioned before, I am receiving emails for other services, like disk checks cpu utilization etc. But host goes down , I dont get any emails at all. And the email id is fine. As everything is happening on the same server. pertinent to troubleshooting. Additionally, I suggested you look in your nagios.log to verify that nagios was sending out the alerts. What did you find? ...? -- Marc ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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: From jeff at skislave.com Fri Aug 6 00:38:43 2004 From: jeff at skislave.com (Jeff Scott) Date: Thu, 05 Aug 2004 16:38:43 -0600 Subject: stale state continues....please help Message-ID: I have nagios 1.2, rh9. I stopped nagios, purged status.sav, restarted. Several different service checks stay in PENDING state, and never change. All the others work fine. No commonalities between them. PING work for one system, and not the next. Just stays in PENDING....I can see the service check scheduled, but the status never changes. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 marc at ena.com Fri Aug 6 00:42:28 2004 From: marc at ena.com (Marc Powell) Date: Thu, 5 Aug 2004 17:42:28 -0500 Subject: Not getting email alerts Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A619@mismail2.ena.com> ----Original Message---- From: Quanah Gibson-Mount [mailto:quanah at stanford.edu] Sent: Thursday, August 05, 2004 4:14 PM To: Marc Powell; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Not getting email alerts > --On Thursday, August 05, 2004 3:33 PM -0500 Marc Powell > > wrote: > > > I do not believe this to be an accurate statement. Any host > > notification problems are likely configuration issues, not something > > wrong in the code. Such a problem would be widely encountered and > > it just isn't. > > Excuse my french, > > But that is BS. > > I've noted several times that we get a *single* host down alert, and > that continued alerts that *should* be coming from Nagios do not. > There was an entire thread on this about a month ago, of another user > who had this same situation. I've posted our configs, I've posted > the log output, and everything *appears* to be working correctly. > However, it simply never sends out any alerts past the initial HOST > DOWN. There have been plenty of complaints about this behavior from > others than myself, so I'd call that a widely encountered issue. Well, I guess all I can say in response is that it _does_ work. I just tested it using the the following -- define host{ name generic-host notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts max_check_attempts 10 notification_interval 10080 notification_period 24x7 notification_options d,r register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host{ use generic-host ; Name of host template to use host_name marc-test alias marc-test address 172.27.2.124 check_command check-host-alive max_check_attempts 2 notification_interval 10 notification_period 24x7 notification_options d,u,r } # Service definition define service{ use generic-service ; Name of service template to use host_name marc-test service_description PING max_check_attempts 2 retry_check_interval 3 contact_groups marc normal_check_interval 2 check_command check_ping } define hostgroup{ hostgroup_name nateng-CorpRoutersandSwitches-Nashville-tn alias Ena Corporate Routers and Switches (Nashville) contact_groups nateng members lots-of-other-hosts-removed,marc-test } # 'check-host-alive' command definition define command{ command_name check-host-alive command_line $USER1$/check_ping $HOSTADDRESS$ 100 100 5000.0 5000.0 -p 1 -t 10 } define contact{ contact_name marc alias NOC service_notification_period 24x7 host_notification_period 24x7 service_notification_options c,r host_notification_options d,u,r service_notification_commands service-notify-by-email host_notification_commands host-notify-by-email email marc at ena.com } define contactgroup{ contactgroup_name nateng alias National Engineering members marc } # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /bin/echo -e "Subject: $NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$\n\n***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail $CONTACTEMAIL$ } [1091743764] HOST ALERT: marc-test;UP;HARD;1;(Host assumed to be up) [1091743764] SERVICE ALERT: marc-test;PING;OK;HARD;1;FPING OK - 172.27.2.124 (loss=0.000000%, rta=1.170000 ms) [1091744024] HOST ALERT: marc-test;DOWN;HARD;2;CRITICAL - Plugin timed out after 10 seconds [1091744024] HOST NOTIFICATION: marc;marc-test;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds [1091744024] SERVICE ALERT: marc-test;PING;CRITICAL;HARD;1;FPING CRITICAL - 172.27.2.124 (loss=100.000000% ) [1091744725] HOST NOTIFICATION: marc;marc-test;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds [1091745329] HOST NOTIFICATION: marc;marc-test;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds I'd be glad to forward the 3 emails if you'd like to see them. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 marc at ena.com Fri Aug 6 01:05:07 2004 From: marc at ena.com (Marc Powell) Date: Thu, 5 Aug 2004 18:05:07 -0500 Subject: counterintuitive behaviour of retain_state_information Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A61B@mismail2.ena.com> ----Original Message---- From: Chaos Golubitsky [mailto:walrus+nagios at glassonion.org] Sent: Thursday, August 05, 2004 4:53 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] counterintuitive behaviour of retain_state_information > Hi all, > > So, i spent a large amount of time tracking down a problem i was > having with Nagios configuration, and i would like some insight into > why the program behaves this way. > > The problem i was having: after enabling performance data globally, i > tried to turn it off for some services, that is, to have > process_perf_data="yes" for some services, but not for others. > However, even if i set process_perf_data="no", those services still > collected performance data. > > The solution: stop nagios, delete status.sav, restart nagios. > > The reason: Nagios reads in its configuration file, and only after > that reads in the state file, so any variables which are set in the > state file, *including all the boolean configuration variables for > services and hosts*, are overridden by the values in the state file. > > > Could someone please explain to me how this is not a bug? Is there It's documented -- http://nagios.sourceforge.net/docs/1_0/xodtemplate.html Retention Notes It is important to point out that several directives in host and service definitions may not be picked up by Nagios when you change them. Host and service directives that can exhibit this behavior are marked with an asterisk (*). The reason for this behavior is due to the fact that Nagios chooses to honor values stored in the state retention file over values found in the config files, assuming you have state retention enabled on a program-wide basis. One way to get around this problem is to disable the retention of non-status information using the retain_nonstatus_information directive in the host and service definitions. Disabling this directive will cause Nagios to take the initial values for these directives from your config files, rather than from the state retention file when it (re)starts. Using this option is not recommended, as it may result in some unexpected (from your point of view) results. Alternatively, you can issue the appropriate external command or change the value of the host or service directive via the web interface, so that it matches what you've changed it to in the config files. This is usually done by using the extended information CGI. This option takes a bit more work, but is preferable to disabling the retention of non-status information (mentioned above). > any way for me to keep the presumably useful last check information > stored in status.sav across restarts, without losing the ability to > reconfigure services? Apologies for the frustration, but i have 'retain_nonstatus_information 0' in your host/service definition or template should do it. retain_nonstatus_information: This directive is used to determine whether or not non-status information about the host is retained across program restarts. This is only useful if you have enabled state retention using the retain_state_information directive. Value: 0 = disable non-status information retention, 1 = enable non-status information retention. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 kelvin.wu at gmail.com Fri Aug 6 03:53:17 2004 From: kelvin.wu at gmail.com (Kelvin Wu) Date: Fri, 6 Aug 2004 09:53:17 +0800 Subject: display extra info in nagios web interface Message-ID: hello, how to display the some extra info in nagios web interface? i want nagios display: CRITICAL HARD 3 - file size: 100MB, (extra:start logrotate...) (checkcommand knows the $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$) (execute event handle... and next check) OK - file size: 10KB, (extra: file rotated: 20MB xxx.tar) (display return value of event handle). something like that. thanks. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 ian at acces.co.jp Fri Aug 6 04:03:24 2004 From: ian at acces.co.jp (Ian Masters) Date: Fri, 06 Aug 2004 11:03:24 +0900 Subject: Service NOT running check Message-ID: I'm sure that I've missed a basic premise about Nagios but I still can't for the life of me work out how to check that a service e.g. Telnet, is not running. Obviously I can check the port and get an alert and then acknowledge it. The Network Health then returns to all green. Is that the way it's normally done? When I was using Big Brother, you could check that a service is NOT running. Is this not done in Nagios? Thanks Ian Masters ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 benny at bennyvision.com Fri Aug 6 04:54:03 2004 From: benny at bennyvision.com (C. Bensend) Date: Thu, 5 Aug 2004 21:54:03 -0500 (CDT) Subject: Not getting email alerts In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F38A619@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F38A619@mismail2.ena.com> Message-ID: <51670.63.227.74.41.1091760865.squirrel@webmail.stinkweasel.net> > Well, I guess all I can say in response is that it _does_ work. I just Exactly, Marc. This has worked for me on Netsaint 1.0, through Nagios 1.2, on OpenBSD 2.9, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, RedHat 5.2, 6.2, 7.3, and FreeBSD something-or-other. I have yet to see this problem manifest itself when it WASN'T a config problem. Hell, I even think I had a version of Netsaint 0.4 (is that the correct version?) running years ago, and it didn't have this issue, if it wasn't a config problem. I have been on this mailing list for years, and yes - people have this problem. And nine times out of ten, it's a config problem. I personally don't call that "wide-spread." Benny -- "Horrible pain! I made sounds like a dolphin giving birth." -- Mr. Corman, "Scrubs" ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 karl at debisschop.net Fri Aug 6 05:12:42 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Thu, 05 Aug 2004 23:12:42 -0400 Subject: Service NOT running check In-Reply-To: References: Message-ID: <4112F72A.5050802@debisschop.net> Ian Masters wrote: > I'm sure that I've missed a basic premise about Nagios but I still can't for > the life of me work out how to check that a service e.g. Telnet, is not > running. > > Obviously I can check the port and get an alert and then acknowledge it. The > Network Health then returns to all green. Is that the way it's normally > done? > > When I was using Big Brother, you could check that a service is NOT running. > Is this not done in Nagios? Use the negate plugin wrapper -- Karl ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 karl at debisschop.net Fri Aug 6 05:24:13 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Thu, 05 Aug 2004 23:24:13 -0400 Subject: Multiple interfaces In-Reply-To: <20040801065059.GV21084@usc.edu> References: <20040730221231.GS21084@usc.edu> <20040731011715.GD96313@gargantuan.com> <20040731015228.GD21084@usc.edu> <20040731021448.GE96313@gargantuan.com> <20040801065059.GV21084@usc.edu> Message-ID: <4112F9DD.1060409@debisschop.net> Phil Dibowitz wrote: > On Fri, Jul 30, 2004 at 10:14:48PM -0400, Michael W. Oliver wrote: > >>On 2004-07-30T18:52:28-0700, Phil Dibowitz wrote: >> >>>No, that was exactly my point, except that the FAQ doesn't use pairs, it >>>just uses addresses: >>> address 192.168.1.1,192.168.2.1 >>> >>>But none of the plugins I tried support that syntax. >> >>I don't know of any that would, so the only solution here is to roll >>your own plugin. I have done this a few times, with the most recent to >>ping some hosts via IPv6 (ping6). >> >>Shouldn't be too much trouble to code it up in bourne shell, perl, etc. >>depending on your skill level. >> >>Good luck! > > > OK, just to be clear here -- I know I can make my own plugins... and I might. > > My question is -- what is everyone ELSE doing? I can't be the first person > using nagios to have multiple interfaces on my servers... I use the check_ping plugin from the 1.4.0 beta that support a comma-separated interface list. This allows me to define a host as comprised of the 3 interfaces. I then make the individual interfaces into hosts that are dependent on those primary hosts. I do not check multiple interfaces for anything other than ping. There was a discussion in this topic some time ago, and there was a general realization that check_ping is the only plugin that urgently needs to support multiple interfaces. I think this thread brought up the idea of a general wrapper that could make any plugin act as it it supported multiple interfaces -- I think that is an excellent approach. From there, we could move on to adding the capability to check_tcp and check_http. But the complexity of handling it on a case-by-case basis may not be worthwhile for all the plugins. So at some point, we may need to extend netutils.c to make general way of handling multiple interfaces -- but I have not thought at all about what such changes might look like. Hopefully that helps a little, and thanks for sustaining this thread which has brought some light onto the topic, for me at least. -- Karl ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 sysop at millenia.com Fri Aug 6 07:28:42 2004 From: sysop at millenia.com (Brian Andrus) Date: Thu, 5 Aug 2004 22:28:42 -0700 Subject: Set threshold at number of errors? Message-ID: <200408052222875.SM04024@daddy> I have had a client request that he be notified if his website gets more than 100 HTTP 500 errors in an hour. Is there a way to do this with nagios? I can't think of one, but just in case I am missing something, I figured I would ask. Brian Andrus -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios-users at gurugeek.com Fri Aug 6 08:22:43 2004 From: nagios-users at gurugeek.com (Jeff Rodriguez) Date: Thu, 05 Aug 2004 23:22:43 -0700 Subject: Set threshold at number of errors? In-Reply-To: <4113234C.8030808@gurugeek.com> References: <200408052222875.SM04024@daddy> <4113234C.8030808@gurugeek.com> Message-ID: <411323B3.1040601@gurugeek.com> Jeff Rodriguez wrote: > I imagine you're talking about more than 100 "HTTP 500" errors in a > log, not 100 errors via nagios... I believe there is a check_log that > may be of some use.. > > Jeff > > Brian Andrus wrote: > >> I have had a client request that he be notified if his website gets >> more than 100 HTTP 500 errors in an hour. Is there a way to do this >> with nagios? I can't think of one, but just in case I am missing >> something, I figured I would ask. >> >> Brian Andrus >> > > > ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 Philipp.Sand at sycor.de Fri Aug 6 11:19:59 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Fri, 6 Aug 2004 11:19:59 +0200 Subject: New to list: Newb questions Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E068EFF@SYGOMAIL.GOE.AD.SYCOR.DE> > I have recently installed the framework successfully and have > the config file layouts the way I want. I am in a mostly > Windows environment running HP/Compaq for my backend servers. Depends on what you want to monitor, we're using nsclient and check_win_eventlog for all Our Windows Servers + the Management Agents provided by the manufacturer. If you want to Monitor very specific thinks maybe you should have a look at nrpe_nt. > Questions: > > 1) What is the best way to monitor windows servers? NSClient > seems to be buggy/leaky from what I have read. Don't think so...works fine here. > 2) Is there ANY resource/examples/list out there of what > checks/commands are available use to access MIB's/WMI's? > - I understand check_nt can be used, I just have found > nothing on HOW or WHAT checks are available. What other > checks are out there like USEDDISKSPACE? > - When I try to use check_nt to check disk space > (command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$) I get a "Host > Refused Connection). I am sure this is because I do not have > port 1248 available to connect on. PROBLEM: I have found > nowhere to find out how to get these things talking. You can simply edit the registry keys of nsclient to change this port. We had to do that, because Microsoft Exchange likes to take a lot of Ports for itself, sometimes including 1248, too... > 3) For the Compaq servers, I keep getting SNMPWALK: TIMOUT > errors. Are there any resources out there that show HOW to > do it and WHAT to monitor? We're planing just to let the Compaq/HP Insight Manager do the monitoring of the compaq/hp Hardware, and then grab the data from the CIM Database, and let nagios display if the overall cim status is ok. Have Fun, Philipp ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 Philipp.Sand at sycor.de Fri Aug 6 11:23:17 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Fri, 6 Aug 2004 11:23:17 +0200 Subject: FW: display extra info in nagios web interface Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E068F01@SYGOMAIL.GOE.AD.SYCOR.DE> This got nothing to do with nagios itself, you'll have to modify the plugins to display more information. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Kelvin > Wu > Sent: Friday, August 06, 2004 3:53 AM > To: Nagios > Subject: [Nagios-users] display extra info in nagios web interface > > hello, > > how to display the some extra info in nagios web interface? > i want nagios display: > > CRITICAL HARD 3 - file size: 100MB, (extra:start > logrotate...) (checkcommand knows the $SERVICESTATE$ $STATETYPE$ > $SERVICEATTEMPT$) (execute event handle... and next check) > > OK - file size: 10KB, (extra: file rotated: 20MB xxx.tar) (display > return value of event handle). > > something like that. > > thanks. > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes > on Linux.com, ITManagersJournal and NewsForge in the past few weeks? > Now, one more big change to announce. We are now OSTG- Open Source > Technology Group. Come see the changes on the new OSTG site. > www.ostg.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 > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 rnelson at windchannel.com Fri Aug 6 12:32:08 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Fri, 6 Aug 2004 06:32:08 -0400 Subject: Multiple interfaces Message-ID: > From there, we could move on to adding the capability to > check_tcp and > check_http. But the complexity of handling it on a case-by-case basis > may not be worthwhile for all the plugins. So at some point, > we may need > to extend netutils.c to make general way of handling multiple > interfaces > -- but I have not thought at all about what such changes > might look like. Karl, how about a plugin that might be called in the following manner? check_multiple!check_tcp! Where check_multiple parses the address list and calls check_tcp once for each address? The problem then becomes, do you want the output to say "Reponse of .51 seconds; Response of .52 seconds; Response of .48 seconds" or "OK for 3 addresses"? What's a warning or crit state? Etc...Given those questions, it might be better off to define it on a per-plugin basis, not sure. Rob Nelson Network Engineer Windchannel Communications 919-538-6326 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 isgs294 at yahoo.com Fri Aug 6 14:05:14 2004 From: isgs294 at yahoo.com (Gary Sanders) Date: Fri, 6 Aug 2004 12:05:14 +0000 (UTC) Subject: FW: display extra info in nagios web interface References: <6943DE9E9934CD42BBE4A20E0E28E10E068F01@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: If you change the plugin you can output whatever you want back to nagios. Nagios will format and wrap the text to fit the screen if needed. In fact you can actually send back HTML as part of the "Status information" if you want. I have used HTML to give me a clickable link to another tool when an event happens. This got nothing to do with nagios itself, you'll have to modify the plugins to display more information. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 Stanley.Hopcroft at IPAustralia.Gov.AU Fri Aug 6 14:08:44 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 6 Aug 2004 22:08:44 +1000 Subject: Nagios-users digest, Service NOT running check In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Thu, Aug 05, 2004 at 08:25:45PM -0700 References: Message-ID: <20040806220842.A553@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, .. several mega-lines of multi-part (from the digest) deleted .. > > Message: 16 > Date: Fri, 06 Aug 2004 11:03:24 +0900 > From: Ian Masters > To: > Subject: [Nagios-users] Service NOT running check > > I'm sure that I've missed a basic premise about Nagios but I still can't for > the life of me work out how to check that a service e.g. Telnet, is not > running. > > Obviously I can check the port and get an alert and then acknowledge it. The > Network Health then returns to all green. Is that the way it's normally > done? Do you mean that Nag is misreporting the state of a service ? If, however, you mean that a port reachability check a la check_tcp is insufficient to determine the health of the server listening on that port, then agreed. > > When I was using Big Brother, you could check that a service is NOT running. > Is this not done in Nagios? > IIRC check_procs either run with ssh or by NRPE will let you know if a Unix process is not in the process table and therefore not running. You can also check the server by exercising it more extensively eg in order of severity 1 check_ftp and friends eg tsitc> /usr/local/nagios/libexec/check_ftp -H mvs -v FTP ok - 1 sec. response time, 220-FTPSERVE IBM FTP CS V2R6 at IPAP, 22:03:05 on 2004-08-06. tsitc> /usr/local/nagios/libexec/check_smtp -H mvs -v SMTP OK - 0 sec. response time, 220 MVS_SNAL.AIPO.GOV.AU running IBM MVS SMTP CS V2R6 on Fri, 06 Aug 04 22:06:05 LCL tsitc> 2 write your own plugins that exercise the server with tools such as . wget, lynx, expect (or curl, Perl modules such as LWP, Perl Net::Telnet, Net::FTP, Expect) . use the CPAN WWW::Mechanize way to automate web page access etc etc Having read this, I see Karl has probably answered your question. Sorry for the waste of time. > Thanks > > Ian Masters > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 jeff.vier at tradingtechnologies.com Fri Aug 6 16:12:31 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 06 Aug 2004 09:12:31 -0500 Subject: Multiple interfaces In-Reply-To: References: Message-ID: <1091801551.32766.16.camel@localhost> If you look in the archives, I actually wrote a similar plugin for a guy. I can probably scrounge it up if you need it. On Fri, 2004-08-06 at 06:32 -0400, Robert Nelson wrote: > > From there, we could move on to adding the capability to > > check_tcp and > > check_http. But the complexity of handling it on a case-by-case basis > > may not be worthwhile for all the plugins. So at some point, > > we may need > > to extend netutils.c to make general way of handling multiple > > interfaces > > -- but I have not thought at all about what such changes > > might look like. > > Karl, how about a plugin that might be called in the following manner? > > check_multiple!check_tcp! > > Where check_multiple parses the address list and calls check_tcp once > for each address? > > The problem then becomes, do you want the output to say "Reponse of .51 > seconds; Response of .52 seconds; Response of .48 seconds" or "OK for 3 > addresses"? What's a warning or crit state? Etc...Given those questions, > it might be better off to define it on a per-plugin basis, not sure. > > Rob Nelson > Network Engineer > Windchannel Communications > 919-538-6326 > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.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 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 zac at corenap.com Fri Aug 6 17:40:28 2004 From: zac at corenap.com (Zac Israel) Date: Fri, 6 Aug 2004 10:40:28 -0500 Subject: General Escalations Question Message-ID: <20040806154027.GA15325@corenap.com> I am using Nagios and things are working quite well, I was doing some auditing of the config scripts and noticed that there is another way for me to define my escalations. I am curious if anyone else had tried these 2 different ways and noticed any differences in performance or anything else. Currently I have my escalations.cfg file like this: (method A) define serviceescalation{ hostgroup_name T1 service_description PING contact_groups oncall1 first_notification 1 last_notification 1 notification_interval 3 } define serviceescalation{ hostgroup_name T1 service_description PING contact_groups oncall1,oncall2 first_notification 2 last_notification 2 notification_interval 3 } define serviceescalation{ hostgroup_name T1 service_description PING contact_groups oncall1,oncall2,oncall3 first_notification 3 last_notification 0 notification_interval 3 } And this is the other method that I am curious if others use and have high success: (method B) define serviceescalation{ hostgroup_name T1 service_description PING contact_groups oncall1 first_notification 1 last_notification 0 notification_interval 3 } define serviceescalation{ hostgroup_name T1 service_description PING contact_groups oncall2 first_notification 2 last_notification 0 notification_interval 3 } define serviceescalation{ hostgroup_name T1 service_description PING contact_groups oncall3 first_notification 3 last_notification 0 notification_interval 3 } With method A I always get the down page but sometime the up page does not get sent. I am curios if I am using the improper method or if there is no real difference. Again no real problem, just wanted to see what the comunity does. Thanks for any replys. -- __________________________________ Zac Israel zac at corenap.com Connect at the Core! www.corenap.com ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 jhmartin at toger.us Fri Aug 6 17:52:10 2004 From: jhmartin at toger.us (Jason Martin) Date: Fri, 6 Aug 2004 08:52:10 -0700 Subject: Set threshold at number of errors? In-Reply-To: <411323B3.1040601@gurugeek.com> References: <200408052222875.SM04024@daddy> <4113234C.8030808@gurugeek.com> <411323B3.1040601@gurugeek.com> Message-ID: <20040806155210.GY32547@zippy.toger.us> None of the check_log scripts have the ability to check for this sort of condition. However, a program like Simple Event Correlator (http://kodu.neti.ee/~risto/sec/) should be able to do that and send in a passive check result. -Jason Martin > >I imagine you're talking about more than 100 "HTTP 500" errors in a > >log, not 100 errors via nagios... I believe there is a check_log that > >may be of some use.. -- Don't let the computer bugs bite! This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From jstotler at crc.net Fri Aug 6 21:49:45 2004 From: jstotler at crc.net (John Stotler) Date: Fri, 06 Aug 2004 15:49:45 -0400 Subject: Checking mail queues on Lotus Notes? Message-ID: <1091821785.2600.4938.camel@delltrb02> I've been using Nagios for about 4 years now on various networks for 3 companies, and the company I'm with right now is unhappy with NetIQ, so I'm trying to see how much of its functionality I can replace with Nagios. The one thing that worries me is checking the queues in Lotus Notes for buildup. From what I'm told, the NetIQ plugin was built with access to the Lotus Notes API, so I'm worried that Nagios may have issues with monitoring this one thing. Has anyone out there ever worked with monitoring Lotus Notes queues with Nagios? Thanks, John ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 dknutson at sydran.com Fri Aug 6 22:14:28 2004 From: dknutson at sydran.com (David Knutson) Date: Fri, 06 Aug 2004 13:14:28 -0700 Subject: How to monitor Nagios itself? Message-ID: I've completed the setup of a Nagios system to monitor a number of our internal systems, and it seems to be working great. Now I want to setup a system at a remote site to monitor the monitor! All I want this second system to do is alert me when the first system goes down. Of course, I would also monitor the second system from the first. Complicating this is the fact of a firewall between the two systems - for instance, I can't run check_ping because the firewall stops it. And I can't use a VPN. So, can anyone recommend a reliable set of checks to run that will monitor the monitors and pass through a firewall? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Fri Aug 6 23:01:56 2004 From: jhmartin at toger.us (Jason Martin) Date: Fri, 6 Aug 2004 14:01:56 -0700 Subject: How to monitor Nagios itself? In-Reply-To: References: Message-ID: <20040806210156.GE32547@zippy.toger.us> You can set up a second nagios instanc and have the first one run a CRON job to run check_nagios and send the result via NSCA to the other nagios instance. See the manual for distributed monitoring. -Jason Martin On Fri, Aug 06, 2004 at 01:14:28PM -0700, David Knutson wrote: > I've completed the setup of a Nagios system to monitor a number of our > internal systems, and it seems to be working great. Now I want to setup > a system at a remote site to monitor the monitor! All I want this > second system to do is alert me when the first system goes down. Of > course, I would also monitor the second system from the first. > Complicating this is the fact of a firewall between the two systems - > for instance, I can't run check_ping because the firewall stops it. And > I can't use a VPN. > > So, can anyone recommend a reliable set of checks to run that will > monitor the monitors and pass through a firewall? -- Foolproof operation: All parameters are hard coded. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From gyoungblood at saicmail.jsc.nasa.gov Fri Aug 6 23:00:45 2004 From: gyoungblood at saicmail.jsc.nasa.gov (Youngblood, Gregory (SAIC)) Date: Fri, 6 Aug 2004 16:00:45 -0500 Subject: How to monitor Nagios itself? Message-ID: <0158368F4840D41191D600508B9B06ECE24422@saicmail.jsc.nasa.gov> If you have SSH capabilities through the firewall, then you should be able to setup SSH (for a non-root user) that can execute a command on each of the machines. Once ssh works in both directions, then each machine should be able to use check_by_ssh to execute check_nagios on the remote machine. I'm assuming your wanting to check nagios itself and not just the host that nagios is running on. If you don't have SSH through the firewall, then you will need to determine what services you have visible to each machine through the firewall. For example, if both machines have HTTP servers, and can see each other, then you might be able to wrap the check_nagios into a CGI. Personally, I wouldn't do it this way. I'd get SSH working. If there are issues with security, then assuming both sides have static IP addresses, then just allow SSH from and to each machine and no where else. Greg -----Original Message----- From: David Knutson [mailto:dknutson at sydran.com] Sent: Friday, August 06, 2004 3:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How to monitor Nagios itself? I've completed the setup of a Nagios system to monitor a number of our internal systems, and it seems to be working great. Now I want to setup a system at a remote site to monitor the monitor! All I want this second system to do is alert me when the first system goes down. Of course, I would also monitor the second system from the first. Complicating this is the fact of a firewall between the two systems - for instance, I can't run check_ping because the firewall stops it. And I can't use a VPN. So, can anyone recommend a reliable set of checks to run that will monitor the monitors and pass through a firewall? -------------- next part -------------- An HTML attachment was scrubbed... URL: From psma at mpsnet.net.mx Sat Aug 7 01:20:27 2004 From: psma at mpsnet.net.mx (Manuel Alejandro Pe;a Sanchez) Date: Fri, 6 Aug 2004 18:20:27 -0500 Subject: display extra info in nagios web interface In-Reply-To: References: Message-ID: <200408061820.27476.psma@mpsnet.net.mx> I have nagios installed on freebsd 5.2.1 the version is: Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 the problem that i have is my nagios is not recognizing the nagios plugins, and it sends this message: (Return code of 127 is out of bounds - plugin may be missing) It is set up on my resources.cfg like this: $USER1$=/usr/local/libexec/nagios and i chequed and they are there. Any idea why is nagios not using them?? Regards, Manuel Alejandro Pe?a Sanchez ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 stevelml1 at scee.sony.co.uk Sat Aug 7 10:22:00 2004 From: stevelml1 at scee.sony.co.uk (Steve Loughran) Date: Sat, 7 Aug 2004 09:22:00 +0100 Subject: display extra info in nagios web interface References: <200408061820.27476.psma@mpsnet.net.mx> Message-ID: <016601c47c57$9e1aec20$0ffe10ac@niltxp2> ummm... $USER1$=/usr/local/libexec/nagios should be $USER1$=/usr/local/nagios/libexec/ Steve ----- Original Message ----- From: "Manuel Alejandro Pe;a Sanchez" To: "Kelvin Wu" ; "Nagios" Sent: Saturday, August 07, 2004 12:20 AM Subject: Re: [Nagios-users] display extra info in nagios web interface > I have nagios installed on freebsd 5.2.1 the version is: > > Nagios 1.1 > Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) > Last Modified: 06-02-2003 > > the problem that i have is my nagios is not recognizing the nagios plugins, > and it sends this message: > > (Return code of 127 is out of bounds - plugin may be missing) > > It is set up on my resources.cfg like this: > > $USER1$=/usr/local/libexec/nagios > > and i chequed and they are there. > > Any idea why is nagios not using them?? > > Regards, > > Manuel Alejandro Pe?a Sanchez > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.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 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 pierre at kittyworld.com Sat Aug 7 10:56:02 2004 From: pierre at kittyworld.com (Pierre Schweitzer) Date: Sat, 7 Aug 2004 10:56:02 +0200 Subject: New member and a question Message-ID: <028d01c47c5c$5ffb0ba0$b309640a@corp.fluxus.net> Hello from a newbie, I'm a new member, who is using netsaint daily at work (as a user in a NOC, not an admin) New to Nagios, I installed it yesterday at home (On a mac) to monitor my own web site on shared hosting , And I asked myself a question, sorry, not really technical, but legal or deontological: could my web hosting company (which is NOT my employer) say something against the fact that I'm using Nagios (or any monitoring system) to monitor my site (my own domain and only IP) ? could they consider it as an intrusion ? I just monitor the ping, HTTP, FTP, pop3 and smtp Have any of you been facing this problem ? It may seem a stupid question , but at work clients PAY us to monitor their site :-)) Thank you for your insights Pierre ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 sam_stave at yahoo.com Sat Aug 7 12:54:41 2004 From: sam_stave at yahoo.com (Sam Stave) Date: Sat, 7 Aug 2004 03:54:41 -0700 (PDT) Subject: NRPE Nagios / SSL Problem In-Reply-To: <028d01c47c5c$5ffb0ba0$b309640a@corp.fluxus.net> References: <028d01c47c5c$5ffb0ba0$b309640a@corp.fluxus.net> Message-ID: <20040807105441.39079.qmail@web50306.mail.yahoo.com> Hello, I have to solaris systems currently for the testing of NRPE - netmon and mon-client netmon has nagios running and can check remote services - everything is running fine. mon-client is a new soalris install, and has nagios installed for the local checks - and has NRPE installed. /usr/local/nagios/bin/nrpe /usr/local/nagios/etc/nrpe.cfg /usr/local/nagios/libexec/check_* (from 1.3.X plugs) openSSL is installed (9.7d) I have manually run the checks ( ./check_* ) - and they all work fine... so I verified they would actully function. when I run NRPE with the following command: /usr/local/nagios/bin/nrpe /usr/local/nagios/etc/nrpe.cfg I get the following error: ld.so.1: /usr/local/nagios/bin/nrpe: fatal: libssl.so.0.9.7: open failed: No such file or directory I know this is an open SSL issue - but I dont understand it (I am new to this) I also getthe same error on the NAGIOS server when I run ./check_nrpe what does this mean? Thanks Sam __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 benny at bennyvision.com Sat Aug 7 17:15:19 2004 From: benny at bennyvision.com (C. Bensend) Date: Sat, 7 Aug 2004 10:15:19 -0500 (CDT) Subject: New member and a question In-Reply-To: <028d01c47c5c$5ffb0ba0$b309640a@corp.fluxus.net> References: <028d01c47c5c$5ffb0ba0$b309640a@corp.fluxus.net> Message-ID: <52755.63.227.74.41.1091891741.squirrel@webmail.stinkweasel.net> > And I asked myself a question, sorry, not really technical, but legal or > deontological: could my web hosting company (which is NOT my employer) say > something against the fact that I'm using Nagios (or any monitoring > system) > to monitor my site (my own domain and only IP) ? could they consider it > as > an intrusion ? > I just monitor the ping, HTTP, FTP, pop3 and smtp I suppose they could complain, but aren't they _providing those services to the public_ anyway? Nagios can get a little noisy in the logs, but they could probably filter that out... Benny -- "Horrible pain! I made sounds like a dolphin giving birth." -- Mr. Corman, "Scrubs" ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 jhmartin at toger.us Sat Aug 7 17:44:56 2004 From: jhmartin at toger.us (Jason Martin) Date: Sat, 7 Aug 2004 08:44:56 -0700 Subject: New member and a question In-Reply-To: <52755.63.227.74.41.1091891741.squirrel@webmail.stinkweasel.net> References: <028d01c47c5c$5ffb0ba0$b309640a@corp.fluxus.net> <52755.63.227.74.41.1091891741.squirrel@webmail.stinkweasel.net> Message-ID: <20040807154456.GF32547@zippy.toger.us> I suppose there could be a clause in your contract that says "You shall not employ automated monitoring tools". Otherwise it would _seem_ that you can monitor it at a reasonable interval. Once per second wouldn't be reasonable, but a check interval of several minutes should be fine. -Jason Martin On Sat, Aug 07, 2004 at 10:15:19AM -0500, C. Bensend wrote: > > > And I asked myself a question, sorry, not really technical, but legal or > > deontological: could my web hosting company (which is NOT my employer) say > > something against the fact that I'm using Nagios (or any monitoring > > system) > > to monitor my site (my own domain and only IP) ? could they consider it > > as > > an intrusion ? > > I just monitor the ping, HTTP, FTP, pop3 and smtp > > I suppose they could complain, but aren't they _providing those services > to the public_ anyway? > > Nagios can get a little noisy in the logs, but they could probably filter > that out... > > Benny > > -- Random access is the optimum of the mass storages. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From trevor at yarde.com Sat Aug 7 20:07:27 2004 From: trevor at yarde.com (Trev Thorpe) Date: Sat, 7 Aug 2004 14:07:27 -0400 (EDT) Subject: Display Author - Email Alerts Message-ID: <46397.192.168.8.2.1091902047.squirrel@192.168.8.2> Hey guys, How/where can I toggle the email alerts to add in the author of a comment so that it is automatically added to the email body ?? We have several people who monitor our system and we would like to know who is commenting/acknowledging etc.. without having to ask them to type thier name in the comment field. I know I can view the author in the specific host or service. Our situation is simple, we all have pagers and it would be nice to see the alert and whom is working on it. Thanks ! -- Trevor Thorpe | Yarde Metals, Inc. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 pierre at kittyworld.com Sat Aug 7 20:10:28 2004 From: pierre at kittyworld.com (Pierre and Tao Schweitzer) Date: Sat, 7 Aug 2004 20:10:28 +0200 Subject: New member and a question In-Reply-To: <20040807154456.GF32547@zippy.toger.us> References: <028d01c47c5c$5ffb0ba0$b309640a@corp.fluxus.net> <52755.63.227.74.41.1091891741.squirrel@webmail.stinkweasel.net> <20040807154456.GF32547@zippy.toger.us> Message-ID: Thank you for your answers. I was not thinking of sending requests every second just every 5 minutes, or even 10 minutes. I think they can cope with that PIerre ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 marc at ena.com Sat Aug 7 20:18:23 2004 From: marc at ena.com (Marc Powell) Date: Sat, 7 Aug 2004 13:18:23 -0500 Subject: Display Author - Email Alerts Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A651@mismail2.ena.com> > -----Original Message----- > From: Trev Thorpe [mailto:trevor at yarde.com] > Sent: Saturday, August 07, 2004 1:07 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Display Author - Email Alerts > > > Hey guys, > > How/where can I toggle the email alerts to add in the author of a > comment so > that it is automatically added to the email body ?? > That information is not available to the notification command. The macros that exist, and where the are available is documented at http://nagios.sourceforge.net/docs/1_0/macros.html. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 pierre at kittyworld.com Sat Aug 7 20:26:08 2004 From: pierre at kittyworld.com (Pierre and Tao Schweitzer) Date: Sat, 7 Aug 2004 20:26:08 +0200 Subject: missing images Message-ID: Hello, Another newbie question, sorry After installing Nagios, everything is running fine. Except one thing. on the service details page, the images near "host" "service status" etc are missing. I have tried to correct it on the cgi.cfg but to no effect. This is probably a path setting in this file that is wrong but I don't see which one after looking in the documentation of course Thank you for your insights Pierre ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 dknutson at sydran.com Sat Aug 7 22:35:27 2004 From: dknutson at sydran.com (David Knutson) Date: Sat, 07 Aug 2004 13:35:27 -0700 Subject: check_by_ssh Message-ID: Can someome please tell me where to get the check_by_ssh plugin? I've gone each package on the plugin download page , but none of them have this plugin listed! Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From dknutson at sydran.com Sat Aug 7 23:02:36 2004 From: dknutson at sydran.com (David Knutson) Date: Sat, 07 Aug 2004 14:02:36 -0700 Subject: check_by_ssh Message-ID: Never mind - found it. Strange thing is, I've 2 installations, both on the same OS and done the same, but only one has the plugin. >>> "David Knutson" 08/07/2004 >>> Can someome please tell me where to get the check_by_ssh plugin? I've gone each package on the plugin download page , but none of them have this plugin listed! Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From manfred at mg-mailing.de Sun Aug 8 00:34:49 2004 From: manfred at mg-mailing.de (Manfred =?iso-8859-1?Q?Gn=E4dig?=) Date: Sun, 8 Aug 2004 00:34:49 +0200 (CEST) Subject: Reset Server with Event Handler Message-ID: <55128.80.185.163.46.1091918089.squirrel@ipx20164.ipxserver.de> Hallo, i am sorry about my bad english, but i trie my best. I am using Nagios since more then one year and i am verry happy with it. Now i like to ad an Event Handler fore reset my Servers if they are DOWN. The Event Handler Script is no Problem. I can Start the Servers by a Webinterface... But where have i add the event_handler ? In my hosts.cfg ore in my services.cfg ? Thank you verry mutch fore your Help. Mutch Greatings Manfred ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 sam_stave at yahoo.com Sun Aug 8 07:06:02 2004 From: sam_stave at yahoo.com (Sam Stave) Date: Sat, 7 Aug 2004 22:06:02 -0700 (PDT) Subject: check_by_ssh In-Reply-To: References: Message-ID: <20040808050602.6482.qmail@web50303.mail.yahoo.com> Did you get this to work? I am attempting to do the following with check_by_ssh - and it doesnt seem to work: from the nagios server: ./check_by_ssh -l nagios -H 10.x.x.x -C '/usr/local/nagios/libexec/check_disk -w 10 -c 8 -p /' If I run this manually - it prompts me for the password, then just drops back to a prompt.... so I get no return of data.... if i actually run the entire command manually - meaning log into the remote host via ssh as the user, and then run the check_disk cmd - it works fine.... so i know there isnt some sort of permissions issue etc... any idea what I am doign wrong? Thanks sam --- David Knutson wrote: > Never mind - found it. Strange thing is, I've 2 > installations, both on > the same OS and done the same, but only one has the > plugin. > > >>> "David Knutson" 08/07/2004 > >>> > Can someome please tell me where to get the > check_by_ssh plugin? I've > gone each package on the plugin download page , but > none of them have > this plugin listed! Thanks! > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 karl at debisschop.net Sun Aug 8 15:25:11 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Sun, 08 Aug 2004 09:25:11 -0400 Subject: check_by_ssh In-Reply-To: <20040808050602.6482.qmail@web50303.mail.yahoo.com> References: <20040808050602.6482.qmail@web50303.mail.yahoo.com> Message-ID: <411629B7.80605@debisschop.net> Sam Stave wrote: > Did you get this to work? > > I am attempting to do the following with check_by_ssh > - and it doesnt seem to work: > > from the nagios server: > > ./check_by_ssh -l nagios -H 10.x.x.x -C > '/usr/local/nagios/libexec/check_disk -w 10 -c 8 -p /' > > If I run this manually - it prompts me for the > password, then just drops back to a prompt.... so I > get no return of data.... You need to set up keys on the nagios server and the target machine to allow the command to run without a password. -- Karl ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 julien.touche at lycos.com Sun Aug 8 19:04:14 2004 From: julien.touche at lycos.com (Julien TOUCHE) Date: Sun, 08 Aug 2004 19:04:14 +0200 Subject: nagios-plugins + perfdata + openbsd comments Message-ID: <41165D0E.6070805@lycos.com> i have a small question concerning the default plugins of nagios. it seems they didn't issue the perfdata like shown in http://nagios.sourceforge.net/docs/1_0/perfdata.html there is a change with 1.4.0alpha1 is that right ? if it is, is there any plan to make this default for all plugins ? (like ping, procs, ...) what is the situation/plan of other plugins ? (nrpe, nsclient, ...) on the other side, i test 1.4.0alpha1 on openbsd 3.5. few points: * sys/mount.h configure test need sys/param.h, same for sys/ucred.h else /usr/include/sys/ucred.h:46: `NGROUPS' undeclared here (not in a function) * a note with libintl : configure 57 checking libintl.h presence... no 58 configure: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor! 59 configure: WARNING: libintl.h: proceeding with the compiler's result 60 checking for libintl.h... yes and in config.log 546 configure:4567: checking libintl.h presence 547 configure:4577: cc -E conftest.c 548 conftest.c:28: libintl.h: No such file or directory as libintl.h is in /usr/local/include and adding CFLAGS="-I/usr/local/include" changes nothing * problem with check_mysql as in http://sourceforge.net/tracker/index.php?func=detail&aid=962495&group_id=29880&atid=397597 * one general comment, it would be useful for dependencies in package to be able to disable plugins at configure. for now only pgsql & mysql could, so if you have fping installed, it will be build even if not asked. * ping & ping6 problems (was ok with 1.3.1) /usr/local/libexec/nagios/check_ping.orig -4 -H localhost -w 100,0.6% -c 1000,0.8% /sbin/ping Error: Could not interpret output from ping command example output: # ping -n -c 1 localhost PING localhost.vpn.www (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.322 ms --- localhost.vpn.www ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.322/0.322/0.322/0.000 ms # ping6 -n -c 1 localhost PING6(56=40+8+8 bytes) ::1 --> ::1 16 bytes from ::1, icmp_seq=0 hlim=64 time=0.292 ms --- localhost ping6 statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.292/0.292/0.292/0.000 ms thanks Regards Julien note: no cc. i'm on list ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 trevor at yarde.com Sun Aug 8 20:50:33 2004 From: trevor at yarde.com (Trev Thorpe) Date: Sun, 8 Aug 2004 14:50:33 -0400 (EDT) Subject: Display Author - Email Alerts In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F38A651@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F38A651@mismail2.ena.com> Message-ID: <50423.192.168.8.2.1091991033.squirrel@192.168.8.2> Thanks for the info Marc. > > >> -----Original Message----- >> From: Trev Thorpe [mailto:trevor at yarde.com] >> Sent: Saturday, August 07, 2004 1:07 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Display Author - Email Alerts >> >> >> Hey guys, >> >> How/where can I toggle the email alerts to add in the author of a >> comment so >> that it is automatically added to the email body ?? >> > > That information is not available to the notification command. The > macros that exist, and where the are available is documented at > http://nagios.sourceforge.net/docs/1_0/macros.html. > > -- > Marc > > -- Trevor Thorpe | Yarde Metals, Inc. Lead TSA | 45 Newell St. 860-406-6281 | Southington, CT 06489 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 pierre at kittyworld.com Sun Aug 8 21:42:14 2004 From: pierre at kittyworld.com (Pierre and Tao Schweitzer) Date: Sun, 8 Aug 2004 21:42:14 +0200 Subject: missing images solution found Message-ID: Hello, After hours of looking on the web, I found the solution !! in URL HTML path, I had : url_html_path=/nagios/--with-nagios-user=nagios deleting --with-nagios-user=nagios solved the problem Pierre >Hello, >Another newbie question, sorry > >After installing Nagios, everything is running fine. Except one thing. > >on the service details page, the images near "host" "service status" >etc are missing. > >I have tried to correct it on the cgi.cfg but to no effect. > >This is probably a path setting in this file that is wrong but I >don't see which one after looking in the documentation of course > >Thank you for your insights > >Pierre > > > > >------------------------------------------------------- >This SF.Net email is sponsored by OSTG. Have you noticed the changes on >Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, >one more big change to announce. We are now OSTG- Open Source Technology >Group. Come see the changes on the new OSTG site. www.ostg.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 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 francisco.cardoso at bnc.pt Mon Aug 9 10:15:23 2004 From: francisco.cardoso at bnc.pt (Francisco M Cardoso Mesquita) Date: Mon, 9 Aug 2004 09:15:23 +0100 Subject: Duplicates Found Message-ID: <9A63D3AE1425E2458D5F720789B75D5E8C09AA@lx0exc4> ********************************************************************** Este email assim como os ficheiros que possa ter em anexo s?o confidenciais e para uso exclusivo da pessoa ou organiza??o para o qual foi enviado. Se recebeu este email por engano por favor notifique Redes at bnc.pt Esta nota confirma que esta mensagem foi verificada pelo MIMEsweeper n?o tendo sido encontrados virus. www.mimesweeper.com *********************************************************************** Good Day, Can someone enlighten me as to what are the "PING WARNING - DUPLICATES FOUND! Packet loss = 1%, RTA = 49.77 ms" and if there is any way to disable this kind of warning ? Atentamente Francisco Manuel Cardoso BNC Redes e Comunica??es Email: francisco.cardoso at bnc.pt Extens?o: 66295 -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.luys at vanderlet.nl Mon Aug 9 10:37:40 2004 From: richard.luys at vanderlet.nl (Richard Luys) Date: Mon, 09 Aug 2004 10:37:40 +0200 Subject: New member and a question In-Reply-To: References: <028d01c47c5c$5ffb0ba0$b309640a@corp.fluxus.net> <52755.63.227.74.41.1091891741.squirrel@webmail.stinkweasel.net> <20040807154456.GF32547@zippy.toger.us> Message-ID: On Sat, 7 Aug 2004 20:10:28 +0200, Pierre and Tao Schweitzer wrote: > Thank you for your answers. > > I was not thinking of sending requests every second just every 5 > minutes, or even 10 minutes. I think they can cope with that Hi Pierre, To be absolutely sure you could check with your ISP, first. If you can get their approval in writing, you have something to hold against them in case they complain. Just a thought... Richard > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.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 -- ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 nagios at mm.quex.org Mon Aug 9 12:46:26 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Mon, 9 Aug 2004 18:46:26 +0800 Subject: Duplicates Found In-Reply-To: <9A63D3AE1425E2458D5F720789B75D5E8C09AA@lx0exc4> References: <9A63D3AE1425E2458D5F720789B75D5E8C09AA@lx0exc4> Message-ID: <20040809104626.GA22174@quex.org> On Mon, Aug 09, 2004 at 09:15:23AM +0100, Francisco M Cardoso Mesquita wrote: > Can someone enlighten me as to what are the "PING WARNING - DUPLICATES > FOUND! Packet loss = 1%, RTA = 49.77 ms" and if there is any way to disable > this kind of warning ? The duplicates part means that either more than one host is replying to the ping requests, or that the host is replying twice for some reason. Most common cause is if you're pinging a broadcast address or a load-balanced/cluster IP. I don't think there's a way to disable the warning state for multiple packets, though you could modify check_ping to add an option to do so. Alternatively, you could remove the ping service or host test from the cluster address, and just have it enabled for individual hosts in the cluster. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 thorstennehh at aol.com Mon Aug 9 13:43:21 2004 From: thorstennehh at aol.com (Thorsten Dahm) Date: Mon, 9 Aug 2004 13:43:21 +0200 Subject: Looking for a Manual / How-to for Nagios Message-ID: <41176359.4030003@aol.com> Hi guys, I've just started to use Nagios and I'm a total newbie with this system. The installation is already done, Nagios works fine. My problem is that I get an alarm "Interface down" for a Catalyst Switch, but this alarm is now 3 weeks old and the interface is up again (Nagios reports this interface as up, but the alarm is still there). How can I acknowledge/delete this alarm? What I'm looking for is a handbook/manpage/how-to for using Nagios. The only documentation I've found is "how to install nagios", but I couldn't find something like "how to use Nagios / how to work with Nagios". Can somebody please give me a hint? Many Thanks. -Thorsten- ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 sam_stave at yahoo.com Mon Aug 9 15:56:13 2004 From: sam_stave at yahoo.com (Sam Stave) Date: Mon, 9 Aug 2004 06:56:13 -0700 (PDT) Subject: check_by_ssh In-Reply-To: <411629B7.80605@debisschop.net> References: <411629B7.80605@debisschop.net> Message-ID: <20040809135613.91436.qmail@web50305.mail.yahoo.com> Thanks I have keys setup, however i still getthe same result. SSH checks return no data.... they just drop back to the cmd prompt. Anyone else solved this issue? Thanks. Sam --- Karl DeBisschop wrote: > Sam Stave wrote: > > > Did you get this to work? > > > > I am attempting to do the following with > check_by_ssh > > - and it doesnt seem to work: > > > > from the nagios server: > > > > ./check_by_ssh -l nagios -H 10.x.x.x -C > > '/usr/local/nagios/libexec/check_disk -w 10 -c 8 > -p /' > > > > If I run this manually - it prompts me for the > > password, then just drops back to a prompt.... so > I > > get no return of data.... > > You need to set up keys on the nagios server and the > target machine to > allow the command to run without a password. > > -- > Karl > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you > noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the > past few weeks? Now, > one more big change to announce. We are now OSTG- > Open Source Technology > Group. Come see the changes on the new OSTG site. > www.ostg.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 > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 benny at bennyvision.com Mon Aug 9 16:30:32 2004 From: benny at bennyvision.com (C. Bensend) Date: Mon, 9 Aug 2004 09:30:32 -0500 (CDT) Subject: check_by_ssh In-Reply-To: <20040809135613.91436.qmail@web50305.mail.yahoo.com> References: <411629B7.80605@debisschop.net> <20040809135613.91436.qmail@web50305.mail.yahoo.com> Message-ID: <1149.134.244.169.17.1092061854.squirrel@webmail.stinkweasel.net> > I have keys setup, however i still getthe same result. > SSH checks return no data.... they just drop back to > the cmd prompt. If it's dropping you back to a password prompt (I believe I read that in your original email), check your sshd_config on the remote server. Make sure it's configured to use DSA auth, and you might check strict mode - if your home directory's permissions are funky in the slightest, strict mode is going to fail on DSA auth and drop you to the next availible method, likely password. Benny -- "Horrible pain! I made sounds like a dolphin giving birth." -- Mr. Corman, "Scrubs" ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 GWCOOK at mactec.com Mon Aug 9 17:29:07 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 9 Aug 2004 09:29:07 -0600 Subject: NRPE_NT vs. NSClient Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E977E@golden-m.mactec.com> I've been using NSClient for quite some time to monitor a few Windows servers. In the near future, I will have a need to add about 100 more Windows servers to the current four that I now monitor. I'm wondering if NRPE_NT might have any features that would be beneficial to my environment, so I'm looking over the docs now. However, I thought that maybe I should ask the list, to get some quick feedback from people that have used both add-ons. Pros/Cons to NSClient and NRPE_NT? Any feedback is appreciated. Thanks. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 sam_stave at yahoo.com Mon Aug 9 17:46:34 2004 From: sam_stave at yahoo.com (Sam Stave) Date: Mon, 9 Aug 2004 08:46:34 -0700 (PDT) Subject: check_by_ssh In-Reply-To: <1149.134.244.169.17.1092061854.squirrel@webmail.stinkweasel.net> References: <1149.134.244.169.17.1092061854.squirrel@webmail.stinkweasel.net> Message-ID: <20040809154634.47979.qmail@web50303.mail.yahoo.com> Hmm, Actually I ahve host keys working properly - so it now no longer asks for the password. Here is exaclty what it looks like when I run it: bash-2.05$ cd /nagios/libexec bash-2.05$ ./check_by_ssh -H10.110.4.185 -C'/usr/local/nagios/libexec/check_disk' bash-2.05$ So those 2 blank lines you see are the actual blanks that the command returns.... it seems as though it is actually running the command, but the output is not making it back... I attempted the -O option to place the data in some file, but it tells me: check_by_ssh: In passive mode, you must provide a service name for each command. I dont understand that either :( THanks sam --- "C. Bensend" wrote: > > > I have keys setup, however i still getthe same > result. > > SSH checks return no data.... they just drop back > to > > the cmd prompt. > > If it's dropping you back to a password prompt (I > believe I read that in > your original email), check your sshd_config on the > remote server. Make > sure it's configured to use DSA auth, and you might > check strict mode - > if your home directory's permissions are funky in > the slightest, strict > mode is going to fail on DSA auth and drop you to > the next availible > method, likely password. > > Benny > > > -- > "Horrible pain! I made sounds like a dolphin giving > birth." > -- > Mr. Corman, "Scrubs" > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you > noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the > past few weeks? Now, > one more big change to announce. We are now OSTG- > Open Source Technology > Group. Come see the changes on the new OSTG site. > www.ostg.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 > __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 benny at bennyvision.com Mon Aug 9 17:53:14 2004 From: benny at bennyvision.com (C. Bensend) Date: Mon, 9 Aug 2004 10:53:14 -0500 (CDT) Subject: check_by_ssh In-Reply-To: <20040809154634.47979.qmail@web50303.mail.yahoo.com> References: <1149.134.244.169.17.1092061854.squirrel@webmail.stinkweasel.net> <20040809154634.47979.qmail@web50303.mail.yahoo.com> Message-ID: <1832.134.244.169.17.1092066816.squirrel@webmail.stinkweasel.net> (no need to cc me, I'm on the list) > Actually I ahve host keys working properly - so it now > no longer asks for the password. Here is exaclty what > it looks like when I run it: > > bash-2.05$ cd /nagios/libexec > bash-2.05$ ./check_by_ssh -H10.110.4.185 > -C'/usr/local/nagios/libexec/check_disk' Interesting. Do you actually see a login on 10.110.4.185? What happens if you change the command to something like 'echo testing' ? -- "Horrible pain! I made sounds like a dolphin giving birth." -- Mr. Corman, "Scrubs" ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 pete.dewell at volteurope.com Mon Aug 9 17:57:21 2004 From: pete.dewell at volteurope.com (Pete Dewell) Date: Mon, 09 Aug 2004 16:57:21 +0100 Subject: NRPE_NT vs. NSClient In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D6E977E@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D6E977E@golden-m.mactec.com> Message-ID: <41179EE1.1050904@volteurope.com> I use both nsclient and nrpe_nt. I monitor about 80 Windows machines for various (mostly minor) checks, services running, programs running, disk space etc etc. nsclient is great for the standard stuff that you would need to monitor, like the above. However, if you want to do rather more interesting tests, then nrpe_nt would be a better tool, as you can write your own tests (how's your batch file scripting?) Only problem I have found with nsclient (I use V201) is that on some w2k and most win 2003 machines, the default port (1248) ends up in use by something else, which results in the client not allowing the Nagios server to connect to the machine. There is a message in the application event log - forget what it is. When this happens, you can't stop the nsclient service, and all you can do is change the port number via regedit, and then reboot the machine. Yuck. Changing the port used by nsclient to a different one (I use 2323) resolves the problem. I monitor a few NT4 machines, where services, for some reason, just stop working. In these cases, I use nrpe_nt as an event handler to restart the services. So far, it's worked fine for me. I also use it on a couple of w2k machines. I haven't tried it on any windows2003 boxes yet. Pete Dewell Cook, Garry wrote: > I've been using NSClient for quite some time to monitor a few Windows > servers. In the near future, I will have a need to add about 100 more > Windows servers to the current four that I now monitor. > I'm wondering if NRPE_NT might have any features that would be > beneficial to my environment, so I'm looking over the docs now. > However, I thought that maybe I should ask the list, to get some quick > feedback from people that have used both add-ons. > > Pros/Cons to NSClient and NRPE_NT? > > Any feedback is appreciated. Thanks. > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.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 > -- Technical Support/Analyst Volt Europe Tel : (+44) (0) 1737 774100 Fax : (+44) (0) 1737 772949 Mobile : (+44) (0) 777 1513066 E-mail pete.dewell at volteurope.com ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 gyoungblood at saicmail.jsc.nasa.gov Mon Aug 9 18:24:18 2004 From: gyoungblood at saicmail.jsc.nasa.gov (Youngblood, Gregory (SAIC)) Date: Mon, 9 Aug 2004 11:24:18 -0500 Subject: (No output!) problem Message-ID: <0158368F4840D41191D600508B9B06ECE24425@saicmail.jsc.nasa.gov> My nagios was compiled with perl embedded. I have a new installation, with over 20 hosts and almost 100 services tested. I'm also a new user of Nagios and writing custom checks. I've written a few custom checks that execute on the same machine as nagios. Now I'm working on one that is similar in functionality to "check_by_ssh", but just a little different to deal with my needs. I also have a check written in perl that calls an ssh program that runs a command on a remote machine using the backtick notation ($text = `some_command`;). It seems as though the perl program is not completing. Running from the command line, the program always returns the correct results. Running from a forced reschedule of all tests on the host, anywhere from 3 to 9 (out of 19) tests has been returning (No output) messages, with an OK status. I've confirmed that tests that fail immediately and are retested are the ones that have no output listed as the response. I've changed the random sleep time to less than 2 seconds, and now things are running better. Then again, last week with the original code (3 to 8 seconds) it wasn't having this problem at all. In my situation, I'm running a test, and if I don't get a valid result, I immediately retest in the program. I was also using "sleep" to delay the immediate retest. The longest execution time, including the maximum sleep possible, is less than 10 seconds. Are there problems with nagios embedded perl and using sleep or backtick command execution? Are there any gotchas that should be avoided? I've read the plugin development guide, and I am already following the instructions in the very lean perl section. Is there a more complete guide for perl plugins? Any advice on this is appreciated. Thanks, Greg ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 byron at agora.rdrop.com Mon Aug 9 19:31:53 2004 From: byron at agora.rdrop.com (Byron OBrien) Date: Mon, 9 Aug 2004 10:31:53 -0700 (PDT) Subject: Single notification to a contact Message-ID: <20040809103132.L63401@agora.rdrop.com> All, I am running Nagios 1.2 on a Solaris 8 box with Perl 5.005_03. Everything is working fine, but I have a desire to send a single notification for a host/service alert to a given contact, while continuing to send recurring notifications to other contacts. The reason is that I want to automatically open a trouble ticket in our RT implementation via the email gateway, but when multiple emails are sent via the gateway, multiple tickets are opened for the same issue. However, I want to send recurring notifications out to our admins pagers, in case pages are missed for some reason. I have tried implementing this using an escalation configuration like the one below: define hostgroupescalation{ hostgroup_name db first_notification 1 last_notification 1 contact_groups noc,RT notification_interval 0 } That results in one notification being sent to the RT mail gateway (right behavior), but only one page going out to the NOC admins (wrong behavior). Has anyone else implemented something like this with any success? Thanks in advance, Byron O'Brien byron at rdrop.com ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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 jhmartin at toger.us Mon Aug 9 20:01:58 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 9 Aug 2004 11:01:58 -0700 Subject: Single notification to a contact In-Reply-To: <20040809103132.L63401@agora.rdrop.com> References: <20040809103132.L63401@agora.rdrop.com> Message-ID: <20040809180158.GJ32547@zippy.toger.us> On Mon, Aug 09, 2004 at 10:31:53AM -0700, Byron OBrien wrote: > define hostgroupescalation{ > hostgroup_name db > first_notification 1 > last_notification 1 > contact_groups noc,RT > notification_interval 0 > } Why not just specify RT in the escalation and leave NOC in the 'standard' notification group? -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From gyoungblood at saicmail.jsc.nasa.gov Mon Aug 9 20:52:25 2004 From: gyoungblood at saicmail.jsc.nasa.gov (Youngblood, Gregory (SAIC)) Date: Mon, 9 Aug 2004 13:52:25 -0500 Subject: (No output!) problem Message-ID: <0158368F4840D41191D600508B9B06ECE24426@saicmail.jsc.nasa.gov> After digging into this, it appears that I am running into the MaxStartups thresh hold of ssh. When I force a host to retest, it fires them off virtually simultaneously. Since there are multiple tests, they all try to authenticate at the same time, and appear to run into that limit. Greg ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.eck at gmail.com Mon Aug 9 22:43:42 2004 From: michael.eck at gmail.com (Michael Eck) Date: Mon, 9 Aug 2004 16:43:42 -0400 Subject: nsca problem Message-ID: Greetings, Whenever I try to run the nsca daemon on my central nagios server, it fails to start and logs "Network server bind failure (98: Address already in use)" to my syslog. I'm starting it with $ sudo -u nagios /home/nagios/nsca/bin/nsca -c /home/nagios/etc/nsca.cfg --single I have the same problem if I run it as root also. I googled for an answer for a while but couldn't find anything but the nsca source which didn't really help me. Thanks. -Michael Eck ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Aug 9 22:58:21 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 9 Aug 2004 13:58:21 -0700 Subject: nsca problem In-Reply-To: References: Message-ID: <20040809205821.GM32547@zippy.toger.us> Check that xinetd / inetd is not already using that port. Address in use means something is already using that port. netstat -anp | grep 5667 should shed some light on it. -Jason Martin On Mon, Aug 09, 2004 at 04:43:42PM -0400, Michael Eck wrote: > Greetings, > Whenever I try to run the nsca daemon on my central nagios server, it > fails to start and logs "Network server bind failure (98: Address > already in use)" to my syslog. -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From dmourati at cm.math.uiuc.edu Mon Aug 9 22:57:17 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Mon, 9 Aug 2004 15:57:17 -0500 (CDT) Subject: nsca problem In-Reply-To: References: Message-ID: On Mon, 9 Aug 2004, Michael Eck wrote: > Greetings, > Whenever I try to run the nsca daemon on my central nagios server, it > fails to start and logs "Network server bind failure (98: Address > already in use)" to my syslog. What is in nsca.cfg for server_port=? Find that port number, then run: # netstat -anp | grep That will tell you what process is holding onto that port. Then kill that process and try to invoke the nsca daemon again. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.eck at gmail.com Mon Aug 9 23:33:44 2004 From: michael.eck at gmail.com (Michael Eck) Date: Mon, 9 Aug 2004 17:33:44 -0400 Subject: nsca problem In-Reply-To: <20040809205821.GM32547@zippy.toger.us> References: <20040809205821.GM32547@zippy.toger.us> Message-ID: Thanks, found the problem. Should have put that one together myself. On Mon, 9 Aug 2004 13:58:21 -0700, Jason Martin wrote: > Check that xinetd / inetd is not already using that port. > Address in use means something is already using that port. > > netstat -anp | grep 5667 should shed some light on it. > > -Jason Martin > > On Mon, Aug 09, 2004 at 04:43:42PM -0400, Michael Eck wrote: > > Greetings, > > Whenever I try to run the nsca daemon on my central nagios server, it > > fails to start and logs "Network server bind failure (98: Address > > already in use)" to my syslog. > -- > This message is PGP/MIME signed. > > > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ndhanks at geneva.com Mon Aug 9 23:54:19 2004 From: ndhanks at geneva.com (Ned Hanks) Date: Mon, 9 Aug 2004 15:54:19 -0600 Subject: Presentation to Linux Users Group Message-ID: <6E2F5D19CB27D4118E1900B0D02220D501BA0449@nt2.geneva.com> I am giving a presentation on Nagios to my local Linux users group, Provo Linux Users Group(PLUG) www.plug.org, this Wednesday. I would like some opinions. It is on basic install and configuration. I have put my presentation here: http://mecury.geneva.com/Nagios-PLUG/Nagios-PLUG.html Please email me if you think there is any changes I should make. If I have used somebody's work with out proper authorization or accolades please let me know. Thanks Ned -------------------------------------- Ned D Hanks IT Manager Geneva Steel, LLC 10 South Geneva Rd Vineyard, UT 84058 Office: 801-227-9182 Fax: 801-227-9400 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bdunn at rdac.com.au Tue Aug 10 04:41:22 2004 From: bdunn at rdac.com.au (Brad Dunn) Date: Tue, 10 Aug 2004 10:41:22 +0800 Subject: VPN Message-ID: <47287D7F1C9A1C4B99EB7D407FCEE69604C967@rdaex01.rdac.com.au> Hello, I am currently wanting to monitor Windows PPTP VPN's on remote hosts. The only plug-in I have managed to find myself was what seemed to work in conjunction with checkpoint or some checkpoint related files. However I am unable to locate some of the required files that this check_vpn plug-in requires. Are there any other plug-in's to check PPTP vpn's in some way? I'm running nagios 1.2 on a Debian Server [Linux version 2.4.25] Running the nagios-plugins-1.4.0alpha1 Thank you - Brad ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Tue Aug 10 09:20:51 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 10 Aug 2004 09:20:51 +0200 Subject: NRPE_NT vs. NSClient Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E593F58@SYGOMAIL.GOE.AD.SYCOR.DE> > nsclient is great for the standard stuff that you would need > to monitor, like the above. However, if you want to do rather > more interesting tests, then nrpe_nt would be a better tool, > as you can write your own tests (how's your batch file > scripting?) Only problem I have found with nsclient (I use > V201) is that on some w2k and most win 2003 machines, the > default port (1248) ends up in use by something else, which > results in the client not allowing the Nagios server to > connect to the machine. There is a message in the application > event log - forget what it is. When this happens, you can't > stop the nsclient service, and all you can do is change the > port number via regedit, and then reboot the machine. Yuck. > Changing the port used by nsclient to a different one (I use > 2323) resolves the problem. The Port issue is right...but hell, you don't have to reboot your server just because you Did some changes to the nsclient port! I wrote a simple cmd file which runs before the setup routine of Nsclient, and whic automatically adds the new port number and a password to the reg. The problem with the ports in use mostly appears when you're running exchange server on your server. The exchange server simply graps ports greater 1024 in default settings... > I monitor a few NT4 machines, where services, for some > reason, just stop working. In these cases, I use nrpe_nt as > an event handler to restart the services. So far, it's worked > fine for me. I also use it on a couple of w2k machines. I > haven't tried it on any windows2003 boxes yet. I've tried some w2k3server boxes, runs fine here. To the question asked before: I mostly run NSClient + Eventlog Agent on all windows servers, just because it's no big administrative overhead. With nrpe_nt you have to care for config files on each server, and have to do a lot of changes on each server. Though NRPE_NT is really nice when you have to do things with Event Handlers or wmi scripting and stuff... Regards, Philipp ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Tue Aug 10 09:26:34 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 10 Aug 2004 09:26:34 +0200 Subject: Statusmap.cgi Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E593F5A@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, I wonder if somebody here can tell me where I have to do some changes in the statusmap.c to view the $HOSTALIAS$ instead of the $HOSTNAME$ in the statusmap.cgi. Is it possible without hacking hours and hours in the source? Thanks in advance. Regards, Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stijn.mahieu at rp-mail.com Tue Aug 10 10:04:32 2004 From: stijn.mahieu at rp-mail.com (stijn.mahieu at rp-mail.com) Date: Tue, 10 Aug 2004 10:04:32 +0200 Subject: Websensor Plugin problem Message-ID: Hello, Last week, I installed a Eesensor in our server room. It's been installed properly, and I get nice output in my browser. However, I downloaded the necessary plugins for Nagios and they do not seem to work. In Nagios, I get a 'Critical' State and 'No Output' in the 'Status Information' cell. When I issue the command from the Nagios plugins directory, I get the following error: Could not retrieve data from sensor The command I issue is: ./check_em01.pl -H --tw 20,40 --tc 10,50 Has anyone got any tips/hints/solutions? Stijn -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stefan.Giesen at firstgate.de Tue Aug 10 11:59:45 2004 From: Stefan.Giesen at firstgate.de (Stefan Giesen) Date: Tue, 10 Aug 2004 11:59:45 +0200 Subject: Redundant Switches/Routers/Network Interfaces and parent configuration question In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D6E96E4@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D6E96E4@golden-m.mactec.com> Message-ID: <1092131985.28237.48.camel@giesen-lx.firstgate.local> Hi Garry & list Am Di, den 03.08.2004 schrieb Cook, Garry um 16:09: > Very similar in fact. The only problem with your picture is that it does > not show the location of the Nagios box. Therefore, it is difficult to > determine if your parents are setup correctly. The nagios box is directly connected to switch1/switch2 (the master switches) - but since nearly all traffic to all servers goes from those master switches to the routers and then back to the master switches (beside the nagios server only one other server uses the same vlan, so the traffic for this server would only travel over the master switch directly) and Nagios "parents" option can't do something like that (switch -> router -> same switch), it's ok for me to "assume" that the nagios box is connected directly to the routers (if the master switches are dead, I would get two additional notifications for the routers, that's all, so no real problem there). > [snip] > Are you stating that if Switch 1 were to go down, you would not receive > notifications for service failures on Switch 3? If so, then something is > not working correctly. Since Switch2 is a parent of Switch3, you should > still see alerts/notifications when Switch3 has problems. > In my experience, Nagios does NOT work as you have stated. The 'parents' > rules work in such a way that just ONE of the parents needs to be up in > order for Nagios to continue running checks against child > services/hosts. Forget it, it seems I simply had a problem with my config regarding that. It's working as expected now. > [snip] Thanks for the links and explanations. About my config with two network interfaces: I changed my config a little bit and wrote a small check-script which is able to parse more than one IP address as parameter and changed all other check commands to use the hostname, not the host address (so they only check the virtual host, in my config hostname is a fqdn as well as the host addresses are). I know that it is not recommended to use DNS entries for hosts and addresses, but since i'm using pdnsd on the nagios machine to cache all used DNS entries for some time, this shouldn't get a real problem - at least not until the "real" DNS is down for a very long time, in which case we've got much bigger problems to worry about... ;-) Through this change I only have one single host in the host/services list and still got the functionality I want (a warning if one of the interfaces is down, a critical if both are down). Thanks for your comments, Stefan -- Stefan Giesen, Systemadministration Frankfurt FIRSTGATE Internet AG, Im MediaPark 5, 50670 Koeln Telefon: +49 (0) 2 21 / 45 45-745, Telefax: +49 (0) 2 21 / 45 45-710 Internet: www.firstgate.de eMail: Stefan.Giesen at firstgate.de ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Tue Aug 10 12:16:39 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 10 Aug 2004 11:16:39 +0100 Subject: VPN In-Reply-To: <47287D7F1C9A1C4B99EB7D407FCEE69604C967@rdaex01.rdac.com.au> References: <47287D7F1C9A1C4B99EB7D407FCEE69604C967@rdaex01.rdac.com.au> Message-ID: <20040810101640.26854.qmail@mullet.softflare.net> Brad Dunn writes: > Are there any other plug-in's to check PPTP vpn's in some way? Check_ping to the private IP at the other end of the tunnel will tell you if it's up. There are certain subtle error conditions to do with re-ordering of fragmented packets you won't detect that way, but either you have a version of pptp that can cope with re-ordering (non-standards compliant) or you don't (standards compliant but not very helpful if your internet feed makes a habit of re-ordering fragmented packets, which many do). -- Paul Allen Softflare Support ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Tue Aug 10 12:45:16 2004 From: philc at foundation-it.com (Phil Costelloe) Date: Tue, 10 Aug 2004 11:45:16 +0100 Subject: NRPE_NT vs. NSClient Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE933A314@netfinity-1.foundation-it.local> From: Sand Philipp [mailto:Philipp.Sand at sycor.de] >> Only problem I have found with nsclient (I use >> V201) is that on some w2k and most win 2003 machines, the >> default port (1248) ends up in use by something else, which >> results in the client not allowing the Nagios server to >> connect to the machine. There is a message in the application >> event log - forget what it is. When this happens, you can't >> stop the nsclient service, and all you can do is change the >> port number via regedit, and then reboot the machine. Yuck. >> Changing the port used by nsclient to a different one (I use >> 2323) resolves the problem. > >The Port issue is right...but hell, you don't have to reboot your >server just because you Did some changes to the nsclient port! The reboot isn't because the port has been changed, it's because the service has hung. I think you can find the underlying process and kill it but sometimes a reboot is easier. Phil ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stefan.Giesen at firstgate.de Tue Aug 10 12:50:50 2004 From: Stefan.Giesen at firstgate.de (Stefan Giesen) Date: Tue, 10 Aug 2004 12:50:50 +0200 Subject: Question regarding escalation/notification Message-ID: <1092135050.28237.100.camel@giesen-lx.firstgate.local> Hi all, I've got a question about the notifications if you use the escalations.cfg. In our setup, we need the following (all notifications should be sent if the HARD state changes to u, c or r): 1. A single email to "monitor at mydomain.de" if any host/service changes state to d,u,r 2. A SMS should be send out to the first administrator with the first notification and later every minute until the host/service recovers 3. A SMS should be send out to the second administrator with the sixth notification and later every minute until the host/sercive recovers I've the following contacts (only relevant parts listed, notify-by-sms is a script which takes admin1/2 as parameter and uses the correct mobile number for the first/second admin-of-the-day): define contact{ contact_name monitor-mydomain-de service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email monitor at mydomain.de } define contact{ contact_name admin1 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-sms host_notification_commands host-notify-by-sms pager admin1 } define contact{ contact_name admin2 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-sms host_notification_commands host-notify-by-sms pager admin2 } define contactgroup{ contactgroup_name monitor-email members monitor-mydomain.de } define contactgroup{ contactgroup_name admin1-sms members admin1 } define contactgroup{ contactgroup_name admin2-sms members admin2 } example service entry: define service{ use generic-service service_description IMAP host_name myhost.mydomain.de check_period 24x7 max_check_attempts 2 normal_check_interval 1 retry_check_interval 1 notification_period 24x7 notification_interval 1 notification_options u,c,r contact_groups monitor-email check_command check-imap } escalations for this service (overlapping configs used): define serviceescalation{ host_name myhost.mydomain.de service_description IMAP first_notification 1 last_notification 1 contact_groups monitor-email notification_interval 1 } define serviceescalation{ host_name myhost.mydomain.de service_description IMAP first_notification 1 last_notification 0 contact_groups admin1-sms notification_interval 1 } define serviceescalation{ host_name myhost.mydomain.de service_description IMAP first_notification 6 last_notification 0 contact_groups admin2-sms notification_interval 1 } With this configuration, I got the following behaviour: Services changes to HARD CRITICAL: email is send, SMS to admin1 is send, then 1. Service gets immediately back (so only one notifcation was sent): email is send, SMS to admin1 is sent -> OK 2. Service stays down: more SMS to admin1 are send, with the 6. notification to admin2 as well -> OK 3. Service gets back AFTER ther first notification (it doesn' matter if after 2 oder 30): SMS to admin1 is send, SMS to admin2 is send if more than 5 notifications were sent before (that's OK, BUT) _NO_ recovery notification is sent via email. How comes? Or how can I add a one-shot email notification if a service changes state? If I change the seviceescalation for the email to "last_notification 0", I will get more than one email, if I change it to "notification_interval 0", according to the documentation the lowest notification interval will be used - which is one, so only one SMS will be send out to each admin (tested that, the notification number remains 1 even after a new failed check, so admin1 would only get one SMS and admin2 would never got one at all). I tried it as well with just two non-overlapping escalations (one with admin1-sms and the second with admin1-sms,admin2-sms as contact_group entry, the first escalation starting at notification 2; with a contact group entry of "monitor-email,admin1-sms" in the service itself) with the same reuslt: the recovery email will not be send out. Can anybody tell me how to solve this problem? Thanks in advance, Stefan -- Stefan Giesen, Systemadministration Frankfurt FIRSTGATE Internet AG, Im MediaPark 5, 50670 Koeln Telefon: +49 (0) 2 21 / 45 45-745, Telefax: +49 (0) 2 21 / 45 45-710 Internet: www.firstgate.de eMail: Stefan.Giesen at firstgate.de ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Tue Aug 10 13:48:28 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 10 Aug 2004 13:48:28 +0200 Subject: NRPE_NT vs. NSClient Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E593F61@SYGOMAIL.GOE.AD.SYCOR.DE> > >> Only problem I have found with nsclient (I use > >> V201) is that on some w2k and most win 2003 machines, the default > >> port (1248) ends up in use by something else, which results in the > >> client not allowing the Nagios server to connect to the machine. > >> There is a message in the application event log - forget > what it is. > >> When this happens, you can't stop the nsclient service, > and all you > >> can do is change the port number via regedit, and then reboot the > >> machine. Yuck. > >> Changing the port used by nsclient to a different one (I use > >> 2323) resolves the problem. > > > >The Port issue is right...but hell, you don't have to reboot your > >server just because you Did some changes to the nsclient port! > > The reboot isn't because the port has been changed, it's > because the service has hung. I think you can find the > underlying process and kill it but sometimes a reboot is easier. Hmm even this isn't a real argument for rebooting the server. M$ has a nice tool provided In the resource kit, named tlist.exe, you can easyly list all your processes via commandline And then simply kill the nsclient.exe. I mean, ok when you don't have custoumers, who are trying to kill you each time you boot your server...go on and reboot frequently :) ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Aug 10 14:15:18 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 10 Aug 2004 14:15:18 +0200 Subject: Multiple interfaces In-Reply-To: <1091801551.32766.16.camel@localhost> References: <1091801551.32766.16.camel@localhost> Message-ID: <4118BC56.80305@op5.se> jeff vier wrote: > If you look in the archives, I actually wrote a similar plugin for a > guy. I can probably scrounge it up if you need it. > > On Fri, 2004-08-06 at 06:32 -0400, Robert Nelson wrote: > >>> From there, we could move on to adding the capability to >>>check_tcp and >>>check_http. But the complexity of handling it on a case-by-case basis >>>may not be worthwhile for all the plugins. So at some point, >>>we may need >>>to extend netutils.c to make general way of handling multiple >>>interfaces >>>-- but I have not thought at all about what such changes >>>might look like. >> >>Karl, how about a plugin that might be called in the following manner? >> >>check_multiple!check_tcp! >> >>Where check_multiple parses the address list and calls check_tcp once >>for each address? >> >>The problem then becomes, do you want the output to say "Reponse of .51 >>seconds; Response of .52 seconds; Response of .48 seconds" or "OK for 3 >>addresses"? What's a warning or crit state? Etc...Given those questions, >>it might be better off to define it on a per-plugin basis, not sure. >> KISS rules apply. One IP-address is one host, as Nagios sees it. That's what's intuitive to our customers, and that's the way to keep plugin arguments simple enough not to increase the traffic on this rather well-manured list already. >>Rob Nelson >>Network Engineer >>Windchannel Communications >>919-538-6326 >> -- Andreas Ericsson OP5 AB ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Aug 10 14:35:56 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 10 Aug 2004 14:35:56 +0200 Subject: New member and a question In-Reply-To: References: <028d01c47c5c$5ffb0ba0$b309640a@corp.fluxus.net> <52755.63.227.74.41.1091891741.squirrel@webmail.stinkweasel.net> <20040807154456.GF32547@zippy.toger.us> Message-ID: <4118C12C.9010902@op5.se> Richard Luys wrote: > On Sat, 7 Aug 2004 20:10:28 +0200, Pierre and Tao Schweitzer > wrote: > >> Thank you for your answers. >> >> I was not thinking of sending requests every second just every 5 >> minutes, or even 10 minutes. I think they can cope with that > > > Hi Pierre, > > To be absolutely sure you could check with your ISP, first. If you can > get their approval in writing, you have something to hold against them > in case they complain. > That's not necessary at all. The plugins are clients which connect to the services. If you have access to the services, it's up to you to decide which client you want to use to connect to them. Flooding would be considered abuse, though, as has already been pointed out. > Just a thought... > > Richard > -- Andreas Ericsson OP5 AB ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardo.moura at telway.com.br Tue Aug 10 15:56:05 2004 From: eduardo.moura at telway.com.br (Eduardo Moura) Date: Tue, 10 Aug 2004 10:56:05 -0300 Subject: One host in multiple hostgroups Message-ID: <4F1A91B978EE87478F2447A768883685F50D@cbemi-web.cbemi> Hi All, Can I have a host in more than one hostgroups? I want to create several views of my objects and in my POV this is the best way to do. best regards Eduardo From jlyons30-/E1597aS9LQAvxtiuMwx3w at public.gmane.org Tue Aug 10 17:28:44 2004 From: jlyons30-/E1597aS9LQAvxtiuMwx3w at public.gmane.org (Jon Lyons) Date: Tue, 10 Aug 2004 08:28:44 -0700 (PDT) Subject: check_nt with perfdata (How to request upgrade?) In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E593F5B-MfO3gydG/8sBtWaMpkl+NrmeKLx6mh7N@public.gmane.org> References: <6943DE9E9934CD42BBE4A20E0E28E10E593F5B@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <20040810152844.13945.qmail@web60809.mail.yahoo.com> Still haven't seen anything yet, I looked at the code, but it looks beyond my skill set. Check_ping was easy to modify, maybe there's a request list we need to submit this to? I'd really like to see the results graphed... --- Sand Philipp wrote: > Just to warm up this topic... Is there a new version > out yet? > > > ________________________________ > > From: nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org > [mailto:nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org] > On Behalf Of Jon > Lyons > Sent: Friday, July 30, 2004 3:46 AM > To: wp.junior; nagiosplug-help > Subject: Re: [Nagiosplug-help] check_nt with > perfdata > > > Haven't seen one yet, there's about 3-4 of us > waiting... :) Let > me know if you find one... > > Thanks.. > > "wp.junior" wrote: > > Hi all. > > Is there a check_nt plugin version that returns > OUTPUT > in performance data format? > > Regards, > > Wilso > > ________________________________ > > Do you Yahoo!? > Yahoo! Mail is new and improved - Check it out! > m/new_mail> > > > > ************************************************ > > sycor plastics - die neue Branchenl?sung f?r die > Kunststoffindustrie > > www.sycor-plastics.de > > ************************************************ > > > > > Diese E-Mail ist vertraulich und kann dar?ber hinaus > pers?nliche Informationen beinhalten. Wenn Sie nicht > der bestimmungsgem??e Empf?nger sind, l?schen Sie > bitte die E-Mail und deren Anh?nge sofort und > benachrichtigen Sie uns dar?ber. Die Firma sycor > willigt in keine Vertr?ge oder vertragliche > Verpflichtungen ein oder ?bermittelt > rechtsverbindliche Angebote, die in Form von E-Mail > versandt werden, sofern dies nicht ausdr?cklich in > schriftlicher Form zwischen den Parteien vereinbart > wurde. > > This e-mail is confidential and may contain personal > and/or privileged information. If you are not the > intended recipient please delete this e-mail and all > attachments immediately and inform us. The company > sycor does not agree with contracts or contract > obligations sent by e-mail, neither do we transmit > legally binding offers by e-mail, unless this is not > expressly agreed upon between the parties and > documented in written form. > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R > for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagiosplug-help mailing list > Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help > ::: Please include plugins version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at mm.quex.org Tue Aug 10 16:45:16 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Tue, 10 Aug 2004 22:45:16 +0800 Subject: One host in multiple hostgroups In-Reply-To: <4F1A91B978EE87478F2447A768883685F50D@cbemi-web.cbemi> References: <4F1A91B978EE87478F2447A768883685F50D@cbemi-web.cbemi> Message-ID: <20040810144516.GA5667@quex.org> On Tue, Aug 10, 2004 at 10:56:05AM -0300, Eduardo Moura wrote: > Can I have a host in more than one hostgroups? I want to create > several views of my objects and in my POV this is the best way to do. Why don't you try it and see? :) You can have hosts in as many hostgroups as you want, as far as I'm aware. I certainly make heavy use of this feature. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Greg.Nolan at disney.com Tue Aug 10 16:52:43 2004 From: Greg.Nolan at disney.com (Nolan, Greg) Date: Tue, 10 Aug 2004 07:52:43 -0700 Subject: Performance Data Message-ID: I was hoping to integrate some form of performance data tracking using rrdtool with nagios. Does anyone have any suggestions for a good solution. I was hoping for something which is simple to install and maintain. Thank you, Greg Nolan Data Communications Analyst Disney Worldwide Services (818)560-4159 - (8228-4159) "This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please immediately notify us by calling (818) 560-4159. Thank you." -------------- next part -------------- An HTML attachment was scrubbed... URL: From philc at foundation-it.com Tue Aug 10 17:14:33 2004 From: philc at foundation-it.com (Phil Costelloe) Date: Tue, 10 Aug 2004 16:14:33 +0100 Subject: NRPE_NT vs. NSClient Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE933A31B@netfinity-1.foundation-it.local> From: Sand Philipp [mailto:Philipp.Sand at sycor.de] >> The reboot isn't because the port has been changed, it's >> because the service has hung. I think you can find the >> underlying process and kill it but sometimes a reboot is easier. > >Hmm even this isn't a real argument for rebooting the server. M$ >has a nice tool provided In the resource kit, named tlist.exe, you >can easyly list all your processes via commandline And then simply >kill the nsclient.exe. pNsclient.exe >I mean, ok when you don't have custoumers, who are trying to kill >you each time you boot your server...go on and reboot frequently :) If you get flak for rebooting the server then it's obviously not easier ... but sometimes you don't and it is. Phil ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MG at ev3.net Tue Aug 10 17:11:18 2004 From: MG at ev3.net (Wheeler, MG) Date: Tue, 10 Aug 2004 10:11:18 -0500 Subject: Best Method for delays Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D01031237@mail.ev3.net> RH 9 Nagios Plug-ins 1.2 We have a few services that we have monitoring setup (SMTP, POP3, HTTP etc) on two NT servers. The admins for the NT side of the house want to be paged from 6am-10pm on the second failure but during Off hours they want to wait until at least 10 failures (hoping to catch some sleep while it fails for Japan and Europe.) I setup two different "Services" for these with different delays in them. They both page the same contactgroup which is paged 24x7 in the contactgroup itself. My question is there a simpler way to have done this? Or a more efficient way to have done this? I thought about separate contacts or separate contact groups and using Escalations and am not sure which is better. Ideas ?? _____________________________________________________________________ This message has been checked for all known viruses ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 10 17:22:09 2004 From: marc at ena.com (Marc Powell) Date: Tue, 10 Aug 2004 10:22:09 -0500 Subject: One host in multiple hostgroups Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A6F2@mismail2.ena.com> ----Original Message---- From: Eduardo Moura [mailto:eduardo.moura at telway.com.br] Sent: Tuesday, August 10, 2004 8:56 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] One host in multiple hostgroups Importance: High > Hi All, > > Can I have a host in more than one hostgroups? I want to create > several views of my objects and in my POV this is the best way to do. Yes. http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#hostgroup "Host Group Definition Description: A host group definition is used to group one or more hosts together for the purposes of simplifying notifications. Each host that you define must be a member of at least one host group - even if it is the only host in that group. Hosts can be in more than one host group." -- Marc ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30 at yahoo.com Tue Aug 10 17:31:07 2004 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 10 Aug 2004 08:31:07 -0700 (PDT) Subject: Performance Data In-Reply-To: References: Message-ID: <20040810153107.95952.qmail@web60804.mail.yahoo.com> I think this one has good potential; http://perfparse.sourceforge.net/ but not all of the plugins have been updated to provide the necessary data. check_ping and a few others work, but a lot of are waiting for check_nt and other plugins.... --- "Nolan, Greg" wrote: > I was hoping to integrate some form of performance > data tracking using rrdtool with nagios. Does > anyone have any suggestions for a good solution. I > was hoping for something which is simple to install > and maintain. > > Thank you, > > Greg Nolan > Data Communications Analyst > Disney Worldwide Services > (818)560-4159 - (8228-4159) > > "This communication is confidential, intended only > for the named recipient(s) above and may contain > trade secrets or other information that is exempt > from disclosure under applicable law. Any use, > dissemination, distribution or copying of this > communication by anyone other than the named > recipient(s) is strictly prohibited. If you have > received this communication in error, please > immediately notify us by calling (818) 560-4159. > Thank you." > > > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK-5ZA074NH1ijQT0dZR+AlfA at public.gmane.org Tue Aug 10 18:49:29 2004 From: GWCOOK-5ZA074NH1ijQT0dZR+AlfA at public.gmane.org (Cook, Garry) Date: Tue, 10 Aug 2004 10:49:29 -0600 Subject: check_nt with perfdata (How to request upgrade?) Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E97B6@golden-m.mactec.com> Nagiosplug-devel would probably be the best list to send your request, or you could post a feature request on the plugin site at sf.net. However, it appears as though the plugin maintainers have been very busy for a while, possibly with 'real work'. I don't know what the priority level of adding perfdata to plugins is, as opposed to bug fixes and whatnot. I'm going to take a swack at adding perfdata to check_nt. The only issue is that I'll need to install a Windows C compiler (any suggestions?). Actually, that's not the only issue, the other issue is that I don't yet know C very well. I just picked up a book a few weeks ago, and I've only read it through once. So, I'm not promising anything, just thought I'd let you know that I'm going to give it a shot. I'm also very busy with 'real work', so I'm not sure how much time I'm going to have to devote to this. Please don't bombard me with messages asking when it's going to be done, as the answer could possibly be 'Never, if you are waiting for my version.' You are hereby on notice that IF I can make it work, I WILL post to both nagiosplug lists, and submit it back to the sf.net site. And if someone else manages to do it first, I'll probably quit trying and use theirs. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org wrote: > Still haven't seen anything yet, I looked at the code, > but it looks beyond my skill set. Check_ping was easy > to modify, maybe there's a request list we need to > submit this to? I'd really like to see the results > graphed... > > > --- Sand Philipp wrote: > >> Just to warm up this topic... Is there a new version out yet? >> >> >> ________________________________ >> >> From: nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org >> [mailto:nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org] On Behalf Of Jon >> Lyons >> Sent: Friday, July 30, 2004 3:46 AM >> To: wp.junior; nagiosplug-help >> Subject: Re: [Nagiosplug-help] check_nt with >> perfdata >> >> >> Haven't seen one yet, there's about 3-4 of us >> waiting... :) Let >> me know if you find one... >> >> Thanks.. >> >> "wp.junior" wrote: >> >> Hi all. >> >> Is there a check_nt plugin version that returns >> OUTPUT >> in performance data format? >> >> Regards, >> >> Wilso >> >> ________________________________ ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cgill at newworldapps.com Tue Aug 10 18:03:23 2004 From: cgill at newworldapps.com (Chris Gill) Date: Tue, 10 Aug 2004 12:03:23 -0400 Subject: One host in multiple hostgroups Message-ID: <211FA8F7D88B7A43AA24C13850225978206507@nwa-dcsrv-01.newworldapps.com> Yup, you can indeed. I've done this for a couple customers who wanted to look at things in different ways, IE: group by location, and group by device type. There's no way to do subgrouping, unfortunately. ----------------------------------------------------------------- Christopher P. Gill, Systems Engineer, New World Apps cgill at newworldapps.com 703-856-7268 (Cell/Business) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Eduardo Moura Sent: Tuesday, August 10, 2004 9:56 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] One host in multiple hostgroups Importance: High Hi All, Can I have a host in more than one hostgroups? I want to create several views of my objects and in my POV this is the best way to do. best regards Eduardo ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MG at ev3.net Tue Aug 10 18:04:07 2004 From: MG at ev3.net (Wheeler, MG) Date: Tue, 10 Aug 2004 11:04:07 -0500 Subject: One host in multiple hostgroups Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D01031247@mail.ev3.net> Yes, you can do that. We use that because there are different groups that have things on the same servers. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Eduardo Moura Sent: Tuesday, August 10, 2004 8:56 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] One host in multiple hostgroups Importance: High Hi All, Can I have a host in more than one hostgroups? I want to create several views of my objects and in my POV this is the best way to do. best regards Eduardo _____________________________________________________________________ This message has been checked for all known viruses HS^????X???'???u????x??!r???????q?'V??????t???x? P???????ou?JdJ??p5C??????}?j?????E?Z?Z'"y?w???J??)?jwE?????a??? 0?)?????&????H??&????????] I would use separate contacts and contactgroups. Then use timeperiods and escalations to send notifications when you want. Also, should only need one service. -------------------------------------- Ned D Hanks IT Manager Geneva Steel, LLC 10 South Geneva Rd Vineyard, UT 84058 Office: 801-227-9182 Fax: 801-227-9400 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Wheeler, MG Sent: Tuesday, August 10, 2004 9:11 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RE: Best Method for delays RH 9 Nagios Plug-ins 1.2 We have a few services that we have monitoring setup (SMTP, POP3, HTTP etc) on two NT servers. The admins for the NT side of the house want to be paged from 6am-10pm on the second failure but during Off hours they want to wait until at least 10 failures (hoping to catch some sleep while it fails for Japan and Europe.) I setup two different "Services" for these with different delays in them. They both page the same contactgroup which is paged 24x7 in the contactgroup itself. My question is there a simpler way to have done this? Or a more efficient way to have done this? I thought about separate contacts or separate contact groups and using Escalations and am not sure which is better. Ideas ?? _____________________________________________________________________ This message has been checked for all known viruses ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cgill at newworldapps.com Tue Aug 10 18:13:33 2004 From: cgill at newworldapps.com (Chris Gill) Date: Tue, 10 Aug 2004 12:13:33 -0400 Subject: Not Parallelizing Message-ID: <211FA8F7D88B7A43AA24C13850225978206508@nwa-dcsrv-01.newworldapps.com> Hello all. I've got a frustrating and elusive problem with Nagios. It's not parallelizing the checks, and I can't figure out why. I've seen some other posts about this in the list archive, but there didn't seem to be any response. Hope it's not too dumb a question. :-) In any event, we're planning on replacing one of our monitoring systems with a beefier box to handle all the things customers have asked us to put on. I've built the new box and moved over the nagios config from the old box verbatim. The old system parallelizes just fine, but the new one doesn't. Max_concurrent is set to 0, letting Nagios do it automatically, but setting it to an actual number (nagios -s suggests 84) doesn't help. The services all have parallelize_check enabled. I can't for the life of me figure out what's going wrong. Both systems are intel-based Linux boxes, although the new one is dual processor. Is it possible that's causing it trouble? Any guidance would be appreciated, as it would prevent further hair loss on my part. ----------------------------------------------------------------- Christopher P. Gill, Systems Engineer, New World Apps cgill at newworldapps.com 703-856-7268 (Cell/Business) -------------- next part -------------- An HTML attachment was scrubbed... URL: From zsitfa at axelero.hu Tue Aug 10 18:16:01 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: Tue, 10 Aug 2004 18:16:01 +0200 Subject: Some minor problems Message-ID: <4118F4C1.3030701@axelero.hu> Hi group! Some months ago I sent a message about popup problems. Today I upgraded Nagios 1.1 to 1.2. It solves this problem. Another problem of mine was that traceroute didn't worked from WAP interface. When I installed Nagios 1.1 traceroute was not installed on my machine. Sometimes later I installed it. As I did the upgarde today I noticed that Nagios founded /usr/sbin/traceroute which it uses via statuswml.cgi. After I set SUID bit of traceroute it began to work via WAP. I hope I can help somebody who has the same issues. Bye, Tamas! ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Aug 10 18:12:24 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 10 Aug 2004 09:12:24 -0700 Subject: Best Method for delays In-Reply-To: <2F29C1E275BF4F4E9DCAE48033A00B9D01031237@mail.ev3.net> References: <2F29C1E275BF4F4E9DCAE48033A00B9D01031237@mail.ev3.net> Message-ID: <20040810161224.GT32547@zippy.toger.us> There isn't a mechanism to specify different thresholds for the same service during different times of day; instead you have to do what you did by creating seperate services with different thresholds and mutually exclusive notification periods. -Jason Martin On Tue, Aug 10, 2004 at 10:11:18AM -0500, Wheeler, MG wrote: > > > RH 9 > Nagios Plug-ins 1.2 > > We have a few services that we have monitoring setup (SMTP, POP3, HTTP etc) on two NT servers. The admins for the NT side of the house want to be paged from 6am-10pm on the second failure but during Off hours they want to wait until at least 10 failures (hoping to catch some sleep while it fails for Japan and Europe.) I setup two different "Services" for these with different delays in them. They both page the same contactgroup which is paged 24x7 in the contactgroup itself. My question is there a simpler way to have done this? Or a more efficient way to have done this? I thought about separate contacts or separate contact groups and using Escalations and am not sure which is better. > > > Ideas ?? > > _____________________________________________________________________ > This message has been checked for all known viruses > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Everyone has photographic memory...some don't have film! This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From zsitfa at axelero.hu Tue Aug 10 18:22:38 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: Tue, 10 Aug 2004 18:22:38 +0200 Subject: Nagios and Apache 2 Message-ID: <4118F64E.4060202@axelero.hu> Hi Group! I installed Apache 2.0.49-1 and I tried to set up Nagios access via HTTPS. What I would like to do: Just nagios pages can be reached, the document root and other possible directoried will be denied! My machine runs only Nagios, so there is not other web pages on it. I would like to use HTTPS, so Nagios pages can be reached just via HTTPS, NOT via HTTP. I use Nagios 1.2 on Debian Woody 3.1. I created server certificate signed by my CA. But After some try and half success I think I ask the group. If somebody has a stable working Apache2 HTTPS config with Nagios, please send it to me. If somebody would like to see my configs, I can send it them. Thanks in advance, Tamas! ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wp.junior-y7mWNqJcIDpfJ/NunPodnw at public.gmane.org Tue Aug 10 19:42:44 2004 From: wp.junior-y7mWNqJcIDpfJ/NunPodnw at public.gmane.org (Wilson Pires Jr) Date: Tue, 10 Aug 2004 14:42:44 -0300 Subject: check_nt with perfdata (How to request upgrade?) In-Reply-To: <20040810152844.13945.qmail-RIHDRNUHzC+A/QwVtaZbd3CJp6faPEW9@public.gmane.org> References: <20040810152844.13945.qmail@web60809.mail.yahoo.com> Message-ID: <20040810174351.D95A03C0B8@rosario.terra.com.br> Is there anybody working on check_ping? And check_nt? Wilson -----Original Message----- From: nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org [mailto:nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org] On Behalf Of Jon Lyons Sent: ter?a-feira, 10 de agosto de 2004 12:29 To: Sand Philipp; nagiosplug-help Cc: nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org Subject: RE: [Nagiosplug-help] check_nt with perfdata (How to request upgrade?) Still haven't seen anything yet, I looked at the code, but it looks beyond my skill set. Check_ping was easy to modify, maybe there's a request list we need to submit this to? I'd really like to see the results graphed... --- Sand Philipp wrote: > Just to warm up this topic... Is there a new version > out yet? > > > ________________________________ > > From: nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org > [mailto:nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org] > On Behalf Of Jon > Lyons > Sent: Friday, July 30, 2004 3:46 AM > To: wp.junior; nagiosplug-help > Subject: Re: [Nagiosplug-help] check_nt with > perfdata > > > Haven't seen one yet, there's about 3-4 of us > waiting... :) Let > me know if you find one... > > Thanks.. > > "wp.junior" wrote: > > Hi all. > > Is there a check_nt plugin version that returns > OUTPUT > in performance data format? > > Regards, > > Wilso > > ________________________________ > > Do you Yahoo!? > Yahoo! Mail is new and improved - Check it out! > m/new_mail> > > > > ************************************************ > > sycor plastics - die neue Branchenlvsung f|r die > Kunststoffindustrie > > www.sycor-plastics.de > > ************************************************ > > > > > Diese E-Mail ist vertraulich und kann dar|ber hinaus > persvnliche Informationen beinhalten. Wenn Sie nicht > der bestimmungsgemd_e Empfdnger sind, lvschen Sie > bitte die E-Mail und deren Anhdnge sofort und > benachrichtigen Sie uns dar|ber. Die Firma sycor > willigt in keine Vertrdge oder vertragliche > Verpflichtungen ein oder |bermittelt > rechtsverbindliche Angebote, die in Form von E-Mail > versandt werden, sofern dies nicht ausdr|cklich in > schriftlicher Form zwischen den Parteien vereinbart > wurde. > > This e-mail is confidential and may contain personal > and/or privileged information. If you are not the > intended recipient please delete this e-mail and all > attachments immediately and inform us. The company > sycor does not agree with contracts or contract > obligations sent by e-mail, neither do we transmit > legally binding offers by e-mail, unless this is not > expressly agreed upon between the parties and > documented in written form. > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R > for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagiosplug-help mailing list > Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help > ::: Please include plugins version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ewtrowbr at yahoo.com Tue Aug 10 18:37:43 2004 From: ewtrowbr at yahoo.com (erich Trowbridge) Date: Tue, 10 Aug 2004 11:37:43 -0500 Subject: Nagios, MySQL and Gentoo Message-ID: <1092155862.4190.61.camel@littleboy> Since my make.conf USE flag includes support for MySQL, I have compiled nagios with support for MySQL. I don't really wish to use it however. I am trying to figure out how to use regular text files for program data while having MySQL support compiled in. is this possible? If so, how? Do I need to re emerge nagios with the USE -mysql set? please advise, erich [1092155241] Nagios 1.2 starting... (PID=25795) [1092155241] Finished daemonizing... (New PID=25796) [1092155241] Error: Could not read program retention data from table programretention [1092155241] Error: Could not read host retention data from table hostretention [1092155241] Error: Could not read service retention data from table serviceretention [1092155241] Error: Could not lock status data tables in database '' [1092155256] Error: Could not lock status data tables in database '' [1092155261] Caught SIGTERM, shutting down... [1092155261] Error: Could not insert row for program retention data in table 'programretention' [1092155261] Successfully shutdown... (PID=25796) ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 10 18:40:24 2004 From: marc at ena.com (Marc Powell) Date: Tue, 10 Aug 2004 11:40:24 -0500 Subject: Error-Code of the check_radius-Plugin Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A6FC@mismail2.ena.com> ----Original Message---- From: Thorsten Dahm [mailto:thorstennehh at aol.com] Sent: Tuesday, August 10, 2004 10:20 AM To: Nagios Users Subject: [Nagios-users] Error-Code of the check_radius-Plugin > Eduardo Moura schrieb: > > > > > Eduardo > > Hi, > > does anyone know what the error message "Return code of 137 is out of > bounds" of the check_radius-Plugin means? I believe it might indicate that the plugin was killed during execution (137-128 = 9; signal 9 = kill). Can you run it manually as the nagios user? -- Marc ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30-/E1597aS9LQAvxtiuMwx3w at public.gmane.org Tue Aug 10 20:00:57 2004 From: jlyons30-/E1597aS9LQAvxtiuMwx3w at public.gmane.org (Jon Lyons) Date: Tue, 10 Aug 2004 11:00:57 -0700 (PDT) Subject: [Nagios-users] RE: check_nt with perfdata (How to request upgrade?) In-Reply-To: <20040810174351.D95A03C0B8-Xb2R1h407anLuZY2olwgOl8n826c+h2f@public.gmane.org> References: <20040810174351.D95A03C0B8@rosario.terra.com.br> Message-ID: <20040810180057.70408.qmail@web60805.mail.yahoo.com> There's a working check_ping in CVS, be sure to test it, it seems to core dump now and then(not sure why), I ended up modifing the current check_ping pretty easily...I'll send it along if the one in the CVS doesn't work.... --- Wilson Pires Jr wrote: > Is there anybody working on check_ping? And > check_nt? > > Wilson > > -----Original Message----- > From: nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org > [mailto:nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org] > On Behalf Of Jon Lyons > Sent: ter?a-feira, 10 de agosto de 2004 12:29 > To: Sand Philipp; nagiosplug-help > Cc: nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org > Subject: RE: [Nagiosplug-help] check_nt with > perfdata (How to request > upgrade?) > > > Still haven't seen anything yet, I looked at the > code, > but it looks beyond my skill set. Check_ping was > easy > to modify, maybe there's a request list we need to > submit this to? I'd really like to see the results > graphed... > > > --- Sand Philipp wrote: > > > Just to warm up this topic... Is there a new > version > > out yet? > > > > > > ________________________________ > > > > From: nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org > > > [mailto:nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org] > > On Behalf Of Jon > > Lyons > > Sent: Friday, July 30, 2004 3:46 AM > > To: wp.junior; nagiosplug-help > > Subject: Re: [Nagiosplug-help] check_nt with > > perfdata > > > > > > Haven't seen one yet, there's about 3-4 of us > > waiting... :) Let > > me know if you find one... > > > > Thanks.. > > > > "wp.junior" wrote: > > > > Hi all. > > > > Is there a check_nt plugin version that returns > > OUTPUT > > in performance data format? > > > > Regards, > > > > Wilso > > > > ________________________________ > > > > Do you Yahoo!? > > Yahoo! Mail is new and improved - Check it out! > > > > m/new_mail> > > > > > > > > ************************************************ > > > > sycor plastics - die neue Branchenlvsung f|r die > > Kunststoffindustrie > > > > www.sycor-plastics.de > > > > ************************************************ > > > > > > > > > > Diese E-Mail ist vertraulich und kann dar|ber > hinaus > > persvnliche Informationen beinhalten. Wenn Sie > nicht > > der bestimmungsgemd_e Empfdnger sind, lvschen Sie > > bitte die E-Mail und deren Anhdnge sofort und > > benachrichtigen Sie uns dar|ber. Die Firma sycor > > willigt in keine Vertrdge oder vertragliche > > Verpflichtungen ein oder |bermittelt > > rechtsverbindliche Angebote, die in Form von > E-Mail > > versandt werden, sofern dies nicht ausdr|cklich in > > schriftlicher Form zwischen den Parteien > vereinbart > > wurde. > > > > This e-mail is confidential and may contain > personal > > and/or privileged information. If you are not the > > intended recipient please delete this e-mail and > all > > attachments immediately and inform us. The company > > sycor does not agree with contracts or contract > > obligations sent by e-mail, neither do we transmit > > legally binding offers by e-mail, unless this is > not > > expressly agreed upon between the parties and > > documented in written form. > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest > > price on Blank Media > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic > DVD+R > > for only $33 > > Save 50% off Retail on Ink & Toner - Free Shipping > > and Free Gift. > > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > Nagiosplug-help mailing list > > Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org > > > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help > > ::: Please include plugins version (-v) and OS > when > > reporting any issue. > > ::: Messages without supporting info will risk > being > > sent to /dev/null > > > > > > > __________________________________ > Do you Yahoo!? > Take Yahoo! Mail with you! Get it on your mobile > phone. > http://mobile.yahoo.com/maildemo > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R > for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagiosplug-help mailing list > Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help > ::: Please include plugins version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R > for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at axelero.hu Tue Aug 10 18:56:51 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: Tue, 10 Aug 2004 18:56:51 +0200 Subject: Background image Message-ID: <4118FE53.5040100@axelero.hu> Hi group! I installed Nagios 1.1 on Debian Woody 3.1 January this year. It worked very well except the background image didn't appear behind status map. I did everything according to the documentation and read the FAQ as well. I tried it from Netscape and IE - the same result:( I tried different formats (jpg, gif, gd2, etc.) with different sizes, but nothing happened. Today I upgraded to Nagios 1.2, but the problem is still exist. Does somebody know this issue and the solution? Thanks in advance, Tamas! ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leoh at dcc.ufmg.br Tue Aug 10 18:56:33 2004 From: leoh at dcc.ufmg.br (Leonardo Henrique Machado) Date: Tue, 10 Aug 2004 13:56:33 -0300 (BRT) Subject: Dependencies not working Message-ID: Sirs, I have the following tree o dependency: NagiosServer -> Gateway -> Disk-Server -> Client I need to construct the following dependencies: 2 - if Gateway is down, STOP checking everything on Clients and Disk-Servers 3 - if Disk-server is down, STOP checking everything on clients. But when I start Nagios it schedules all the checks in a way that some Clients get checked, BEFORE Disk-Server and Gateway. How can I force Nagios to check DiskServer and Gateway first? Have I misconfigured something? I think that dependency needs some info to match the failure_criteria. So, when I start Nagios everything is PENDING and dependency is ignored. Is that why some clients get checked? -- Leonardo Henrique Machado Universidade Federal de Minas Gerais ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30-/E1597aS9LQAvxtiuMwx3w at public.gmane.org Tue Aug 10 20:05:02 2004 From: jlyons30-/E1597aS9LQAvxtiuMwx3w at public.gmane.org (Jon Lyons) Date: Tue, 10 Aug 2004 11:05:02 -0700 (PDT) Subject: [Nagios-users] RE: check_nt with perfdata (How to request upgrade?) In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D6E97B6-I02QhFWNuajKe6dkhpdwMEEOCMrvLtNR@public.gmane.org> References: <41FD7929498A174DAB86C45F28E0EC0D6E97B6@golden-m.mactec.com> Message-ID: <20040810180502.39603.qmail@web60808.mail.yahoo.com> I'm just glad someone "might be" working on it... :) Thanks.. --- "Cook, Garry" wrote: > Nagiosplug-devel would probably be the best list to > send your request, > or you could post a feature request on the plugin > site at sf.net. > However, it appears as though the plugin maintainers > have been very busy > for a while, possibly with 'real work'. I don't know > what the priority > level of adding perfdata to plugins is, as opposed > to bug fixes and > whatnot. > __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misaochankun at speakeasy.net Tue Aug 10 19:08:39 2004 From: misaochankun at speakeasy.net (Misao) Date: Tue, 10 Aug 2004 12:08:39 -0500 Subject: Performance Data In-Reply-To: References: Message-ID: I am currently in the midst of attempting the same thing. So far, there is no easy way to do this that I have found. Nagmin, a webmin plug-in, proposes to do so, but I couldn't get it to work, nor could another member of the list. I am currently trying to get a different method together from a friend of mine that managed to do it manually. Good luck in finding a method, and definitely let us know if you find an easy one. _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nolan, Greg Sent: Tuesday, August 10, 2004 9:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Performance Data I was hoping to integrate some form of performance data tracking using rrdtool with nagios. Does anyone have any suggestions for a good solution. I was hoping for something which is simple to install and maintain. Thank you, Greg Nolan Data Communications Analyst Disney Worldwide Services (818)560-4159 - (8228-4159) "This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please immediately notify us by calling (818) 560-4159. Thank you." -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Tue Aug 10 19:13:58 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 10 Aug 2004 10:13:58 -0700 Subject: Nagios, MySQL and Gentoo In-Reply-To: <1092155862.4190.61.camel@littleboy> References: <1092155862.4190.61.camel@littleboy> Message-ID: <20040810171357.GW32547@zippy.toger.us> On Tue, Aug 10, 2004 at 11:37:43AM -0500, erich Trowbridge wrote: > is this possible? If so, how? Do I need to re emerge nagios with the USE > -mysql set? You must recompile Nagios w/o db support for this to work. -Jason Martin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From hmann-OsuNnRrxrSFR5dUNPGT/bw at public.gmane.org Tue Aug 10 20:43:49 2004 From: hmann-OsuNnRrxrSFR5dUNPGT/bw at public.gmane.org (Harper Mann) Date: Tue, 10 Aug 2004 11:43:49 -0700 Subject: check_nt with perfdata (How to request upgrade?) In-Reply-To: <20040810174351.D95A03C0B8-Xb2R1h407anLuZY2olwgOl8n826c+h2f@public.gmane.org> References: <20040810174351.D95A03C0B8@rosario.terra.com.br> Message-ID: <20040810184340.D38F060802E@mail2.itgroundwork.com> I'm happy to work on it. I've added performance to several of the 1.3.1 plugins including check_swap and check_mem. However, I've basically just repeated the output from them with a preceding "|" and parsing it from the eventhandler into RRD's. That could be done pretty quickly for check_ping and check_nt, but is that sufficient? Can you parse a repeat of the output? Alternatively, what format do you prefer? - Harper Harper Mann Groundwork Open Source Solutions 510-599-2075 (cell) -----Original Message----- From: nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org [mailto:nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org] On Behalf Of Wilson Pires Jr Sent: Tuesday, August 10, 2004 10:43 AM To: 'nagiosplug-help' Cc: nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org Subject: RE: [Nagiosplug-help] check_nt with perfdata (How to request upgrade?) Is there anybody working on check_ping? And check_nt? Wilson -----Original Message----- From: nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org [mailto:nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org] On Behalf Of Jon Lyons Sent: ter?a-feira, 10 de agosto de 2004 12:29 To: Sand Philipp; nagiosplug-help Cc: nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org Subject: RE: [Nagiosplug-help] check_nt with perfdata (How to request upgrade?) Still haven't seen anything yet, I looked at the code, but it looks beyond my skill set. Check_ping was easy to modify, maybe there's a request list we need to submit this to? I'd really like to see the results graphed... --- Sand Philipp wrote: > Just to warm up this topic... Is there a new version > out yet? > > > ________________________________ > > From: nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org > [mailto:nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org] > On Behalf Of Jon > Lyons > Sent: Friday, July 30, 2004 3:46 AM > To: wp.junior; nagiosplug-help > Subject: Re: [Nagiosplug-help] check_nt with > perfdata > > > Haven't seen one yet, there's about 3-4 of us > waiting... :) Let > me know if you find one... > > Thanks.. > > "wp.junior" wrote: > > Hi all. > > Is there a check_nt plugin version that returns > OUTPUT > in performance data format? > > Regards, > > Wilso > > ________________________________ > > Do you Yahoo!? > Yahoo! Mail is new and improved - Check it out! > m/new_mail> > > > > ************************************************ > > sycor plastics - die neue Branchenlvsung f|r die > Kunststoffindustrie > > www.sycor-plastics.de > > ************************************************ > > > > > Diese E-Mail ist vertraulich und kann dar|ber hinaus > persvnliche Informationen beinhalten. Wenn Sie nicht > der bestimmungsgemd_e Empfdnger sind, lvschen Sie > bitte die E-Mail und deren Anhdnge sofort und > benachrichtigen Sie uns dar|ber. Die Firma sycor > willigt in keine Vertrdge oder vertragliche > Verpflichtungen ein oder |bermittelt > rechtsverbindliche Angebote, die in Form von E-Mail > versandt werden, sofern dies nicht ausdr|cklich in > schriftlicher Form zwischen den Parteien vereinbart > wurde. > > This e-mail is confidential and may contain personal > and/or privileged information. If you are not the > intended recipient please delete this e-mail and all > attachments immediately and inform us. The company > sycor does not agree with contracts or contract > obligations sent by e-mail, neither do we transmit > legally binding offers by e-mail, unless this is not > expressly agreed upon between the parties and > documented in written form. > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R > for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagiosplug-help mailing list > Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help > ::: Please include plugins version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Aug 10 19:36:21 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 10 Aug 2004 10:36:21 -0700 Subject: Dependencies not working In-Reply-To: References: Message-ID: <20040810173621.GX32547@zippy.toger.us> On Tue, Aug 10, 2004 at 01:56:33PM -0300, Leonardo Henrique Machado wrote: > 2 - if Gateway is down, STOP checking everything on Clients and > Disk-Servers > 3 - if Disk-server is down, STOP checking everything on > clients. Gateway should be the parent of your disk servers and clients since it involves network reachability. -Jason Martin -- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From paul.j.anderson at acs-inc.com Tue Aug 10 20:48:21 2004 From: paul.j.anderson at acs-inc.com (Paul Anderson) Date: Tue, 10 Aug 2004 14:48:21 -0400 Subject: Availability report not removing Scheduled Downtime Message-ID: <000f01c47f0a$9bf6f4b0$b3986094@gmnmdomgpd05.spo.gmeds.com> Has anyone else seen the problem where Nagios (v1.1 or v1.2) will report time listed in Scheduled downtime as Unscheduled downtime? I have attached my downtime report for a server and can send a HTML version for easier viewing if anyone is interested. I am trying to report on server Availability and I thought placing a server in Scheduled downtime would stop the server from reporting as down in the reports. Any help would be great. Thanks State Type / Reason Time % Total Time % Known Time UP Unscheduled 30d 0h 17m 31s 99.244% 99.244% UP Scheduled 0d 18h 5m 3s 2.431% 2.431% UP Total 30d 18h 22m 34s 99.244% 99.244% DOWN Unscheduled 0d 5h 37m 26s 0.756% 0.756% DOWN Scheduled 0d 0h 0m 0s 0.000% 0.000% DOWN Total 0d 5h 37m 26s 0.756% 0.756% UNREACHABLE Unscheduled 0d 0h 0m 0s 0.000% 0.000% UNREACHABLE Scheduled 0d 0h 0m 0s 0.000% 0.000% UNREACHABLE Total 0d 0h 0m 0s 0.000% 0.000% Undetermined Nagios Not Running 0d 0h 0m 0s 0.000% Undetermined Insufficient Data 0d 0h 0m 0s 0.000% Undetermined Total 0d 0h 0m 0s 0.000% All Total 31d 0h 0m 0s 100.000% 100.000% Host Log Entries: [ View full log entries ] Event Start Time Event End Time Event Duration Event/State Type Event/State Information 07-01-2004 00:00:00 07-02-2004 20:07:54 1d 20h 7m 54s HOST UP First Host State Assumed (Faked Log Entry) 07-02-2004 20:07:54 07-02-2004 20:34:54 0d 0h 27m 0s HOST DOWN CRITICAL - Plugin timed out after 10 seconds 07-02-2004 20:34:54 07-08-2004 11:07:41 5d 14h 32m 47s HOST UP PING OK - Packet loss = 0%, RTA = 0.30 ms 07-09-2004 20:09:20 07-09-2004 20:37:39 0d 0h 28m 19s HOST DOWN CRITICAL - Plugin timed out after 10 seconds 07-09-2004 20:37:39 07-12-2004 14:37:37 2d 17h 59m 58s HOST UP PING OK - Packet loss = 0%, RTA = 0.30 ms 07-16-2004 20:00:00 07-16-2004 21:00:00 0d 1h 0m 0s HOST DOWNTIME START Start of scheduled downtime 07-16-2004 21:00:00 07-17-2004 08:00:00 0d 11h 0m 0s HOST DOWNTIME END End of scheduled downtime 07-17-2004 08:00:00 07-17-2004 10:08:07 0d 2h 8m 7s HOST DOWNTIME START Start of scheduled downtime 07-17-2004 10:08:07 07-17-2004 10:31:27 0d 0h 23m 20s HOST DOWN CRITICAL - Plugin timed out after 10 seconds 07-17-2004 10:31:27 07-17-2004 14:35:33 0d 4h 4m 6s HOST UP PING OK - Packet loss = 0%, RTA = 0.30 ms 07-17-2004 14:35:33 07-17-2004 14:46:27 0d 0h 10m 54s HOST DOWN CRITICAL - Plugin timed out after 10 seconds 07-17-2004 14:46:27 07-17-2004 16:20:59 0d 1h 34m 32s HOST UP PING OK - Packet loss = 0%, RTA = 0.30 ms 07-17-2004 16:20:59 07-17-2004 16:59:07 0d 0h 38m 8s HOST DOWN CRITICAL - Plugin timed out after 10 seconds 07-17-2004 16:59:07 07-17-2004 17:33:28 0d 0h 34m 21s HOST UP PING OK - Packet loss = 0%, RTA = 0.30 ms 07-17-2004 17:33:28 07-17-2004 18:01:47 0d 0h 28m 19s HOST DOWN CRITICAL - Plugin timed out after 10 seconds 07-17-2004 18:01:47 07-18-2004 00:00:00 0d 5h 58m 13s HOST UP PING OK - Packet loss = 0%, RTA = 0.30 ms 07-18-2004 00:00:00 07-23-2004 20:00:00 5d 20h 0m 0s HOST DOWNTIME END End of scheduled downtime 07-23-2004 20:00:00 07-23-2004 20:08:18 0d 0h 8m 18s HOST DOWNTIME START Start of scheduled downtime 07-23-2004 20:08:18 07-23-2004 21:00:00 0d 0h 51m 42s HOST DOWN CRITICAL - Plugin timed out after 10 seconds 07-23-2004 21:00:00 07-23-2004 22:43:27 0d 1h 43m 27s HOST DOWNTIME END End of scheduled downtime 07-23-2004 22:43:27 07-30-2004 20:00:00 6d 21h 16m 33s HOST UP PING OK - Packet loss = 0%, RTA = 0.50 ms 07-30-2004 20:00:00 07-30-2004 20:28:40 0d 0h 28m 40s HOST DOWNTIME START Start of scheduled downtime 07-30-2004 20:28:40 07-30-2004 20:54:57 0d 0h 26m 17s HOST DOWN CRITICAL - Plugin timed out after 10 seconds 07-30-2004 20:54:57 07-30-2004 21:00:00 0d 0h 5m 3s HOST UP PING OK - Packet loss = 0%, RTA = 0.30 ms 07-30-2004 21:00:00 08-01-2004 00:00:00 1d 3h 0m 0s+ HOST DOWNTIME END End of scheduled downtime -------------- next part -------------- An HTML attachment was scrubbed... URL: From Greg.Nolan at disney.com Tue Aug 10 21:03:18 2004 From: Greg.Nolan at disney.com (Nolan, Greg) Date: Tue, 10 Aug 2004 12:03:18 -0700 Subject: Performance Data Message-ID: I was able to get nagiostat to work on the first try. The ping templates are pretty straight forward. I think it might be quite challenging to get disk/cpu usage properly. nagiostat might not have as many features as perfparse, but it is straight forward and requires no recompile of nagios. -g -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Misao Sent: Tuesday, August 10, 2004 10:09 AM To: Nolan, Greg; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Performance Data I am currently in the midst of attempting the same thing. So far, there is no easy way to do this that I have found. Nagmin, a webmin plug-in, proposes to do so, but I couldn't get it to work, nor could another member of the list. I am currently trying to get a different method together from a friend of mine that managed to do it manually. Good luck in finding a method, and definitely let us know if you find an easy one. _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nolan, Greg Sent: Tuesday, August 10, 2004 9:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Performance Data I was hoping to integrate some form of performance data tracking using rrdtool with nagios. Does anyone have any suggestions for a good solution. I was hoping for something which is simple to install and maintain. Thank you, Greg Nolan Data Communications Analyst Disney Worldwide Services (818)560-4159 - (8228-4159) "This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please immediately notify us by calling (818) 560-4159. Thank you." -------------- next part -------------- An HTML attachment was scrubbed... URL: From GWCOOK at mactec.com Tue Aug 10 21:06:15 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 10 Aug 2004 13:06:15 -0600 Subject: Performance Data Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E97BC@golden-m.mactec.com> I am aware of two add-ons that make use of the Plugin Performance Data. Both PerfParse & Nagiosgraph are listed in the downloads/add-ons section of the Nagios.org web site. Nagiosgraph mentions rrd in the description, but I have not yet looked at it. PerfParse is what I use, and I also contribute back to the project. No rrd support yet, it uses MySQL. RRD is on my list of things to integrate (if possible). Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Misao Sent: Tuesday, August 10, 2004 11:09 AM To: 'Nolan, Greg'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Performance Data I am currently in the midst of attempting the same thing. So far, there is no easy way to do this that I have found. Nagmin, a webmin plug-in, proposes to do so, but I couldn't get it to work, nor could another member of the list. I am currently trying to get a different method together from a friend of mine that managed to do it manually. Good luck in finding a method, and definitely let us know if you find an easy one. _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nolan, Greg Sent: Tuesday, August 10, 2004 9:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Performance Data I was hoping to integrate some form of performance data tracking using rrdtool with nagios. Does anyone have any suggestions for a good solution. I was hoping for something which is simple to install and maintain. Thank you, Greg Nolan Data Communications Analyst Disney Worldwide Services (818)560-4159 - (8228-4159) "This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please immediately notify us by calling (818) 560-4159. Thank you." -------------- next part -------------- An HTML attachment was scrubbed... URL: From psma at mpsnet.net.mx Tue Aug 10 21:24:07 2004 From: psma at mpsnet.net.mx (Manuel Alejandro Pe;a Sanchez) Date: Tue, 10 Aug 2004 14:24:07 -0500 Subject: Help with nagios web In-Reply-To: <20040810173621.GX32547@zippy.toger.us> References: <20040810173621.GX32547@zippy.toger.us> Message-ID: <200408101424.08124.psma@mpsnet.net.mx> Hi i have nagios version 1.2 and i was looking how to restrict the report web page by linking a user with a hostgroup, does any one have a idea how to do this?? Regards, Alejandro ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misaochankun at speakeasy.net Tue Aug 10 21:24:03 2004 From: misaochankun at speakeasy.net (Misao) Date: Tue, 10 Aug 2004 14:24:03 -0500 Subject: Performance Data In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D6E97BC@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D6E97BC@golden-m.mactec.com> Message-ID: My question would be then: Can perfparse handle nsclient info? Can it also handle check_by_ssh grabbed info? I don't really want to change the way I monitor things to allow for a performance history graph. _____ From: Cook, Garry [mailto:GWCOOK at mactec.com] Sent: Tuesday, August 10, 2004 2:06 PM To: Misao; Nolan, Greg; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Performance Data I am aware of two add-ons that make use of the Plugin Performance Data. Both PerfParse & Nagiosgraph are listed in the downloads/add-ons section of the Nagios.org web site. Nagiosgraph mentions rrd in the description, but I have not yet looked at it. PerfParse is what I use, and I also contribute back to the project. No rrd support yet, it uses MySQL. RRD is on my list of things to integrate (if possible). Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Misao Sent: Tuesday, August 10, 2004 11:09 AM To: 'Nolan, Greg'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Performance Data I am currently in the midst of attempting the same thing. So far, there is no easy way to do this that I have found. Nagmin, a webmin plug-in, proposes to do so, but I couldn't get it to work, nor could another member of the list. I am currently trying to get a different method together from a friend of mine that managed to do it manually. Good luck in finding a method, and definitely let us know if you find an easy one. _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nolan, Greg Sent: Tuesday, August 10, 2004 9:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Performance Data I was hoping to integrate some form of performance data tracking using rrdtool with nagios. Does anyone have any suggestions for a good solution. I was hoping for something which is simple to install and maintain. Thank you, Greg Nolan Data Communications Analyst Disney Worldwide Services (818)560-4159 - (8228-4159) "This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please immediately notify us by calling (818) 560-4159. Thank you." -------------- next part -------------- An HTML attachment was scrubbed... URL: From emartine at bsd.uchicago.edu Tue Aug 10 21:27:56 2004 From: emartine at bsd.uchicago.edu (Eduardo Martinez) Date: Tue, 10 Aug 2004 14:27:56 -0500 Subject: CHECK_NRPE: Error - Could not complete SSL handshake. on Solaris Message-ID: <411921BC.4060702@bsd.uchicago.edu> I have a client, Solaris 8 box, runnning nrpe and check_nrpe version 2. My Server is an RHAS 3 box running NRPE version and check_nrpe version2. I have checked the permissions for the configurations files and made sure they were owned by nagios. Both machines are running with ssl support greater than 0.9.6. My solaris box is running nrpe under inetd without tcpwrappers. Nrpe is listening on the solaris box but I can't get my servers to check it. I can do remote checks but not local checks. CHECK_NRPE: Error - Could not complete SSL handshake. /usr/local/check_nrpe -H -p 5666 -c check_swap 20 50 My windows machines are running fine using nsclient and my other linux boxes are working great using nrpe2. Anyone run into this problem with solaris? Any help would be greatly appreciated. -Eduardo Martinez ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Tue Aug 10 21:30:57 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 10 Aug 2004 13:30:57 -0600 Subject: Performance Data Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E97BD@golden-m.mactec.com> Sure, PerfParse can handle perfdata returned by any plugin, provided that it is returned properly as outlined here: http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN185 However, some of the plugins do not yet return performance data. Any plugin that returns perfdata will have a pipe ' | ' followed by the new perfdata after the normal output. You need plugins v1.4.0 alpha to get any perfdata at all. To get the maximum number of perfdata supporting plugins you should get them from CVS. check_by_ssh I'm not sure about, you'd have to test this and see. check_nt (nsclient) does not currently return performance data, although I'm working on fixing that today. Wish me luck. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) -----Original Message----- From: Misao [mailto:misaochankun at speakeasy.net] Sent: Tuesday, August 10, 2004 1:24 PM To: Cook, Garry; 'Nolan, Greg'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Performance Data My question would be then: Can perfparse handle nsclient info? Can it also handle check_by_ssh grabbed info? I don't really want to change the way I monitor things to allow for a performance history graph. _____ From: Cook, Garry [mailto:GWCOOK at mactec.com] Sent: Tuesday, August 10, 2004 2:06 PM To: Misao; Nolan, Greg; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Performance Data I am aware of two add-ons that make use of the Plugin Performance Data. Both PerfParse & Nagiosgraph are listed in the downloads/add-ons section of the Nagios.org web site. Nagiosgraph mentions rrd in the description, but I have not yet looked at it. PerfParse is what I use, and I also contribute back to the project. No rrd support yet, it uses MySQL. RRD is on my list of things to integrate (if possible). Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Misao Sent: Tuesday, August 10, 2004 11:09 AM To: 'Nolan, Greg'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Performance Data I am currently in the midst of attempting the same thing. So far, there is no easy way to do this that I have found. Nagmin, a webmin plug-in, proposes to do so, but I couldn't get it to work, nor could another member of the list. I am currently trying to get a different method together from a friend of mine that managed to do it manually. Good luck in finding a method, and definitely let us know if you find an easy one. _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nolan, Greg Sent: Tuesday, August 10, 2004 9:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Performance Data I was hoping to integrate some form of performance data tracking using rrdtool with nagios. Does anyone have any suggestions for a good solution. I was hoping for something which is simple to install and maintain. Thank you, Greg Nolan Data Communications Analyst Disney Worldwide Services (818)560-4159 - (8228-4159) "This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please immediately notify us by calling (818) 560-4159. Thank you." -------------- next part -------------- An HTML attachment was scrubbed... URL: From sudheer at tgs-solutions.com Tue Aug 10 21:46:59 2004 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Tue, 10 Aug 2004 15:46:59 -0400 Subject: Status map cgi Message-ID: <41192633.3080202@tgs-solutions.com> Dose anybody know why I cant see when I use default circular marked up type in status map cgi. Everything is so close I cant make what is what. I have around 300 hosts. Thanks, ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dknutson at sydran.com Tue Aug 10 22:05:32 2004 From: dknutson at sydran.com (David Knutson) Date: Tue, 10 Aug 2004 13:05:32 -0700 Subject: check_by_citrix through nat'ed firewall Message-ID: I have 2 nagios servers, one inside my firewall and the other outside. Our firewall uses NAT. When I use the command on the inside server, it works just fine! On the outside server it doesn't work. On the outside server I do the following (fake IP's) The command: ./check_citrix -C 10.1.1.1 -W Access responds with: Failed No response to application query datagram from 192.168.1.1 The ip address in the response is the internal address of my server! I ran a debug and the check successfully connects to the master browser, but the master returns the internal address for the server to contact, so the next step - getting the app list - fails because it is using an invalid IP. Is there a solution to this, or am I limited to using this test only internal? -------------- next part -------------- An HTML attachment was scrubbed... URL: From christopher at bergeron.com Tue Aug 10 22:19:58 2004 From: christopher at bergeron.com (Christopher M Bergeron) Date: Tue, 10 Aug 2004 16:19:58 -0400 Subject: aim plugin In-Reply-To: <20040810180057.70408.qmail@web60805.mail.yahoo.com> References: <20040810180057.70408.qmail@web60805.mail.yahoo.com> Message-ID: <41192DEE.7050606@bergeron.com> Does anyone know of a [current / recent ] AIM (AOL instant messenger) plugin for Nagios? Thanks! Chris B. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Aug 10 22:47:47 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 10 Aug 2004 13:47:47 -0700 Subject: aim plugin In-Reply-To: <41192DEE.7050606@bergeron.com> References: <20040810180057.70408.qmail@web60805.mail.yahoo.com> <41192DEE.7050606@bergeron.com> Message-ID: <20040810204747.GA32547@zippy.toger.us> On Tue, Aug 10, 2004 at 04:19:58PM -0400, Christopher M Bergeron wrote: > Does anyone know of a [current / recent ] AIM (AOL instant messenger) > plugin for Nagios? Can you clairfy what you mean by an AIM plugin? Are you talking about monitoring a AIM server or do you want notifications via AIM? -Jason Martin -- It is ten o'clock; do you know where your processes are? This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From walrus+nagios at glassonion.org Tue Aug 10 22:48:50 2004 From: walrus+nagios at glassonion.org (Chaos Golubitsky) Date: Tue, 10 Aug 2004 16:48:50 -0400 Subject: always notify on any result Message-ID: <20040810204850.GD11863@glassonion.org> Hi, I have a passive service which exists only for the reporting of certain types of errors. I want Nagios to notify the administrator any time the service receives any results, period. What Nagios mechanism would i use to set up such a service. Thanks in advance. -Chaos ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ndhanks at geneva.com Tue Aug 10 22:45:08 2004 From: ndhanks at geneva.com (Ned Hanks) Date: Tue, 10 Aug 2004 14:45:08 -0600 Subject: aim plugin Message-ID: <6E2F5D19CB27D4118E1900B0D02220D501BA044C@nt2.geneva.com> What would you use an AIM plugin for? Ned -------------------------------------- Ned D Hanks IT Manager Geneva Steel, LLC 10 South Geneva Rd Vineyard, UT 84058 Office: 801-227-9182 Fax: 801-227-9400 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Christopher M Bergeron Sent: Tuesday, August 10, 2004 2:20 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] aim plugin Does anyone know of a [current / recent ] AIM (AOL instant messenger) plugin for Nagios? Thanks! Chris B. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Wed Aug 11 00:08:32 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Tue, 10 Aug 2004 18:08:32 -0400 Subject: aim plugin In-Reply-To: <6E2F5D19CB27D4118E1900B0D02220D501BA044C@nt2.geneva.com> References: <6E2F5D19CB27D4118E1900B0D02220D501BA044C@nt2.geneva.com> Message-ID: <1092175712.6910.0.camel@pel> On Tue, 2004-08-10 at 16:45, Ned Hanks wrote: > What would you use an AIM plugin for? My guess would be that he wants it to notify him via aim when something goes down. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gutenpress at gmail.com Wed Aug 11 01:23:37 2004 From: gutenpress at gmail.com (Sean Johnson) Date: Tue, 10 Aug 2004 19:23:37 -0400 Subject: Nagios, MySQL and Gentoo In-Reply-To: <1092155862.4190.61.camel@littleboy> References: <1092155862.4190.61.camel@littleboy> Message-ID: <11fc6a25040810162366c51c66@mail.gmail.com> I have the following in my /etc/portage/package.use file: net-analyzer/nagios -mysql -perl The -mysql is for turning off the database support, which you've already discovered can cause a bit of a headache, and I also like to turn off the embedded perl interpreter after haggling for a day or so over a script that ran fine at the command line, but not within nagios. If you don' t have an /etc/portage directory, that's okay, just create it. Cheers, Sean ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From darrenh at gallagher.co.nz Wed Aug 11 03:26:28 2004 From: darrenh at gallagher.co.nz (Darren Harrison) Date: Wed, 11 Aug 2004 13:26:28 +1200 Subject: check_nt with perfdata In-Reply-To: References: Message-ID: Hi all, I too needed something for graphing and tried the NSAT tools, they work great with check_nt & I get nice pretty rrd graphs (which does help see what the disks have been doing over the last couple of months!). http://www.ratel.ru/sat/ Darren. > Date: Tue, 10 Aug 2004 08:28:44 -0700 (PDT) > From: Jon Lyons > To: Sand Philipp , > nagiosplug-help > Cc: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RE: [Nagiosplug-help] check_nt with perfdata > (How to request upgrade?) > > > Still haven't seen anything yet, I looked at the code, > but it looks beyond my skill set. Check_ping was easy > to modify, maybe there's a request list we need to > submit this to? I'd really like to see the results > graphed... ########################################################################### This e-mail is confidential and may contain information subject to legal privilege. If you are not the intended recipient please advise us of our error by return e-mail then delete this e-mail and any attached files. You may not copy, disclose or use the contents in any way. The views expressed in this e-mail may not be those of Gallagher Group Ltd or subsidiary companies thereof. ########################################################################### -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Wed Aug 11 05:05:09 2004 From: teng at dataway.com (Tedman Eng) Date: Tue, 10 Aug 2004 20:05:09 -0700 Subject: check_by_citrix through nat'ed firewall Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC72E0@dw-mail.dataway.com> An easier way would be to use a remote-check method (NRPE or NSCA) The harder (proper?) way is to use Citrix built-in support for this scenario (read below). However, I don't think the plugin supports the "UseAlternateAddress = 1" function that an external ICA client would have to be configured with. Perhaps the plugin-author can help you out here, or if you're good at looking at packet sniffs, it seems like it could be added with some trial and error and elbows and grease. >From www.citrix.com forum. ICA Browsing With Firewall Address Translation (NAT) Synopsis: Some firewalls use IP address translation to convert private (Intranet) IP addresses into public (Internet) IP addresses. Public IP addresses are called "external" addresses because they are external to the firewall, whereas private IP addresses are said to be "internal" addresses. Hosts on the internal network have one set of addresses that is translated to another set when passing through the firewall. For example, an internal host has a private address of 192.168.12.3. The firewall translates this into a different public address such as 206.103.132.20. To browse Citrix servers and published applications, the Citrix ICA Client contacts a Citrix server and requests the address of the ICA master browser. If the ICA Client is external to the firewall, it must be configured to use the public address of a Citrix server. The server returns the IP address of the current master browser to the ICA Client. By default, the IP address returned to the ICA Client is the internal address. If the ICA Client is outside the firewall and the firewall is configured for address translation, the IP address returned to the client for the master browser is incorrect. Details: Returning External Addresses to ICA Clients Use the Altaddr utility to configure the ICA browser server to return the external IP address to Citrix ICA Clients. The Altaddr utility sets an alternate address for the ICA browser on that machine. The external address for the server is specified as the alternate address. The Citrix ICA Client requests the alternate address when contacting servers inside the firewall. The alternate address must be specified for each server in a server farm. To set an alternate address for a Citrix server 1. Determine the correct external IP address. 2. At a command prompt, type altaddr /set nnn.nnn.nnn.nnn, where nnn is the alternate IP address determined in Step 1. 3. Reboot. 4. Repeat on each server in a server farm. To configure a Winframe ICA Client to use an alternate address 1. Edit the Appsrv.ini file in the client directory. 2. Find the [TCP/IP] section. 3. Specify 1 for the UseAlternateAddress field. For example: UseAlternateAddress = 1 4. Save the file. -----Original Message----- From: David Knutson [mailto:dknutson at sydran.com] Sent: Tuesday, August 10, 2004 1:06 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_by_citrix through nat'ed firewall I have 2 nagios servers, one inside my firewall and the other outside. Our firewall uses NAT. When I use the command on the inside server, it works just fine! On the outside server it doesn't work. On the outside server I do the following (fake IP's) The command: ./check_citrix -C 10.1.1.1 -W Access responds with: Failed No response to application query datagram from 192.168.1.1 The ip address in the response is the internal address of my server! I ran a debug and the check successfully connects to the master browser, but the master returns the internal address for the server to contact, so the next step - getting the app list - fails because it is using an invalid IP. Is there a solution to this, or am I limited to using this test only internal? ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 nagios.org Wed Aug 11 05:33:18 2004 From: nagios at nagios.org (Ethan Galstad) Date: Tue, 10 Aug 2004 22:33:18 -0500 Subject: Not Parallelizing In-Reply-To: <211FA8F7D88B7A43AA24C13850225978206508@nwa-dcsrv-01.newworldapps.com> References: <211FA8F7D88B7A43AA24C13850225978206508@nwa-dcsrv-01.newworldapps.com> Message-ID: <41194D2E.23873.2D2125D@localhost> Try recompiling Nagios and running it as a foreground process after you run the configure script with the following argument: ./configure --enable-DEBUG3 This will cause a lot of debugging info to be printing regarding scheduled host and service checks and should help provide some insight into the problem. On 10 Aug 2004 at 12:13, Chris Gill wrote: > > Hello all. I?ve got a frustrating and elusive problem with Nagios. > It?s not parallelizing the checks, and I can?t figure out why. I?ve > seen some other posts about this in the list archive, but there didn?t > seem to be any response. Hope it?s not too dumb a question. J In any > event, we?re planning on replacing one of our monitoring systems with > a beefier box to handle all the things customers have asked us to put > on. I?ve built the new box and moved over the nagios config from the > old box verbatim. The old system parallelizes just fine, but the new > one doesn?t. Max_concurrent is set to 0, letting Nagios do it > automatically, but setting it to an actual number (nagios ?s suggests > 84) doesn?t help. The services all have parallelize_check enabled. I > can?t for the life of me figure out what?s going wrong. Both systems > are intel-based Linux boxes, although the new one is dual processor. > Is it possible that?s causing it trouble? Any guidance would be > appreciated, as it would prevent further hair loss on my part. > > ----------------------------------------------------------------- > Christopher P. Gill, Systems Engineer, New World Apps > cgill at newworldapps.com 703-856-7268 (Cell/Business) > > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ICate at compugen.com Wed Aug 11 06:18:22 2004 From: ICate at compugen.com (Ian ten Cate) Date: Wed, 11 Aug 2004 00:18:22 -0400 Subject: cgis not finding mysql status data Message-ID: <9D3F5311AE4BD311AAA8006097E4730F9A2305@vicexch1.compugen.com> Hi all, I have a curious problem with nagios at the moment. I've compiled from source in order to get the mysql support, and there are no errors during the compile (although I don't have the full gd support yet). Here's my configure parameters: ./configure -prefix=/usr/local/nagios -with-mysql-lib=/usr/lib/mysql -with-mysql-include=/usr/include/mysql -with-gd-lib=/usr/lib ==with-gd-inc=/usr/include -with-mysql-comments -with-mysql-extinfo -with-mysql-retention -with-mysql-downtime -with-template-objects -with-mysql-xdata -with-mysql-status -with-perlcache -with-nagios-user=root -with-nagios-grp=root The insertion of status data, etc. is occurring correctly. I don't get any errors in nagios.log regarding the db credentials when I start nagios. However, the cgis all report Error: Could not read host and service status information! I've compiled with DEBUG5 and also logged the queries in mysql, and I can see that the status, notification, etc. cgis aren't even making a connection to the database server. As near as I can tell, the cgis are still looking for text-based status information - have I missed a configure parameter somewhere? Ian ten Cate icate at compugen.com ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wim.degeeter at bt.com Wed Aug 11 06:56:29 2004 From: wim.degeeter at bt.com (wim.degeeter at bt.com) Date: Wed, 11 Aug 2004 05:56:29 +0100 Subject: Allowed_host in nrpe.cfg question Message-ID: Hi, In the nrpe.cfg you can define (with "allowed_hosts") which server is allowed to access to the Nagios port to check the commands. Is there an easy way to allow all IP Addresses to connect to the nrpe daemon? When I uncomment this option I"ve got this error: Host "IP Address" is not allowed to talk to us. Any ideas ?? Thanks and regards, Wim ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at acces.co.jp Wed Aug 11 09:52:20 2004 From: ian at acces.co.jp (Ian Masters) Date: Wed, 11 Aug 2004 16:52:20 +0900 Subject: Service NOT running check - negate plugin wrapper In-Reply-To: References: Message-ID: Would someone mind giving me an example of how negate plugin wrapper is used. I've read the documentation for it but can't seem to get it working. It would be much appreciated. Ian Masters > Ian Masters wrote: >> I'm sure that I've missed a basic premise about Nagios but I still can't for >> the life of me work out how to check that a service e.g. Telnet, is not >> running. >> >> Obviously I can check the port and get an alert and then acknowledge it. The >> Network Health then returns to all green. Is that the way it's normally >> done? >> >> When I was using Big Brother, you could check that a service is NOT running. >> Is this not done in Nagios? > > Use the negate plugin wrapper > > -- > Karl > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gavin.bartle at aspectcapital.com Wed Aug 11 10:32:39 2004 From: gavin.bartle at aspectcapital.com (Gavin Bartle) Date: Wed, 11 Aug 2004 09:32:39 +0100 Subject: Event log Events Message-ID: <3D7547773EDFF441B60286F4089B1C7550CF96@VEGA1.aspectcapital.com> Hi List, I'm looking for a plug in to let me know when a critical event is logged to the event log in win2000, I am running the net saint service fine on the 2000 server and am getting alerts when there are problems with services. Many thanks CAUTION: This email message and any attachments transmitted with it contains information that is CONFIDENTIAL and may be privileged or otherwise protected from disclosure. If you are not the intended recipient please notify Aspect Capital Limited ("Aspect") immediately (postmaster at aspectcapital.com) and delete all copies of this email message and any attachments transmitted with it from your system. If you are not the intended recipient, any use, disclosure or copying of this email message and any attachments transmitted with it is strictly prohibited. This email message and any attachments transmitted with it cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed or incomplete. Although Aspect routinely screens for viruses, it makes no representation or warranty as to the absence of viruses in this e-mail or any attachments. For further information about Aspect please see our website at http://www.aspectcapital.com. Aspect is authorised and regulated by the Financial Services Authority for investment business. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jaap.hogenberg at marketxs.com Wed Aug 11 11:29:25 2004 From: jaap.hogenberg at marketxs.com (Jaap Hogenberg) Date: Wed, 11 Aug 2004 11:29:25 +0200 Subject: [Nagiosplug-help] check_nt with perfdata (How to request upgrade?) In-Reply-To: <20040810180057.70408.qmail@web60805.mail.yahoo.com> References: <20040810180057.70408.qmail@web60805.mail.yahoo.com> Message-ID: <1092216565.9267.5.camel@kyle> All, I also use perfparse for storing and graphing performance data. However, as allready mentioned, not all plugins do provide the performance data. The check_ping does not. The cvs version does not either. I use check_fping, and that does give performance data. Regards, Jaap On Tue, 2004-08-10 at 20:00, Jon Lyons wrote: > There's a working check_ping in CVS, be sure to test > it, it seems to core dump now and then(not sure why), > I ended up modifing the current check_ping pretty > easily...I'll send it along if the one in the CVS > doesn't work.... > > > > --- Wilson Pires Jr wrote: > > > Is there anybody working on check_ping? And > > check_nt? > > > > Wilson > > > > -----Original Message----- > > From: nagiosplug-help-admin at lists.sourceforge.net > > [mailto:nagiosplug-help-admin at lists.sourceforge.net] > > On Behalf Of Jon Lyons > > Sent: tera-feira, 10 de agosto de 2004 12:29 > > To: Sand Philipp; nagiosplug-help > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagiosplug-help] check_nt with > > perfdata (How to request > > upgrade?) > > > > > > Still haven't seen anything yet, I looked at the > > code, > > but it looks beyond my skill set. Check_ping was > > easy > > to modify, maybe there's a request list we need to > > submit this to? I'd really like to see the results > > graphed... > > > > > > --- Sand Philipp wrote: > > > > > Just to warm up this topic... Is there a new > > version > > > out yet? > > > > > > > > > ________________________________ > > > > > > From: nagiosplug-help-admin at lists.sourceforge.net > > > > > [mailto:nagiosplug-help-admin at lists.sourceforge.net] > > > On Behalf Of Jon > > > Lyons > > > Sent: Friday, July 30, 2004 3:46 AM > > > To: wp.junior; nagiosplug-help > > > Subject: Re: [Nagiosplug-help] check_nt with > > > perfdata > > > > > > > > > Haven't seen one yet, there's about 3-4 of us > > > waiting... :) Let > > > me know if you find one... > > > > > > Thanks.. > > > > > > "wp.junior" wrote: > > > > > > Hi all. > > > > > > Is there a check_nt plugin version that returns > > > OUTPUT > > > in performance data format? > > > > > > Regards, > > > > > > Wilso > > > > > > ________________________________ > > > > > > Do you Yahoo!? > > > Yahoo! Mail is new and improved - Check it out! > > > > > > > > m/new_mail> > > > > > > > > > > > > ************************************************ > > > > > > sycor plastics - die neue Branchenlvsung f|r die > > > Kunststoffindustrie > > > > > > www.sycor-plastics.de > > > > > > ************************************************ > > > > > > > > > > > > > > > Diese E-Mail ist vertraulich und kann dar|ber > > hinaus > > > persvnliche Informationen beinhalten. Wenn Sie > > nicht > > > der bestimmungsgemd_e Empfdnger sind, lvschen Sie > > > bitte die E-Mail und deren Anhdnge sofort und > > > benachrichtigen Sie uns dar|ber. Die Firma sycor > > > willigt in keine Vertrdge oder vertragliche > > > Verpflichtungen ein oder |bermittelt > > > rechtsverbindliche Angebote, die in Form von > > E-Mail > > > versandt werden, sofern dies nicht ausdr|cklich in > > > schriftlicher Form zwischen den Parteien > > vereinbart > > > wurde. > > > > > > This e-mail is confidential and may contain > > personal > > > and/or privileged information. If you are not the > > > intended recipient please delete this e-mail and > > all > > > attachments immediately and inform us. The company > > > sycor does not agree with contracts or contract > > > obligations sent by e-mail, neither do we transmit > > > legally binding offers by e-mail, unless this is > > not > > > expressly agreed upon between the parties and > > > documented in written form. > > > > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by Shop4tech.com-Lowest > > > price on Blank Media > > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic > > DVD+R > > > for only $33 > > > Save 50% off Retail on Ink & Toner - Free Shipping > > > and Free Gift. > > > > > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > > _______________________________________________ > > > Nagiosplug-help mailing list > > > Nagiosplug-help at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help > > > ::: Please include plugins version (-v) and OS > > when > > > reporting any issue. > > > ::: Messages without supporting info will risk > > being > > > sent to /dev/null > > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Take Yahoo! Mail with you! Get it on your mobile > > phone. > > http://mobile.yahoo.com/maildemo > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest > > price on Blank Media > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R > > for only $33 > > Save 50% off Retail on Ink & Toner - Free Shipping > > and Free Gift. > > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > Nagiosplug-help mailing list > > Nagiosplug-help at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help > > ::: Please include plugins version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being > > sent to /dev/null > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest > > price on Blank Media > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R > > for only $33 > > Save 50% off Retail on Ink & Toner - Free Shipping > > and Free Gift. > > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > > (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being > > sent to /dev/null > > > > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - 100MB free storage! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Wed Aug 11 13:22:00 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 11 Aug 2004 13:22:00 +0200 Subject: Event log Events Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E593F6C@SYGOMAIL.GOE.AD.SYCOR.DE> Try check_win_eventlog with the eventlog agent service. Works fine here. ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Gavin Bartle Sent: Wednesday, August 11, 2004 10:33 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Event log Events Hi List, I'm looking for a plug in to let me know when a critical event is logged to the event log in win2000, I am running the net saint service fine on the 2000 server and am getting alerts when there are problems with services. Many thanks CAUTION: This email message and any attachments transmitted with it contains information that is CONFIDENTIAL and may be privileged or otherwise protected from disclosure. If you are not the intended recipient please notify Aspect Capital Limited ("Aspect") immediately (postmaster at aspectcapital.com ) and delete all copies of this email message and any attachments transmitted with it from your system. If you are not the intended recipient, any use, disclosure or copying of this email message and any attachments transmitted with it is strictly prohibited. This email message and any attachments transmitted with it cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed or incomplete. Although Aspect routinely screens for viruses, it makes no representation or warranty as to the absence of viruses in this e-mail or any attachments. For further information about Aspect please see our website at http://www.aspectcapital.com . Aspect is authorised and regulated by the Financial Services Authority for investment business. ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at se.nyklogistics.com Wed Aug 11 13:25:43 2004 From: jan.johansson at se.nyklogistics.com (Jan Johansson) Date: Wed, 11 Aug 2004 13:25:43 +0200 Subject: check_http and unauthorized. Message-ID: <9AA4F704BE060A45A06E1FA950C9DF932CBAF8@sbs-1.nwl.se> Is it possible to "accept" an error? hooch:/usr/share/doc/nagios-text# /usr/lib/nagios/plugins/check_http portal-1 HTTP WARNING: HTTP/1.1 401 Unauthorized I cant make the nagios box auth since it is a smart-card-only system, but can I tell check'_http to "accept" this return code as "ok"? ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.eck at gmail.com Wed Aug 11 14:12:56 2004 From: michael.eck at gmail.com (Michael Eck) Date: Wed, 11 Aug 2004 08:12:56 -0400 Subject: nsca compile question Message-ID: Greetings, Is it possible to compile nsca with libmcrypt statically linked so that I need not install libmcrypt on all of the machines that I want to run send_nsca on? ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rnelson at windchannel.com Wed Aug 11 14:26:12 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Wed, 11 Aug 2004 08:26:12 -0400 Subject: check_http: no data received Message-ID: One of my service checks is running check_http, using port 301, and I sometimes get "No Data Received". The error message goes back to this source code: === check_http.c === /* return a CRITICAL status if we couldn't read any data */ if (pagesize == (size_t) 0) terminate (STATE_CRITICAL, "No data received %s", timestamp); === end === What I'm trying to figure out, is that an error you would get when the socket is opened, data is sent, and nothing comes back; or the error you get when the socket creation is FUBAR'ed? Thanks. Rob Nelson rnelson at windchannel.com ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From h.januschka at krone.at Wed Aug 11 14:53:21 2004 From: h.januschka at krone.at (Helmut Januschka) Date: Wed, 11 Aug 2004 14:53:21 +0200 Subject: AW: nsca compile question Message-ID: <481EAEA6BAED9A4EAF26BA149197AA3E87F875@office1.online.krone.at> make clean export CC=gcc -static #or edit the makefile and add -static that should do it cu klewan -----Urspr?ngliche Nachricht----- Von: Michael Eck [mailto:michael.eck at gmail.com] Gesendet: Mittwoch, 11. August 2004 14:13 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] nsca compile question Greetings, Is it possible to compile nsca with libmcrypt statically linked so that I need not install libmcrypt on all of the machines that I want to run send_nsca on? ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luca.carrera at starvox.it Wed Aug 11 15:18:09 2004 From: luca.carrera at starvox.it (luca.carrera at starvox.it) Date: Wed, 11 Aug 2004 15:18:09 +0200 Subject: Monitoring Websphere Message-ID: I'm beginning with IBM MQSeries and I'd like to monitor queue and channels with Nagios; I found very interesting the solution written by Markus (check_mqseries). Please, could I try it? Thanks. Luca ---------------------------------------------------------------- Luca Carrera FONDIARIA - SAI Divisione SAI - ICT & Services mailto: luca.carrera at starvox.it V. Marenco 15 - 10126 Torino tel. +39 0116657892 Ai sensi del Decreto Legislativo n. 196/2003, si precisa che le informazioni contenute in questo messaggio e negli eventuali allegati sono riservate e per uso esclusivo del destinatario. Persone diverse dallo stesso non possono copiare o distribuire il messaggio a terzi. Chiunque riceva questo messaggio per errore, ? pregato di distruggerlo e di informare immediatamente postmaster at fondiaria-sai.it ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joost at informatiefabriek.nl Wed Aug 11 15:30:34 2004 From: joost at informatiefabriek.nl (joost at informatiefabriek.nl) Date: Wed, 11 Aug 2004 15:30:34 +0200 Subject: check_nt_disk fails to give warning Message-ID: Hey there! I am using Nagios 1.2 on Redhat 9.0 The service definition I'm using (minus the actual host names): define service{ use generic-service host_name athene service_description diskspace D:\ is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups testserver-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nt_disk!D:!90!75 } The check command: define command { command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } It reports in nagios the total, used and free space fine, but I am looking at the free space right now and it is lower than 90% yet I am not getting any warnings. Other alerts do work but none of my check_nt_disk ones do. Any help would be greatly appreciated. yours sincerly, Joost Saanen de Informatiefabriek, Netherlands -------------- next part -------------- An HTML attachment was scrubbed... URL: From christopher at bergeron.com Wed Aug 11 15:51:12 2004 From: christopher at bergeron.com (Christopher M Bergeron) Date: Wed, 11 Aug 2004 09:51:12 -0400 Subject: aim plugin In-Reply-To: <20040810204747.GA32547@zippy.toger.us> References: <20040810180057.70408.qmail@web60805.mail.yahoo.com> <41192DEE.7050606@bergeron.com> <20040810204747.GA32547@zippy.toger.us> Message-ID: <411A2450.4090109@bergeron.com> I should clarify - sorry for the vague question. I'm looking for a method to send alerts to my AIM instant messenger user when an alert is issued. I saw one in the nagios-contrib tarball, but it doesn't seem to work. Does anyone know of one that does, or a way that I can send text messages to my AIM (or Yahoo IM) user from a nagios trigger? Thanks in advance! -Chris B Jason Martin wrote: >On Tue, Aug 10, 2004 at 04:19:58PM -0400, Christopher M Bergeron wrote: > > >>Does anyone know of a [current / recent ] AIM (AOL instant messenger) >>plugin for Nagios? >> >> >Can you clairfy what you mean by an AIM plugin? Are you talking >about monitoring a AIM server or do you want notifications via >AIM? > >-Jason Martin > > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 11 16:19:14 2004 From: marc at ena.com (Marc Powell) Date: Wed, 11 Aug 2004 09:19:14 -0500 Subject: aim plugin Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A739@mismail2.ena.com> ----Original Message---- From: Christopher M Bergeron [mailto:christopher at bergeron.com] Sent: Wednesday, August 11, 2004 8:51 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] aim plugin > I should clarify - sorry for the vague question. I'm looking for a > method to send alerts to my AIM instant messenger user when an alert > is issued. I saw one in the nagios-contrib tarball, but it doesn't > seem to work. Does anyone know of one that does, or a way that I can > send text messages to my AIM (or Yahoo IM) user from a nagios > trigger? http://www.nagios.org/faqs/viewfaq.php?faq_id=33&expand=false&showdesc=f alse marc ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pprice32 at yahoo.com Wed Aug 11 16:35:02 2004 From: pprice32 at yahoo.com (Patrick Price) Date: Wed, 11 Aug 2004 07:35:02 -0700 (PDT) Subject: help Message-ID: <20040811143502.31485.qmail@web52901.mail.yahoo.com> Hello could you please point me in the right direction I would like to use the nagiosweb-2.x to configure it but am having trouble with Authentication I have compiled nagios on linux redhat 9 running Apache 2.0. Everything seems to be going right until I create the .htaccess files in the root of the CGI dir. just as the docs say to do they look like this AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user I then created a user called nagiosadmin and set the password. I type in the URL and it prompts for Nagios Access username and password. I type it in and it flashes and prompts again like I typed in the wrong credentials. I then looked at my httpd.conf it looks like this # ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all AllowOverride AuthConfig order allow,deny Allow from all Options ExecCGI Alias /nagios/ /usr/local/nagios/share/ Options ExecCGI AllowOverride AuthConfig Order allow,deny Allow from all AllowOverride AuthConfig Options ExecCGI order allow,deny allow from all I changed it around and around and back but no luck. I have RTFM If there is anything you can do to help it would be most appreciated, also if you need any other info I can supply it. I have be trying to get it working for 3 weeks. Thanks Patrick __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MG at ev3.net Wed Aug 11 16:58:35 2004 From: MG at ev3.net (Wheeler, MG) Date: Wed, 11 Aug 2004 09:58:35 -0500 Subject: Yahoo Messenger from CPAN Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D01031267@mail.ev3.net> Does anyone have a Perl Script written to send messages to YAHOO Messenger that I could get a copy of to try here? web site describing how to get paging in Yahoo Messenger http://www.nagios.org/faqs/viewfaq.php?faq_id=35&expand=false&showdesc=false _____________________________________________________________________ This message has been checked for all known viruses ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sysop at millenia.com Wed Aug 11 17:03:47 2004 From: sysop at millenia.com (Brian Andrus) Date: Wed, 11 Aug 2004 08:03:47 -0700 Subject: nsca and passive checks Message-ID: <200408110757250.SM01608@daddy> I am trying to set up a passive check and am having trouble with the services.cfg and checkcommands.cfg I found a sample services.cfg, but it seems to be for the older version of nagios and throws errors when I run nagios -v It seems nagios insists I have settings for max_check_attempts, check_interval and retry_interval which does seem odd for a passive only check. So far in services.cfg I have: ----------------------------------- # HTTP 500 Errors define service{ host_name rh2 service_description HTTP 500 Errors is_volatile 1 active_checks_enabled 0 passive_checks_enabled 1 max_check_attempts 1 contact_groups linux-admins,411vm notification_interval 240 notification_period 24x7 notification_options c check_period 24x7 normal_check_interval 1 retry_check_interval 1 check_command check_none } ----------------------------------- I define the check_interval to prevent warnings at startup. in checkcommands.cfg I define check_none (not sure if this is the right way to do this): ----------------------------------- # 'check_none' command definition define command{ command_name check_none command_line /bin/echo "" } ----------------------------------- I am successfully sending the packet to the nagios server with: echo -e "rh2;HTTP 500\t0\ttoo many errors test (OK)"| send_nsca -H nagios but, I get errors in the nagios.log: -------------------------- [1092235996] Warning: Unrecognized external command -> PROCESS_HOST_CHECK_RESULT;rh2;HTTP 500;0;too many errors test (OK) Any ideas out there? All The Best, Brian Andrus, president Millenia Internet Services, Inc. (310) 260-1514 http://www.millenia.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Wed Aug 11 17:15:16 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 11 Aug 2004 08:15:16 -0700 Subject: help In-Reply-To: <20040811143502.31485.qmail@web52901.mail.yahoo.com> References: <20040811143502.31485.qmail@web52901.mail.yahoo.com> Message-ID: <20040811151515.GE32547@zippy.toger.us> On Wed, Aug 11, 2004 at 07:35:02AM -0700, Patrick Price wrote: > Hello could you please point me in the right direction > I would like to use the nagiosweb-2.x to configure it > but am having trouble with Authentication Just so you are aware, the nagios website doesn't allow you to 'configure' Nagios, just adjust some of its runtime parameters. You still have to write the config files or use some other tool to do that for you. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From gyoungblood at saicmail.jsc.nasa.gov Wed Aug 11 17:13:02 2004 From: gyoungblood at saicmail.jsc.nasa.gov (Youngblood, Gregory (SAIC)) Date: Wed, 11 Aug 2004 10:13:02 -0500 Subject: nagios with pgsql, stuck doing DELETEs, services not being tested Message-ID: <0158368F4840D41191D600508B9B06ECE2442F@saicmail.jsc.nasa.gov> Today marks the second or third time I have come in and found nagios "stuck" while doing some kind of database operations. >From what I can gather, there are two nagios connections to the database active. One is running a SELECT and the other is running a DELETE. This morning is the second time where the DELETE process had an active time of over 3 hours. The SELECT process appears to come and go from time to time, seeming to indicate that that select process disconnects. I am guessing it is the CGI connecting to report things back to the web browser. The problem is the DELETE process. While this is going on, nagios appears to stop performing tests. Only passive tests are reported right now. My configuration has no testing performed between 6PM and 5AM. According to the services page last checked column, none of the tests nagios is supposed to start performing at 5AM or later have been performed. That means nagios, the monitoring system, has not actively monitored anything since 6PM last night. The last checked column confirms this, with the date/time of the active services tests ending right at 6PM yesterday. I stopped nagios, killed the errant database connections, and started nagios again. Nagios did some database operations, then ran a vacuum command, and then resumed with the massive SELECT/DELETEs. The database is maintained (vacuum) daily during the maintenance window. The other applications running against this database do not have these issues. The first time this problem showed up, I thought it was being slowed down because I had X running, plus lots of other programs, as well as had pgsql statements logged, and figured the combination of swapping and logging brought the system to a crawl. But, that does not appear to be the case. I wish I would have kept that log so I could look at it closer and see exactly what it is trying to do. I am running this on a workstation. Yes, the system could have more memory and faster hard drives, but until now that has not been an issue. I am also sure that Postgres could be tuned better for this environment, though, again, it hasn't been an issue until now. Anyone have any ideas on this? Just what exactly is nagios doing? How mature is the SQL layer (especially for pgsql) in nagios? Any suggestions on index changes, or other tweaks to improve performance? How often does it do this (whatever it is doing)? It doesn't seem like everyday, it seems more like every other day, though it is possible I just missed it yesterday. Thanks for any advice and assistance with this. Greg ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From LLawrence at osc.uscg.mil Wed Aug 11 17:38:04 2004 From: LLawrence at osc.uscg.mil (Lawrence, Lynne) Date: Wed, 11 Aug 2004 11:38:04 -0400 Subject: help Message-ID: <13828F680182D511893300508BD6831706E582EF@oscex2.osc.uscg.mil> Have you checked your apache log files for errors? Regards, Lynne Lawrence > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Patrick > Price > Sent: Wednesday, August 11, 2004 10:35 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] help > > > Hello could you please point me in the right direction > I would like to use the nagiosweb-2.x to configure it > but am having trouble with Authentication > > I have compiled nagios on linux redhat 9 running > Apache 2.0. Everything seems to be going right until I > create the .htaccess files in the root of the CGI dir. > just as the docs say to do they look like this > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > require valid-user > > I then created a user called nagiosadmin and set the > password. I type in the URL and it prompts for Nagios > Access username and password. I type it in and it > flashes and prompts again like I typed in the wrong > credentials. I then looked at my httpd.conf it looks > like this > # > ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > > > > AllowOverride AuthConfig > order allow,deny > Allow from all > Options ExecCGI > > > > Alias /nagios/ /usr/local/nagios/share/ > > Options ExecCGI > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > > AllowOverride AuthConfig > Options ExecCGI > order allow,deny > allow from all > > > > I changed it around and around and back but no luck. I > have RTFM > > If there is anything you can do to help it would be > most appreciated, also if you need any other info I > can supply it. I have be trying to get it working for > 3 weeks. > > Thanks > Patrick > > > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - 100MB free storage! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff at skislave.com Wed Aug 11 17:43:01 2004 From: jeff at skislave.com (Jeff Scott) Date: Wed, 11 Aug 2004 09:43:01 -0600 Subject: Serivce Checks Not Running Message-ID: I'm still having an issue where service checks are not being executed. For instance, I have about 10 hosts, check_ping runs for 8 but not the other 2. And the check_mail runs for 8 but not 2, but its a differnt 2. check_dns runs for serveral, but not some, again, different systems with different problems. Very wierd. No pattern to the problem, all checks run fine from the command line. All checks are getting scheduled in the queue. No error messages anywhere to troubleshoot. Any suggestions?????? FYI...Redhat9/Nagios 1.2 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joost at informatiefabriek.nl Wed Aug 11 17:52:17 2004 From: joost at informatiefabriek.nl (joost at informatiefabriek.nl) Date: Wed, 11 Aug 2004 17:52:17 +0200 Subject: help In-Reply-To: <20040811151515.GE32547@zippy.toger.us> References: <20040811151515.GE32547@zippy.toger.us> Message-ID: Hey there, I have the same configuration (redhat 9 + nagios 1.2). I installed the RPM and that works fine for me. I have to notice that i used some other (default) directories. Are you sure that the owner of the file htpasswd.users is nagios? kind regards, Joost Saanen Jason Martin Sent by: nagios-users-admin at lists.sourceforge.net 11-08-2004 17:15 To nagios-users at lists.sourceforge.net cc Subject Re: [Nagios-users] help On Wed, Aug 11, 2004 at 07:35:02AM -0700, Patrick Price wrote: > Hello could you please point me in the right direction > I would like to use the nagiosweb-2.x to configure it > but am having trouble with Authentication Just so you are aware, the nagios website doesn't allow you to 'configure' Nagios, just adjust some of its runtime parameters. You still have to write the config files or use some other tool to do that for you. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: attyty9h.dat Type: application/octet-stream Size: 219 bytes Desc: not available URL: From MG at ev3.net Wed Aug 11 17:58:55 2004 From: MG at ev3.net (Wheeler, MG) Date: Wed, 11 Aug 2004 10:58:55 -0500 Subject: Serivce Checks Not Running Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D0103126A@mail.ev3.net> We have 5 machines with RH9 / Nagios 1.2 How do you know they are not checking those various services? The Log files can be set to only show "Changes" but not every single check so in the events you may not see them. If you could give further details I can try to help by comparing to any of our systems here. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jeff Scott Sent: Wednesday, August 11, 2004 10:43 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Serivce Checks Not Running I'm still having an issue where service checks are not being executed. For instance, I have about 10 hosts, check_ping runs for 8 but not the other 2. And the check_mail runs for 8 but not 2, but its a differnt 2. check_dns runs for serveral, but not some, again, different systems with different problems. Very wierd. No pattern to the problem, all checks run fine from the command line. All checks are getting scheduled in the queue. No error messages anywhere to troubleshoot. Any suggestions?????? FYI...Redhat9/Nagios 1.2 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _____________________________________________________________________ Message scanned for viruses _____________________________________________________________________ This message has been checked for all known viruses ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff at skislave.com Wed Aug 11 18:12:58 2004 From: jeff at skislave.com (Jeff Scott) Date: Wed, 11 Aug 2004 10:12:58 -0600 Subject: Serivce Checks Not Running In-Reply-To: <2F29C1E275BF4F4E9DCAE48033A00B9D0103126A@mail.ev3.net> References: <2F29C1E275BF4F4E9DCAE48033A00B9D0103126A@mail.ev3.net> Message-ID: I purged the status.sav, etc, restarted the system, and some of the checks stay in "pending" and never update. What can i enable, turn on to get more details? Jeff On Wed, 11 Aug 2004 10:58:55 -0500, Wheeler, MG wrote: > We have 5 machines with RH9 / Nagios 1.2 > > How do you know they are not checking those various services? The Log > files can be set to only show "Changes" but not every single check so in > the events you may not see them. If you could give further details I can > try to help by comparing to any of our systems here. > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jeff Scott > Sent: Wednesday, August 11, 2004 10:43 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Serivce Checks Not Running > > > I'm still having an issue where service checks are not being executed. > For instance, I have about 10 hosts, check_ping runs for 8 but not the > other 2. And the check_mail runs for 8 but not 2, but its a differnt 2. > check_dns runs for serveral, but not some, again, different systems with > different problems. Very wierd. No pattern to the problem, all checks > run fine from the command line. All checks are getting scheduled in the > queue. No error messages anywhere to troubleshoot. > > Any suggestions?????? > FYI...Redhat9/Nagios 1.2 > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > _____________________________________________________________________ > Message scanned for viruses > > _____________________________________________________________________ > This message has been checked for all known viruses ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phil at usc.edu Wed Aug 11 18:26:14 2004 From: phil at usc.edu (Phil Dibowitz) Date: Wed, 11 Aug 2004 09:26:14 -0700 Subject: Phil: "multiple interfaces" In-Reply-To: <20040803093954.A89482@blnsrv1.science-computing.de> References: <20040803093954.A89482@blnsrv1.science-computing.de> Message-ID: <20040811162614.GI3492@usc.edu> On Tue, Aug 03, 2004 at 09:39:54AM +0200, Michael Arndt wrote: > Hello Phil > > > My question is -- what is everyone ELSE doing? I can't be the first person > > using nagios to have multiple interfaces on my servers... > > > Phil Dibowitz > > > short time ago i posted the same qustion, without a conclusive > result. So, after reading the responses, weighing the pros and cons, and discussing it with some co workers, here's what we decided on: 1. Pick one IP (we are considering using hostnames in the IP field and making all services dependent on DNS, or something to that effect) 2. Created a check_interface in checkcommands.cfg which just calls check_ping, but takes an extra arguement, which is a single IP. 3. Create interface checks as services for each multi-interface host. So hosts will have services like INTERFACE, INTERFACE2, INTERFACE3, etc. And we're reasonably happy with it, it keeps the Service Detail and Service Problems view clean. In some rare cases it may miss information like a service being down on a single interface, but we feel the loss of accuracy is worth the gained readability. Just wanted to post that for the archives for anyone else who comes along with such a question. -- Phil Dibowitz Systems Architect and Administrator Enterprise Infrastructure / ISD / USC UCC 174 - 213-821-5427 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From marc at ena.com Wed Aug 11 18:27:17 2004 From: marc at ena.com (Marc Powell) Date: Wed, 11 Aug 2004 11:27:17 -0500 Subject: Serivce Checks Not Running Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A759@mismail2.ena.com> ----Original Message---- From: Jeff Scott [mailto:jeff at skislave.com] Sent: Wednesday, August 11, 2004 10:43 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Serivce Checks Not Running > I'm still having an issue where service checks are not being executed. > For instance, I have about 10 hosts, check_ping runs for 8 but not the > other 2. And the check_mail runs for 8 but not 2, but its a differnt > 2. > check_dns runs for serveral, but not some, again, different systems > with different problems. Very wierd. No pattern to the problem, all > checks run fine from the command line. All checks are getting > scheduled in the queue. No error messages anywhere to troubleshoot. > > Any suggestions?????? Do you have multiple copies of nagios running at the same time? -- Marc ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robin.brown at uconn.edu Wed Aug 11 19:32:45 2004 From: robin.brown at uconn.edu (Brown, Robin) Date: Wed, 11 Aug 2004 13:32:45 -0400 Subject: help with check_rrd_data.pl Message-ID: <7CFCCE15FC109143AA78DF2FFF60CC7D013003EC@EXCHANGEA.mgmt.ad.uconn.edu> I just can't get this to run from Nagios as a service check. All works ok from command line as the nagios user. The error is 'No output!' . Other service checks are working ok. I tried to wrap it for debugging, but I can't get it to run that way either. I think I need to escape some characters, but I'm not having any luck. Can anyone help? Nagios Version 1.2 on FC2 Comand line: [root at jiminy libexec]# su - nagios -sh-2.05b$ /usr/local/nagios/libexec/check_rrd_data.pl /home/cricket/cricket-data/router1/atm1_0.1-aal5_layer.rrd 'return "Check Traffic: Warning \n" if ($value > 2621440);' 'return "Check Traffic: Critical\n" if ($value > 39321600;' 'printf "Check Traffic: OK \n", $value; return 0;' 0 Check Traffic: Warning Checkcommands.cfg: define command { command_name check_bandwidth command_line $USER1$/check_rrd_data.pl /home/cricket/cricket-data/router1/atm1_0.1-aal5_layer.rrd 'return "Check Traffic: Warning \n" if ($value > 2621440);' 'return "Check Traffic: Critical\n" if ($value > 39321600;' 'printf "Check Traffic: OK \n", $value; return 0;' 0 } Services.cfg: define service { host_name router1 service_description BW-In check_command check_bandwidth use generic-service max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 60 notification_period 24x7 notification_options w,c,r contact_groups admin } check_rrd_data.pl: #!/usr/bin/perl -wT # check_rrd_data plugin for nagios # # usage: # check_rrd machine_id perlexp_warn perlexp_crit perlexp_default [ds] # # Checks data from a RRD file. machine_id is normally an IP address, that has # to be mapped to a RRD file, by means of the config file (by default # /var/spool/nagios/rrd-files, a file with pairs of (machine_id,rrd_file), # separated by whitespace). It can be a RRD file, too. # # The Perl expressions are expressions to be evaluated in the following cases: # # - perlexp_crit. The first one, to check if there is a critical situation. If # it returns other than "", it will be a critical message. # - perlexp_warn. The second one to be evaluated. If returns other than "", a # warning will be issued to Nagios. # - perlexp_default. If both of the above return "", it will be evaluated, and # wathever returns this expression will be returned by the script. NOTE that # this is different from the other two cases, to allow the user issue a # warning or critical failure even if the other two don't return it. # # Use these hosts.cfg entries as examples # # command[check_ping]=$USER1$/check_rrd_data.pl $HOSTADDRESS$ \ # 'return "CHECK_CRICKET_PING: Warning\n" if ($value > 10);' 'return \ # "CHECK_CRICKET_PING: Critical\n" if ($value > 100);' 'printf \ # "PING OK - RTA = %.2fms\n", $value; return 0;' 1 # service[machine]=PING;0;24x7;3;5;1;router-admins;240;24x7;1;1;1;;check_ping # # initial version: 28 Nov 2000 by Esteban Manchado Vel?zquez # current status: 0.1 # # Copyright Notice: GPL # # Doesn't work! Why? # BEGIN { # my $runtimedir = substr($0,0,rindex($0,'/')); # require "$runtimedir/utils.pm"; # } use lib "/usr/local/nagios/libexec","/home/cricket-1.0.4/lib"; require '/usr/local/nagios/libexec/utils.pm'; use RRD::File; # use strict; # RRD:File and utils.pm don't like this my $configfilepath = "/var/spool/nagios/rrd-files"; # Change if needed my %hostfile; # For storing config my $rrdfile; # RRD file to open $ENV{'PATH'} = "/bin:/usr/bin"; $ENV{'ENV'} = ""; if (scalar @ARGV != 4 && scalar @ARGV != 5) { print STDERR join "' '", @ARGV, "\n"; my $foo = 'check_rrd_data'; print STDERR $foo, " []\n\n"; print STDERR " is an expression that gets evaluated with \$_ at the current\n"; print STDERR "value of the data source. If it returns something other th an \"\", there\n"; print STDERR "will be a warning or a critical failure. Else, the express ion\n"; print STDERR " will be evaluated\n"; exit; } # Check configuration file open F, $configfilepath or do { print "Can't open config file $configfilepath\n"; return $ERRORS{'UNKNOWN'}; }; while () { next unless /(.+)\s+(.+)/; $hostfile{$1} = $2; } close F; # Default my $ds = defined $ARGV[4]?$ARGV[4]:0; # print "\$ds = " . $ds . ":"; # print "\$ARGV[4] = " . $ARGV[4] . ":"; $ds =~ s/\$//g; # Sometimes Nagios gives 1$ as the last parameter # Guess which RRD file have to be opened $rrdfile = $ARGV[0] if (-r $ARGV[0]); # First the parameter $rrdfile = $hostfile{$ARGV[0]} unless $rrdfile; # Second, the config file # print "$ARGV[0]:"; if (! $rrdfile) { print "Can't open data file for $ARGV[0]\n"; # Aaaargh! return $ERRORS{'UNKNOWN'}; # Unknown } # print "Opening file $rrdfile:"; my $rrd = new RRD::File ( -file => $rrdfile ); $rrd->open(); if (! $rrd->loadHeader()) { print "Couldn't read header from $rrdfile\n"; exit $ERRORS{'UNKNOWN'}; # Unknown } my $value = $rrd->getDSCurrentValue($ds); $rrd->close(); # Perl expressions to evaluate my ($perl_exp_warn, $perl_exp_crit, $perl_exp_default) = ($ARGV[1], $ARGV[2], $ARGV[3]); my $result; # Result of the expressions (will be printed) my @data; # Special data reserved for the expressions, to pass data # First check for critical errors $perl_exp_crit =~ /(.*)/; $perl_exp_crit = $1; $result = eval $perl_exp_crit; if ($result) { print $result; exit 2; # Critical } # Check for warnings $perl_exp_warn =~ /(.*)/; $perl_exp_warn = $1; $result = eval $perl_exp_warn; if ($result) { print $result; exit 1; # Warning } $perl_exp_default =~ /(.*)/; $perl_exp_default = $1; eval $perl_exp_default; # Normally returns 0 (OK) Regards, Robin From jeff at skislave.com Wed Aug 11 20:12:06 2004 From: jeff at skislave.com (Jeff Scott) Date: Wed, 11 Aug 2004 12:12:06 -0600 Subject: Serivce Checks Not Running In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F38A759@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F38A759@mismail2.ena.com> Message-ID: On Wed, 11 Aug 2004 11:27:17 -0500, Marc Powell wrote: > ----Original Message---- > From: Jeff Scott [mailto:jeff at skislave.com] > Sent: Wednesday, August 11, 2004 10:43 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Serivce Checks Not Running > >> I'm still having an issue where service checks are not being executed. >> For instance, I have about 10 hosts, check_ping runs for 8 but not the >> other 2. And the check_mail runs for 8 but not 2, but its a differnt >> 2. >> check_dns runs for serveral, but not some, again, different systems >> with different problems. Very wierd. No pattern to the problem, all >> checks run fine from the command line. All checks are getting >> scheduled in the queue. No error messages anywhere to troubleshoot. >> >> Any suggestions?????? > > > Do you have multiple copies of nagios running at the same time? > > -- > Marc nope, checked that too. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.eck at gmail.com Wed Aug 11 20:30:06 2004 From: michael.eck at gmail.com (Michael Eck) Date: Wed, 11 Aug 2004 14:30:06 -0400 Subject: AW: nsca compile question In-Reply-To: <481EAEA6BAED9A4EAF26BA149197AA3E87F875@office1.online.krone.at> References: <481EAEA6BAED9A4EAF26BA149197AA3E87F875@office1.online.krone.at> Message-ID: Thanks for the help. When I use the -static flag, I get errors and the compile fails. The output is below, but I'm probably getting a bit off topic at this point. cd ./src/; make all ; cd .. make[1]: Entering directory `/home/meck/nsca-2.4/src' gcc -static -g -O2 -I/home/meck/libmcrypt/include/ -DHAVE_LIBMCRYPT -I/home/meck/libmcrypt/include -DHAVE_CONFIG_H -L/home/meck/libmcrypt/lib/ -L/home/meck/libmcrypt/lib -lmcrypt -o nsca -lnsl nsca.c netutils.c utils.c /tmp/ccfuIvwi.o: In function `encrypt_init': /home/meck/nsca-2.4/src/utils.c:195: undefined reference to `mcrypt_module_open' /home/meck/nsca-2.4/src/utils.c:205: undefined reference to `mcrypt_enc_get_iv_size' /home/meck/nsca-2.4/src/utils.c:222: undefined reference to `mcrypt_enc_get_key_size' /home/meck/nsca-2.4/src/utils.c:237: undefined reference to `mcrypt_generic_init' /tmp/ccfuIvwi.o: In function `encrypt_cleanup': /home/meck/nsca-2.4/src/utils.c:256: undefined reference to `mcrypt_generic_end' /tmp/ccfuIvwi.o: In function `encrypt_buffer': /home/meck/nsca-2.4/src/utils.c:348: undefined reference to `mcrypt_generic' /tmp/ccfuIvwi.o: In function `decrypt_buffer': /home/meck/nsca-2.4/src/utils.c:382: undefined reference to `mdecrypt_generic' collect2: ld returned 1 exit status make[1]: *** [nsca] Error 1 make[1]: Leaving directory `/home/meck/nsca-2.4/src' Any thoughts? Thanks again. On Wed, 11 Aug 2004 14:53:21 +0200, Helmut Januschka wrote: > make clean > export CC=gcc -static #or edit the makefile and add -static > > that should do it > > cu > klewan > > -----Urspr?ngliche Nachricht----- > Von: Michael Eck [mailto:michael.eck at gmail.com] > Gesendet: Mittwoch, 11. August 2004 14:13 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] nsca compile question > > Greetings, > Is it possible to compile nsca with libmcrypt statically linked so that I need not install libmcrypt on all of the machines that I want to run send_nsca on? > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gauclair at telebecinformatique.com Wed Aug 11 21:03:05 2004 From: gauclair at telebecinformatique.com (Gilles Auclair) Date: Wed, 11 Aug 2004 15:03:05 -0400 Subject: Service status map Message-ID: <4EA0B250D90BC34494D8259E2E977606E3FE@srv-sm-exch-01.logicon.ca> Hi, I see a servicemap.cgi on this site : User: guest Pass: guest http://nagios.seismo.unr.edu:8090/nagios/cgi-bin/servicemap.cgi?host=all I would like to have this script, anyone can help me? \|||/ (o o) ---------------ooO-(_)-Ooo--------------- Gilles Auclair Analyste-programmeur T?l?bec Informatique gauclair at telebecinformatique.com T?l: 1-800-567-6399 #7741 Fax: (819) 762-2289 http://www.telebecinformatique.com ----------------------------------------- ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederick.lefebvre at hexago.com Wed Aug 11 21:37:52 2004 From: frederick.lefebvre at hexago.com (Frederick Lefebvre) Date: Wed, 11 Aug 2004 15:37:52 -0400 Subject: notification escalations Message-ID: <80560000.1092253072@hades.hexago.com> Hi All, I use Nagios to monitor my network and send SMS notifications when a problem occurs. I use escalations.cfg to define escalation procedures for different services and hosts and it works quite well. The problem I have is that when a host running, let's say, 4 nagios monitored services fails, 4 notifications get sent at once. Is there anyway to 'agregate' notifications for the same host? How do you deal with these situations? Thank you for your help. Frederick Lefebvre -- System and Network administrator Hexago Inc. ------------------------------------------------ http://www.freenet6.net : Free IPv6 Connectivity ------------------------------------------------ ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lhill at groupit.com Wed Aug 11 21:43:27 2004 From: lhill at groupit.com (lhill at groupit.com) Date: Wed, 11 Aug 2004 15:43:27 -0400 Subject: Recurring downtime: necessary to restart nagios to reread the downtime.log? Message-ID: I have a cronjob append a new downtime to the downtime.log and comments.log each night. Although the log is getting updated correctly, Nagios does not recognize the downtime until I restart the service. OTOH, it does reread the comment.log, so those messages get added to the comments list each night. I understand the need for restart to reread cfg files, but am I missing something concerning getting Nagios to reread the downtime.log? Thanks, Lance Hill GroupIT ______________________________ Tel.: 416.703.2896 ext. 107 Fax: 416.703.2987 http://www.groupit.com IBM Premier Business and Lotus Partner e-firm certified -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Wed Aug 11 21:55:56 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 11 Aug 2004 12:55:56 -0700 Subject: Service status map In-Reply-To: <4EA0B250D90BC34494D8259E2E977606E3FE@srv-sm-exch-01.logicon.ca> References: <4EA0B250D90BC34494D8259E2E977606E3FE@srv-sm-exch-01.logicon.ca> Message-ID: <20040811195555.GH32547@zippy.toger.us> On Wed, Aug 11, 2004 at 03:03:05PM -0400, Gilles Auclair wrote: > I see a servicemap.cgi on this site : > http://nagios.seismo.unr.edu:8090/nagios/cgi-bin/servicemap.cgi?host=all That gui is showing the hosts, not services. There isn't a gui that shows all of the services in graphical format. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From christopher at bergeron.com Wed Aug 11 21:52:35 2004 From: christopher at bergeron.com (Christopher M Bergeron) Date: Wed, 11 Aug 2004 15:52:35 -0400 Subject: aim plugin In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F38A739@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F38A739@mismail2.ena.com> Message-ID: <411A7903.60403@bergeron.com> That script hasn't been updated since 2001 and doesn't work. Does anyone know of a working implementation? Thanks! CB Marc Powell wrote: >----Original Message---- >From: Christopher M Bergeron [mailto:christopher at bergeron.com] >Sent: Wednesday, August 11, 2004 8:51 AM >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] aim plugin > > > >>I should clarify - sorry for the vague question. I'm looking for a >>method to send alerts to my AIM instant messenger user when an alert >>is issued. I saw one in the nagios-contrib tarball, but it doesn't >>seem to work. Does anyone know of one that does, or a way that I can >>send text messages to my AIM (or Yahoo IM) user from a nagios >>trigger? >> >> > > >http://www.nagios.org/faqs/viewfaq.php?faq_id=33&expand=false&showdesc=f >alse > >marc > > > >------------------------------------------------------- >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg_fenton at yahoo.com Wed Aug 11 22:12:02 2004 From: greg_fenton at yahoo.com (Greg Fenton) Date: Wed, 11 Aug 2004 13:12:02 -0700 (PDT) Subject: Performance Data In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D6E97BC@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D6E97BC@golden-m.mactec.com> Message-ID: <20040811201202.26129.qmail@web52903.mail.yahoo.com> --- "Cook, Garry" wrote: > PerfParse is what I use, and I also contribute back to the project. > No > rrd support yet, it uses MySQL. RRD is on my list of things to > integrate > (if possible). > How hard-wired is PerfParse to MySQL? What are the odds of using another SQL backend? Just curious, greg_fenton. ===== Greg Fenton greg_fenton at yahoo.com __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Wed Aug 11 22:17:36 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 11 Aug 2004 14:17:36 -0600 Subject: Performance Data Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E97E5@golden-m.mactec.com> In it's current state, PerfParse will only use MySQL. Personally, I'd rather use RRDs, but this is going to require some further discussion amongst the developers. Unfortunately, they are both on holiday this week. I hope to speak with them and figure out a path before the end of the month. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) Greg Fenton wrote: > --- "Cook, Garry" wrote: >> PerfParse is what I use, and I also contribute back to the project. >> No rrd support yet, it uses MySQL. RRD is on my list of things to >> integrate (if possible). >> > > How hard-wired is PerfParse to MySQL? What are the odds of using > another SQL backend? > > Just curious, > greg_fenton. > > ===== > Greg Fenton > greg_fenton at yahoo.com > > > > __________________________________ > Do you Yahoo!? > Read only the mail you want - Yahoo! Mail SpamGuard. > http://promotions.yahoo.com/new_mail ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From emartine at bsd.uchicago.edu Tue Aug 10 17:21:56 2004 From: emartine at bsd.uchicago.edu (Eduardo Martinez) Date: Tue, 10 Aug 2004 10:21:56 -0500 Subject: Check_memory plugin for solaris In-Reply-To: References: Message-ID: <4118E814.7070301@bsd.uchicago.edu> I have check_memory for Linux, does check_memory exist for Solaris? Any info on this would be greatly appreciated. -Eddie ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thorstennehh at aol.com Tue Aug 10 17:20:13 2004 From: thorstennehh at aol.com (Thorsten Dahm) Date: Tue, 10 Aug 2004 17:20:13 +0200 Subject: Error-Code of the check_radius-Plugin In-Reply-To: <4F1A91B978EE87478F2447A768883685F50D@cbemi-web.cbemi> References: <4F1A91B978EE87478F2447A768883685F50D@cbemi-web.cbemi> Message-ID: <4118E7AD.5080903@aol.com> Eduardo Moura schrieb: > > Eduardo Hi, does anyone know what the error message "Return code of 137 is out of bounds" of the check_radius-Plugin means? Thanks & regards, Thorsten ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jstotler at crc.net Wed Aug 11 22:56:35 2004 From: jstotler at crc.net (John Stotler) Date: Wed, 11 Aug 2004 16:56:35 -0400 Subject: Lotusscript and Nagios? Message-ID: <1092257795.25143.621.camel@delltrb02> Is anyone out there using Lotusscript to build custom plugins? It looks like I could put together some scripts to notify Nagios, but I'm wondering if anyone has gone through this already... Thanks, John ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leoh at dcc.ufmg.br Wed Aug 11 23:20:39 2004 From: leoh at dcc.ufmg.br (Leonardo Henrique Machado) Date: Wed, 11 Aug 2004 18:20:39 -0300 (BRT) Subject: Dependencies not working In-Reply-To: <20040810173621.GX32547@zippy.toger.us> References: <20040810173621.GX32547@zippy.toger.us> Message-ID: Martin, thank you for trying to help. Look what happens. I have the following dependency: define servicedependency{ host_name firewall service_description PING_firewall dependent_host_name firewall dependent_service_description Load on Firewall execution_failure_criteria w,u,c notification_failure_criteria w,u,c } When I start Nagios, it checks first for the Load. By then there is no information about the PING service on it. No information means that it is not w,u nor c. Conclusion: if PING does not answers, Nagios says that the load is critical (plugin not responding). How can I force nagios to check PING first so that Load would never be checked if PING is down. I face this problem with almost all of my services. Nagios sorts the scheduled check queue without paying attention to the dependencies. A good solution would be to put a execution_failure_criteria "p" meaning PENDING. Then Load would never be checked if PING is pending. What else? thnx. On Tue, 10 Aug 2004, Jason Martin wrote: > On Tue, Aug 10, 2004 at 01:56:33PM -0300, Leonardo Henrique Machado wrote: > > 2 - if Gateway is down, STOP checking everything on Clients and > > Disk-Servers > > 3 - if Disk-server is down, STOP checking everything on > > clients. > Gateway should be the parent of your disk servers and clients > since it involves network reachability. > > -Jason Martin > > -- > -- Leonardo Henrique Machado Universidade Federal de Minas Gerais ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at axelero.hu Wed Aug 11 23:42:42 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: Wed, 11 Aug 2004 23:42:42 +0200 Subject: User-supplied coords Message-ID: <411A92D2.9070806@axelero.hu> Hi Group! I wrote several times about my problem: I set up everything according to the docu, but background image doesn't appear. Now I found a strange thing: I set up own coordinates with nagiosmap.pl and tried it. Background image appear. I checked the docu again, but there isn't in it that this feature only works, when I use "User-supplied coords" Layout Method in statusmap CGI. This is the normal behavior or something is still wrong at my installation? I would appreciate any kind of feedback. Many thanks, Tamas! ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK-5ZA074NH1ijQT0dZR+AlfA at public.gmane.org Thu Aug 12 00:26:48 2004 From: GWCOOK-5ZA074NH1ijQT0dZR+AlfA at public.gmane.org (Cook, Garry) Date: Wed, 11 Aug 2004 16:26:48 -0600 Subject: Added perfdata to check_nt Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E97EA@golden-m.mactec.com> First off, I'm sorry for the cross-post, there were several people interested in this on different lists. If you're on a list that does not allow attachments, contact me off-list and I'll send you a copy of the plugin source. I've added Performance Data to the check_nt plugin distributed with NSClient and Nagios plugins. A copy of the source is attached, please feel free to compile and test (don't forget to backup your original check_nt plugin). I'm not a master coder, just a hacker, but I was able to make it work well for my implementation. With that said, if anyone has any problems with it, please let me know. But keep in mind that I don't have a lot of different systems to compile on, so I may not be able to fix it for you. I've commented the code pretty well, so it should be readily apparent where things have been added by me. I have not changed the revision number, so I'll probably submit this as a patch after I have some feedback from people. I'm guessing that I should submit it to both Nagios Plugins devel as well as the NSClient developers. If any of you reading this are developers of NSClient, please contact me off-list and I'll be happy to submit this in whatever format your require. Some notes on this updated plugin: If checking a windows COUNTER, a definition is required in order to generate perfdata. The definition is usually optional. The following checks return performance data: CPULOAD USEDDISKSPACE MEMUSE COUNTER The following checks do NOT return performance data: CLIENTVERSION UPTIME SERVICESTATE PROCSTATE I didn't see a need for, nor an easy way to add, performance data for the CLIENTVERSION, UPTIME, SERVICESTATE, & PROCSTATE checks. If you disagree with my assessment of the need for perfdata with any of these, please let me know and maybe I'll try to add that as well. I have also changed the code for the MEMUSE check, as it did not appear to give the proper output originally. Please let me know if I've borked this somehow, although on my systems it shows output that looks good. Alternatively, just look at the code. I've documented the change and anyone that can compile and install Nagios should easily be able to change it back and recompile the plugin. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) -------------- next part -------------- A non-text attachment was scrubbed... Name: check_nt.c Type: application/octet-stream Size: 21020 bytes Desc: check_nt.c URL: From mnagel at willingminds.com Thu Aug 12 01:28:25 2004 From: mnagel at willingminds.com (Mark D. Nagel) Date: Wed, 11 Aug 2004 16:28:25 -0700 Subject: check_http and unauthorized. In-Reply-To: <9AA4F704BE060A45A06E1FA950C9DF932CBAF8@sbs-1.nwl.se> References: <9AA4F704BE060A45A06E1FA950C9DF932CBAF8@sbs-1.nwl.se> Message-ID: <411AAB99.5000302@willingminds.com> Jan Johansson wrote: >Is it possible to "accept" an error? > >hooch:/usr/share/doc/nagios-text# /usr/lib/nagios/plugins/check_http >portal-1 >HTTP WARNING: HTTP/1.1 401 Unauthorized > >I cant make the nagios box auth since it is a smart-card-only system, >but can I tell check'_http to "accept" this return code as "ok"? > > Sure, just define your check command like so: define command{ command_name check_http_401 command_line $USER1$/check_http -H $HOSTADDRESS$ -e 401 } Then, you can use check_http_401, which will expect a 401 result code and exit with an OK status. Mark -- Mark D. Nagel, CCIE #3177 Principal Consultant, Willing Minds LLC tel: 714-630-4772, fax: 714-630-4773, web: http://www.willingminds.com/ ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott at electricmail.com Thu Aug 12 02:04:16 2004 From: scott at electricmail.com (Scott Brynen) Date: Wed, 11 Aug 2004 17:04:16 -0700 Subject: Clock Skew / Double log rotates Message-ID: <200408111704.16053.scott@electricmail.com> I think I may have a line on why logs rotate twice..... I don't think that nagios is readjusting (or is double adjusting) the time of the log rotate when it detects a system time change. Likely it's adjusting it when it shouldn't be (as it's a fixed point in time). Is there a way of turning off the 'Compensating' aspect of nagios? See the attached log entries from my server for the last few days. Note that the log is rotated EXACTLY n seconds early, where n = sum of all the backwards time changes (hourly ntp update for date). nagios-08-07-2004-23.log:[1091866377] Warning: A system time change of 4 seconds (backwards in time) has been detected. Compensating... nagios-08-07-2004-23.log:[1091873577] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-07-2004-23.log:[1091884378] Warning: A system time change of 7 seconds (backwards in time) has been detected. Compensating... nagios-08-07-2004-23.log:[1091898779] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-07-2004-23.log:[1091905982] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-07-2004-23.log:[1091913177] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-07-2004-23.log:[1091920376] Warning: A system time change of 5 seconds (backwards in time) has been detected. Compensating... nagios-08-07-2004-23.log:[1091927577] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-07-2004-23.log:[1091934777] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-07-2004-23.log:[1091941978] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-08-2004-00.log:[1091948363] LOG ROTATION: DAILY nagios-08-08-2004-23.log:[1091948400] LOG ROTATION: DAILY nagios-08-08-2004-23.log:[1091949183] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-08-2004-23.log:[1091956382] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-08-2004-23.log:[1091963584] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-08-2004-23.log:[1091970778] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-08-2004-23.log:[1091977977] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-08-2004-23.log:[1091985178] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-08-2004-23.log:[1091992378] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-08-2004-23.log:[1091999577] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-08-2004-23.log:[1092006776] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-08-2004-23.log:[1092013977] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-08-2004-23.log:[1092021178] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-08-2004-23.log:[1092028377] Warning: A system time change of 4 seconds (backwards in time) has been detected. Compensating... nagios-08-09-2004-00.log:[1092034763] LOG ROTATION: DAILY nagios-08-09-2004-23.log:[1092034800] LOG ROTATION: DAILY nagios-08-09-2004-23.log:[1092035577] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-09-2004-23.log:[1092042778] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-09-2004-23.log:[1092049977] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-09-2004-23.log:[1092057177] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-09-2004-23.log:[1092064378] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-09-2004-23.log:[1092071579] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-09-2004-23.log:[1092085970] Warning: A system time change of 11 seconds (backwards in time) has been detected. Compensating... nagios-08-09-2004-23.log:[1092093177] Warning: A system time change of 4 seconds (backwards in time) has been detected. Compensating... nagios-08-09-2004-23.log:[1092100377] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-09-2004-23.log:[1092107577] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-09-2004-23.log:[1092114778] Warning: A system time change of 3 seconds (backwards in time) has been detected. Compensating... nagios-08-10-2004-00.log:[1092121158] LOG ROTATION: DAILY nagios-08-11-2004-00.log:[1092121200] LOG ROTATION: DAILY -- Scott Brynen The Electric Mail Company 604-482-1111 x154 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at acces.co.jp Thu Aug 12 02:04:47 2004 From: ian at acces.co.jp (Ian Masters) Date: Thu, 12 Aug 2004 09:04:47 +0900 Subject: negate plugin wrapper In-Reply-To: References: Message-ID: Does anyone on this list use the negate plugin wrapper? Ian Masters ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Thu Aug 12 03:51:16 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Wed, 11 Aug 2004 21:51:16 -0400 Subject: Service NOT running check - negate plugin wrapper In-Reply-To: References: Message-ID: <411ACD14.2050702@debisschop.net> Ian Masters wrote: > Would someone mind giving me an example of how negate plugin wrapper is > used. I've read the documentation for it but can't seem to get it working. There are two examples in the current source that will print if you type negate --help negate "/usr/local/nagios/libexec/check_ping -H host" Run check_ping and invert result. Must use full path to plugin negate "/usr/local/nagios/libexec/check_procs -a 'vi negate.c'" Use single quotes if you need to retain spaces -- Karl ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Collins at industry.gov.au Thu Aug 12 06:02:33 2004 From: Steve.Collins at industry.gov.au (Collins, Steve) Date: Thu, 12 Aug 2004 14:02:33 +1000 Subject: [PMX:#] Disabled hosts - why? Message-ID: <61045C98CC667545B7E628E3BED42A3820CDE7@g5dicbr01ms01.industry.gov.au> I am building a new Nagios server (my first) using Nagios 1.2. I'm also using NagMIN 2.2.0 as a front-end to manage the config. Whenever I add a new host it is added with host checks disabled, which isn't what I want at all. How do ensure that host checks are enabled for the host when I add it? I have host checks enabled in my generic host template. Steve -- Stephen Collins Web Development Section eBusiness Division __________________________________________________ Department of Industry, Tourism and Resources Level 12, 20 Allara Street, Canberra City ACT 2600 GPO Box 9839, Canberra ACT 2601 E steve.collins at industry.gov.au P +61 2 62137193 C +61 410 680722 F +61 2 62136227 ********************************************************************** The information contained in this e-mail, and any attachments to it, is intended for the use of the addressee and is confidential. If you are not the intended recipient you must not use, disclose, read, forward, copy or retain any of the information. If you have received this e-mail in error, please delete it and notify the sender by return e-mail or telephone. The Commonwealth does not warrant that any attachments are free from viruses or any other defects. You assume all liability for any loss, damage or other consequences which may arise from opening or using the attachments. *********************************************************************************** From Brad.Henshaw at qbuild.qld.gov.au Thu Aug 12 06:49:19 2004 From: Brad.Henshaw at qbuild.qld.gov.au (HENSHAW Brad) Date: Thu, 12 Aug 2004 14:49:19 +1000 Subject: Separating host groups on status map Message-ID: <6227E947B877F8478B87FEA8B0649CF601350CF7@SQBHOEXS02.qbuild.dpw.qld.gov.au> I'm in the process of evaluating Nagios' suitability for monitoring our network with around 220 hosts and 450 services which require monitoring. The current setup is comprised of MRTG, hacked perl and vbscript to monitor services and the SNMPc application to monitor hosts. The organisation is comprised of a large number of hosts at head office and a smaller number of hosts spread across 22 regional offices located around the state. What we would like is something similar to SNMPc's view of the status map where the main map shows each office as a single icon and its colour changes based on the status of hosts within that office. Double-clicking on an office displays all hosts in that office and their status. This arrangement of hosts is analogous to our use of hostgroups in Nagios, but is there any way to display the network map in a similar fashion without excessive hacking of the statusmap CGI? Having all 200+ hosts on the map at once is rather unsightly. Regards, Brad Henshaw (apologies for the multi-kilobyte disclaimer which will follow) ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal For more information please visit www.marshalsoftware.com ##################################################################################### ############################################################################# This electronic message and any attachments are supplied in good faith. QBuild accepts no responsibility for the damage or loss which may occur through the use or transmission of this message and attachments. The contents of this electronic message and any attachments are intended only for the addressee and may contain privileged or confidential information. If you are not the addressee, you are notified that any transmission, distribution, downloading, printing or photocopying of the contents of this message or attachments is strictly prohibited. The privilege of confidentiality attached to this message and attachments is not waived, lost or destroyed by reason of mistaken delivery to you. If you receive this message in error please notify the sender by return e-mail or telephone. ############################################################################## ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Duling at biola.edu Thu Aug 12 07:32:42 2004 From: Mark.Duling at biola.edu (Mark Duling) Date: Wed, 11 Aug 2004 22:32:42 -0700 Subject: Contact_groups Message-ID: I am new to Nagios and I don't understand why there must be a contact_groups definition in hostgroups as well as services. I really want to monitor based solely on the services running on my hosts. Http, ftp, smtp, service on port xx, etc. Given this, it seems to me that I could use hostgroup_name instead of host_name in my service definitions (http://nagios.sourceforge.net/docs/1_0/templatetricks.html) like this: define service{ hostgroup_name http-servers-dept22 service_description HTTP contact_groups dept22 other service definitions ..... define service{ hostgroup_name http-servers-dept31 service_description HTTP contact_groups dept31 other service definitions ..... define service{ hostgroup_name ftp-servers service_description FTP contact_groups dept22,dept31,netmanager other service definitions ..... etc .......... Done like this it seems that having a contact_groups setting in hostgroups is redundant and messy. But I suppose I may be missing something about how Nagios works, especially since contact_groups is a required setting. What would be wrong with sending contact_groups to an address that /dev/null's it for my hostgroups? Or is there something wrong with my thinking about setting up my services file this way? How do others do it? Thanks. Mark ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at acces.co.jp Thu Aug 12 07:37:39 2004 From: ian at acces.co.jp (Ian Masters) Date: Thu, 12 Aug 2004 14:37:39 +0900 Subject: Negate plugin In-Reply-To: References: Message-ID: Thanks very much Karl! With the help of those examples I now I have it working. Friendly Ian Masters > There are two examples in the current source that will print if you type > negate --help > > > negate "/usr/local/nagios/libexec/check_ping -H host" > Run check_ping and invert result. Must use full path to plugin > negate "/usr/local/nagios/libexec/check_procs -a 'vi negate.c'" > Use single quotes if you need to retain spaces > > > -- > Karl ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phil at usc.edu Thu Aug 12 09:37:22 2004 From: phil at usc.edu (Phil Dibowitz) Date: Thu, 12 Aug 2004 00:37:22 -0700 Subject: external auth Message-ID: <20040812073722.GC3945@usc.edu> Has anyone brought up the possibility of obtaining user/group info externally? For example it would be great if in the cgi.cfg we could specify "anyone in group x can do this" where group x is a UNIX (either local, or NIS, or LDAP, etc) group, rather than having to maintain two group files (nagios plus whatever your organization uses). Or better yet, using something like shibboleth (shibboleth.internet2.edu), where it could look at some entitlement attribute (which would be set as an environmental variable in apache) Similarly for service SSH on host *, contact group Y, where group Y is determined from the enterprise user management system (ldap, nis, active directory, whatever). I know that would probably require some pretty large changes to the code -- but I'm wondering if this has been discussed, or if anyone has looked into such a project. Just curious... Thanks. -- Phil Dibowitz Systems Architect and Administrator Enterprise Infrastructure / ISD / USC UCC 174 - 213-821-5427 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From jan.johansson at se.nyklogistics.com Thu Aug 12 10:16:01 2004 From: jan.johansson at se.nyklogistics.com (Jan Johansson) Date: Thu, 12 Aug 2004 10:16:01 +0200 Subject: check_http and unauthorized. Message-ID: <9AA4F704BE060A45A06E1FA950C9DF932CBB49@sbs-1.nwl.se> > Sure, just define your check command like so: > > define command{ > command_name check_http_401 > command_line $USER1$/check_http -H $HOSTADDRESS$ -e 401 > } > > Then, you can use check_http_401, which will expect a 401 result code > and exit with an OK status. Thanks, but I still get the warning in this fashion. hooch:/var/log/nagios# /usr/lib/netsaint/plugins/check_http -H portal-1 -e 401 HTTP WARNING: HTTP/1.1 401 Unauthorized hooch:/var/log/nagios# /usr/lib/netsaint/plugins/check_http -H portal-1 -e 404 Invalid HTTP response received from host hooch:/var/log/nagios# ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Thu Aug 12 13:51:26 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Thu, 12 Aug 2004 13:51:26 +0200 Subject: "View Children" Link in Host Detail View Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E593F7C@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, I wonder if i had overseen this feature, or if it isn't implented yet. Maybe somebody of you has done a workaround for that.. I've got a lot of routers in my nagios, with some parent/child dependencies. What a would like to have is a simple link in the Host Detail View, where I can directly see the children of that host. I remember when there is a Network Outage, you have a link to the dependent services and host, why isn't there a link when there is no Problem? :) Regards, Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 12 16:24:24 2004 From: marc at ena.com (Marc Powell) Date: Thu, 12 Aug 2004 09:24:24 -0500 Subject: check_http and unauthorized. Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A78F@mismail2.ena.com> ----Original Message---- From: Jan Johansson [mailto:jan.johansson at se.nyklogistics.com] Sent: Thursday, August 12, 2004 3:16 AM To: Mark D. Nagel; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_http and unauthorized. > > Sure, just define your check command like so: > > > > define command{ > > command_name check_http_401 > > command_line $USER1$/check_http -H $HOSTADDRESS$ -e 401 } > > > > Then, you can use check_http_401, which will expect a 401 result > > code and exit with an OK status. > > Thanks, but I still get the warning in this fashion. > > hooch:/var/log/nagios# /usr/lib/netsaint/plugins/check_http -H > portal-1 -e 401 HTTP WARNING: HTTP/1.1 401 Unauthorized > hooch:/var/log/nagios# /usr/lib/netsaint/plugins/check_http -H > portal-1 -e 404 Invalid HTTP response received from host > hooch:/var/log/nagios# There are certain error codes that are hard-coded to produce WARNING or CRITICAL states. I ran into this when I wanted to make a 403 Forbidden an OK state. Check around line 1219 in check_http.c for /* client errors result in a warning state */ else if (http_status >= 400) die (STATE_WARNING, _("HTTP WARNING: %s\n"), status_line); You can either modify that to suit your needs better or comment it out entirely. You'll need to recompile the plugins of course. -- Marc ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaap.hogenberg at marketxs.com Thu Aug 12 17:09:07 2004 From: jaap.hogenberg at marketxs.com (Jaap Hogenberg) Date: Thu, 12 Aug 2004 17:09:07 +0200 Subject: check_http and unauthorized. In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F38A78F@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F38A78F@mismail2.ena.com> Message-ID: <1092323347.9260.74.camel@kyle> What version of check_http are you using ? Mine is behaving correctly, I use "-e 401" as well. I have version 1.54 (from the plugins 1.4alpha1) Jaap On Thu, 2004-08-12 at 16:24, Marc Powell wrote: > ----Original Message---- > From: Jan Johansson [mailto:jan.johansson at se.nyklogistics.com] > Sent: Thursday, August 12, 2004 3:16 AM > To: Mark D. Nagel; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_http and unauthorized. > > > > Sure, just define your check command like so: > > > > > > define command{ > > > command_name check_http_401 > > > command_line $USER1$/check_http -H $HOSTADDRESS$ -e 401 } > > > > > > Then, you can use check_http_401, which will expect a 401 result > > > code and exit with an OK status. > > > > Thanks, but I still get the warning in this fashion. > > > > hooch:/var/log/nagios# /usr/lib/netsaint/plugins/check_http -H > > portal-1 -e 401 HTTP WARNING: HTTP/1.1 401 Unauthorized > > hooch:/var/log/nagios# /usr/lib/netsaint/plugins/check_http -H > > portal-1 -e 404 Invalid HTTP response received from host > > hooch:/var/log/nagios# > > There are certain error codes that are hard-coded to produce WARNING or > CRITICAL states. I ran into this when I wanted to make a 403 Forbidden > an OK state. Check around line 1219 in check_http.c for > > /* client errors result in a warning state */ > else if (http_status >= 400) > die (STATE_WARNING, _("HTTP WARNING: %s\n"), > status_line); > > You can either modify that to suit your needs better or comment it out > entirely. You'll need to recompile the plugins of course. > > -- > Marc > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnagel at willingminds.com Thu Aug 12 17:09:35 2004 From: mnagel at willingminds.com (Mark D. Nagel) Date: Thu, 12 Aug 2004 08:09:35 -0700 Subject: check_http and unauthorized. In-Reply-To: <9AA4F704BE060A45A06E1FA950C9DF932CBB49@sbs-1.nwl.se> References: <9AA4F704BE060A45A06E1FA950C9DF932CBB49@sbs-1.nwl.se> Message-ID: <411B882F.4080708@willingminds.com> Jan Johansson wrote: >Thanks, but I still get the warning in this fashion. > >hooch:/var/log/nagios# /usr/lib/netsaint/plugins/check_http -H portal-1 >-e 401 >HTTP WARNING: HTTP/1.1 401 Unauthorized >hooch:/var/log/nagios# /usr/lib/netsaint/plugins/check_http -H portal-1 >-e 404 >Invalid HTTP response received from host >hooch:/var/log/nagios# > > What version of plugins do you have? Here's my results: [root at mindseye nagios]# /usr/lib/nagios/plugins/check_http -H somehost -e 401 HTTP ok: HTTP/1.1 401 Access Denied - 0.004 second response time |time= 0.004 [root at mindseye nagios]# /usr/lib/nagios/plugins/check_http -V check_http (nagios-plugins 1.3.1) 1.24.2.4 Mark -- Mark D. Nagel, CCIE #3177 Principal Consultant, Willing Minds LLC tel: 714-630-4772, fax: 714-630-4773, web: http://www.willingminds.com/ ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From throck at duke.edu Thu Aug 12 17:23:56 2004 From: throck at duke.edu (Tom Throckmorton) Date: Thu, 12 Aug 2004 11:23:56 -0400 Subject: check_http and unauthorized. In-Reply-To: <9AA4F704BE060A45A06E1FA950C9DF932CBAF8@sbs-1.nwl.se> References: <9AA4F704BE060A45A06E1FA950C9DF932CBAF8@sbs-1.nwl.se> Message-ID: <411B8B8C.1010103@duke.edu> On 08/11/2004 07:25 AM, Jan Johansson wrote: >Is it possible to "accept" an error? > >hooch:/usr/share/doc/nagios-text# /usr/lib/nagios/plugins/check_http >portal-1 >HTTP WARNING: HTTP/1.1 401 Unauthorized > >I cant make the nagios box auth since it is a smart-card-only system, >but can I tell check'_http to "accept" this return code as "ok"? > > Jan, I have a similiar situation, checking sites that require authentication. I found that in some cases, I could find a url on the web server that I could get to w/out authentication, e.g. the login page ;-) I then included the url in my check definition, like so: check_command check_http!-u!/goauth.html Now i'm getting an OK instead of a WARNING. Though this doesn't actually check if authentication for this web site is working, it does indicate whether or not the web server is serving requests properly, which sounds like your concern at the moment. Hope this helps, -tt -- Tom Throckmorton Systems and Core Services Duke University - OIT ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ndhanks at geneva.com Thu Aug 12 18:03:39 2004 From: ndhanks at geneva.com (Ned Hanks) Date: Thu, 12 Aug 2004 10:03:39 -0600 Subject: Recurring downtime: necessary to restart nagio s to reread the downtime.log? Message-ID: <6E2F5D19CB27D4118E1900B0D02220D501BA044D@nt2.geneva.com> I ran into the same problem and figured out that I needed to send a downtime command to the command file, /usr/local/var/rw/nagios.cmd I got this script from somebody of this list Sorry, can't remember who but would like to thank that person. #!/bin/bash # $1 host scheduled for downtime # $2 time to start scheduled downtime # $3 length in minutes of downtime # $4 fixed flag - see Nagios documentation - defaults to 0 USER1=/usr/nagios now=$(date +%s) host=$1 from=$(date --date="$2" +%s) duration=$3 till=$(($from+$duration)) fixed=0 if [ ! -z "$4" ] then fixed=$4 fi echo "[$now] SCHEDULE_HOST_DOWNTIME;$host;$from;$till;$fixed;$duration;Nagios Cron;Scheduled Downtime" >> $USER1/var/rw/nagios.cmd -------------------------------------- Ned D Hanks IT Manager Geneva Steel, LLC 10 South Geneva Rd Vineyard, UT 84058 Office: 801-227-9182 Fax: 801-227-9400 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of lhill at groupit.com Sent: Wednesday, August 11, 2004 1:43 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Recurring downtime: necessary to restart nagios to reread the downtime.log? I have a cronjob append a new downtime to the downtime.log and comments.log each night. Although the log is getting updated correctly, Nagios does not recognize the downtime until I restart the service. OTOH, it does reread the comment.log, so those messages get added to the comments list each night. I understand the need for restart to reread cfg files, but am I missing something concerning getting Nagios to reread the downtime.log? Thanks, Lance Hill GroupIT ______________________________ Tel.: 416.703.2896 ext. 107 Fax: 416.703.2987 http://www.groupit.com IBM Premier Business and Lotus Partner e-firm certified -------------- next part -------------- An HTML attachment was scrubbed... URL: From agrajag at dragaera.net Thu Aug 12 19:12:19 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Thu, 12 Aug 2004 13:12:19 -0400 Subject: external auth In-Reply-To: <20040812073722.GC3945@usc.edu> References: <20040812073722.GC3945@usc.edu> Message-ID: <1092330739.4356.4.camel@pel> On Thu, 2004-08-12 at 03:37, Phil Dibowitz wrote: > Has anyone brought up the possibility of obtaining user/group info externally? This already works for users, but not groups. At Duke we have something called webauth. Its an apache module that logs you in using your campus account, then sets the appropriate variables in apache. I configured apache to use this for nagios, then configured nagios's cgi configs using people's campus account names, and it just worked. Unfortunately, this doesn't answer your group question. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phil at usc.edu Thu Aug 12 19:35:07 2004 From: phil at usc.edu (Phil Dibowitz) Date: Thu, 12 Aug 2004 10:35:07 -0700 Subject: external auth In-Reply-To: <1092330739.4356.4.camel@pel> References: <20040812073722.GC3945@usc.edu> <1092330739.4356.4.camel@pel> Message-ID: <20040812173507.GK3945@usc.edu> On Thu, Aug 12, 2004 at 01:12:19PM -0400, Sean Dilda wrote: > On Thu, 2004-08-12 at 03:37, Phil Dibowitz wrote: > > Has anyone brought up the possibility of obtaining user/group info externally? > > This already works for users, but not groups. At Duke we have something > called webauth. Its an apache module that logs you in using your campus > account, then sets the appropriate variables in apache. I configured > apache to use this for nagios, then configured nagios's cgi configs > using people's campus account names, and it just worked. Unfortunately, > this doesn't answer your group question. Yes, I currently use pubcookie to gaurd nagios and it accepts that user... but as with hostgroups, more often than not it's significantly more effecient to use groups... ;) -- Phil Dibowitz Systems Architect and Administrator Enterprise Infrastructure / ISD / USC UCC 174 - 213-821-5427 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From joao.paulo at orbitel.com.br Thu Aug 12 19:51:56 2004 From: joao.paulo at orbitel.com.br (Joao Paulo Vaz da Silva) Date: Thu, 12 Aug 2004 14:51:56 -0300 Subject: Check Service Problem not running!!! Message-ID: <411BAE3C.8070008@orbitel.com.br> Hi people! I am building a new Nagios server (my first) using Nagios 1.2. I have one problem, my Nagios not starting the check services: the services is: check_ssh check_ping It will be that they alguem can give some tip to me to solve this problem? -- Jo?o Paulo Vaz Da Silva ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spunz at gmx.at Thu Aug 12 19:47:49 2004 From: spunz at gmx.at (spunz at gmx.at) Date: Thu, 12 Aug 2004 19:47:49 +0200 Subject: Service status map In-Reply-To: <20040811195555.GH32547@zippy.toger.us> References: <4EA0B250D90BC34494D8259E2E977606E3FE@srv-sm-exch-01.logicon.ca> <20040811195555.GH32547@zippy.toger.us> Message-ID: <1092332869.1470.100.camel@wsg7> hi, take a look on nagvis http://luebben-home.de/forum/misc2.php?action=download&attachmentid=34 download: http://www.ederdrom.de/nagvis/nagvis-0.0.3.tar.gz mfg gerhard On Wed, 2004-08-11 at 21:55, Jason Martin wrote: > On Wed, Aug 11, 2004 at 03:03:05PM -0400, Gilles Auclair wrote: > > I see a servicemap.cgi on this site : > > http://nagios.seismo.unr.edu:8090/nagios/cgi-bin/servicemap.cgi?host=all > That gui is showing the hosts, not services. There isn't a gui > that shows all of the services in graphical format. > > -Jason Martin ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at axelero.hu Thu Aug 12 20:14:56 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: Thu, 12 Aug 2004 20:14:56 +0200 Subject: nagios init script error Message-ID: <411BB3A0.9010304@axelero.hu> Hi! I use Nagios 1.2 on Debian Woody 3.1. Sometimes I use When I use /etc/init.d/nagios script with start or restart option the script does what I told it, but I get the following error message: "Starting network monitor: nagios su: invalid option -- l Usage: su [OPTS] [-] [username [ARGS]] - make this a login shell -c, --command= pass command to the invoked shell using its -c option -m, -p, --preserve-environment do not reset environment variables, and keep the same shell -s, --shell= use shell instead of the default in /etc/passwd PID TTY TIME CMD 2659 ? 00:00:00 nagios" This message apper becase of that line in init script: su -l $Nagios -c "touch $NagiosVar/nagios.log $NagiosSav" As I see in su manpage there is no "l" option. As I guess this tell the user for the su command, but how can I solve this issue? Thanks in advance, Tamas! ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at se.nyklogistics.com Fri Aug 13 00:04:07 2004 From: jan.johansson at se.nyklogistics.com (Jan Johansson) Date: Fri, 13 Aug 2004 00:04:07 +0200 Subject: check_http and unauthorized. Message-ID: <9AA4F704BE060A45A06E1FA950C9DF930D62B1@sbs-1.nwl.se> >Now i'm getting an OK instead of a WARNING. Though this doesn't >actually check if authentication for this web site is working, it does >indicate whether or not the web server is serving requests properly, >which sounds like your concern at the moment. Yeap. It would have. But i changed tactic. I now monitor the service instead with NSClient :) ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at se.nyklogistics.com Fri Aug 13 00:09:12 2004 From: jan.johansson at se.nyklogistics.com (Jan Johansson) Date: Fri, 13 Aug 2004 00:09:12 +0200 Subject: check_nt + NSClient + Check disk not working for ONE volume Message-ID: <9AA4F704BE060A45A06E1FA950C9DF93E856@sbs-1.nwl.se> I can monitor any disk.. as long as it doesn't have the drive letter V :) I'm using the latest NSClient hooch:~# /usr/lib/nagios/plugins/check_nt -H ndc2-w2k-1 -v USEDDISKSPACE -l x -w 20 -c 10 x:\ - total: 186.29 Gb - used: 42.15 Gb (23%) - free 144.14 Gb (77%) hooch:~# /usr/lib/nagios/plugins/check_nt -H ndc2-w2k-1 -v USEDDISKSPACE -l v -w 20 -c 10 Free disk space : Invalid drive hooch:~# And yet: C:\Documents and Settings\Administrator.>dir v:\ Volume in drive V is Data Volume Serial Number is 6019-C7DE Directory of v:\ 2004-07-20 09:29 NVO 0 File(s) 0 bytes 15 Dir(s) 4?572?495?872 bytes free C:\Documents and Settings\Administrator> Same behavious on two systems. Version is hooch:~# /usr/lib/nagios/plugins/check_nt --help check_nt (nagios-plugins 1.3.0) 1.7 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at se.nyklogistics.com Fri Aug 13 00:31:56 2004 From: jan.johansson at se.nyklogistics.com (Jan Johansson) Date: Fri, 13 Aug 2004 00:31:56 +0200 Subject: NRPE_NT vs. NSClient Message-ID: <9AA4F704BE060A45A06E1FA950C9DF930D62B3@sbs-1.nwl.se> >The problem with the ports in use mostly appears when you're running >exchange server on your server. The exchange server simply graps ports >greater 1024 in default settings... "deafult setting"? Can this behavious be changed? Or is there any port that is always left alone so NSClient can use it? Thanks! ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at se.nyklogistics.com Fri Aug 13 01:06:47 2004 From: jan.johansson at se.nyklogistics.com (Jan Johansson) Date: Fri, 13 Aug 2004 01:06:47 +0200 Subject: NSClient and Echange Servewr Message-ID: <9AA4F704BE060A45A06E1FA950C9DF93E857@sbs-1.nwl.se> I found a post saying that Exchange servers "hog all ports"? I have tried a plethora of ports and nothing seem to work, I just get "connection refused". But it appears to be NSClient that listens to that port (since if I stop the service, whatever port I have put it on (e.g. 1248, 1996, 19916, 42145) no longer appears in "netstat -a". Server is a Windows Small Business Server 2000 running Exchange and SQL 2000. Any hints here? Eventlog is normal Event Type: Information Event Source: NSClient Event Category: None Event ID: 1 Date: 2004-08-13 Time: 01:02:07 User: N/A Computer: SBS-1 Description: NSClient 1.0.7.1 has started. Language code : 0x0409. DebugLevel: 0 Event Type: Information Event Source: NSClient Event Category: None Event ID: 1 Date: 2004-08-13 Time: 01:02:39 User: N/A Computer: SBS-1 Description: NSClient is now responding to queries. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnagel at willingminds.com Fri Aug 13 01:12:33 2004 From: mnagel at willingminds.com (Mark D. Nagel) Date: Thu, 12 Aug 2004 16:12:33 -0700 Subject: check_nt + NSClient + Check disk not working for ONE volume In-Reply-To: <9AA4F704BE060A45A06E1FA950C9DF93E856@sbs-1.nwl.se> References: <9AA4F704BE060A45A06E1FA950C9DF93E856@sbs-1.nwl.se> Message-ID: <411BF961.10102@willingminds.com> Jan Johansson wrote: >I can monitor any disk.. as long as it doesn't have the drive letter V :) > >I'm using the latest NSClient > > hooch:~# /usr/lib/nagios/plugins/check_nt -H ndc2-w2k-1 -v USEDDISKSPACE -l x -w 20 -c 10 >x:\ - total: 186.29 Gb - used: 42.15 Gb (23%) - free 144.14 Gb (77%) > >hooch:~# /usr/lib/nagios/plugins/check_nt -H ndc2-w2k-1 -v USEDDISKSPACE -l v -w 20 -c 10 >Free disk space : Invalid drive > > This one bit me a while back. Took so long to track it down, I was sure to document in our internal knowledge base. Try this: Sometimes, check_nt will return "Invalid Drive" when attempting to check disk space. If this happens, check the Security tab in the drive properties and make sure that SYSTEM is included in the list, at least for read access. Mark -- Mark D. Nagel, CCIE #3177 Principal Consultant, Willing Minds LLC tel: 714-630-4772, fax: 714-630-4773, web: http://www.willingminds.com/ ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at se.nyklogistics.com Fri Aug 13 01:39:20 2004 From: jan.johansson at se.nyklogistics.com (Jan Johansson) Date: Fri, 13 Aug 2004 01:39:20 +0200 Subject: check_nt + NSClient + Check disk not working for ONE volume Message-ID: <9AA4F704BE060A45A06E1FA950C9DF930D62B5@sbs-1.nwl.se> >Sometimes, check_nt will return "Invalid Drive" when attempting to check >disk space. If this happens, check the Security tab in the drive >properties and make sure that SYSTEM is included in the list, at least >for read access. Bullseye! Thanks! ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsham172 at hotmail.com Fri Aug 13 02:37:32 2004 From: jsham172 at hotmail.com (Jason Shamroski) Date: Thu, 12 Aug 2004 20:37:32 -0400 Subject: Largest Install of Nagios Message-ID: What are some of the largest installations of Nagios? How many ports/interfaces? How many distributed monitors? How many traps received? etc... Thanks, Jason ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Fri Aug 13 03:10:55 2004 From: g.vickers at qut.edu.au (Greg Vickers) Date: Fri, 13 Aug 2004 11:10:55 +1000 Subject: Largest Install of Nagios In-Reply-To: References: Message-ID: <5.2.0.9.2.20040813111010.027fcff8@imap.qut.edu.au> Jason, Check out here: http://www.nagios.org/userprofiles/quickstats.php Or here: http://www.nagios.org/userprofiles/ to browse and search user profiles HTH, Greg At 10:37 AM 13/08/2004, Jason Shamroski wrote: >What are some of the largest installations of Nagios? How many >ports/interfaces? How many distributed monitors? How many traps received? >etc... > >Thanks, > >Jason > > > > >------------------------------------------------------- >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. ::: Messages without supporting info will risk being >sent to /dev/null ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 3910 Fax: 07 3864 5539 Mob: 0416 001 674 SD: #66147 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gyoungblood at saicmail.jsc.nasa.gov Fri Aug 13 04:14:58 2004 From: gyoungblood at saicmail.jsc.nasa.gov (Youngblood, Gregory (SAIC)) Date: Thu, 12 Aug 2004 21:14:58 -0500 Subject: max_concurrent Message-ID: <0158368F4840D41191D600508B9B06ECE2443B@saicmail.jsc.nasa.gov> Maybe I missed it, but it would sure be nice to set max_concurrent on a per host basis. I have several tests that access a single service on a server. The service automatically stops accepting new connections after a set number of connections from each IP address. Some hosts are set at 2, others at 5, and others at 10. Since the max concurrent is set system wide, I needed to set the value to the lowest common denominator -- 2. Any advice? Thanks, Greg ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 13 06:55:02 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 13 Aug 2004 16:55:02 +1200 Subject: NSClient and Echange Servewr In-Reply-To: <9AA4F704BE060A45A06E1FA950C9DF93E857@sbs-1.nwl.se> References: <9AA4F704BE060A45A06E1FA950C9DF93E857@sbs-1.nwl.se> Message-ID: <01f301c480f1$b1b57770$b004d882@itss.auckland.ac.nz> >I found a post saying that Exchange servers "hog all ports"? > >I have tried a plethora of ports and nothing seem to work, I >just get "connection refused". But it appears to be NSClient >that listens to that port (since if I stop the service, >whatever port I have put it on (e.g. 1248, 1996, 19916, 42145) >no longer appears in "netstat -a". Server is a Windows Small >Business Server 2000 running Exchange and SQL 2000. We are using nsclient here to monitor our exchange server, and it works. But... Exchange, in its default configuration, will start grabbing ports from 1024 upwards. On any reasonably loaded machine, it will have grabbed the default pnsclient port in fairly quick order. You have three options! 1) Install pnsclient. Shut down exchange (freeing up the port), start up pnsclient, start up exchange. Next boot up, pnsclient will grab its preferred port before exchange has time to do so. 2) Make the necessary registry settings so that exchange starts grabbing ports from a higher number (eg, 20000). I can't tell you the registry key (our NT guy did this) but apparently its on the MS support site. 3) Use a non-standard port. Set your pnsclient agent to run on a very high numbered port (eg, 65432). Then use this same port number for querying it on your nagios server, of course. This works, but is a nuisance if you want to have things easy to maintain. (We did #2). Hope this helps, Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From Philipp.Sand at sycor.de Fri Aug 13 08:03:48 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Fri, 13 Aug 2004 08:03:48 +0200 Subject: NRPE_NT vs. NSClient Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E593F86@SYGOMAIL.GOE.AD.SYCOR.DE> Yes you can change this behavior. You can change the exchange settings and configure it to e.g grap ports >6666. Maybe you should take a look at M$ technet, I'm sure it's described there. > -----Original Message----- > From: Jan Johansson [mailto:jan.johansson at se.nyklogistics.com] > Sent: Friday, August 13, 2004 12:32 AM > To: Sand Philipp > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE_NT vs. NSClient > > >The problem with the ports in use mostly appears when you're running > >exchange server on your server. The exchange server simply > graps ports > >greater 1024 in default settings... > > "deafult setting"? Can this behavious be changed? Or is there > any port that is always left alone so NSClient can use it? > > Thanks! > > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Fri Aug 13 08:12:35 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Fri, 13 Aug 2004 08:12:35 +0200 Subject: NSClient and Echange Servewr Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E593F87@SYGOMAIL.GOE.AD.SYCOR.DE> > I found a post saying that Exchange servers "hog all ports"? > > I have tried a plethora of ports and nothing seem to work, I > just get "connection refused". But it appears to be NSClient > that listens to that port (since if I stop the service, > whatever port I have put it on (e.g. > 1248, 1996, 19916, 42145) no longer appears in "netstat -a". > Server is a Windows Small Business Server 2000 running > Exchange and SQL 2000. > > Any hints here? Exchange Server hogs ports only when it needs them. So when you have an exchange which isn't very busy, I may happen, that exchange never graps the NSClient Port. Though when you reboot the Server, the possibility that NSClient gets its default port is very high, because the exchange server hasn't openend so much client connections. When the exchange Server recongnizes, that a port is in use by another application, it won't simply grap it (even M$ isn't so hardcore stealing used ports *g*) To your problem with that ports...try that: logon to your Server the NSClient Service is running and do a telnet on the NSClient Port, and see if that works. Maybe you can say NSClient to use a password, then you'll get a message wrong password when NSClient is working correctly. When this works, connect to your Nagios Server and try to connect to the Server with NSClient via telnet on the NSClient Port. When you get a connection refused, you simply got a firewall between :-) > > Eventlog is normal > > Event Type: Information > Event Source: NSClient > Event Category: None > Event ID: 1 > Date: 2004-08-13 > Time: 01:02:07 > User: N/A > Computer: SBS-1 > Description: > NSClient 1.0.7.1 has started. Language code : 0x0409. DebugLevel: 0 Maybe you should upgrade your NSClient. Version 2.01 is the latest. ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Fri Aug 13 09:07:29 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Fri, 13 Aug 2004 09:07:29 +0200 Subject: Nagios to lazy to check? Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E593F89@SYGOMAIL.GOE.AD.SYCOR.DE> Hi guys! I'm using the Nagios 2.0a CVS release running on Fedora Core 2. The currently runs at an avarage load of 0,1 (2 Processor 1,4GHz, 2GB RAM, Ultra SCSI Harddrives) To get my performance Data into a MySQL 4 DB I'm using perfparse in daemon mode. Currently I run about 280hosts and about 1200service checks. My Problem is, that Nagios won't check the most of the Services. When I look at the Scheduling Queue, and try to find out when the next check will be, everything looks proper (all checks within about 1hour). But when I look at the times, the last check had been, the most checks are older than 1 day, even when they are regularly checked every 5Minutes! Some checks even haven't been performed because I added them 1-2days ago. The Next Scheduled Check is in about half an hour, but this time is always raising...as if nagios is to lazy and simply schedules the tasks more and more into the future just to don't do the check... I already did a nagios -s it said everything looks fine. The Service inter-check delay method is SMART Average service check interval is 9327.91sec !!! Thats about 150minutes, event though most of my checks are in about 5minutes regularly. I already checked if there is a second nagios accidently running... What can I do? here's the complete output of nagios -s HOST SCHEDULING INFORMATION --------------------------- Total hosts: 276 Total scheduled hosts: 0 Host inter-check delay method: SMART Average host check interval: 0.00 sec Host inter-check delay: 0.00 sec Max host check spread: 30 min First scheduled check: N/A Last scheduled check: N/A SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 1180 Total scheduled services: 1180 Service inter-check delay method: SMART Average service check interval: 9327.81 sec Inter-check delay: 1.53 sec Interleave factor method: SMART Average services per host: 4.28 Service interleave factor: 5 Max service check spread: 30 min First scheduled check: Fri Aug 13 09:02:11 2004 Last scheduled check: Fri Aug 13 09:32:09 2004 CHECK PROCESSING INFORMATION ---------------------------- Service check reaper interval: 10 sec Max concurrent service checks: Unlimited PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. Thanks in advance! Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Fri Aug 13 11:53:06 2004 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Fri, 13 Aug 2004 11:53:06 +0200 Subject: Perl problems in Nagios 2.0a1 Message-ID: <411C8F82.6070603@dhl.com> Hi folks, Am I being a complete dork, or is there a bug in Nagios 2.0a1 that makes it unable to use any of my Perl plugins? They work just fine in 1.0 (on another box) and from the CLI (when being su - 'd to Nagios user). I'm puzzled. I just get the "(No Output!)" thing... Thanks, Tom ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Aug 13 12:13:36 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 13 Aug 2004 12:13:36 +0200 Subject: Perl problems in Nagios 2.0a1 In-Reply-To: <411C8F82.6070603@dhl.com> References: <411C8F82.6070603@dhl.com> Message-ID: <411C9450.6090307@op5.se> Tom DE BLENDE (GCC) wrote: > Hi folks, > > Am I being a complete dork, or is there a bug in Nagios 2.0a1 that makes > it unable to use any of my Perl plugins? They work just fine in 1.0 (on > another box) and from the CLI (when being su - 'd to Nagios user). > > I'm puzzled. I just get the "(No Output!)" thing... > That's the trademark of the somewhat buggy "embedded perl interpreter" code failing. You should recompile Nagios without embedded perl support and watch it work its magic. > Thanks, > Tom > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Fri Aug 13 12:31:23 2004 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Fri, 13 Aug 2004 12:31:23 +0200 Subject: Perl problems in Nagios 2.0a1 In-Reply-To: <411C9450.6090307@op5.se> References: <411C8F82.6070603@dhl.com> <411C9450.6090307@op5.se> Message-ID: <411C987B.6060803@dhl.com> Andreas, Andreas Ericsson wrote: > Tom DE BLENDE (GCC) wrote: > >> Hi folks, >> >> Am I being a complete dork, or is there a bug in Nagios 2.0a1 that >> makes it unable to use any of my Perl plugins? They work just fine in >> 1.0 (on another box) and from the CLI (when being su - 'd to Nagios >> user). >> >> I'm puzzled. I just get the "(No Output!)" thing... >> > > That's the trademark of the somewhat buggy "embedded perl interpreter" > code failing. You should recompile Nagios without embedded perl > support and watch it work its magic. I didn't enable it, and by the looks of the configure options, it is disabled by default. How can I verify? ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Fri Aug 13 12:37:01 2004 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Fri, 13 Aug 2004 12:37:01 +0200 Subject: Perl problems in Nagios 2.0a1 In-Reply-To: <411C987B.6060803@dhl.com> References: <411C8F82.6070603@dhl.com> <411C9450.6090307@op5.se> <411C987B.6060803@dhl.com> Message-ID: <411C99CD.7040509@dhl.com> [root at gcclo77 nagios-cvs]# ./configure --disable-embedded-perl Hmz. I tried this, and regardless, I still see this in the configure output: Embedded Perl interpreter will be compiled in... Internally compiled Perl scripts will NOT be cached... Resulting in: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: yes, without caching Weird... Tom DE BLENDE (GCC) wrote: > Andreas, > > Andreas Ericsson wrote: > >> Tom DE BLENDE (GCC) wrote: >> >>> Hi folks, >>> >>> Am I being a complete dork, or is there a bug in Nagios 2.0a1 that >>> makes it unable to use any of my Perl plugins? They work just fine >>> in 1.0 (on another box) and from the CLI (when being su - 'd to >>> Nagios user). >>> >>> I'm puzzled. I just get the "(No Output!)" thing... >>> >> >> That's the trademark of the somewhat buggy "embedded perl >> interpreter" code failing. You should recompile Nagios without >> embedded perl support and watch it work its magic. > > > I didn't enable it, and by the looks of the configure options, it is > disabled by default. How can I verify? > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Tom De Blende Senior Infrastructure Analyst DHL European Coordination Center - IT Department Tel +32 2 713 42 62 Fax +32 2 713 52 00 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-users at uit.co.uk Fri Aug 13 13:30:26 2004 From: nagios-users at uit.co.uk (Nagios list) Date: Fri, 13 Aug 2004 12:30:26 +0100 Subject: Subject: Error in configuration file '/tmp/n' - Line 75 (NULL value) Message-ID: If I include a define timeperiod{ ... in the main config file, I get the error Error in configuration file '/tmp/n' - Line 75 (NULL value) (Line 75 is where the timeperiod definition is.) However, if I have the same definition, but in a separate timeperiods.cfg file, there's no problem. Nagios version is 1.2, on Linux Woody. (I don't know if the error occurs with other than 'timeperiod' -- it looks like not, but I haven't narrowed it down.) I'm writing a Nagios tutorial and want to have a single, tiny, example config file, but this prevents it, which makes things much more difficult for newbies. Is it a known problem? Is there a fix? Thanks, Niall ------------------------------------------------------------- http://www.uit.co.uk/practical-tcpip/index.htm "Practical TCP/IP: Designing, Using and Troubleshooting TCP/IP Networks on Linux and Windows" by Niall Mansfield, published by Addison-Wesley. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.j.anderson at acs-inc.com Fri Aug 13 15:01:46 2004 From: paul.j.anderson at acs-inc.com (Paul Anderson) Date: Fri, 13 Aug 2004 09:01:46 -0400 Subject: Availability report not removing Scheduled Downtime In-Reply-To: References: Message-ID: <000001c48135$b0af6130$b3986094@gmnmdomgpd05.spo.gmeds.com> I am still trying to figure this out. I have had to manually figure out my uptime for now. Anyone got any ideas? Thanks. > > Has anyone else seen the problem where Nagios (v1.1 or v1.2) > will report > time listed in Scheduled downtime as Unscheduled downtime? > > I have attached my downtime report for a server and can send a HTML > version for easier viewing if anyone is interested. I am trying to > report on server Availability and I thought placing a server in > Scheduled downtime would stop the server from reporting as down in the > reports. > > Any help would be great. > > Thanks > > > State Type / Reason Time % Total Time % Known Time > UP Unscheduled 30d 0h 17m 31s 99.244% 99.244% > UP Scheduled 0d 18h 5m 3s 2.431% 2.431% > UP Total 30d 18h 22m 34s 99.244% 99.244% > DOWN Unscheduled 0d 5h 37m 26s 0.756% 0.756% > DOWN Scheduled 0d 0h 0m 0s 0.000% 0.000% > DOWN Total 0d 5h 37m 26s 0.756% 0.756% > UNREACHABLE Unscheduled 0d 0h 0m 0s 0.000% 0.000% > UNREACHABLE Scheduled 0d 0h 0m 0s 0.000% 0.000% > UNREACHABLE Total 0d 0h 0m 0s 0.000% 0.000% > Undetermined Nagios Not Running 0d 0h 0m 0s 0.000% > Undetermined Insufficient Data 0d 0h 0m 0s 0.000% > Undetermined Total 0d 0h 0m 0s 0.000% > > All Total 31d 0h 0m 0s 100.000% 100.000% > > Host Log Entries: > [ View full log entries ] > Event Start Time Event End Time Event Duration Event/State Type > Event/State Information > 07-01-2004 00:00:00 07-02-2004 20:07:54 1d 20h 7m 54s HOST UP > First Host > State Assumed (Faked Log Entry) > 07-02-2004 20:07:54 07-02-2004 20:34:54 0d 0h 27m 0s HOST > DOWN CRITICAL > - Plugin timed out after 10 seconds > 07-02-2004 20:34:54 07-08-2004 11:07:41 5d 14h 32m 47s HOST > UP PING OK - > Packet loss = 0%, RTA = 0.30 ms > 07-09-2004 20:09:20 07-09-2004 20:37:39 0d 0h 28m 19s HOST > DOWN CRITICAL > - Plugin timed out after 10 seconds > 07-09-2004 20:37:39 07-12-2004 14:37:37 2d 17h 59m 58s HOST > UP PING OK - > Packet loss = 0%, RTA = 0.30 ms > 07-16-2004 20:00:00 07-16-2004 21:00:00 0d 1h 0m 0s HOST > DOWNTIME START > Start of scheduled downtime > 07-16-2004 21:00:00 07-17-2004 08:00:00 0d 11h 0m 0s HOST DOWNTIME END > End of scheduled downtime > 07-17-2004 08:00:00 07-17-2004 10:08:07 0d 2h 8m 7s HOST > DOWNTIME START > Start of scheduled downtime > 07-17-2004 10:08:07 07-17-2004 10:31:27 0d 0h 23m 20s HOST > DOWN CRITICAL > - Plugin timed out after 10 seconds > 07-17-2004 10:31:27 07-17-2004 14:35:33 0d 4h 4m 6s HOST UP PING OK - > Packet loss = 0%, RTA = 0.30 ms > 07-17-2004 14:35:33 07-17-2004 14:46:27 0d 0h 10m 54s HOST > DOWN CRITICAL > - Plugin timed out after 10 seconds > 07-17-2004 14:46:27 07-17-2004 16:20:59 0d 1h 34m 32s HOST UP > PING OK - > Packet loss = 0%, RTA = 0.30 ms > 07-17-2004 16:20:59 07-17-2004 16:59:07 0d 0h 38m 8s HOST > DOWN CRITICAL > - Plugin timed out after 10 seconds > 07-17-2004 16:59:07 07-17-2004 17:33:28 0d 0h 34m 21s HOST UP > PING OK - > Packet loss = 0%, RTA = 0.30 ms > 07-17-2004 17:33:28 07-17-2004 18:01:47 0d 0h 28m 19s HOST > DOWN CRITICAL > - Plugin timed out after 10 seconds > 07-17-2004 18:01:47 07-18-2004 00:00:00 0d 5h 58m 13s HOST UP > PING OK - > Packet loss = 0%, RTA = 0.30 ms > 07-18-2004 00:00:00 07-23-2004 20:00:00 5d 20h 0m 0s HOST DOWNTIME END > End of scheduled downtime > 07-23-2004 20:00:00 07-23-2004 20:08:18 0d 0h 8m 18s HOST > DOWNTIME START > Start of scheduled downtime > 07-23-2004 20:08:18 07-23-2004 21:00:00 0d 0h 51m 42s HOST > DOWN CRITICAL > - Plugin timed out after 10 seconds > 07-23-2004 21:00:00 07-23-2004 22:43:27 0d 1h 43m 27s HOST > DOWNTIME END > End of scheduled downtime > 07-23-2004 22:43:27 07-30-2004 20:00:00 6d 21h 16m 33s HOST > UP PING OK - > Packet loss = 0%, RTA = 0.50 ms > 07-30-2004 20:00:00 07-30-2004 20:28:40 0d 0h 28m 40s HOST DOWNTIME > START Start of scheduled downtime > 07-30-2004 20:28:40 07-30-2004 20:54:57 0d 0h 26m 17s HOST > DOWN CRITICAL > - Plugin timed out after 10 seconds > 07-30-2004 20:54:57 07-30-2004 21:00:00 0d 0h 5m 3s HOST UP PING OK - > Packet loss = 0%, RTA = 0.30 ms > 07-30-2004 21:00:00 08-01-2004 00:00:00 1d 3h 0m 0s+ HOST DOWNTIME END > End of scheduled downtime ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at se.nyklogistics.com Fri Aug 13 15:19:36 2004 From: jan.johansson at se.nyklogistics.com (Jan Johansson) Date: Fri, 13 Aug 2004 15:19:36 +0200 Subject: Dummy hosts? Message-ID: <9AA4F704BE060A45A06E1FA950C9DF932CBC00@sbs-1.nwl.se> I would like some dumy-hosts in my status map, is this possible? I would like to show that "this device is on the other side of these two fibre-converters", but since they do not have a host name or address, I wonder how I would define them? I've looked in the FM, FAQ and archives.. but can't seem to find anything useful? ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Aug 13 16:03:08 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 13 Aug 2004 16:03:08 +0200 Subject: Dummy hosts? In-Reply-To: <9AA4F704BE060A45A06E1FA950C9DF932CBC00@sbs-1.nwl.se> References: <9AA4F704BE060A45A06E1FA950C9DF932CBC00@sbs-1.nwl.se> Message-ID: <411CCA1C.2090808@op5.se> Jan Johansson wrote: > I would like some dumy-hosts in my status map, is this possible? > > I would like to show that "this device is on the other side of these two > fibre-converters", but since they do not have a host name or address, I > wonder how I would define them? > > I've looked in the FM, FAQ and archives.. but can't seem to find > anything useful? > Add hosts with the same IP-address as its parent would have, and name them dummy1 and dummy2 (for example). That way parents-dependencies are taken into account in the checking logic. Real network; Nagios --> switch1 --> Fiberconv --> Fiberconv --> switch2 10.1.1.12 10.1.1.17 Configure so nagios sees; Nagios --> switch1 --> fiberconv1 --> fiberconv2 --> switch2 10.1.1.12 10.1.1.12 10.1.1.12 10.1.1.17 You must also add a PING service to each, so the two fiberconverters really fail when they are unreachable. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 13 16:22:18 2004 From: marc at ena.com (Marc Powell) Date: Fri, 13 Aug 2004 09:22:18 -0500 Subject: Subject: Error in configuration file '/tmp/n' - Line 75 (NULL value) Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A7BE@mismail2.ena.com> ----Original Message---- From: Nagios list [mailto:nagios-users at uit.co.uk] Sent: Friday, August 13, 2004 6:30 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Subject: Error in configuration file '/tmp/n' - Line 75 (NULL value) > If I include a > define timeperiod{ > ... > in the main config file, I get the error > Error in configuration file '/tmp/n' - Line 75 (NULL value) (Line 75 > is where the timeperiod definition is.) > > However, if I have the same definition, but in a separate > timeperiods.cfg file, there's no problem. > > Nagios version is 1.2, on Linux Woody. > > (I don't know if the error occurs with other than 'timeperiod' -- it > looks like not, but I haven't narrowed it down.) > > I'm writing a Nagios tutorial and want to have a single, tiny, > example config file, but this prevents it, which makes things much > more difficult for newbies. > > Is it a known problem? Is there a fix? If you're trying to include the timeperiod definition in nagios.cfg you can't do that. Only config files defined with the cfg_file directive in nagios.cfg will work. -- Marc ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gyoungblood at saicmail.jsc.nasa.gov Fri Aug 13 17:50:16 2004 From: gyoungblood at saicmail.jsc.nasa.gov (Youngblood, Gregory (SAIC)) Date: Fri, 13 Aug 2004 10:50:16 -0500 Subject: Nagios and SQL -- bad combination? Message-ID: <0158368F4840D41191D600508B9B06ECE2443D@saicmail.jsc.nasa.gov> Can someone clarify how Nagios uses the SQL database? Unless I'm missing something, it appears data is updated in the database by deleting all rows and inserting them again, for each test. That can't be right, can it? Either something is wrong with my config (if so, I'd welcome any corrections), or Nagios and SQL (Postgres) has a few issues. Nagios appears to run fine for a while, and then bogs down. Looking at the log files, it appears that nagios is trying to delete all the records in hoststatus and servicestatus over and over and over again. Since I'm only logging transactions that take longer than about 1 second, I don't know if it is deleting all the records and immediately reinserting them, or if it is deleting the records without sending a commit. Either way, the data is still in the tables when I query it via psql. Here's an example from the logs: 2004-08-13 10:49:13 [1277] LOG: duration: 7987.568 ms statement: DELETE FROM servicestatus; 2004-08-13 10:49:20 [1277] LOG: duration: 3184.407 ms statement: DELETE FROM hoststatus; 2004-08-13 10:49:27 [1277] LOG: duration: 6341.825 ms statement: DELETE FROM servicestatus; 2004-08-13 10:49:35 [1277] LOG: duration: 3052.289 ms statement: DELETE FROM hoststatus; 2004-08-13 10:49:41 [1277] LOG: duration: 6235.310 ms statement: DELETE FROM servicestatus; 2004-08-13 10:49:50 [1277] LOG: duration: 3060.550 ms statement: DELETE FROM hoststatus; It just repeats this, over and over and over, occasionally with a long select statement as well. Given the short delay between statements, and the length of each transaction, there is enough time for inserts to repopulate the tables. There are only 26 hosts monitored and 158 services. In case these problems are of my own creation, here is my resources.cfg file, if anyone has some suggestions: $USER1$=/opt/nagios/libexec xsddb_host=127.0.0.1 xsddb_port=5432 xsddb_database=nagios xsddb_username=xxxxxxxx xsddb_password=xxxxxxxxxxx xsddb_optimize_data=1 xsddb_optimize_interval=3600 xcddb_host=127.0.0.1 xcddb_port=5432 xcddb_database=nagios xcddb_username=xxxxxxxx xcddb_password=xxxxxxxxxxx xcddb_optimize_data=1 xdddb_host=127.0.0.1 xdddb_port=5432 xdddb_database=nagios xdddb_username=xxxxxxxx xdddb_password=xxxxxxxxxxx xdddb_optimize_data=1 xrddb_host=127.0.0.1 xrddb_port=5432 xrddb_database=nagios xrddb_username=xxxxxxxx xrddb_password=xxxxxxxxxxx xrddb_optimize_data=1 Any thoughts or suggestions? Thanks, Greg ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dhawal at netmagicsolutions.com Fri Aug 13 18:28:24 2004 From: dhawal at netmagicsolutions.com (Dhawal Doshy) Date: Fri, 13 Aug 2004 21:58:24 +0530 Subject: Nagios and SQL -- bad combination? In-Reply-To: <0158368F4840D41191D600508B9B06ECE2443D@saicmail.jsc.nasa.gov> References: <0158368F4840D41191D600508B9B06ECE2443D@saicmail.jsc.nasa.gov> Message-ID: <411CEC28.8030406@netmagicsolutions.com> Youngblood, Gregory (SAIC) wrote: >Can someone clarify how Nagios uses the SQL database? Unless I'm missing >something, it appears data is updated in the database by deleting all rows >and inserting them again, for each test. That can't be right, can it? > > That is actually right.. nagios stores only the last service / host check results in the database. >Either something is wrong with my config (if so, I'd welcome any >corrections), or Nagios and SQL (Postgres) has a few issues. > > Marc Powell had earlier suggested using pgsql triggers that'll copy the data to a history table on every insert / update. I could share the trigger with you with marc's permission (or marc could do it himself). >Nagios appears to run fine for a while, and then bogs down. Looking at the >log files, it appears that nagios is trying to delete all the records in >hoststatus and servicestatus over and over and over again. Since I'm only >logging transactions that take longer than about 1 second, I don't know if >it is deleting all the records and immediately reinserting them, or if it is >deleting the records without sending a commit. Either way, the data is still >in the tables when I query it via psql. > >Here's an example from the logs: >2004-08-13 10:49:13 [1277] LOG: duration: 7987.568 ms statement: DELETE >FROM servicestatus; >2004-08-13 10:49:20 [1277] LOG: duration: 3184.407 ms statement: DELETE >FROM hoststatus; >2004-08-13 10:49:27 [1277] LOG: duration: 6341.825 ms statement: DELETE >FROM servicestatus; >2004-08-13 10:49:35 [1277] LOG: duration: 3052.289 ms statement: DELETE >FROM hoststatus; >2004-08-13 10:49:41 [1277] LOG: duration: 6235.310 ms statement: DELETE >FROM servicestatus; >2004-08-13 10:49:50 [1277] LOG: duration: 3060.550 ms statement: DELETE >FROM hoststatus; > >It just repeats this, over and over and over, occasionally with a long >select statement as well. Given the short delay between statements, and the >length of each transaction, there is enough time for inserts to repopulate >the tables. There are only 26 hosts monitored and 158 services. > >In case these problems are of my own creation, here is my resources.cfg >file, if anyone has some suggestions: > >$USER1$=/opt/nagios/libexec > >xsddb_host=127.0.0.1 >xsddb_port=5432 >xsddb_database=nagios >xsddb_username=xxxxxxxx >xsddb_password=xxxxxxxxxxx >xsddb_optimize_data=1 >xsddb_optimize_interval=3600 > >xcddb_host=127.0.0.1 >xcddb_port=5432 >xcddb_database=nagios >xcddb_username=xxxxxxxx >xcddb_password=xxxxxxxxxxx >xcddb_optimize_data=1 > >xdddb_host=127.0.0.1 >xdddb_port=5432 >xdddb_database=nagios >xdddb_username=xxxxxxxx >xdddb_password=xxxxxxxxxxx >xdddb_optimize_data=1 > >xrddb_host=127.0.0.1 >xrddb_port=5432 >xrddb_database=nagios >xrddb_username=xxxxxxxx >xrddb_password=xxxxxxxxxxx >xrddb_optimize_data=1 > >Any thoughts or suggestions? > > > no idea here :-( >Thanks, >Greg > > regards, - dhawal > >------------------------------------------------------- >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dan.hopkins at uk.easynet.net Fri Aug 13 18:15:11 2004 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Fri, 13 Aug 2004 17:15:11 +0100 Subject: Nagios and SQL -- bad combination? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > Youngblood, Gregory (SAIC) > Sent: 13 August 2004 16:50 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios and SQL -- bad combination? > > > Can someone clarify how Nagios uses the SQL database? Unless > I'm missing > something, it appears data is updated in the database by > deleting all rows > and inserting them again, for each test. That can't be right, can it? > > Either something is wrong with my config (if so, I'd welcome any > corrections), or Nagios and SQL (Postgres) has a few issues. > > Nagios appears to run fine for a while, and then bogs down. We had the same problem with PgSQL. I believe it's more to do with the way postgres handles updates/deletes than with nagios. Deletions aren't removed from tables until you perform a full vacuum, so until then the table will continue to grow each time a change is made, eventually leaving you with massive chains in the table structure. Since a full vacuum needs an exclusive lock, this means nagios downtime - which isn't particularily useful for a monitoring system... We spent a few days wrestling with this (even vacuums every minute or two weren't enough to solve the problem) and after 24 hours or so, everything would grind to a halt. So eventually we switched to MySQL which runs perfectly (mind you, we are logging ALL service alerts to db, so it remains to be seen how well MySQL will cope with millions of rows ... not as well as Pg I assume) FYI our experience was based on Pg 7.3 (things may have changed with recent releases?) We were running the DB on a 3Gig xeon with hyperthreading, 2Gig RAM and some fast disks. Monitoring around 2500 services across 2000 hosts. Please let us know if you do have any success with it Kind Regards, -- Dan Hopkins ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gyoungblood at saicmail.jsc.nasa.gov Fri Aug 13 18:28:40 2004 From: gyoungblood at saicmail.jsc.nasa.gov (Youngblood, Gregory (SAIC)) Date: Fri, 13 Aug 2004 11:28:40 -0500 Subject: Nagios and SQL -- bad combination? Message-ID: <0158368F4840D41191D600508B9B06ECE2443F@saicmail.jsc.nasa.gov> Thanks for the quick reply. Just for clarification, Nagios does work by deleting and inserting, instead of doing updates? If so, that confirms what I was suspecting. I'm using Pg 7.4.3, but I believe the behavior is the same as you describe. It is normally not an issue, since normal use of a database would be to update existing records instead of deleting them and inserting them again. Sounds like poor design at the database layer. Or, is this just the way Nagios works for text files too, so it is just moving the same operations to the database. MySQL should handle millions of rows fairly well, assuming the tables are indexed sanely and that your not using more than one process that touches the tables. The only serious problems I had with MySQL and lots of data were when more than one process or user needed to update/select/insert/delete data from the same table (this includes using the table in a join). If your not using the ISAM table type, then that should be even less of an issue now. When I was doing it, ISAM was the only thing I'd trust for production, Inno was still too new. For me anyway -- sometimes I don't like living on the bleeding edge. :) I think I'm going to go to text files and take it out of the database all together. At least for now. MySQL is not an option for various reasons, and I do not wish to have two databases running. I'm kind of disappointed by this though. It's not the first time I've seen something similar when an application is extended to use a database as an alternative to text or DBM files. Thanks again for the quick response. I probably won't waste any more time trying to get this to work cleanly with pgsql. Greg > -----Original Message----- > From: Dan Hopkins [mailto:dan.hopkins at uk.easynet.net] > Sent: Friday, August 13, 2004 11:15 AM > To: Youngblood, Gregory (SAIC); nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios and SQL -- bad combination? > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > > Youngblood, Gregory (SAIC) > > Sent: 13 August 2004 16:50 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagios and SQL -- bad combination? > > > > > > Can someone clarify how Nagios uses the SQL database? Unless > > I'm missing > > something, it appears data is updated in the database by > > deleting all rows > > and inserting them again, for each test. That can't be > right, can it? > > > > Either something is wrong with my config (if so, I'd welcome any > > corrections), or Nagios and SQL (Postgres) has a few issues. > > > > Nagios appears to run fine for a while, and then bogs down. > > > > We had the same problem with PgSQL. I believe it's more to do > with the way postgres handles updates/deletes than with > nagios. Deletions aren't removed from tables until you > perform a full vacuum, so until then the table will continue > to grow each time a change is made, eventually leaving you > with massive chains in the table structure. Since a full > vacuum needs an exclusive lock, this means nagios downtime - > which isn't particularily useful for a monitoring system... > > We spent a few days wrestling with this (even vacuums every > minute or two weren't enough to solve the problem) and after > 24 hours or so, everything would grind to a halt. So > eventually we switched to MySQL which runs perfectly (mind > you, we are logging ALL service alerts to db, so it remains > to be seen how well MySQL will cope with millions of rows ... > not as well as Pg I assume) > > FYI our experience was based on Pg 7.3 (things may have > changed with recent releases?) We were running the DB on a > 3Gig xeon with hyperthreading, 2Gig RAM and some fast disks. > Monitoring around 2500 services across 2000 hosts. > > Please let us know if you do have any success with it > > Kind Regards, > -- > Dan Hopkins > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 13 19:32:05 2004 From: marc at ena.com (Marc Powell) Date: Fri, 13 Aug 2004 12:32:05 -0500 Subject: Nagios and SQL -- bad combination? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A7C3@mismail2.ena.com> ----Original Message---- From: Dhawal Doshy [mailto:dhawal at netmagicsolutions.com] Sent: Friday, August 13, 2004 11:28 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios and SQL -- bad combination? > Youngblood, Gregory (SAIC) wrote: > > > Can someone clarify how Nagios uses the SQL database? Unless I'm > > missing something, it appears data is updated in the database by > > deleting all rows and inserting them again, for each test. That > > can't be right, can it? > > > > > That is actually right.. nagios stores only the last service / host > check results in the database. > > > Either something is wrong with my config (if so, I'd welcome any > > corrections), or Nagios and SQL (Postgres) has a few issues. > > > > > Marc Powell had earlier suggested using pgsql triggers that'll copy > the data to a history table on every insert / update. I could share > the trigger with you with marc's permission (or marc could do it > himself). Go right ahead if you have it handy. It'd take me some time to compile the information again and I'm trying to finish another project that's got me tied up right now. -- Marc ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederico at ati.com.br Sat Aug 14 05:12:28 2004 From: frederico at ati.com.br (Frederico Faria) Date: Sat, 14 Aug 2004 00:12:28 -0300 Subject: Failover with Nagios Message-ID: <411D831C.1030904@ati.com.br> Hi, I want to define an event handler to notify some applications of failure in a service. These applications use this service and everything is monitored by Nagios. When the service failed, these applications will be notified and they migrate to use other service ( a backup service ). Then I thought to define an event handler ( in the service configuration ) to notify the applications in case of failure. It is like a hot-swap schema. My questions are : 1-) Is it a good solution to model a failover schema in the applications monitored by Nagios ? Is there other options ? 2-) In this schema Which is the best way for the event handler know the affected applications: a-) define an user macro with the address of applications b-) hard-code the application addresses as parameters of event handler ? c-) other solution ? 3-) How could I compare this solution with the use of HeartBeat to implement this. . Thank you, Frederico Faria -- Frederico Charles S. Faria ATI / ATITEL Ltda www.ati.com.br (31) - 2105-3100 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lhill at groupit.com Fri Aug 13 20:56:33 2004 From: lhill at groupit.com (lhill at groupit.com) Date: Fri, 13 Aug 2004 14:56:33 -0400 Subject: Recurring downtime: necessary to restart nagios to reread the downtime.log? Message-ID: Thanks Ned, Pointing my script output at nagios.cmd seems to have had an effect. I see it listed in the event log as an external command. Now I will just have to wait and see if it shows up on the scheduled downtime page, as I do not see it listed there yet. And whoever wrote the script you use is a much kinder individual than me. I revel in the evil of overly-complex (one might even say unnecessarily complex) shell scripts that no one can understand or debug. Your script is much too easily comprehended. :-) Lance Hill GroupIT ______________________________ Tel.: 416.703.2896 ext. 107 Fax: 416.703.2987 http://www.groupit.com IBM Premier Business and Lotus Partner e-firm certified -------------- next part -------------- An HTML attachment was scrubbed... URL: From jan.johansson at se.nyklogistics.com Fri Aug 13 21:04:12 2004 From: jan.johansson at se.nyklogistics.com (Jan Johansson) Date: Fri, 13 Aug 2004 21:04:12 +0200 Subject: Parent of nagios? Message-ID: <9AA4F704BE060A45A06E1FA950C9DF930D62B7@sbs-1.nwl.se> (yes, I have checked the docs, but I cant figure this out). How can I tell the status map that "the nagios process" is running on the host "hooch"? Right now the map looks weird. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Aug 13 21:07:14 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 13 Aug 2004 21:07:14 +0200 Subject: Failover with Nagios In-Reply-To: <411D831C.1030904@ati.com.br> References: <411D831C.1030904@ati.com.br> Message-ID: <411D1162.7020301@op5.se> Frederico Faria wrote: > Hi, > > I want to define an event handler to notify some applications of > failure in a service. These applications use this service and everything > is monitored by Nagios. > When the service failed, these applications will be notified and they > migrate to use other service ( a backup service ). > > Then I thought to define an event handler ( in the service > configuration ) to notify the applications in case of failure. It is > like a hot-swap schema. > > > My questions are : > > 1-) Is it a good solution to model a failover schema in the > applications monitored by Nagios ? Is there other options ? > No, it most definitely is not. Unless you have a very strange setup, it will take some time for eventhandlers to execute, leaving you without a possibly business-critical (now or someday later) system. The proper way to do it would be to use some program designed to handle failovers. I'm not very familiar with them myself, but that's how it is. > 2-) In this schema Which is the best way for the event handler know > the affected applications: > a-) define an user macro with the address of applications > b-) hard-code the application addresses as parameters of > event handler ? > c-) other solution ? > d-) Hire a consultant to do it for you. It's your network. If you don't know what's best for it, you can't very well expect us to answer questions like that properly, can you? > > 3-) How could I compare this solution with the use of HeartBeat to > implement this. > . Go with HeartBeat. Nagios was never designed to do failover handling of other applications, and you'll most likely find it a very poor solution. > > Thank you, > > Frederico Faria > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Aug 13 21:14:17 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 13 Aug 2004 21:14:17 +0200 Subject: Parent of nagios? In-Reply-To: <9AA4F704BE060A45A06E1FA950C9DF930D62B7@sbs-1.nwl.se> References: <9AA4F704BE060A45A06E1FA950C9DF930D62B7@sbs-1.nwl.se> Message-ID: <411D1309.4080704@op5.se> Jan Johansson wrote: > (yes, I have checked the docs, but I cant figure this out). > > How can I tell the status map that "the nagios process" is running on > the host "hooch"? Right now the map looks weird. > You can't with the default statusmap. What you see there is what Nagios thinks it's looking at. What you need to do is to specify things the way Nagios sees them (i.e. the switch Nagios is connected to is a 'root'-switch without parents, and everything spans from there). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at se.nyklogistics.com Fri Aug 13 22:00:36 2004 From: jan.johansson at se.nyklogistics.com (Jan Johansson) Date: Fri, 13 Aug 2004 22:00:36 +0200 Subject: Parent of nagios? Message-ID: <9AA4F704BE060A45A06E1FA950C9DF930D62B9@sbs-1.nwl.se> >You can't with the default statusmap. What you see there is what Nagios >thinks it's looking at. What you need to do is to specify things the way >Nagios sees them (i.e. the switch Nagios is connected to is a >'root'-switch without parents, and everything spans from there). In a word; Bummer. But, ok, ill just "document around it" ;) ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lhill at groupit.com Fri Aug 13 22:19:40 2004 From: lhill at groupit.com (lhill at groupit.com) Date: Fri, 13 Aug 2004 16:19:40 -0400 Subject: First Host State Assumed (Faked Log Entry) Message-ID: Someone started blocking icmp to a host we were monitoring. Once we noticed this, we switched over to check_tcp on a listening port. Now, when I look at the availability for this host, if I include any time since the icmp first starting getting blocked, I see only "indeterminate" indications. The log files show: First Host State Assumed (Faked Log Entry) Is there a way to force Nagios to recognize the server is up? Also, how do I get it sufficient data? As it is, the "undetermined" section of the availability log shows "Insufficient Data" for a period of over 9 days. This is longer than it took to get over the blocked icmp issue, so why is it complaining? Can it not gather sufficient data if we use check_tcp, rather than check_host? Lance Hill GroupIT ______________________________ Tel.: 416.703.2896 ext. 107 Fax: 416.703.2987 http://www.groupit.com IBM Premier Business and Lotus Partner e-firm certified -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at nagios.org Fri Aug 13 22:44:26 2004 From: nagios at nagios.org (Ethan Galstad) Date: Fri, 13 Aug 2004 15:44:26 -0500 Subject: Nagios to lazy to check? In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E593F89@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E593F89@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <411CE1DA.3750.176F4ED@localhost> Looks like something is amiss in your config files. The 2.5 hour average check interval is coming directly from your config files, so you might have something out of whack. Check your config files to make sure the check interval is set appropriately. Also, make sure you didn't alter the default interval length (in the main config file). On 13 Aug 2004 at 9:07, Sand Philipp wrote: > Hi guys! > > I'm using the Nagios 2.0a CVS release running on Fedora Core 2. The > currently runs at an avarage load of 0,1 (2 Processor 1,4GHz, 2GB RAM, > Ultra SCSI Harddrives) To get my performance Data into a MySQL 4 DB > I'm using perfparse in daemon mode. Currently I run about 280hosts and > about 1200service checks. > > My Problem is, that Nagios won't check the most of the Services. When > I look at the Scheduling Queue, and try to find out when the next > check will be, everything looks proper (all checks within about > 1hour). But when I look at the times, the last check had been, the > most checks are older than 1 day, even when they are regularly checked > every 5Minutes! Some checks even haven't been performed because I > added them 1-2days ago. The Next Scheduled Check is in about half an > hour, but this time is always raising...as if nagios is to lazy and > simply schedules the tasks more and more into the future just to don't > do the check... I already did a nagios -s it said everything looks > fine. The Service inter-check delay method is SMART Average service > check interval is 9327.91sec !!! Thats about 150minutes, event though > most of my checks are in about 5minutes regularly. I already checked > if there is a second nagios accidently running... What can I do? > > here's the complete output of nagios -s > > > HOST SCHEDULING INFORMATION > --------------------------- > Total hosts: 276 > Total scheduled hosts: 0 > Host inter-check delay method: SMART > Average host check interval: 0.00 sec > Host inter-check delay: 0.00 sec > Max host check spread: 30 min > First scheduled check: N/A > Last scheduled check: N/A > > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 1180 > Total scheduled services: 1180 > Service inter-check delay method: SMART > Average service check interval: 9327.81 sec > Inter-check delay: 1.53 sec > Interleave factor method: SMART > Average services per host: 4.28 > Service interleave factor: 5 > Max service check spread: 30 min > First scheduled check: Fri Aug 13 09:02:11 2004 > Last scheduled check: Fri Aug 13 09:32:09 2004 > > > CHECK PROCESSING INFORMATION > ---------------------------- > Service check reaper interval: 10 sec > Max concurrent service checks: Unlimited > > > PERFORMANCE SUGGESTIONS > ----------------------- > I have no suggestions - things look okay. > > > Thanks in advance! > Philipp > > _____________________________ > > Philipp Sand > OC-CC-TEC-SYS > > SYCOR GmbH > Heinrich-von-Stephan-Stra?e 1-5 > D - 37073 G?ttingen > > Telefon +49 (0) 551 / 490 - 0 > Telefax +49 (0) 551 / 490 - 232468 > > philipp.sand at sycor.de > www.sycor.de > ------------------------------------------------ > > > > ************************************************ > > sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie > > www.sycor-plastics.de > > ************************************************ > > > > > Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche > Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e > Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort > und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine > Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt > rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, > sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den > Parteien vereinbart wurde. > > This e-mail is confidential and may contain personal and/or privileged > information. If you are not the intended recipient please delete this > e-mail and all attachments immediately and inform us. The company > sycor does not agree with contracts or contract obligations sent by > e-mail, neither do we transmit legally binding offers by e-mail, > unless this is not expressly agreed upon between the parties and > documented in written form. > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save > 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 13 22:56:09 2004 From: marc at ena.com (Marc Powell) Date: Fri, 13 Aug 2004 15:56:09 -0500 Subject: First Host State Assumed (Faked Log Entry) Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A7C5@mismail2.ena.com> This is not a problem unless a service on the host has failed during your reporting period. The fact that you're using check_tcp instead of check_ping for your host check is probably irrelevant in this case. Nagios never checks the status of a host until a service on that host fails. Nagios also will not lie to you about the status of a host. If it hasn't checked it, it's undetermined (but assumed to be OK). You might want to enable the option to log initial states in nagios.cfg. You'll probably also need to Assume a initial state of OK when generating your report. http://www.nagios.org/faqs/viewfaq.php?faq_id=86&expand=false&showdesc=t rue http://www.nagios.org/faqs/viewfaq.php?faq_id=136&expand=false&showdesc= false http://www.nagios.org/faqs/viewfaq.php?faq_id=135&expand=false&showdesc= false -- Marc ________________________________ From: lhill at groupit.com [mailto:lhill at groupit.com] Sent: Friday, August 13, 2004 3:20 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] First Host State Assumed (Faked Log Entry) Someone started blocking icmp to a host we were monitoring. Once we noticed this, we switched over to check_tcp on a listening port. Now, when I look at the availability for this host, if I include any time since the icmp first starting getting blocked, I see only "indeterminate" indications. The log files show: First Host State Assumed (Faked Log Entry) Is there a way to force Nagios to recognize the server is up? Also, how do I get it sufficient data? As it is, the "undetermined" section of the availability log shows "Insufficient Data" for a period of over 9 days. This is longer than it took to get over the blocked icmp issue, so why is it complaining? Can it not gather sufficient data if we use check_tcp, rather than check_host? ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff at skislave.com Fri Aug 13 23:40:46 2004 From: jeff at skislave.com (Jeff Scott) Date: Fri, 13 Aug 2004 15:40:46 -0600 Subject: Access Control By Host_Group? Message-ID: Is there a way to control viewing access by host_group? Ie, user_a can see only host_group a in the User Interface? ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Aug 13 23:52:50 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 13 Aug 2004 23:52:50 +0200 Subject: Access Control By Host_Group? In-Reply-To: References: Message-ID: <411D3832.5040506@op5.se> Jeff Scott wrote: > Is there a way to control viewing access by host_group? Ie, user_a can > see only host_group a in the User Interface? > In Nagios 1.x; Yes. In Nagios 2.x; No. This is very well documented and has been answered numerous times before on this list. Please read the manual before posting questions. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff at skislave.com Sat Aug 14 00:41:50 2004 From: jeff at skislave.com (Jeff Scott) Date: Fri, 13 Aug 2004 16:41:50 -0600 Subject: Access Control By Host_Group? In-Reply-To: <411D3832.5040506@op5.se> References: <411D3832.5040506@op5.se> Message-ID: On Fri, 13 Aug 2004 23:52:50 +0200, Andreas Ericsson wrote: > Jeff Scott wrote: >> Is there a way to control viewing access by host_group? Ie, user_a can >> see only host_group a in the User Interface? >> > > In Nagios 1.x; Yes. In Nagios 2.x; No. > This is very well documented and has been answered numerous times before > on this list. Please read the manual before posting questions. > Well...its not well documented. I read the Docs and Searched the archives...and I don't see any reference for what I want to do. I want to create access controls for users (not contacts). I need to create various logins that have visablity to different host groups, but these logins are not contacts. I can't create a contact without specifing notification settings. This account will not get notified, etc. We have a systems group, and a network group, etc that get notified, and can see their systems. However, I want to create "role" accounts for display on the NOC wall, that will not get notifications. Let me say it another way...is there a way to create a NON-Contact Login? ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Sat Aug 14 00:50:49 2004 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Fri, 13 Aug 2004 17:50:49 -0500 Subject: Access Control By Host_Group? In-Reply-To: References: <411D3832.5040506@op5.se> Message-ID: <14197.792139794$1092438069@news.gmane.org> Why not create contacts with bogus notifications? echo "This is your notification." > /dev/null Russell On Fri, Aug 13, 2004 at 04:41:50PM -0600, Jeff Scott wrote: > On Fri, 13 Aug 2004 23:52:50 +0200, Andreas Ericsson wrote: > > >Jeff Scott wrote: > >>Is there a way to control viewing access by host_group? Ie, user_a can > >>see only host_group a in the User Interface? > >> > > > >In Nagios 1.x; Yes. In Nagios 2.x; No. > >This is very well documented and has been answered numerous times before > >on this list. Please read the manual before posting questions. > > > > Well...its not well documented. I read the Docs and Searched the > archives...and I don't see any reference for what I want to do. I want > to create access controls for users (not contacts). I need to create > various logins that have visablity to different host groups, but these > logins are not contacts. I can't create a contact without specifing > notification settings. This account will not get notified, etc. > > We have a systems group, and a network group, etc that get notified, and > can see their systems. However, I want to create "role" accounts for > display on the NOC wall, that will not get notifications. > > Let me say it another way...is there a way to create a NON-Contact Login? > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Aug 14 00:59:26 2004 From: ae at op5.se (Andreas Ericsson) Date: Sat, 14 Aug 2004 00:59:26 +0200 Subject: Access Control By Host_Group? In-Reply-To: References: <411D3832.5040506@op5.se> Message-ID: <411D47CE.9000307@op5.se> Jeff Scott wrote: > On Fri, 13 Aug 2004 23:52:50 +0200, Andreas Ericsson wrote: > >> Jeff Scott wrote: >> >>> Is there a way to control viewing access by host_group? Ie, user_a >>> can see only host_group a in the User Interface? >>> >> >> In Nagios 1.x; Yes. In Nagios 2.x; No. >> This is very well documented and has been answered numerous times >> before on this list. Please read the manual before posting questions. >> > > Well...its not well documented. I read the Docs and Searched the > archives...and I don't see any reference for what I want to do. I > want to create access controls for users (not contacts). I need to > create various logins that have visablity to different host groups, but > these logins are not contacts. I can't create a contact without > specifing notification settings. This account will not get notified, etc. > > We have a systems group, and a network group, etc that get notified, > and can see their systems. However, I want to create "role" accounts > for display on the NOC wall, that will not get notifications. > > Let me say it another way...is there a way to create a NON-Contact Login? > Yes, but they won't be allowed to see anything. You can, however, add contacts that never receive notifications in about 1001 ways. I personally prefer to set notification_period options to 'none' in the contact object definition. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bruce at webfarm.co.nz Sat Aug 14 05:05:52 2004 From: bruce at webfarm.co.nz (Bruce) Date: Sat, 14 Aug 2004 15:05:52 +1200 Subject: Event Handlers are not runing or logging. Message-ID: <411D8190.90001@webfarm.co.nz> Hi, Ive been searching through the archives at sourceforge and cannot seem to find what my problem here maybe (I searched for event, event handler, handler and scroll through 10 pages about nothing even related, I could have missed it though..) there was one that was close but was for hosts... so ill post my one and see if anyone can spot whats wrong. We have been using Nagios for around 12 months now, and its exelent except for it keeps reporting that FreshClam or ClamD are not running on a server, which is alright we login and restart it manually. But to save time I thought I might set up an event handler to call our existing root access module for the servers to do it. Im trying to get it ruining from the host that monitors and not the reporting host to avoid bandwidth usage, but even though it is defined and everything looks right it will NOT run. and the logs say nothing. Here is my dumbing down of the configs to see if it was something else (which is wasnt): (Yes, its running nagios 1.1) -- nagios.cfg event stuff -- [root etc]# grep event nagios.cfg log_event_handlers=1 #global_host_event_handler=somecommand #global_service_event_handler=somecommand event_handler_timeout=30 enable_event_handlers=1 -- -- checkcommands.cfg -- define command { command_name allserver_freshclam_fix command_line $USER1$/fix-w-allserver.sh $HOSTADDRESS$ restartFreshClam.sh $SERVICESTATE$ $SERVICEATTEMPT$ } -- -- hosts.cfg -- # Nagios hosts config # Autogenerated file, do not modify # Modify main etc hosts.cfg file # # Generated: 13-Aug-2004 06 pm define host { use basic host_name creeper alias creeper address 192.168.56.32 } -- -- services.cfg -- # Nagios services config # Autogenerated file, do not modify # Modify main etc services.cfg file # # Generated: 13-Aug-2004 06 pm define service { name generic-service passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 1 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } define service { use generic-service name hosted-basic is_volatile 0 check_period 24x7 max_check_attempts 7 normal_check_interval 3 retry_check_interval 1 notification_interval 240 notification_period 24x7 notification_options w,u,c,r register 0 } define service { use hosted-basic name hosted register 0 host_name creeper } define service { use hosted service_description FreshClam check_command check_serv_freshclam! event_handler allserver_freshclam_fix event_handler_enabled 1 } -- -- nagios.log -- [1092451070] Nagios 1.1 starting... (PID=28391) [1092451070] Warning: Service 'FreshClam' on host 'creeper' has no default contact group(s) defined! [1092451070] Warning: Host 'creeper' is not a member of any host groups! [1092451070] Warning: Host 'localhost' has no services associated with it! [1092451070] Finished daemonizing... (New PID=28392) [1092451345] HOST ALERT: creeper;DOWN;HARD;10;/bin/ping -n -c 1 66.70.72.180 [1092451345] SERVICE ALERT: creeper;FreshClam;CRITICAL;HARD;1;CRITICAL - process freshclam is not running ! End Of Log. -- Running the command does work as the user nagios, but even if the contents of the command is: /bin/echo "it ran" >/tmp/nagios.event it dosnt create the file /tmp/nagios.event (which ive ensured dosnt already exist and the permissions are correct) Can anyone see any reason why nagios is not running (or even just logging) the event? I did notice that the service alert says this is HARD, since nagios has just come up and there was no status file before hand it should be SOFT. Any help would be appreciated, PS!: For the developer, this has problery been reported but the event_handlers dont allow for the ! to pass paramters in... but thats a seperate issue. -- +------------------------------------------+ \|||/ | Bruce at WebFarm.co.nz +64 06 7572881 | (o o) | Systems Technician +---ooO-(_)-Ooo---+ | | | WebFarm http://www.webfarm.co.nz | | FreeParking http://www.freeparking.co.nz | +------------------------------------------------------------+ ... FreeParking - NZ's best value Domain, WebHosting and email accounts - bar none ... WebFarm - NZ's eCommerce specialists since 1997 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Quenton_help at gmx.de Sat Aug 14 10:36:06 2004 From: Quenton_help at gmx.de (Quenton) Date: Sat, 14 Aug 2004 10:36:06 +0200 Subject: Problem with check_ping Message-ID: <001801c481d9$c63f73b0$141d138d@laptop> Hi I have a problem with the check_ping command, the status of my hosts is allways down even if all the services are all OK , the error in my log says: could not interpret out put from ping command. when I typ $? on the command line I get the number 3 as result of check_ping Aug 12 19:07:37 amsterdam nagios: HOST ALERT: amsterdam;DOWN;SOFT;1;/bin/ping -n -U -c 1 10.0.24.19 Aug 12 19:07:37 amsterdam nagios: HOST ALERT: amsterdam;DOWN;SOFT;2;/bin/ping -n -U -c 1 10.0.24.19 Aug 12 19:07:38 amsterdam nagios: HOST ALERT: amsterdam;DOWN;SOFT;3;/bin/ping -n -U -c 1 10.0.24.19 Aug 12 19:07:38 amsterdam nagios: HOST ALERT: amsterdam;DOWN;SOFT;4;/bin/ping -n -U -c 1 10.0.24.19 Aug 12 19:07:38 amsterdam nagios: HOST ALERT: amsterdam;DOWN;SOFT;5;/bin/ping -n -U -c 1 10.0.24.19 Aug 12 19:07:38 amsterdam nagios: HOST ALERT: amsterdam;DOWN;SOFT;6;/bin/ping -n -U -c 1 10.0.24.19 Aug 12 19:07:38 amsterdam nagios: HOST ALERT: amsterdam;DOWN;SOFT;7;/bin/ping -n -U -c 1 10.0.24.19 Aug 12 19:07:38 amsterdam nagios: HOST ALERT: amsterdam;DOWN;SOFT;8;/bin/ping -n -U -c 1 10.0.24.19 Aug 12 19:07:38 amsterdam nagios: HOST ALERT: amsterdam;DOWN;SOFT;9;/bin/ping -n -U -c 1 10.0.24.19 Aug 12 19:07:38 amsterdam nagios: HOST ALERT: amsterdam;DOWN;HARD;10;/bin/ping -n -U -c 1 10.0.24.19 Aug 12 19:07:38 amsterdam nagios: HOST NOTIFICATION: nagios;amsterdam;DOWN;host-notify-by-epager;/bin/ping -n -U -c 1 10.0.24 Could Anybody give me an advice ? Thanks in advance Stefan -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Sat Aug 14 16:49:25 2004 From: marc at ena.com (Marc Powell) Date: Sat, 14 Aug 2004 09:49:25 -0500 Subject: Problem with check_ping Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A7C7@mismail2.ena.com> It looks like /bin/ping isn't executable as the nagios user. You probably need to just suid it to root -- chmod u+s /bin/ping chmod 644 /bin/ping -- Marc ________________________________________ From: Quenton [mailto:Quenton_help at gmx.de] Sent: Saturday, August 14, 2004 3:36 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem with check_ping Hi I have a problem with the check_ping command, the status of my hosts is allways?down even if all the services are all OK , the error in my log says: ? could not interpret out put from ping command. [snip] Aug 12 19:07:38 amsterdam nagios: HOST ALERT: amsterdam;DOWN;SOFT;9;/bin/ping -n -U -c 1 10.0.24.19 Aug 12 19:07:38 amsterdam nagios: HOST ALERT: amsterdam;DOWN;HARD;10;/bin/ping -n -U -c 1 10.0.24.19 Aug 12 19:07:38 amsterdam nagios: HOST NOTIFICATION: nagios;amsterdam;DOWN;host-notify-by-epager;/bin/ping -n -U -c 1 10.0.24 Could Anybody give me an advice ? ? ? ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.rasche at redbus.de Sun Aug 15 01:16:51 2004 From: jan.rasche at redbus.de (Jan Rasche) Date: Sun, 15 Aug 2004 00:16:51 +0100 Subject: Nagios-MySQL Status Map User Supplied? Message-ID: <653EB846EE117A4F8C9DD2CB0E7EE4142E6C0A@exch.interhouse.redbus.com> Hi All, I have a problem with the Debian Nagios-MySQL package. As it is the MySQL version, the hostextinfo's are defined in the Nagios DB hostextinfo table and not in the hostextinfo.cfg anymore. But the 'User-supplied Coords' Layout Method is not working at all and shows up: 'You have not supplied any host drawing coordinates...' But Nagios is for example recognizing the images for the routers and switches defined there in the hostextinfo table and uses it in the service details. Also if I set Layout Method: 'Collapsed tree' in the cgi.cfg I got a map displayed with this images. Any idea how to get this Layout Method: 'User-supplied Coords' up with Nagios-MySQL? Thank you in advance! Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Sun Aug 15 10:45:14 2004 From: ae at op5.se (Andreas Ericsson) Date: Sun, 15 Aug 2004 10:45:14 +0200 Subject: Nagios-MySQL Status Map User Supplied? In-Reply-To: <653EB846EE117A4F8C9DD2CB0E7EE4142E6C0A@exch.interhouse.redbus.com> References: <653EB846EE117A4F8C9DD2CB0E7EE4142E6C0A@exch.interhouse.redbus.com> Message-ID: <411F229A.4090602@op5.se> Jan Rasche wrote: > Hi All, > > I have a problem with the Debian Nagios-MySQL package. > As it is the MySQL version, the hostextinfo's are defined in the > Nagios DB hostextinfo table and not in the hostextinfo.cfg anymore. > > But the 'User-supplied Coords' Layout Method is not working at all > and shows up: > > 'You have not supplied any host drawing coordinates...' > > But Nagios is for example recognizing the images for the routers > and switches defined there in the hostextinfo table and uses it > in the service details. > Also if I set Layout Method: 'Collapsed tree' in the cgi.cfg I got > a map displayed with this images. > > Any idea how to get this Layout Method: 'User-supplied Coords' up > with Nagios-MySQL? > You need to define the x and y drawing coordinates in the mysql table. 'User-supplied Coords' means just that, that the user (you) have supplied coordinates for where every host on the map is supposed to be. It's really cumbersome though, so if I were you, I'd probably just give it up right on the spot. > Thank you in advance! > > Jan > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at gameserverhost.nl Sun Aug 15 12:22:56 2004 From: alex at gameserverhost.nl (Alex Curvers) Date: Sun, 15 Aug 2004 12:22:56 +0200 Subject: Unknow MySQL database Message-ID: Hi I could use some help, I installed the nagios-mysql package on my debian system. I read the README.mysql and did what it said. (creating database setting permissions and uncommenting setting the lines that define the mysql DB etc in resource.cfg and cgi.cfg.) I veriefied MySQL was running and restarted nagios (nagios -d /etc/nagios/nagios.cfg), but I get these errors in the log. Seems : [1092563015] Error: Could not connect to MySQL database '' on host '' using username '' and password ''. Retention data will not be processed or saved! [1092563015] Error: Could not connect to MySQL database '' on host '' using username '' and password '' for comment data! [1092563015] Error: Could not connect to MySQL database '' on host '' using username '' and password '' for downtime data! [1092563020] Error: Could not lock status data tables in database '' Seems still the database definition is not known to nagios. Im at a loss here could anyone help me futher ? Regards Alex Curvers -------------- next part -------------- An HTML attachment was scrubbed... URL: From andreschmidt76 at arcor.de Sun Aug 15 14:10:23 2004 From: andreschmidt76 at arcor.de (Andre Schmidt) Date: Sun, 15 Aug 2004 14:10:23 +0200 Subject: nagios-mysql config files ? Message-ID: <411F52AF.7080408@arcor.de> hello, i installed nagios-mysql under debian/sarge last week (had to apt-get -t unstable because sarge package was broken), i've read the README and got it *running. as i saw that the hostextinfo config was read by nagios from the mysql database, i started to wonder can i read the hosts(.cfg), services(.cfg) etc... allso from mysql ? any plans to implement this (or did i miss something), or is there a workaround ? cheers, andre *ps. for others with db problems, this helped me: http://wiki.tryphon.org/LinuxWiki/NagiosInstall ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at se.nyklogistics.com Sun Aug 15 22:11:23 2004 From: jan.johansson at se.nyklogistics.com (Jan Johansson) Date: Sun, 15 Aug 2004 22:11:23 +0200 Subject: check_ups / check_snmp and APC SmartUPS 2200R? Message-ID: <9AA4F704BE060A45A06E1FA950C9DF930D62BA@sbs-1.nwl.se> Can someone give me a good hint on how to monitor these units with nagios? CHeckUPS doesn't seem to talk to the UPS at all. And snmpwalk doesn't give me ant "useful" info that actually seem to tell the STATUS of the unit.. It doesn't seem to "click" on the Powernet-mib. Sooo, hints or a good OID someone? :) ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.rasche at redbus.de Sun Aug 15 22:33:32 2004 From: jan.rasche at redbus.de (Jan Rasche) Date: Sun, 15 Aug 2004 21:33:32 +0100 Subject: Nagios-MySQL Status Map User Supplied? Message-ID: <653EB846EE117A4F8C9DD2CB0E7EE4142E6C12@exch.interhouse.redbus.com> Dear Andreas, Thanks for all your help! >You need to define the x and y drawing coordinates in the mysql table. >'User-supplied Coords' means just that, that the user (you) have supplied coordinates for >where every host on the map is supposed to be. Yeah I did this already and used it right from a working hostextinfo.cfg of a Nagios-text installation already in production: mysql> show tables; +------------------+ | Tables_in_nagios | +------------------+ | hostcomments | | hostdowntime | | hostextinfo | | hostretention | | hoststatus | | programretention | | programstatus | | servicecomments | | servicedowntime | | serviceextinfo | | serviceretention | | servicestatus | +------------------+ 12 rows in set (0.00 sec) mysql> select * from hostextinfo; +---------------------------+-----------+---------------+--------------- +----------------+---------------------------+------+------+----------+- ---------+--------+----------------+----------------+ | host_name | notes_url | icon_image | vrml_image | gd2_icon_image | icon_image_alt | x_2d | y_2d | x_3d | y_3d | z_3d | have_2d_coords | have_3d_coords | +---------------------------+-----------+---------------+--------------- +----------------+---------------------------+------+------+----------+- ---------+--------+----------------+----------------+ | Cat5-3550AccessSwitch | | my_switch.jpg | my_switch.jpg | my_switch.gd2 | Cat5-3550AccessSwitch | 20 | 350 | 20.0000 | 350.0000 | 0.0000 | 0 | 0 | | Fibre-3508AccessSwitch | | my_switch.jpg | my_switch.jpg | my_switch.gd2 | Fibre-3508AccessSwitch | 100 | 350 | 100.0000 | 350.0000 | 0.0000 | 0 | 0 | | Fibre-9/0/0AccessRouter | | my_router.jpg | my_router.jpg | my_router.gd2 | Fibre-9/0/0AccessRouter | 180 | 350 | 180.0000 | 350.0000 | 0.0000 | 0 | 0 | ... | Level3 | | my_router.jpg | my_router.jpg | my_router.gd2 | Level3 | 500 | 650 | 500.0000 | 650.0000 | 0.0000 | 0 | 0 | +---------------------------+-----------+---------------+--------------- +----------------+---------------------------+------+------+----------+- ---------+--------+----------------+----------------+ 15 rows in set (0.01 sec) As said Nagios recognized the images as defined here but not the other values for the cords. It simply says: 'You have not supplied any host drawing coordinates...' It only works with cgi.cfg: # DEFAULT STATUSMAP LAYOUT METHOD # This option allows you to specify the default layout method # the statusmap CGI should use for drawing hosts. If you do # not use this option, the default is to use user-defined # coordinates. Valid options are as follows: # 0 = User-defined coordinates # 1 = Depth layers # 2 = Collapsed tree # 3 = Balanced tree # 4 = Circular # 5 = Circular (Marked Up) default_statusmap_layout=2 >It's really cumbersome though, so if I were you, I'd probably just give it up right on the >spot. Lol - but I already did this with Nagios-text before some time. :-) Beste regards, Jan ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vince at ctv.es Sun Aug 15 23:31:00 2004 From: vince at ctv.es (Vicente Ferrando) Date: Sun, 15 Aug 2004 23:31:00 +0200 Subject: Imdaemon Message-ID: <1092605460.27953.27.camel@Inma.vicente.ferrando.name> Good night list, I'm trying to use Sebastian Lagemann plugin(imdaemon) to send notifications via ICQ. I've instaled vICQ.pm as said on Sebastians created the "notify-by-icq" command as in the example and added the new command in the contacts file. But no notification is send and I don't know where to find imdaemon logs. I've modified the imdaemon config file like this: # imdaemon example configuration # edit this configuration to your custom settings... [global] driver = icq #user = dummy.tld user = nagios message_file = /tmp/incomings.msg [icq] #user = user = #pass = pass = #[dummy.tld] [nagios] icq = permissions = reload loadavg exit [snmp] ... Started the imdaemon without any parameter. And notifications are only send by mail. Anyone is using this plugin with success? Kind regards. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.rasche at redbus.de Mon Aug 16 01:35:46 2004 From: jan.rasche at redbus.de (Jan Rasche) Date: Mon, 16 Aug 2004 00:35:46 +0100 Subject: More Than One Checks In One Services Description? Message-ID: <653EB846EE117A4F8C9DD2CB0E7EE4142E6C14@exch.interhouse.redbus.com> Good Night List! Can I run two check commands in one service description or how can I achive this both to one host? check_command check_icmp!100,20%!500,60% check_command check_traffic!2!125000000!GigabitEthernet0/1!95!85 Maybe a dumb question! Thanks, Jan ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Aug 16 02:26:00 2004 From: marc at ena.com (Marc Powell) Date: Sun, 15 Aug 2004 19:26:00 -0500 Subject: More Than One Checks In One Services Description? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A7CA@mismail2.ena.com> > -----Original Message----- > From: Jan Rasche [mailto:jan.rasche at redbus.de] > Sent: Sunday, August 15, 2004 6:36 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] More Than One Checks In One Services Description? > > Good Night List! > > Can I run two check commands in one service description or how can I > achive this both to one host? > > check_command check_icmp!100,20%!500,60% > check_command check_traffic!2!125000000!GigabitEthernet0/1!95!85 No, you'll need to set up a separate service definition for each check. Each host definition can have any number of associated service definitions associated with it via host_name in the service definition. -- Marc ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.rasche at redbus.de Mon Aug 16 03:54:03 2004 From: jan.rasche at redbus.de (Jan Rasche) Date: Mon, 16 Aug 2004 02:54:03 +0100 Subject: More Than One Checks In One Services Description? Message-ID: <653EB846EE117A4F8C9DD2CB0E7EE4142E6C17@exch.interhouse.redbus.com> Thanks Marc! Jan > > Can I run two check commands in one service description or how can I > achive this both to one host? > > check_command check_icmp!100,20%!500,60% > check_command check_traffic!2!125000000!GigabitEthernet0/1!95!85 No, you'll need to set up a separate service definition for each check. Each host definition can have any number of associated service definitions associated with it via host_name in the service definition. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Collins at industry.gov.au Mon Aug 16 05:21:34 2004 From: Steve.Collins at industry.gov.au (Collins, Steve) Date: Mon, 16 Aug 2004 13:21:34 +1000 Subject: [PMX:#] Check_http via proxy? Message-ID: <61045C98CC667545B7E628E3BED42A3820CF84@g5dicbr01ms01.industry.gov.au> I need to check several hosts at our outsourced provider. With anal security rules, etc., we're refused direct ping access to them - thus no check_host_alive. However, we can see the IP address. In order to see the IP, the Nagios server needs to understand about our proxy server to see the remote servers. Is there some way we can configure check_http to use a proxy? TIA. Steve C -- Stephen Collins Web Development Section eBusiness Division __________________________________________________ Department of Industry, Tourism and Resources Level 12, 20 Allara Street, Canberra City ACT 2600 GPO Box 9839, Canberra ACT 2601 E steve.collins at industry.gov.au P +61 2 62137193 C +61 410 680722 F +61 2 62136227 ********************************************************************** The information contained in this e-mail, and any attachments to it, is intended for the use of the addressee and is confidential. If you are not the intended recipient you must not use, disclose, read, forward, copy or retain any of the information. If you have received this e-mail in error, please delete it and notify the sender by return e-mail or telephone. The Commonwealth does not warrant that any attachments are free from viruses or any other defects. You assume all liability for any loss, damage or other consequences which may arise from opening or using the attachments. *********************************************************************************** From marc at ena.com Mon Aug 16 06:45:13 2004 From: marc at ena.com (Marc Powell) Date: Sun, 15 Aug 2004 23:45:13 -0500 Subject: [PMX:#] Check_http via proxy? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A7CC@mismail2.ena.com> > -----Original Message----- > From: Collins, Steve [mailto:Steve.Collins at industry.gov.au] > Sent: Sunday, August 15, 2004 10:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] [PMX:#] Check_http via proxy? > > I need to check several hosts at our outsourced provider. With anal > security rules, etc., we're refused direct ping access to them - thus no > check_host_alive. However, we can see the IP address. In order to see Check_host_alive doesn't have to be an ICMP ping. That's just a good all-around default. > the IP, the Nagios server needs to understand about our proxy server to > see the remote servers. Is there some way we can configure check_http to > use a proxy? Yes, check_http --help. By example -- define command{ command_name check_by_proxy command_line $USER1$/check_http -H my.destination.host -I $HOSTADDRESS$ --onredirect follow -p 8080 -wt 20 -ct 30 -to 35 -u http://my.destination.host/url -R \/HTML } $HOSTADDRESS$ would be the address of your proxy. My.destination.host is the host you're wanting to check (as it would be passed in an HTTP HOST: header). Of course, either one of those values could be variable depending on how you set up your command and service definitions. > [20+ lines of .sig removed] -- Marc ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Collins at industry.gov.au Mon Aug 16 07:18:43 2004 From: Steve.Collins at industry.gov.au (Collins, Steve) Date: Mon, 16 Aug 2004 15:18:43 +1000 Subject: [PMX:#] Check_http via proxy? Message-ID: <61045C98CC667545B7E628E3BED42A3820CFC3@g5dicbr01ms01.industry.gov.au> >Yes, check_http --help. By example -- > >define command{ > command_name check_by_proxy > command_line $USER1$/check_http -H my.destination.host -I >$HOSTADDRESS$ --onredirect follow -p 8080 -wt 20 -ct 30 -to 35 -u >http://my.destination.host/url -R \/HTML > } > >$HOSTADDRESS$ would be the address of your proxy. >My.destination.host is >the host you're wanting to check (as it would be passed in an >HTTP HOST: >header). Of course, either one of those values could be variable >depending on how you set up your command and service definitions. Thanks. Awesome. S -- Stephen Collins Web Development Section eBusiness Division __________________________________________________ Department of Industry, Tourism and Resources Level 12, 20 Allara Street, Canberra City ACT 2600 GPO Box 9839, Canberra ACT 2601 E steve.collins at industry.gov.au P +61 2 62137193 C +61 410 680722 F +61 2 62136227 ********************************************************************** The information contained in this e-mail, and any attachments to it, is intended for the use of the addressee and is confidential. If you are not the intended recipient you must not use, disclose, read, forward, copy or retain any of the information. If you have received this e-mail in error, please delete it and notify the sender by return e-mail or telephone. The Commonwealth does not warrant that any attachments are free from viruses or any other defects. You assume all liability for any loss, damage or other consequences which may arise from opening or using the attachments. *********************************************************************************** ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Collins at industry.gov.au Mon Aug 16 07:28:17 2004 From: Steve.Collins at industry.gov.au (Collins, Steve) Date: Mon, 16 Aug 2004 15:28:17 +1000 Subject: [PMX:#] Check services for site(s) hosted on multiple servers Message-ID: <61045C98CC667545B7E628E3BED42A3820CFCC@g5dicbr01ms01.industry.gov.au> We have a situation where a number of web sites are hosted across several servers (mirror copies). A load balancer hands off to one of the servers based on present load per server. What we want to do is check the HTTP and ColdFusion health on each of the servers for each of the sites. We have services set up that can check the services on an individual box, but not across boxes, as our hosts.cfg file is unhappy about us naming more than one service the same. So, illustrated, what we'd like is: site1.industry.gov.au on server1 check_http site1.industry.gov.au on server2 check_http site1.industry.gov.au on server1 check_coldfusion site1.industry.gov.au on server2 check_coldfusion site2.industry.gov.au on server1 check_http site2.industry.gov.au on server2 check_http site2.industry.gov.au on server1 check_coldfusion site2.industry.gov.au on server2 check_coldfusion site3.industry.gov.au on server1 check_http site3.industry.gov.au on server2 check_http site3.industry.gov.au on server1 check_coldfusion site3.industry.gov.au on server2 check_coldfusion Is there a non-dumb way to approach this? Steve -- Stephen Collins Web Development Section eBusiness Division __________________________________________________ Department of Industry, Tourism and Resources Level 12, 20 Allara Street, Canberra City ACT 2600 GPO Box 9839, Canberra ACT 2601 E steve.collins at industry.gov.au P +61 2 62137193 C +61 410 680722 F +61 2 62136227 ********************************************************************** The information contained in this e-mail, and any attachments to it, is intended for the use of the addressee and is confidential. If you are not the intended recipient you must not use, disclose, read, forward, copy or retain any of the information. If you have received this e-mail in error, please delete it and notify the sender by return e-mail or telephone. The Commonwealth does not warrant that any attachments are free from viruses or any other defects. You assume all liability for any loss, damage or other consequences which may arise from opening or using the attachments. *********************************************************************************** HS^????X???'???u????x??!r???????q?'V??????t???x? P???????ou?JdJ??p5C??????}?j?????E?Z?Z'"y?w???J??)?jwE?????a??? 0?)?????&????H??&????????] References: <61045C98CC667545B7E628E3BED42A3820CFCC@g5dicbr01ms01.industry.gov.au> Message-ID: <20040816071856.GA32613@quex.org> On Mon, Aug 16, 2004 at 03:28:17PM +1000, Collins, Steve wrote: > We have a situation where a number of web sites are hosted across > several servers (mirror copies). A load balancer hands off to one of > the servers based on present load per server. What we want to do is > check the HTTP and ColdFusion health on each of the servers for each > of the sites. We have services set up that can check the services on > an individual box, but not across boxes, as our hosts.cfg file is > unhappy about us naming more than one service the same. Nagios will only complain if you try to put the same service name more than once on the same host, so you should be able to just put all the individual web servers into a hostgroup and then apply each site's service checks to that hostgroup. (Using a hostgroup for this is optional, but pretty.) Just make sure each site has a different name for its service checks, and you should be fine. e.g. "HTTP Site1", "HTTP Site2", "CF Site1", "CF Site2", etc. I usually use the domain name (or a subset thereof) as the service name for checking websites. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stefan.Giesen at firstgate.de Mon Aug 16 09:51:38 2004 From: Stefan.Giesen at firstgate.de (Stefan Giesen) Date: Mon, 16 Aug 2004 09:51:38 +0200 Subject: Nagios-MySQL Status Map User Supplied? In-Reply-To: <653EB846EE117A4F8C9DD2CB0E7EE4142E6C12@exch.interhouse.redbus.com> References: <653EB846EE117A4F8C9DD2CB0E7EE4142E6C12@exch.interhouse.redbus.com> Message-ID: <1092642698.30914.3.camel@giesen-lx.firstgate.local> Am So, den 15.08.2004 schrieb Jan Rasche um 22:33: > mysql> select * from hostextinfo; > +---------------------------+-----------+---------------+--------------- > +----------------+---------------------------+------+------+----------+- > ---------+--------+----------------+----------------+ > | host_name | notes_url | icon_image | vrml_image > | gd2_icon_image | icon_image_alt | x_2d | y_2d | x_3d | > y_3d | z_3d | have_2d_coords | have_3d_coords | > +---------------------------+-----------+---------------+--------------- > +----------------+---------------------------+------+------+----------+- > ---------+--------+----------------+----------------+ > | Cat5-3550AccessSwitch | | my_switch.jpg | my_switch.jpg > | my_switch.gd2 | Cat5-3550AccessSwitch | 20 | 350 | 20.0000 | > 350.0000 | 0.0000 | 0 | 0 | > | Fibre-3508AccessSwitch | | my_switch.jpg | my_switch.jpg > | my_switch.gd2 | Fibre-3508AccessSwitch | 100 | 350 | 100.0000 | > 350.0000 | 0.0000 | 0 | 0 | > | Fibre-9/0/0AccessRouter | | my_router.jpg | my_router.jpg > | my_router.gd2 | Fibre-9/0/0AccessRouter | 180 | 350 | 180.0000 | > 350.0000 | 0.0000 | 0 | 0 | > > ... > > | Level3 | | my_router.jpg | my_router.jpg > | my_router.gd2 | Level3 | 500 | 650 | 500.0000 | > 650.0000 | 0.0000 | 0 | 0 | > +---------------------------+-----------+---------------+--------------- > +----------------+---------------------------+------+------+----------+- > ---------+--------+----------------+----------------+ > 15 rows in set (0.01 sec) > > > As said Nagios recognized the images as defined here but not the other > values for the cords. > > It simply says: 'You have not supplied any host drawing coordinates...' The solution is jumping at you... ever wondered why there is a column "have_2d_coords"? And why it is a "0" (false) instead of a "1" (true)? *grin* Cheers, Stefan -- Stefan Giesen, Systemadministration Frankfurt FIRSTGATE Internet AG, Im MediaPark 5, 50670 Koeln Telefon: +49 (0) 2 21 / 45 45-745, Telefax: +49 (0) 2 21 / 45 45-710 Internet: www.firstgate.de eMail: Stefan.Giesen at firstgate.de ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Mon Aug 16 09:51:47 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Mon, 16 Aug 2004 09:51:47 +0200 Subject: Nagios to lazy to check? Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E593F97@SYGOMAIL.GOE.AD.SYCOR.DE> Hmm I got it running now (but had no time to post it to the list yet) I got a lot of checks running, with servicechecks intervals from 1x in 24h to 1x per minute.. The default interval length is set as default to 60sec. Obiviously I achieved it by altering the timeout values for service checks, and the interval for initial checks, I got the plugin check_win_eventlog running, which sometimes takes a long time to check, and so I altered the servicecheck timeout to 200sec, and I got the interval for initial check from 30minutes to 15minutes... Now everything runs fine, don't really know if thats got something to do with my changes but... :) > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Ethan Galstad > Sent: Friday, August 13, 2004 10:44 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios to lazy to check? > > Looks like something is amiss in your config files. The 2.5 hour > average check interval is coming directly from your config > files, so you might have something out of whack. Check your > config files to make sure the check interval is set > appropriately. Also, make sure you didn't alter the default > interval length (in the main config file). > > > On 13 Aug 2004 at 9:07, Sand Philipp wrote: > > > Hi guys! > > > > I'm using the Nagios 2.0a CVS release running on Fedora Core 2. The > > currently runs at an avarage load of 0,1 (2 Processor > 1,4GHz, 2GB RAM, > > Ultra SCSI Harddrives) To get my performance Data into a MySQL 4 DB > > I'm using perfparse in daemon mode. Currently I run about > 280hosts and > > about 1200service checks. > > > > My Problem is, that Nagios won't check the most of the > Services. When > > I look at the Scheduling Queue, and try to find out when the next > > check will be, everything looks proper (all checks within about > > 1hour). But when I look at the times, the last check had been, the > > most checks are older than 1 day, even when they are > regularly checked > > every 5Minutes! Some checks even haven't been performed because I > > added them 1-2days ago. The Next Scheduled Check is in > about half an > > hour, but this time is always raising...as if nagios is to lazy and > > simply schedules the tasks more and more into the future > just to don't > > do the check... I already did a nagios -s it said everything looks > > fine. The Service inter-check delay method is SMART Average service > > check interval is 9327.91sec !!! Thats about 150minutes, > event though > > most of my checks are in about 5minutes regularly. I > already checked > > if there is a second nagios accidently running... What can I do? > > > > here's the complete output of nagios -s > > > > > > HOST SCHEDULING INFORMATION > > --------------------------- > > Total hosts: 276 > > Total scheduled hosts: 0 > > Host inter-check delay method: SMART > > Average host check interval: 0.00 sec > > Host inter-check delay: 0.00 sec > > Max host check spread: 30 min > > First scheduled check: N/A > > Last scheduled check: N/A > > > > > > SERVICE SCHEDULING INFORMATION > > ------------------------------- > > Total services: 1180 > > Total scheduled services: 1180 > > Service inter-check delay method: SMART > > Average service check interval: 9327.81 sec > > Inter-check delay: 1.53 sec > > Interleave factor method: SMART > > Average services per host: 4.28 > > Service interleave factor: 5 > > Max service check spread: 30 min > > First scheduled check: Fri Aug 13 09:02:11 2004 > > Last scheduled check: Fri Aug 13 09:32:09 2004 > > > > > > CHECK PROCESSING INFORMATION > > ---------------------------- > > Service check reaper interval: 10 sec > > Max concurrent service checks: Unlimited > > > > > > PERFORMANCE SUGGESTIONS > > ----------------------- > > I have no suggestions - things look okay. > > > > > > Thanks in advance! > > Philipp > > > > _____________________________ > > > > Philipp Sand > > OC-CC-TEC-SYS > > > > SYCOR GmbH > > Heinrich-von-Stephan-Stra?e 1-5 > > D - 37073 G?ttingen > > > > Telefon +49 (0) 551 / 490 - 0 > > Telefax +49 (0) 551 / 490 - 232468 > > > > philipp.sand at sycor.de > > www.sycor.de > > ------------------------------------------------ > > > > > > > > ************************************************ > > > > sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie > > > > www.sycor-plastics.de > > > > ************************************************ > > > > > > > > > > Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche > > Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e > > Empf?nger sind, l?schen Sie bitte die E-Mail und deren > Anh?nge sofort > > und benachrichtigen Sie uns dar?ber. Die Firma sycor > willigt in keine > > Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt > > rechtsverbindliche Angebote, die in Form von E-Mail > versandt werden, > > sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den > > Parteien vereinbart wurde. > > > > This e-mail is confidential and may contain personal and/or > privileged > > information. If you are not the intended recipient please > delete this > > e-mail and all attachments immediately and inform us. The company > > sycor does not agree with contracts or contract obligations sent by > > e-mail, neither do we transmit legally binding offers by e-mail, > > unless this is not expressly agreed upon between the parties and > > documented in written form. > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest price on > Blank Media > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for > only $33 Save > > 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > Nagios-users mailing > > list Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please > > include Nagios version, plugin version (-v) and OS when > reporting any > > issue. ::: Messages without supporting info will risk being sent to > > /dev/null > > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on > Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic > DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free > Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kelvin.wu at gmail.com Mon Aug 16 09:56:33 2004 From: kelvin.wu at gmail.com (Kelvin Wu) Date: Mon, 16 Aug 2004 15:56:33 +0800 Subject: question Message-ID: hello, i am going to monitor a server which has 500+ sendxms processes and each process has its own log file, i want nagios to monitor process is running or not, and logfile is too large or not, i am thinking of using nrpe or snmp, my question is, will nrpe or snmp daemon be heavy loaded if checking 500+ proc and files? or is there any other better solution to do these monitoring jobs? thanks ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dan.hopkins at uk.easynet.net Mon Aug 16 10:03:21 2004 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Mon, 16 Aug 2004 09:03:21 +0100 Subject: Unknow MySQL database Message-ID: Check the ownership and filemode of your resource.cfg. I had this effect on a root owned 0600 resource.cfg ... -- Dan Hopkins -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Alex Curvers Sent: 15 August 2004 11:23 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Unknow MySQL database Hi I could use some help, I installed the nagios-mysql package on my debian system. I read the README.mysql and did what it said. (creating database setting permissions and uncommenting setting the lines that define the mysql DB etc in resource.cfg and cgi.cfg.) I veriefied MySQL was running and restarted nagios (nagios -d /etc/nagios/nagios.cfg), but I get these errors in the log. Seems : [1092563015] Error: Could not connect to MySQL database '' on host '' using username '' and password ''. Retention data will not be processed or saved! [1092563015] Error: Could not connect to MySQL database '' on host '' using username '' and password '' for comment data! [1092563015] Error: Could not connect to MySQL database '' on host '' using username '' and password '' for downtime data! [1092563020] Error: Could not lock status data tables in database '' Seems still the database definition is not known to nagios. Im at a loss here could anyone help me futher ? Regards Alex Curvers ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Mon Aug 16 11:12:41 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Mon, 16 Aug 2004 11:12:41 +0200 Subject: Nagios won't kill "longrunning" checks properly Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E593F98@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, I've got a problem with some "longrunners", which really critically affekt my nagios server when you look at the load. I configured the service_check_timeout to 200seconds, because I got one check against an HSG Controller, which last so long. But some other service checks are still running longer than those 200secs and nagios doesn't kill them. What can I do, to tell nagios to kill a process when the service_check_timeout doesn't work? It's pretty annoying to kill the processes by hand each time :) Thanks in advance, Philipp BTW, I'm using Nagios 2.0a1 and Fedora Core 2, the service which bothers me the most is the check_win_eventlog service... _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Mon Aug 16 12:35:54 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 16 Aug 2004 20:35:54 +1000 Subject: Perl problems in Nagios 2.0a1 (Tom DE BLENDE (GCC)) In-Reply-To: References: Message-ID: <20040816103552.GC238@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Fri, Aug 13, 2004 at 08:30:39PM -0700, nagios-users-request at lists.sourceforge.net wrote: > From: "Tom DE BLENDE (GCC)" > To: nagios-users > Subject: [Nagios-users] Perl problems in Nagios 2.0a1 > > Hi folks, > > Am I being a complete dork, or is there a bug in Nagios 2.0a1 that makes > it unable to use any of my Perl plugins? They work just fine in 1.0 (on > another box) and from the CLI (when being su - 'd to Nagios user). > There seem to be at least two issues here 1 changes to configure to use ePN by default - if that's what you got (/bin/nagios -m will tell you). In any case, configure --help will show the options to disable ebedded Perl interpreter 2 changes to ePN 2.1 to deal with leaks by periodically reload interp (should set upper bound on nag mem usage) ==> unlikely to be source of probs 2.2 changes to p1.pl and interface to nag in checks.c (me) ==> prob culprit. I haven't looked at 2.0 for a while but these latter changes have been solid with 1.2 for yonks. Have a look at the p1.pl text and see if you feel like enabling 'war and peace mode' debugging (think it's called 'debug' or sim) by editing p1.pl and posting me the log. perldoc /bin/p1.p1 should tell you what to do. OTOH the docco is __slack__. Since this is a bug in a devel branch may be better on nagios-devel > I'm puzzled. I just get the "(No Output!)" thing... > > Thanks, > Tom > > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.rasche at redbus.de Mon Aug 16 13:21:12 2004 From: jan.rasche at redbus.de (Jan Rasche) Date: Mon, 16 Aug 2004 12:21:12 +0100 Subject: Nagios-MySQL Status Map User Supplied? Message-ID: <653EB846EE117A4F8C9DD2CB0E7EE41420DCB1@exch.interhouse.redbus.com> Hi Stefan, Nice Joke! Hey, hey, hey - I just did not think to much as it is looking. :-) Simply thought x_2d and y_2d would be this coordinates, but now got it that it is width and height - yes? Thank you very much! Jan -----Original Message----- From: Stefan Giesen [mailto:Stefan.Giesen at firstgate.de] Sent: Mon 8/16/2004 8:51 AM To: Jan Rasche Cc: Nagios User Maillist; Andreas Ericsson Subject: RE: [Nagios-users] Nagios-MySQL Status Map User Supplied? Am So, den 15.08.2004 schrieb Jan Rasche um 22:33: > mysql> select * from hostextinfo; > +---------------------------+-----------+---------------+--------------- > +----------------+---------------------------+------+------+----------+- > ---------+--------+----------------+----------------+ > | host_name | notes_url | icon_image | vrml_image > | gd2_icon_image | icon_image_alt | x_2d | y_2d | x_3d | > y_3d | z_3d | have_2d_coords | have_3d_coords | > +---------------------------+-----------+---------------+--------------- > +----------------+---------------------------+------+------+----------+- > ---------+--------+----------------+----------------+ > | Cat5-3550AccessSwitch | | my_switch.jpg | my_switch.jpg > | my_switch.gd2 | Cat5-3550AccessSwitch | 20 | 350 | 20.0000 | > 350.0000 | 0.0000 | 0 | 0 | > | Fibre-3508AccessSwitch | | my_switch.jpg | my_switch.jpg > | my_switch.gd2 | Fibre-3508AccessSwitch | 100 | 350 | 100.0000 | > 350.0000 | 0.0000 | 0 | 0 | > | Fibre-9/0/0AccessRouter | | my_router.jpg | my_router.jpg > | my_router.gd2 | Fibre-9/0/0AccessRouter | 180 | 350 | 180.0000 | > 350.0000 | 0.0000 | 0 | 0 | > > ... > > | Level3 | | my_router.jpg | my_router.jpg > | my_router.gd2 | Level3 | 500 | 650 | 500.0000 | > 650.0000 | 0.0000 | 0 | 0 | > +---------------------------+-----------+---------------+--------------- > +----------------+---------------------------+------+------+----------+- > ---------+--------+----------------+----------------+ > 15 rows in set (0.01 sec) > > > As said Nagios recognized the images as defined here but not the other > values for the cords. > > It simply says: 'You have not supplied any host drawing coordinates...' The solution is jumping at you... ever wondered why there is a column "have_2d_coords"? And why it is a "0" (false) instead of a "1" (true)? *grin* Cheers, Stefan -- Stefan Giesen, Systemadministration Frankfurt FIRSTGATE Internet AG, Im MediaPark 5, 50670 Koeln Telefon: +49 (0) 2 21 / 45 45-745, Telefax: +49 (0) 2 21 / 45 45-710 Internet: www.firstgate.de eMail: Stefan.Giesen at firstgate.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stefan.Giesen at firstgate.de Mon Aug 16 13:46:16 2004 From: Stefan.Giesen at firstgate.de (Stefan Giesen) Date: Mon, 16 Aug 2004 13:46:16 +0200 Subject: Nagios-MySQL Status Map User Supplied? In-Reply-To: <653EB846EE117A4F8C9DD2CB0E7EE41420DCB1@exch.interhouse.redbus.com> References: <653EB846EE117A4F8C9DD2CB0E7EE41420DCB1@exch.interhouse.redbus.com> Message-ID: <1092656775.30915.13.camel@giesen-lx.firstgate.local> Am Mo, den 16.08.2004 schrieb Jan Rasche um 13:21: > Hi Stefan, > > Nice Joke! Hey, hey, hey - I just did not think to much as it is > looking. :-) > Simply thought x_2d and y_2d would be this coordinates, but now got it > that it is > width and height - yes? Nope, sorry. x_2d and y_2d are the 2d coordinates (as you thought), but you have to set "have_2d_coords" to "1" (or at least to something non-zero AFAIK) to use them (as the field name suggest :-) The same is true for the 3d coordinates and "have_3d_coords". > Thank you very much! You're welcome :-) Stefan -- Stefan Giesen, Systemadministration Frankfurt FIRSTGATE Internet AG, Im MediaPark 5, 50670 Koeln Telefon: +49 (0) 2 21 / 45 45-745, Telefax: +49 (0) 2 21 / 45 45-710 Internet: www.firstgate.de eMail: Stefan.Giesen at firstgate.de ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 16 13:48:24 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 16 Aug 2004 13:48:24 +0200 Subject: Problem with check_ping In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F38A7C7@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F38A7C7@mismail2.ena.com> Message-ID: <41209F08.9060402@op5.se> Marc Powell wrote: > It looks like /bin/ping isn't executable as the nagios user. > You probably need to just suid it to root -- > > chmod u+s /bin/ping > chmod 644 /bin/ping > Except that 755 is the proper permissions. You can do it as chmod 4755 /bin/ping instead of running it twice if you like. > -- > Marc > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fmartinezg at endesa.es Mon Aug 16 14:37:00 2004 From: fmartinezg at endesa.es (Martinez Gonzalez, Francisco) Date: Mon, 16 Aug 2004 14:37:00 +0200 Subject: Refresh question Message-ID: Hi all, I have a trouble with the refresh of the web interface: If I go down in any page and wait to a refresh, the page back to the start (up). There is any way to preserve the position that I have before refresh? Thanks in advance... Francisco Mart?nez ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 16 15:40:36 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 16 Aug 2004 15:40:36 +0200 Subject: question In-Reply-To: References: Message-ID: <4120B954.6060203@op5.se> Kelvin Wu wrote: > hello, > > i am going to monitor a server which has 500+ sendxms processes and > each process has its own log file, i want nagios to monitor process is > running or not, and logfile is too large or not, i am thinking of > using nrpe or snmp, my question is, will nrpe or snmp daemon be heavy > loaded if checking 500+ proc and files? or is there any other better > solution to do these monitoring jobs? > NRPE won't have a problem checking them, since the check_procs plugin simply scans a process-table set up by the kernel. The process table resides in memory and is really quite small per process. Parsing it is not very heavy work. I can't imagine SNMP having a problem with this either. > thanks You're welcome. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 16 15:38:37 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 16 Aug 2004 15:38:37 +0200 Subject: Refresh question In-Reply-To: References: Message-ID: <4120B8DD.7030504@op5.se> Martinez Gonzalez, Francisco wrote: > > Hi all, > > I have a trouble with the refresh of the web interface: > > If I go down in any page and wait to a refresh, the page back to the start > (up). > There is any way to preserve the position that I have before refresh? > Not really, no. This is mainly because the Nagios CGI's sends a bunch of cache-control options so that browsers should be forced to reload the page and thus obtain fresh info about the network. > Thanks in advance... > > > > Francisco Mart?nez > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sclark at nyroc.rr.com Mon Aug 16 16:01:35 2004 From: sclark at nyroc.rr.com (Sean R. Clark) Date: Mon, 16 Aug 2004 10:01:35 -0400 Subject: Problems with initial install of Nagios Message-ID: <200408161401.i7GE1et3010007@ms-smtp-04.nyroc.rr.com> I was tasked with converting our Big Brother over to nagios I am running nagios v 1.2 on gentoo with 670 hosts in the hosts.cfg Currently I am only running check_ping on them to see how well it scales Right now, I have 57 Down 0 Unreachable 55 Up 558 Pending The "pending list" seems to go down at the rate of 1 host per hour, making it seem like the testing is very serial in it's nature The hosts them selves say things like "Service check scheduled for Mon Aug 16 09:16:38 2004 " but it's 9:54 and still no check. I tried using parallelization, setting max_concurrent_checks to 0, this did not make the list go down at all I set max_concurrent_checks to 700, and this didn't not help either Here are my timeout values: service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 Nagios -s gives me SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 672 Total hosts: 670 Command check interval: -1 sec Check reaper interval: 5 sec Inter-check delay method: SMART Average check interval: 61.607 sec Inter-check delay: 0.092 sec Interleave factor method: SMART Average services per host: 1.003 Service interleave factor: 2 Initial service check scheduling info: -------------------------------------- First scheduled check: 1092664412 -> Mon Aug 16 09:53:32 2004 Last scheduled check: 1092664473 -> Mon Aug 16 09:54:33 2004 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 55 Recommend value: 165 All the hosts fall under this service define service { use generic-service host_name * service_description PING contact_groups rdc-staff check_period 24x7 notification_interval 480 notification_options w,u,c,r notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 } I have fping installed also, which is what I was using with Big Brother, and that took at most 300 seconds to give me the status for all the hosts, on the same hardware. The box does not seem taxed at all, either top - 09:56:56 up 18 days, 19:00, 1 user, load average: 0.00, 0.00, 0.00 Tasks: 47 total, 1 running, 46 sleeping, 0 stopped, 0 zombie Cpu(s): 1.2% user, 0.4% system, 0.0% nice, 98.4% idle Mem: 1292264k total, 687864k used, 604400k free, 288856k buffers Swap: 999576k total, 8016k used, 991560k free, 150448k cached And it seems like only one ping process is running ps aux | grep ping nagios 12453 0.1 0.0 1688 712 ? S 09:57 0:00 /usr/nagios/libexec/check_ping -H 172.16.20.139 -w 3000.0,80% -c 5000.0,100% -p 1 nagios 12454 0.1 0.0 1840 656 ? S 09:57 0:00 /bin/ping -n -U -c 1 172.16.20.139 Sorry for the lengthy first post, but I am at wits end with this. Also, even though the plug-in asked me where fping was, it seems it's using just ping to do the pings. Can anyone point me in the right direction? -Sean ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Aug 16 16:19:29 2004 From: marc at ena.com (Marc Powell) Date: Mon, 16 Aug 2004 09:19:29 -0500 Subject: Problem with check_ping Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A7CF@mismail2.ena.com> ----Original Message---- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Monday, August 16, 2004 6:48 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem with check_ping > Marc Powell wrote: > > It looks like /bin/ping isn't executable as the nagios user. > > You probably need to just suid it to root -- > > > > chmod u+s /bin/ping > > chmod 644 /bin/ping > > > > Except that 755 is the proper permissions. You can do it as chmod > 4755 /bin/ping instead of running it twice if you like. > Of course you're absolutely correct. I have no idea what I was thinking. Working with too many spamassassin cf files over the weekend I guess... -- Marc ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Aug 16 16:29:48 2004 From: marc at ena.com (Marc Powell) Date: Mon, 16 Aug 2004 09:29:48 -0500 Subject: Refresh question Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A7D0@mismail2.ena.com> ----Original Message---- From: Martinez Gonzalez, Francisco [mailto:fmartinezg at endesa.es] Sent: Monday, August 16, 2004 7:37 AM To: Nagios Subject: [Nagios-users] Refresh question > Hi all, > > I have a trouble with the refresh of the web interface: > > If I go down in any page and wait to a refresh, the page back to the > start (up). > There is any way to preserve the position that I have before refresh? I don't believe so. That's a browser 'feature' and dependent on the browser that you use. Some browsers might treat a differently and perhaps others will share their experiences but AFAIK, there's not much you can do besides upping your refresh interval. -- Marc ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leoh at dcc.ufmg.br Mon Aug 16 16:57:34 2004 From: leoh at dcc.ufmg.br (leoh at dcc.ufmg.br) Date: Mon, 16 Aug 2004 11:57:34 -0300 (BRT) Subject: Why not make service depend upon host? Message-ID: <3670.150.164.6.74.1092668254.squirrel@150.164.6.74> Hi Sirs, I think that it's a good idea to let services checks depend on host checks. In Nagios, hosts depends on hosts (just for notification failures) and services checks depends on services checks (notifications and executions failures). If I want to tell nagios to check a service just if the host is up, I have to define a PING service. Doing that I can depend on PING. But it's redundant! Host checks should be enought to tell me that the host is up. The solution is to make services checks to depend on host checks. Ex.: #Check service B if Host B is UP define hostservicedependency{ host_name Host B dependent_service_description Service B execution_failure_criteria w,u,c notification_failure_criteria w,u,c } Will it be avaible in the next release? Is there any disavantage the I have not spotted? -- Leonardo Henrique Machado Universidade Federal de Minas Gerais ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevor at yarde.com Mon Aug 16 16:55:57 2004 From: trevor at yarde.com (Trev Thorpe) Date: Mon, 16 Aug 2004 10:55:57 -0400 (EDT) Subject: check_http and unauthorized. In-Reply-To: <411AAB99.5000302@willingminds.com> References: <9AA4F704BE060A45A06E1FA950C9DF932CBAF8@sbs-1.nwl.se> <411AAB99.5000302@willingminds.com> Message-ID: <34953.172.24.10.126.1092668157.squirrel@172.24.10.126> Hey Mark, Perfect timing on this one =) Works like a charm and makes perfect sence. Thanks ! -- Trev > Jan Johansson wrote: > >>Is it possible to "accept" an error? >> >>hooch:/usr/share/doc/nagios-text# /usr/lib/nagios/plugins/check_http >>portal-1 >>HTTP WARNING: HTTP/1.1 401 Unauthorized >> >>I cant make the nagios box auth since it is a smart-card-only system, >>but can I tell check'_http to "accept" this return code as "ok"? >> >> > > Sure, just define your check command like so: > > define command{ > command_name check_http_401 > command_line $USER1$/check_http -H $HOSTADDRESS$ -e 401 > } > > Then, you can use check_http_401, which will expect a 401 result code > and exit with an OK status. > > Mark > > -- > Mark D. Nagel, CCIE #3177 > Principal Consultant, Willing Minds LLC > tel: 714-630-4772, fax: 714-630-4773, web: http://www.willingminds.com/ > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Trevor Thorpe | Yarde Metals, Inc. Lead TSA ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Aug 16 17:22:37 2004 From: marc at ena.com (Marc Powell) Date: Mon, 16 Aug 2004 10:22:37 -0500 Subject: Why not make service depend upon host? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A7D5@mismail2.ena.com> ----Original Message---- From: leoh at dcc.ufmg.br [mailto:leoh at dcc.ufmg.br] Sent: Monday, August 16, 2004 9:58 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Why not make service depend upon host? > Hi Sirs, > > I think that it's a good idea to let services checks depend on host > checks. > > In Nagios, hosts depends on hosts (just for notification failures) > and services checks depends on services checks (notifications and > executions failures). > > If I want to tell nagios to check a service just if the host is up, I > have to define a PING service. Doing that I can depend on PING. But > it's redundant! Host checks should be enought to tell me that the > host is up. Nagios already does this and doesn't require a PING service for every host. If _any_ service on a host fails the host is checked using it check_command in it's host definition. Nagios will continue to do service checks but will not notify you of failures until the host recovers. The concept that I think is confusing you is that Nagios is a service-centric monitor, not host-centric. _Hosts are never checked until a service failure_ and then only to determine if just the service has failed or the entire host. Because of this service-centric view of the world, you must have at least on service defined for every host. For those hosts like routers that don't really provide any external services, a good generic service check to use to meet the minimum requirement of 1 service per host is a check_ping. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pamela at rak.bb.euroweb.sk Mon Aug 16 17:24:57 2004 From: pamela at rak.bb.euroweb.sk (jan gregor) Date: Mon, 16 Aug 2004 17:24:57 +0200 Subject: Sounds in web interface Message-ID: <20040816172457.A23083@rak.bb.euroweb.sk> Hello I want to ask, whether is somewhere out there some sort of patch for nagios web interface, that makes cgis play sound only when status of one or more services/hosts changes. Best regards Jan Gregor ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From LLawrence at osc.uscg.mil Mon Aug 16 18:07:17 2004 From: LLawrence at osc.uscg.mil (Lawrence, Lynne) Date: Mon, 16 Aug 2004 12:07:17 -0400 Subject: Problems with initial install of Nagios Message-ID: <13828F680182D511893300508BD6831706E582F5@oscex2.osc.uscg.mil> Sean, I had a similar problem myself (warning: I am new to nagios myself so you might want to take what I have to say with a grain of salt). I noticed the following when I looked at what was going on: - the check_ping check sends, by default 5 packets with a timeout of 10 seconds each. This could cause check_ping to take up to 50 seconds to fail. - when I checked the processes running with the ps command, I typically saw either several service-level checks going on, or _one_ host check going on, which makes me wonder whether host checks are not run in parallel? Note that in your output, below, that looks like a host check command due to the check_ping parameters not matching your service def. My suspicion is that, when there are lots of hosts that are in failure mode, the scheduling gets out of whack because of the relatively long running host check commands that appear to run serially (maybe someone more aware of the ins and outs of scheduling could confirm). Anyway, as my goal with check_ping is to verify, pass/fail, whether my systems are up, and all of my systems are on what should be a performant intranet, I modified my check_ping service to send only 3 packets with a three second timeout with alarm state only in case of 100% packet loss, max_check_attempts = 1. Likewise the host check command. This can be done using the -p and -t options to the check_ping plugin. This helped me get my system working - maybe it will help you. Regards, Lynne Lawrence QSS/USCG > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Sean R. > Clark > Sent: Monday, August 16, 2004 10:02 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems with initial install of Nagios > > > > > I was tasked with converting our Big Brother over to nagios > > I am running nagios v 1.2 on gentoo with 670 hosts in the hosts.cfg > > Currently I am only running check_ping on them to see how > well it scales > > > Right now, I have 57 Down 0 Unreachable 55 Up 558 Pending > > The "pending list" seems to go down at the rate of 1 host per > hour, making > it seem like the testing is very serial in it's nature > > The hosts them selves say things like "Service check > scheduled for Mon Aug > 16 09:16:38 2004 " but it's 9:54 and still no check. > > I tried using parallelization, setting max_concurrent_checks > to 0, this did > not make the list go down at all > > I set max_concurrent_checks to 700, and this didn't not help either > > Here are my timeout values: > > service_check_timeout=60 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 > > > Nagios -s gives me > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 672 > Total hosts: 670 > > Command check interval: -1 sec > Check reaper interval: 5 sec > > Inter-check delay method: SMART > Average check interval: 61.607 sec > Inter-check delay: 0.092 sec > > Interleave factor method: SMART > Average services per host: 1.003 > Service interleave factor: 2 > > Initial service check scheduling info: > -------------------------------------- > First scheduled check: 1092664412 -> Mon Aug 16 > 09:53:32 2004 > Last scheduled check: 1092664473 -> Mon Aug 16 > 09:54:33 2004 > > Rough guidelines for max_concurrent_checks value: > ------------------------------------------------- > Absolute minimum value: 55 > Recommend value: 165 > > > > All the hosts fall under this service > > define service { > use generic-service > host_name * > service_description PING > contact_groups rdc-staff > check_period 24x7 > notification_interval 480 > notification_options w,u,c,r > notification_period 24x7 > check_command check_ping!100.0,20%!500.0,60% > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > } > > > I have fping installed also, which is what I was using with > Big Brother, and > that took at most 300 seconds to give me the status for all > the hosts, on > the same hardware. > > The box does not seem taxed at all, either > > top - 09:56:56 up 18 days, 19:00, 1 user, load average: > 0.00, 0.00, 0.00 > Tasks: 47 total, 1 running, 46 sleeping, 0 stopped, 0 zombie > Cpu(s): 1.2% user, 0.4% system, 0.0% nice, 98.4% idle > Mem: 1292264k total, 687864k used, 604400k free, > 288856k buffers > Swap: 999576k total, 8016k used, 991560k free, > 150448k cached > > > > > And it seems like only one ping process is running > > ps aux | grep ping > nagios 12453 0.1 0.0 1688 712 ? S 09:57 0:00 > /usr/nagios/libexec/check_ping -H 172.16.20.139 -w 3000.0,80% > -c 5000.0,100% > -p 1 > nagios 12454 0.1 0.0 1840 656 ? S 09:57 > 0:00 /bin/ping -n > -U -c 1 172.16.20.139 > > > > Sorry for the lengthy first post, but I am at wits end with > this. Also, even > though the plug-in asked me where fping was, it seems it's > using just ping > to do the pings. Can anyone point me in the right direction? > > > > -Sean > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Mon Aug 16 18:39:41 2004 From: twelsh at square-box.com (Tom Welsh) Date: Mon, 16 Aug 2004 17:39:41 +0100 Subject: Why not make service depend upon host? In-Reply-To: <3670.150.164.6.74.1092668254.squirrel@150.164.6.74> References: <3670.150.164.6.74.1092668254.squirrel@150.164.6.74> Message-ID: Hi Leonardo, I think your missing the point. In the simplest terms.... Ff a service is UP the host is up. If the service is down the host may still be up. If the host is down there is definitely NO services running. It makes sense to only check services, You only execute a HOST check if a service check fails. Your mimimizing your network traffic just slightly as a ping dosent take that much bandwidth. (Unless I want to be cruel) The way you said it you'd do a Ping check first to see if the host is there and then do all your service checks. By default Nagios spreads its service checks over all your servers so that none of them are hit by a big monitoring load. Using your scenario almost every second or 3 check would be a host check to see if the host was there. Now if you have 100 hosts with 10 services each that's 1000 service checks and 100 possible ping checks if all 100 hosts were down. Your way of working would mean this would increase to approximately 1333 host and service checks if it checked 3 services per server per host ping check. Your increasing your scheduling queue by 1/3 I hope that makes sense. Im not sure it does Cheers Tom Welsh squareBOX technologies ltd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of leoh at dcc.ufmg.br Sent: 16 August 2004 15:58 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Why not make service depend upon host? Hi Sirs, I think that it's a good idea to let services checks depend on host checks. In Nagios, hosts depends on hosts (just for notification failures) and services checks depends on services checks (notifications and executions failures). If I want to tell nagios to check a service just if the host is up, I have to define a PING service. Doing that I can depend on PING. But it's redundant! Host checks should be enought to tell me that the host is up. The solution is to make services checks to depend on host checks. Ex.: #Check service B if Host B is UP define hostservicedependency{ host_name Host B dependent_service_description Service B execution_failure_criteria w,u,c notification_failure_criteria w,u,c } Will it be avaible in the next release? Is there any disavantage the I have not spotted? -- Leonardo Henrique Machado Universidade Federal de Minas Gerais ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dhawal at netmagicsolutions.com Mon Aug 16 18:33:48 2004 From: dhawal at netmagicsolutions.com (Dhawal Doshy) Date: Mon, 16 Aug 2004 22:03:48 +0530 Subject: FCAPS compliance In-Reply-To: <4AB63699.6050301@datavis.se> References: <4AB63699.6050301@datavis.se> Message-ID: <4120E1EC.6010200@netmagicsolutions.com> Hi, My organization is in the midst of a discussion over opennms / nagios and how well do they comply with the FCAPS model of network management. I am as usual rooting for nagios but still need to understand how people are doing the following with nagios? discovery (snmp, jmx others?? preferably something automated) configuration (cfengine suits best here, any other suggestions are welcome) performance (nagios does it natively and perfparse / others seem to working towards it) accounting What makes nagios really impressive is the fault management (and correction to a certain extent) and distributed monitoring capabilities. Any suggestions are welcome. Regards, Dhawal Doshy ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joost at informatiefabriek.nl Mon Aug 16 18:37:30 2004 From: joost at informatiefabriek.nl (joost at informatiefabriek.nl) Date: Mon, 16 Aug 2004 18:37:30 +0200 Subject: Sounds in web interface In-Reply-To: <20040816172457.A23083@rak.bb.euroweb.sk> References: <20040816172457.A23083@rak.bb.euroweb.sk> Message-ID: You can find this in cgi.cfg. Just uncomment the wav's you want to activate # Note: All audio files must be placed in the /media subdirectory # under the HTML path (i.e. /usr/local/nagios/share/media/). #host_unreachable_sound=hostdown.wav #host_down_sound=hostdown.wav #service_critical_sound=critical.wav #service_warning_sound=warning.wav #service_unknown_sound=warning.wav #normal_sound=noproblem.wav Hope this will work for you. kind regards, Joost Saanen de Informatiefabriek jan gregor Sent by: nagios-users-admin at lists.sourceforge.net 16-08-2004 17:24 Please respond to jan gregor To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Sounds in web interface Hello I want to ask, whether is somewhere out there some sort of patch for nagios web interface, that makes cgis play sound only when status of one or more services/hosts changes. Best regards Jan Gregor ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: From glaw at storbase.com Mon Aug 16 19:37:45 2004 From: glaw at storbase.com (Gabriel Law) Date: Mon, 16 Aug 2004 13:37:45 -0400 Subject: Custom plugin failing: Return code out of bounds Message-ID: <2337482E01EF0245A81E9F2EEA1E9A00049DAA@mail.storbase.com> Hi all, So I tried writing my own custom plugin in perl, which works fine from command line, but fails when I try to run it as a nagios service check. In the status information line it reads "(Return code of 13 is out of bounds)". Under the FAQ the only possibility could be that the script is returning an improper return code, but I've changed the script to just return 0 upon exit ("exit(0);"). The other possibilities, improper path, plugin not executable, libraries not able to be found, they all have different return codes (127, 126, 137). Has anyone else out there come across this problem before? I'm verily stumped! Any help would be very much appreciated!! Thanks, Gabe Gabriel Law Storbase Communications *: glaw at storbase.com *: 877-693-5800 x222 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Mon Aug 16 19:44:05 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 16 Aug 2004 10:44:05 -0700 Subject: Custom plugin failing: Return code out of bounds In-Reply-To: <2337482E01EF0245A81E9F2EEA1E9A00049DAA@mail.storbase.com> References: <2337482E01EF0245A81E9F2EEA1E9A00049DAA@mail.storbase.com> Message-ID: <20040816174405.GA573@zippy.toger.us> Have you tried running it as the Nagios user? Have you checked that the plugin does not depend on any particular PATH or other environmental variables? Does Nagios have the necessary privileges to execute it? -Jason Martin On Mon, Aug 16, 2004 at 01:37:45PM -0400, Gabriel Law wrote: > Hi all, > > So I tried writing my own custom plugin in perl, which works fine from > command line, but fails when I try to run it as a nagios service check. > In the status information line it reads "(Return code of 13 is out of > bounds)". Under the FAQ the only possibility could be that the script > is returning an improper return code, but I've changed the script to > just return 0 upon exit ("exit(0);"). The other possibilities, improper > path, plugin not executable, libraries not able to be found, they all > have different return codes (127, 126, 137). Has anyone else out there > come across this problem before? I'm verily stumped! -- The cost of living hasn't affected its popularity. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From Anthony_Brock at ous.edu Mon Aug 16 19:48:07 2004 From: Anthony_Brock at ous.edu (Anthony Brock) Date: Mon, 16 Aug 2004 10:48:07 -0700 Subject: Parent of nagios? Message-ID: On a related note, I have a device (A) I would like to configure with two parents (B and C). If I do enable this configuration, when will nagios notifications be suppressed? 1. Only when BOTH parents (B and C) are down? 2. When EITHER parent (B or C) is down? Also, is this behavior configurable? If so, how? Thanks! Tony ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glaw at storbase.com Mon Aug 16 19:57:37 2004 From: glaw at storbase.com (Gabriel Law) Date: Mon, 16 Aug 2004 13:57:37 -0400 Subject: Custom plugin failing: Return code out of bounds Message-ID: <2337482E01EF0245A81E9F2EEA1E9A00049DAB@mail.storbase.com> Agh. I hate outlook. Sorry all for the previous html mail. Here is my message in text. -----Original Message----- From: Gabriel Law Sent: Monday, August 16, 2004 1:38 PM To: 'nagios-users at lists.sourceforge.net' Subject: Custom plugin failing: Return code out of bounds Hi all, So I tried writing my own custom plugin in perl, which works fine from command line, but fails when I try to run it as a nagios service check. In the status information line it reads "(Return code of 13 is out of bounds)". Under the FAQ the only possibility could be that the script is returning an improper return code, but I've changed the script to just return 0 upon exit ("exit(0);"). The other possibilities, improper path, plugin not executable, libraries not able to be found, they all have different return codes (127, 126, 137). Has anyone else out there come across this problem before? I'm verily stumped! Any help would be very much appreciated!! Thanks, Gabe Gabriel Law Storbase Communications *: glaw at storbase.com (: 877-693-5800 x222 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Mon Aug 16 20:08:20 2004 From: teng at dataway.com (Tedman Eng) Date: Mon, 16 Aug 2004 11:08:20 -0700 Subject: check_ups / check_snmp and APC SmartUPS 2200R? Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC72E8@dw-mail.dataway.com> Here's my config: We care only about if the status changes from "Normal online" or if any batteries go bad. Powernet PDF file from APC's site is where I got the OID's originally # 'check_snmp_apc_status' command definition define command{ command_name check_snmp_apc_status command_line $USER1$/check_snmp -l "UPS STATUS" -H $HOSTADDRESS$ -C community -o .1.3.6.1.4.1.318.1.1.1.4.1.1.0 -s 2 } # 'check_snmp_apc_badbatteries' command definition define command{ command_name check_snmp_apc_badbatteries command_line $USER1$/check_snmp -l "UPS # of BAD BATTERIES" -H $HOSTADDRESS$ -C community -o .1.3.6.1.4.1.318.1.1.1.2.2.6.0 -s 0 } -----Original Message----- From: Jan Johansson [mailto:jan.johansson at se.nyklogistics.com] Sent: Sunday, August 15, 2004 1:11 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_ups / check_snmp and APC SmartUPS 2200R? Can someone give me a good hint on how to monitor these units with nagios? CHeckUPS doesn't seem to talk to the UPS at all. And snmpwalk doesn't give me ant "useful" info that actually seem to tell the STATUS of the unit.. It doesn't seem to "click" on the Powernet-mib. Sooo, hints or a good OID someone? :) ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glaw at storbase.com Mon Aug 16 20:07:12 2004 From: glaw at storbase.com (Gabriel Law) Date: Mon, 16 Aug 2004 14:07:12 -0400 Subject: Custom plugin failing: Return code out of bounds Message-ID: <2337482E01EF0245A81E9F2EEA1E9A00049DAC@mail.storbase.com> Hi Jason, I tried running as Nagios and found that it was indeed a permission problem. I had some files in subdirectories in /home/storbasemon, all of which were set correctly, but I forgot to check /home/storbasemon. Duh! Thanks for the help! -Gabe -----Original Message----- From: Gabriel Law Sent: Monday, August 16, 2004 1:58 PM To: 'nagios-users at lists.sourceforge.net' Subject: RE: Custom plugin failing: Return code out of bounds Agh. I hate outlook. Sorry all for the previous html mail. Here is my message in text. -----Original Message----- From: Gabriel Law Sent: Monday, August 16, 2004 1:38 PM To: 'nagios-users at lists.sourceforge.net' Subject: Custom plugin failing: Return code out of bounds Hi all, So I tried writing my own custom plugin in perl, which works fine from command line, but fails when I try to run it as a nagios service check. In the status information line it reads "(Return code of 13 is out of bounds)". Under the FAQ the only possibility could be that the script is returning an improper return code, but I've changed the script to just return 0 upon exit ("exit(0);"). The other possibilities, improper path, plugin not executable, libraries not able to be found, they all have different return codes (127, 126, 137). Has anyone else out there come across this problem before? I'm verily stumped! Any help would be very much appreciated!! Thanks, Gabe Gabriel Law Storbase Communications *: glaw at storbase.com (: 877-693-5800 x222 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.atwal at ubc.ca Mon Aug 16 20:09:05 2004 From: steve.atwal at ubc.ca (Atwal, Steve) Date: Mon, 16 Aug 2004 11:09:05 -0700 Subject: Biggest Problem with Nagios: Poor Setup/Installation Message-ID: <943B458A6A6E0540AD7D80D78DE37104068AF81D@exchange3.ubc.ca> I'd like to use Nagios, but after wasting over a month, finally gave up. Setup instructions are very poor, and we ended up using Big Brother instead. I'd still like to use Nagios, but the following problems will stop people in their tracks when it comes to using it: - poor setup/installation, for both the server and clients to be monitored - poor documentation for admins, esp. related to above point - no easy configuration tool, e.g. one solution: create a good Webmin plug-in (someone else tried to do this, but it doesn't work) If the developers of Nagios can work on the above and get that polished, they will have a very good tool that a lot more people will be using. Until then....we'll leave it to those that have lots and lots of time to waste. Not being negative...just providing some feedback that might improve the product. Cheers Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From benny at bennyvision.com Mon Aug 16 20:34:04 2004 From: benny at bennyvision.com (C. Bensend) Date: Mon, 16 Aug 2004 13:34:04 -0500 (CDT) Subject: Biggest Problem with Nagios: Poor Setup/Installation In-Reply-To: <943B458A6A6E0540AD7D80D78DE37104068AF81D@exchange3.ubc.ca> References: <943B458A6A6E0540AD7D80D78DE37104068AF81D@exchange3.ubc.ca> Message-ID: <2197.134.244.169.17.1092681266.squirrel@webmail.stinkweasel.net> > If the developers of Nagios can work on the above and get that polished, > they will have a very good tool that a lot more people will be using. > Until then....we'll leave it to those that have lots and lots of time to > waste. What exactly did you find lacking? A long time ago when I did my first install of Netsaint 0.0.4, and me being that much greener in the sysadmin business, it still didn't take more than a day or two until I had a basic installation up and running, with web interface and everything. Within a week, I had written a few custom plugins using Perl and/or sh script. As for configuration of hosts/services, the examples in the example config files from 'make install-config' were plenty for me. Was it 100% done immediately? No, not at all. But I didn't recall any real issues with the docs (and remember, that was years ago, with 0.0.4), nor with runtime config. I'd be interested to hear details of the problems you had. Benny -- "Horrible pain! I made sounds like a dolphin giving birth." -- Mr. Corman, "Scrubs" ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Aug 16 20:40:05 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 16 Aug 2004 11:40:05 -0700 Subject: Biggest Problem with Nagios: Poor Setup/Installation In-Reply-To: <2197.134.244.169.17.1092681266.squirrel@webmail.stinkweasel.net> References: <943B458A6A6E0540AD7D80D78DE37104068AF81D@exchange3.ubc.ca> <2197.134.244.169.17.1092681266.squirrel@webmail.stinkweasel.net> Message-ID: <20040816184005.GB573@zippy.toger.us> On Mon, Aug 16, 2004 at 01:34:04PM -0500, C. Bensend wrote: > > If the developers of Nagios can work on the above and get that polished, > > they will have a very good tool that a lot more people will be using. > > Until then....we'll leave it to those that have lots and lots of time to One thing that I think would be helpful is to include a working runnable configuration, perhaps just checking localhost. That way an everage user can download the software, install the 'sample config' and start it up and have it be operational. -Jason Martin -- If it's not your banana, don't eat it. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From dhobbs at chancery.com Mon Aug 16 20:38:53 2004 From: dhobbs at chancery.com (Dale Hobbs) Date: Mon, 16 Aug 2004 11:38:53 -0700 Subject: Biggest Problem with Nagios: Poor Setup/Installation Message-ID: <903C68C2CC785C4684A59862E3067553916E5A@s-exchange4.chancery.com> I'm not sure how you came up with the points below. The instructions are very easy to follow if you read them. I've never used a linux machine in my life let alone Nagios yet I was able to get it up and running in under a day. I find the setup/installation very easy to use. I don't think that there is really a need for a webmin configuration tool. If you want a gui-based configuration tool then you might want to stick with Microsoft Windows -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Atwal, Steve Sent: Monday, August 16, 2004 11:09 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Biggest Problem with Nagios: Poor Setup/Installation I'd like to use Nagios, but after wasting over a month, finally gave up. Setup instructions are very poor, and we ended up using Big Brother instead. I'd still like to use Nagios, but the following problems will stop people in their tracks when it comes to using it: - poor setup/installation, for both the server and clients to be monitored - poor documentation for admins, esp. related to above point - no easy configuration tool, e.g. one solution: create a good Webmin plug-in (someone else tried to do this, but it doesn't work) If the developers of Nagios can work on the above and get that polished, they will have a very good tool that a lot more people will be using. Until then....we'll leave it to those that have lots and lots of time to waste. Not being negative...just providing some feedback that might improve the product. Cheers Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From joost at informatiefabriek.nl Mon Aug 16 21:00:16 2004 From: joost at informatiefabriek.nl (joost at informatiefabriek.nl) Date: Mon, 16 Aug 2004 21:00:16 +0200 Subject: Biggest Problem with Nagios: Poor Setup/Installation In-Reply-To: <20040816184005.GB573@zippy.toger.us> References: <20040816184005.GB573@zippy.toger.us> Message-ID: I installed the rpm files on a Redhat 9 machine and used the sample config file (minimal.cfg) and it was up and running in a few days. I visit some forums like http://forums.square-box.com/ and read the documentation from nagios.org don't give up and good luck ;) Joost Saanen Jason Martin Sent by: nagios-users-admin at lists.sourceforge.net 16-08-2004 20:40 To nagios-users at lists.sourceforge.net cc Subject Re: [Nagios-users] Biggest Problem with Nagios: Poor Setup/Installation On Mon, Aug 16, 2004 at 01:34:04PM -0500, C. Bensend wrote: > > If the developers of Nagios can work on the above and get that polished, > > they will have a very good tool that a lot more people will be using. > > Until then....we'll leave it to those that have lots and lots of time to One thing that I think would be helpful is to include a working runnable configuration, perhaps just checking localhost. That way an everage user can download the software, install the 'sample config' and start it up and have it be operational. -Jason Martin -- If it's not your banana, don't eat it. This message is PGP/MIME signed. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: attc3ci3.dat Type: application/octet-stream Size: 219 bytes Desc: not available URL: From GWCOOK at mactec.com Mon Aug 16 20:24:53 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 16 Aug 2004 12:24:53 -0600 Subject: Parent of nagios? Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E986D@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > On a related note, I have a device (A) I would like to > configure with two parents (B and C). If I do enable this > configuration, when will nagios notifications be suppressed? > > 1. Only when BOTH parents (B and C) are down? Yes. Sort of. Understand that notifications are not automagically suppressed. This scenario would cause Nagios to see host A as UNREACHABLE. If you do not have your configuration setup to send notifications on UNREACHABLEs, then yes, notifications are suppressed. > 2. When EITHER parent (B or C) is down? No. Nagios will still be able to see host A. > Also, is this behavior configurable? If so, how? Maybe. I'll let someone else answer this. I belive that dependency configurations will override the parent/child relationships. But you'll have to read the docs further to find out if this is truly the case. > > Thanks! > > Tony Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam_stave at yahoo.com Mon Aug 16 21:05:12 2004 From: sam_stave at yahoo.com (Sam Stave) Date: Mon, 16 Aug 2004 12:05:12 -0700 (PDT) Subject: Biggest Problem with Nagios: Poor Setup/Installation In-Reply-To: <2197.134.244.169.17.1092681266.squirrel@webmail.stinkweasel.net> References: <2197.134.244.169.17.1092681266.squirrel@webmail.stinkweasel.net> Message-ID: <20040816190512.41890.qmail@web50304.mail.yahoo.com> Well, i can tell you that this is an extremely poorly documented util. There is no place that states nor clearly describes the exact methods for getting a check to run - especially when it is not an actual service that a host is presenting to external users. There is a tremendous amount of trial and error and WTF type of reading and re-reading the config files to figure out how the thing is supposed to be configured. While this is a great way to really learn what the tool is doing and how it actually does it - just because one person with sys admin experience can make many deductions quickly and flow past any issues - most of the undocumented idiosyncrosis of the utility can be show-stoppers for the "average" person. I am writing a clear and concise installation and configuration run-book which i will publish on this list, so one example is: Nagios is a utility which is designed to natively check external services presented to clients on a network. Nagios will act as a client of the service and access the service to determine if it is actually running. In order to do this, Nagios requires that one host definition be placed in the host.cfg file (usually a host is defined as a single IP) - then services associated with this host can be listed in the service.cfg file. For example, host 10.1.1.1 may be a web/ftp server. For 10.1.1.1, you would tell Nagios to run a check_ftp and a check_http service check. Your host definition in host.cfg looks like this: [Standard host definition] A service check definition associated with a host should be entered into service.cfg like this: [standrd service definition] You can list as many service checks to a single host as you like. The services that Nagios can check natively are all *external* services. For internal system checks, such as check_disk check_load and other checks which must run commands on a local host, Nagios needs to be configured to run these checks via ssh. The check_by_ssh command allows for Nagios to SSH to a machine, execute a Nagios plugin that is *installed on the remote host* and report based on the output of that check. ----- That is the level of description that Nagios does *not* have... and that was just off the top of my head... and I am new to Nagios. So i am sure that those who are much more familiar with it should have been able to write some better documentation. additionally, there are other issues, like what dependancy packages need to be added. The fact that it appears that check_by_ssh does *NOT* work when both the Nagios Server and Client are solaris (as I have found - check_by_ssh returns no output when I have both server and client as solaris boxes - but I am currently setting up both a linux server and client to verify this) The installation and configuration runbook that I am writing is for me, but i am happy to share it with the Nagios community.... Sam __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Mon Aug 16 21:09:17 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 16 Aug 2004 13:09:17 -0600 Subject: Biggest Problem with Nagios: Poor Setup/Installation Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E9873@golden-m.mactec.com> Atwal, Steve wrote: > I'd like to use Nagios, but after wasting over a month, finally gave > up. Setup instructions are very poor, and we ended up using Big > Brother instead. I'd still like to use Nagios, but the following > problems will stop people in their tracks when it comes to using it: >From what I've seen over the past few years, there aren't too many people with a complaint such as this. Did you read all of the docs included with the distribution? They can also be found at Nagios.org. I'm guessing that you did not read all of the docs, or you would have found the Installation Guide written by Andrew Kaplan, which is linked from http://www.nagios.org/docs/. If you've got a copy of that, and still can't get Nagios up and running correctly, then I don't think that the developers are at fault here. One last thing... I've searched through the last few weeks of posts to the list, and I can't find another post from you besides this one. I would think that if you had spent a month attempting to setup Nagios, you would have mailed the list at least one other time with a question or two. If not, then what you've really wasted is a valuable resource, not a month of setup time. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) > - poor setup/installation, for both the server and clients to be > monitored > - poor documentation for admins, esp. related to above point > - no easy configuration tool, e.g. one solution: create a good Webmin > plug-in (someone else tried to do this, but it doesn't work) > If the developers of Nagios can work on the above and get that > polished, they will have a very good tool that a lot more people will > be using. Until then....we'll leave it to those that have lots and > lots of time to waste. > Not being negative...just providing some feedback that might improve > the product. > Cheers > Steve ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Mon Aug 16 21:24:29 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 16 Aug 2004 13:24:29 -0600 Subject: Biggest Problem with Nagios: Poor Setup/Installation Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E9874@golden-m.mactec.com> Atwal, Steve wrote: > :-) I did read all the docs. So did another Linux admin. > Also, a few articles on Nagios written by IBM. Nagios is a > very impressive product, don't get me wrong. But, I disagree > that the docs explain everything properly. It wasn't the last > month that we > tried to set it up - it was earlier this year. I was hoping > that with a little prodding we can get a simple 5-page setup > guide, in very basic point form. > > Steve Fair enough. Did you see the pdf Installation guide that I mentioned below? If not, take a look and see if maybe this is what you are looking for. It's about 100 pages, not 5, but I still think it is 'simple' enough to get you going. If you still want to try to get Nagios running, follow the guide and post specific questions to the list if/when you run into trouble. Like I said, the list is a very valuable resource, and most of the folks that subscribe are eager to help out new users, provided said users don't insult their favorite network monitoring app. ;) Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) > -----Original Message----- > From: Cook, Garry [mailto:GWCOOK at mactec.com] > Sent: Monday, August 16, 2004 12:09 PM > To: Atwal, Steve; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Biggest Problem with Nagios: Poor > Setup/Installation > > Atwal, Steve wrote: >> I'd like to use Nagios, but after wasting over a month, finally gave >> up. Setup instructions are very poor, and we ended up using Big >> Brother instead. I'd still like to use Nagios, but the following >> problems will stop people in their tracks when it comes to using it: > > From what I've seen over the past few years, there aren't too > many people with a complaint such as this. Did you read all > of the docs included with the distribution? They can also be > found at Nagios.org. > > I'm guessing that you did not read all of the docs, or you > would have found the Installation Guide written by Andrew > Kaplan, which is linked from http://www.nagios.org/docs/. If > you've got a copy of that, and still can't get Nagios up and running > correctly, then I don't think that the developers are at fault here. > > One last thing... I've searched through the last few weeks of > posts to the list, and I can't find another post from you > besides this one. I would think that if you had spent a month > attempting to setup Nagios, you would have mailed the list at > least one > other time with a question or two. If not, then what you've > really wasted is a valuable resource, not a month of setup time. > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) > >> - poor setup/installation, for both the server and clients to be >> monitored >> - poor documentation for admins, esp. related to above point >> - no easy configuration tool, e.g. one solution: create a good Webmin >> plug-in (someone else tried to do this, but it doesn't work) If the >> developers of Nagios can work on the above and get that polished, >> they will have a very good tool that a lot more people will be >> using. Until then....we'll leave it to those that have lots and >> lots of time to waste. >> Not being negative...just providing some feedback that might improve >> the product. Cheers Steve ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff at skislave.com Mon Aug 16 22:03:08 2004 From: jeff at skislave.com (Jeff Scott) Date: Mon, 16 Aug 2004 14:03:08 -0600 Subject: Biggest Problem with Nagios: Poor Setup/Installation In-Reply-To: <20040816190512.41890.qmail@web50304.mail.yahoo.com> References: <20040816190512.41890.qmail@web50304.mail.yahoo.com> Message-ID: On Mon, 16 Aug 2004 12:05:12 -0700 (PDT), Sam Stave wrote: > Well, i can tell you that this is an extremely poorly > documented util. > > There is no place that states nor clearly describes > the exact methods for getting a check to run - > especially when it is not an actual service that a > host is presenting to external users. > > There is a tremendous amount of trial and error and > WTF type of reading and re-reading the config files to > figure out how the thing is supposed to be configured. > > While this is a great way to really learn what the > tool is doing and how it actually does it - just > because one person with sys admin experience can make > many deductions quickly and flow past any issues - > most of the undocumented idiosyncrosis of the utility > can be show-stoppers for the "average" person. > > I am writing a clear and concise installation and > configuration run-book which i will publish on this > list, so one example is: > > Nagios is a utility which is designed to natively > check external services presented to clients on a > network. Nagios will act as a client of the service > and access the service to determine if it is actually > running. In order to do this, Nagios requires that one > host definition be placed in the host.cfg file > (usually a host is defined as a single IP) - then > services associated with this host can be listed in > the service.cfg file. For example, host 10.1.1.1 may > be a web/ftp server. > > For 10.1.1.1, you would tell Nagios to run a check_ftp > and a check_http service check. > > Your host definition in host.cfg looks like this: > > [Standard host definition] > > A service check definition associated with a host > should be entered into service.cfg like this: > > [standrd service definition] > > You can list as many service checks to a single host > as you like. > > The services that Nagios can check natively are all > *external* services. For internal system checks, such > as check_disk check_load and other checks which must > run commands on a local host, Nagios needs to be > configured to run these checks via ssh. The > check_by_ssh command allows for Nagios to SSH to a > machine, execute a Nagios plugin that is *installed on > the remote host* and report based on the output of > that check. > > ----- > > That is the level of description that Nagios does > *not* have... and that was just off the top of my > head... and I am new to Nagios. So i am sure that > those who are much more familiar with it should have > been able to write some better documentation. > > additionally, there are other issues, like what > dependancy packages need to be added. The fact that it > appears that check_by_ssh does *NOT* work when both > the Nagios Server and Client are solaris (as I have > found - check_by_ssh returns no output when I have > both server and client as solaris boxes - but I am > currently setting up both a linux server and client to > verify this) > > The installation and configuration runbook that I am > writing is for me, but i am happy to share it with the > Nagios community.... > > Sam > Sam, I don't have any issues with docs, it all worked fine for myself, with very little effort.... Anyway, wanted to let you know there is no issue with checking from Solaris via SSH, thats all I do. I have a Solaris8 based Nagios Server, and about 75 monitored hosts, and 500-600 service checks, almost all checked via ssh. (I'm actually having more issues with my Redhat 9 server, than any of my solaris systems.) I'm working on a set of service checks that run via SSH only, but don't require any processes or scripts on the remote end, except for standard unix commands. That way the service checks don't have to be compiled on every host. And my vendors can't complain about "3rd party" software running on production systems. Can you run the checks manually by hand? Good Luck, Jeff ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Mon Aug 16 22:07:16 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 16 Aug 2004 15:07:16 -0500 Subject: Biggest Problem with Nagios: Poor Setup/Installation In-Reply-To: <20040816190512.41890.qmail@web50304.mail.yahoo.com> References: <20040816190512.41890.qmail@web50304.mail.yahoo.com> Message-ID: <1092686836.28136.18.camel@localhost> On Mon, 2004-08-16 at 12:05 -0700, Sam Stave wrote: > Well, i can tell you that this is an extremely poorly > documented util. You can tell us? So, this isn't a subjective issue? Damn, I guess I was mistaken, then. I was of the impression that it's amazingly documented. > There is no place that states nor clearly describes > the exact methods for getting a check to run - > especially when it is not an actual service that a > host is presenting to external users. What? > There is a tremendous amount of trial and error and > WTF type of reading and re-reading the config files to > figure out how the thing is supposed to be configured. Maybe you should read the DOCS. > While this is a great way to really learn what the > tool is doing and how it actually does it - just > because one person with sys admin experience can make > many deductions quickly and flow past any issues - > most of the undocumented idiosyncrosis of the utility > can be show-stoppers for the "average" person. I think the "idiosyncrosis" (sic) are minimal, and well documented. I, and many others, judging by this thread, have never had the "problems" that you and the original poster describe. Perhaps that says more about you (and him) than the tool. > I am writing a clear and concise installation and > configuration run-book which i will publish on this > list, so one example is: > > Nagios is a utility which is designed to natively > check external services presented to clients on a > network. Nagios will act as a client of the service > and access the service to determine if it is actually > running. SOME checks work that way. Many don't. Describing ICMP (ping) as a client/service relationship is awfully convoluted. Not to mention passive services. and negation. And load checks, and disk checks. and others. > In order to do this, Nagios requires that one > host definition be placed in the host.cfg file Not true. It requires that a host be defined, but there is no file name requirement. In fact, I have no host.cfg. or hosts.cfg, which is default. > (usually a host is defined as a single IP) - then what? > services associated with this host can be listed in > the service.cfg file. For example, host 10.1.1.1 may > be a web/ftp server. So, you don't delineate between host_name and address? And you think Nagios has idiosyncrasies? > For 10.1.1.1, you would tell Nagios to run a check_ftp > and a check_http service check. > > Your host definition in host.cfg looks like this: > > [Standard host definition] > > A service check definition associated with a host > should be entered into service.cfg like this: > > [standrd service definition] > > You can list as many service checks to a single host > as you like. > > The services that Nagios can check natively are all > *external* services. For internal system checks, such > as check_disk check_load and other checks which must > run commands on a local host, Nagios needs to be > configured to run these checks via ssh. The Or nsca, you know. > check_by_ssh command allows for Nagios to SSH to a > machine, execute a Nagios plugin that is *installed on > the remote host* and report based on the output of > that check. > > ----- > > That is the level of description that Nagios does > *not* have... and that was just off the top of my > head... and I am new to Nagios. So i am sure that > those who are much more familiar with it should have > been able to write some better documentation. You *really* didn't read the docs, did you? > additionally, there are other issues, like what > dependancy packages need to be added. The fact that it > appears that check_by_ssh does *NOT* work when both > the Nagios Server and Client are solaris (as I have > found - check_by_ssh returns no output when I have > both server and client as solaris boxes - but I am > currently setting up both a linux server and client to > verify this) compile-time dependencies are a fact of life. If you're not used to them such that it causes you this level of consternation, perhaps pre- compiled packages are a better option. > The installation and configuration runbook that I am > writing is for me, but i am happy to share it with the > Nagios community.... > > Sam > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Mon Aug 16 22:11:27 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 16 Aug 2004 14:11:27 -0600 Subject: Biggest Problem with Nagios: Poor Setup/Installation Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E987B@golden-m.mactec.com> Atwal, Steve wrote: > :-) No insults intended. I truly want to use this product. My > biggest peeve is that I didn't get anywhere with it, and I > did post some messages to the list without any useful > responses, except to "read the docs" :-) And yes, I did read the .pdf > file and so did our other Linux admin. It is way too unweildy...we > don't need a course on how to be a gourmet chef...we need > some basic meat & potatoes so we don't go hungry :-) I still > think that a simply 5-page setup/config guide, not only for the > server part but also for the "clients" to be monitored is missing. We > got to the point where the software was working on the server, > but could get no info from the clients to be monitored...and > my posts to the list went unanswered. > > Steve As with any software, OpenSource or otherwise, documentation is usually the last piece of the puzzle. Since Nagios is OpenSource, it's mainly the people who use it that contribute back to it. If you do stick with it, and get it up and running, I hope that you'll keep that in mind and submit what you've learned in a format that is easy for new users to understand. The docs that you require may indeed be missing from the project. They may be out there somewhere, but if they are, I've not seen them. The only way that we'll ever see this type of doc is: A) Ethan decides that Nagios is finished. He spends the rest of his days documenting the project. B) Someone in a posistion such as yours writes the docs. C) An experienced Nagios user reads this thread, takes pity on new users, and writes the docs. I wouldn't trust docs written in scenario C, because like I said above, only a new user is far enough removed from Nagios to know what problems are likely to crop up when you don't yet know anything about the software. At this point, I think you've got the attention of most of the people on the list. If you still want to use Nagios, and are still having some issues, try reposting your original questions to the list. Perhaps you'll get some feedback that can be added to the 'Nagios Quick Setup Guide'. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) > > -----Original Message----- > From: Cook, Garry [mailto:GWCOOK at mactec.com] > Sent: Monday, August 16, 2004 12:24 PM > To: Atwal, Steve > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Biggest Problem with Nagios: Poor > Setup/Installation > > > Atwal, Steve wrote: >> :-) I did read all the docs. So did another Linux admin. Also, a few >> articles on Nagios written by IBM. Nagios is a very impressive >> product, don't get me wrong. But, I disagree that the docs explain >> everything properly. It wasn't the last month that we >> tried to set it up - it was earlier this year. I was hoping >> that with a little prodding we can get a simple 5-page setup >> guide, in very basic point form. >> >> Steve > > Fair enough. > Did you see the pdf Installation guide that I mentioned > below? If not, take a look and see if maybe this is what you > are looking for. It's about 100 pages, not 5, but I still > think it is 'simple' enough to get you going. > > If you still want to try to get Nagios running, follow the > guide and post specific questions to the list if/when you run > into trouble. Like I said, the list is a very valuable > resource, and most of the folks that subscribe are eager to help out > new users, provided said users don't insult their favorite network > monitoring app. ;) > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) > >> -----Original Message----- >> From: Cook, Garry [mailto:GWCOOK at mactec.com] >> Sent: Monday, August 16, 2004 12:09 PM >> To: Atwal, Steve; nagios-users at lists.sourceforge.net >> Subject: RE: [Nagios-users] Biggest Problem with Nagios: Poor >> Setup/Installation >> >> Atwal, Steve wrote: >>> I'd like to use Nagios, but after wasting over a month, finally gave >>> up. Setup instructions are very poor, and we ended up using Big >>> Brother instead. I'd still like to use Nagios, but the following >>> problems will stop people in their tracks when it comes to using it: >> >> From what I've seen over the past few years, there aren't too many >> people with a complaint such as this. Did you read all of the docs >> included with the distribution? They can also be found at Nagios.org. >> >> I'm guessing that you did not read all of the docs, or you would have >> found the Installation Guide written by Andrew Kaplan, which is >> linked from http://www.nagios.org/docs/. If you've got a copy of >> that, and still can't get Nagios up and running correctly, then I >> don't think that the developers are at fault here. >> >> One last thing... I've searched through the last few weeks of posts >> to the list, and I can't find another post from you besides this >> one. I would think that if you had spent a month attempting to setup >> Nagios, you would have mailed the list at least one >> other time with a question or two. If not, then what you've >> really wasted is a valuable resource, not a month of setup time. >> >> Garry W. Cook, CCNA >> Network Infrastructure Manager >> MACTEC, Inc. - http://www.mactec.com/ >> 303.308.6228 (Office) - 720.220.1862 (Mobile) >> >>> - poor setup/installation, for both the server and clients to be >>> monitored >>> - poor documentation for admins, esp. related to above point >>> - no easy configuration tool, e.g. one solution: create a good >>> Webmin plug-in (someone else tried to do this, but it doesn't work) >>> If the developers of Nagios can work on the above and get that >>> polished, they will have a very good tool that a lot more people >>> will be using. Until then....we'll leave it to those that have lots >>> and lots of time to waste. Not being negative...just providing some >>> feedback that might improve the product. Cheers Steve ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Mon Aug 16 22:15:40 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 16 Aug 2004 15:15:40 -0500 Subject: Biggest Problem with Nagios: Poor Setup/Installation In-Reply-To: <943B458A6A6E0540AD7D80D78DE37104068AF81D@exchange3.ubc.ca> References: <943B458A6A6E0540AD7D80D78DE37104068AF81D@exchange3.ubc.ca> Message-ID: <1092687340.28136.27.camel@localhost> On Mon, 2004-08-16 at 11:09 -0700, Atwal, Steve wrote: > I'd like to use Nagios, but after wasting over a month, finally gave > up. Setup instructions are very poor, and we ended up using Big > Brother instead. I'd still like to use Nagios, but the following > problems will stop people in their tracks when it comes to using it: > > - poor setup/installation, for both the server and clients to be > monitored Anything specific? If you're making a blanket statement about *all* services, I have to question your basic ability to set Nagios up at all. Pinging hosts isn't all that difficult, and doesn't really involve client setup, unless you count "getting routing working" as part of Nagios' setup. > - poor documentation for admins, esp. related to above point ok. I think it's great. So do many others. > - no easy configuration tool, e.g. one solution: create a good Webmin > plug-in (someone else tried to do this, but it doesn't work) To address this ugly thread again, I would like to propose that the developers NOT force a gui upon us. I like it fine the correct (ascii file) way. > If the developers of Nagios can work on the above and get that > polished, they will have a very good tool that a lot more people will > be using. Until then....we'll leave it to those that have lots and > lots of time to waste. I waste almost no time with it, thanks. And I didn't find there to be a very steep learning curve at all to accomplish basic monitoring. Certainly, the more advanced "tricks" (para-distributed monitoring, snmp traps, nsca, nrpe, and apan all working cohesively isn't a basic setup, though) take some time, but it's not like working blind. I found it quite pleasurable to work with. > Not being negative...just providing some feedback that might improve > the product. Feedback, yes. Good feedback, no. Perhaps some specific points that you were unable to overcome would help us reply in a constructive manner. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam_stave at yahoo.com Mon Aug 16 22:49:38 2004 From: sam_stave at yahoo.com (Sam Stave) Date: Mon, 16 Aug 2004 13:49:38 -0700 (PDT) Subject: Biggest Problem with Nagios: Poor Setup/Installation In-Reply-To: <1092686836.28136.18.camel@localhost> References: <1092686836.28136.18.camel@localhost> Message-ID: <20040816204938.64289.qmail@web50303.mail.yahoo.com> OK so that was a completely asinine response.\ First of all I have read *all* the documentation. in addition I have been going throug the lists archive, and posting to the list. I have read that PDF and other contributed documentation as well. So, since you are such an expert why not replying with something more than "What?" For example: > It requires that a host be defined, but there is no > file name > requirement. In fact, I have no host.cfg. or > hosts.cfg, which is > default. Actually when you install nagios, it does not create these files as you may be well aware. However it DOES state that you should use make install-config to create the sample config files - of which there is a hosts.cfg. NO place does it state that having no host.cfg is a Default way to have the system configured. It is obvious from your response that you are merely attempting to make yourself feel better about your understanding being greater than anothers - rather than actually contributing anything of true value. Why not expand upon how you state not having a host file is a default. I just went back again and read the object definition documentation - and nowhere does it state that no host file is defult. Infact since the make install-config CREATES a hosts.cfg file - it would lead one to believe that having this file is in fact the default. I also did mention that what i had wrote was jsut off the top of my head.... but it was a hell of a lot more clear than what my experience has been in reading all the docs and some of the respondants to issues on this list, such as is evident from the pompous rediculous response of mr vier here. anyway - the point is that it should be fairly obvious that some people do find defficiencies in the documentation - as some people need things spelled out in a non-technical description more than others, and I hope to alleviate that to as much a degree as I can - as opposed to making attacks with no value-add on the list... Sam --- jeff vier wrote: > On Mon, 2004-08-16 at 12:05 -0700, Sam Stave wrote: > > Well, i can tell you that this is an extremely > poorly > > documented util. > > You can tell us? > > So, this isn't a subjective issue? > > Damn, I guess I was mistaken, then. I was of the > impression that it's > amazingly documented. > > > There is no place that states nor clearly > describes > > the exact methods for getting a check to run - > > especially when it is not an actual service that a > > host is presenting to external users. > > What? > > > There is a tremendous amount of trial and error > and > > WTF type of reading and re-reading the config > files to > > figure out how the thing is supposed to be > configured. > > Maybe you should read the DOCS. > > > While this is a great way to really learn what the > > tool is doing and how it actually does it - just > > because one person with sys admin experience can > make > > many deductions quickly and flow past any issues - > > most of the undocumented idiosyncrosis of the > utility > > can be show-stoppers for the "average" person. > > I think the "idiosyncrosis" (sic) are minimal, and > well documented. > I, and many others, judging by this thread, have > never had the > "problems" that you and the original poster > describe. Perhaps that says > more about you (and him) than the tool. > > > I am writing a clear and concise installation and > > configuration run-book which i will publish on > this > > list, so one example is: > > > > Nagios is a utility which is designed to natively > > check external services presented to clients on a > > network. Nagios will act as a client of the > service > > and access the service to determine if it is > actually > > running. > > SOME checks work that way. Many don't. > Describing ICMP (ping) as a client/service > relationship is awfully > convoluted. Not to mention passive services. and > negation. And load > checks, and disk checks. and others. > > > In order to do this, Nagios requires that one > > host definition be placed in the host.cfg file > > Not true. > > It requires that a host be defined, but there is no > file name > requirement. In fact, I have no host.cfg. or > hosts.cfg, which is > default. > > > (usually a host is defined as a single IP) - then > > what? > > > services associated with this host can be listed > in > > the service.cfg file. For example, host 10.1.1.1 > may > > be a web/ftp server. > > So, you don't delineate between host_name and > address? And you think > Nagios has idiosyncrasies? > > > For 10.1.1.1, you would tell Nagios to run a > check_ftp > > and a check_http service check. > > > > Your host definition in host.cfg looks like this: > > > > [Standard host definition] > > > > A service check definition associated with a host > > should be entered into service.cfg like this: > > > > [standrd service definition] > > > > You can list as many service checks to a single > host > > as you like. > > > > The services that Nagios can check natively are > all > > *external* services. For internal system checks, > such > > as check_disk check_load and other checks which > must > > run commands on a local host, Nagios needs to be > > configured to run these checks via ssh. The > > Or nsca, you know. > > > check_by_ssh command allows for Nagios to SSH to a > > machine, execute a Nagios plugin that is > *installed on > > the remote host* and report based on the output of > > that check. > > > > ----- > > > > That is the level of description that Nagios does > > *not* have... and that was just off the top of my > > head... and I am new to Nagios. So i am sure that > > those who are much more familiar with it should > have > > been able to write some better documentation. > > You *really* didn't read the docs, did you? > > > additionally, there are other issues, like what > > dependancy packages need to be added. The fact > that it > > appears that check_by_ssh does *NOT* work when > both > > the Nagios Server and Client are solaris (as I > have > > found - check_by_ssh returns no output when I have > > both server and client as solaris boxes - but I am > > currently setting up both a linux server and > client to > > verify this) > > compile-time dependencies are a fact of life. If > you're not used to > them such that it causes you this level of > consternation, perhaps pre- > compiled packages are a better option. > > > The installation and configuration runbook that I > am > > writing is for me, but i am happy to share it with > the > > Nagios community.... > > > > Sam > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic > DVD+R for only $33 > > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk > being sent to /dev/null > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R > for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Seth.Hollist at INGENIX.COM Mon Aug 16 22:53:35 2004 From: Seth.Hollist at INGENIX.COM (Hollist, Seth ) Date: Mon, 16 Aug 2004 15:53:35 -0500 Subject: Biggest Problem with Nagios: Poor Setup/Instal lation Message-ID: I agree. I read the documentation over a hundred times, but still didn't understand it until I saw a simplified configuration rite up in SysAdmin Magazine. I've seen struggled with almost every single client I've tried to monitor with NRPE, especially when it comes to AIX, and HP-UX. I've also found it hard to get decent answers from this mailing list when asking for help. We're trying to replace Big Brother around here, but we've recently had some people ask us to consider keeping Big Brother. I've also found that every time you try to make a suggestion about improving things like this, all you get is a bunch of people telling you how stupid you are for not reading the documentation. -----Original Message----- From: Atwal, Steve [mailto:steve.atwal at ubc.ca] Sent: Monday, August 16, 2004 12:09 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Biggest Problem with Nagios: Poor Setup/Installation I'd like to use Nagios, but after wasting over a month, finally gave up. Setup instructions are very poor, and we ended up using Big Brother instead. I'd still like to use Nagios, but the following problems will stop people in their tracks when it comes to using it: - poor setup/installation, for both the server and clients to be monitored - poor documentation for admins, esp. related to above point - no easy configuration tool, e.g. one solution: create a good Webmin plug-in (someone else tried to do this, but it doesn't work) If the developers of Nagios can work on the above and get that polished, they will have a very good tool that a lot more people will be using. Until then....we'll leave it to those that have lots and lots of time to waste. Not being negative...just providing some feedback that might improve the product. Cheers Steve This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. "Secure Server" made the following annotations on 08/16/2004 03:53:39 PM ------------------------------"This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately." ============================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From sam_stave at yahoo.com Mon Aug 16 22:57:14 2004 From: sam_stave at yahoo.com (Sam Stave) Date: Mon, 16 Aug 2004 13:57:14 -0700 (PDT) Subject: [Nagios-users] In-Reply-To: References: Message-ID: <20040816205714.66096.qmail@web50303.mail.yahoo.com> Jeff, I can run the command by hand and get the same result: I posted on this earlier but still havent found the issue. I run the check_by_ssh command by hand and it drops back to command prompt with two blank lines. When Nagios actually runs the command it states "plugin returned no data" I have actually been able to run it and get data on CLI - but get no data when run by Nagios.... Here is my previous post; I am attempting to do the following with check_by_ssh - and it doesnt seem to work: from the nagios server: ./check_by_ssh -l nagios -H 10.x.x.x -C '/usr/local/nagios/libexec/check_disk -w 10 -c 8 -p /' If I run this manually - it prompts me for the password, then just drops back to a prompt.... so I get no return of data.... if i actually run the entire command manually - meaning log into the remote host via ssh as the user, and then run the check_disk cmd - it works fine.... so i know there isnt some sort of permissions issue etc... ---- Someone had mentioned that I needed to get ssh keys set to do this. I did that but still got the same result - dropping back without any data returned. Thanks Sam > Sam, > > I don't have any issues with docs, it all worked > fine for myself, with > very little effort.... > > Anyway, wanted to let you know there is no issue > with checking from > Solaris via SSH, thats all I do. I have a Solaris8 > based Nagios Server, > and about 75 monitored hosts, and 500-600 service > checks, almost all > checked via ssh. (I'm actually having more issues > with my Redhat 9 > server, than any of my solaris systems.) I'm > working on a set of service > checks that run via SSH only, but don't require any > processes or scripts > on the remote end, except for standard unix > commands. That way the > service checks don't have to be compiled on every > host. And my vendors > can't complain about "3rd party" software running on > production systems. > > Can you run the checks manually by hand? > > Good Luck, > Jeff > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Mon Aug 16 23:07:29 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 16 Aug 2004 16:07:29 -0500 Subject: Biggest Problem with Nagios: Poor Setup/Installation In-Reply-To: <20040816204938.64289.qmail@web50303.mail.yahoo.com> References: <20040816204938.64289.qmail@web50303.mail.yahoo.com> Message-ID: <1092690449.28136.44.camel@localhost> On Mon, 2004-08-16 at 13:49 -0700, Sam Stave wrote: > OK so that was a completely asinine response.\ > > First of all I have read *all* the documentation. in > addition I have been going throug the lists archive, > and posting to the list. I have read that PDF and > other contributed documentation as well. > > So, since you are such an expert why not replying with > something more than "What?" When I have no idea what you are talking about, I feel "What?" is a valid response. > For example: > > It requires that a host be defined, but there is no > > file name > > requirement. In fact, I have no host.cfg. or > > hosts.cfg, which is > > default. > Actually when you install nagios, it does not create > these files as you may be well aware. However it DOES > state that you should use make install-config to > create the sample config files - of which there is a > hosts.cfg. NO place does it state that having no > host.cfg is a Default way to have the system > configured. I think running "make install-config" is part of installing nagios. As it is in the documentation under "Configuration overview", which is the first step in the "Configuring Nagios" section. That's the section right after "Installing Nagios". > It is obvious from your response that you are merely > attempting to make yourself feel better about your > understanding being greater than anothers - rather > than actually contributing anything of true value. Similarly, I think that your instructions which are, at times, contradictory to published documentation are at least confusing and at worst misleading. > Why not expand upon how you state not having a host > file is a default. I just went back again and read the > object definition documentation - and nowhere does it > state that no host file is defult. Infact since the > make install-config CREATES a hosts.cfg file - it > would lead one to believe that having this file is in > fact the default. I never said it was default. YOU said "Nagios requires that one host definition be placed in the host.cfg file". Nagios doesn't require such a thing at all. Running the aforementioned "make install-config" creates a file (in the etc/ subdirectory of the nagios install directory) named "hosts.cfg". This file is, however, not a requirement in any way. It is simply the default location for host_definition clauses, but you are free to put them anywhere. > I also did mention that what i had wrote was jsut off > the top of my head.... but it was a hell of a lot more > clear than what my experience has been in reading all > the docs and some of the respondants to issues on this > list, such as is evident from the pompous rediculous > response of mr vier here. What docs are you reading? There is a docs/ subdirectory in ~nagios/share/ that has *all* of this information at length. A link to this documentation is off of the "Home" page in the nagios web interface. You can certainly regard me as pompous if you like, though I prefer the more apropos "arrogant". Also, it's "ridiculous". > anyway - the point is that it should be fairly obvious > that some people do find defficiencies in the > documentation - as some people need things spelled out > in a non-technical description more than others, and I > hope to alleviate that to as much a degree as I can - > as opposed to making attacks with no value-add on the > list... This is a technical product for technical monitoring. Technical descriptions are the norm, I would think. YOU are not lending much help in discovering these deficiencies, either. Providing your own duplicate (though incorrect) documentation does not provide insight into any shortcomings of the documentation. Perhaps something like "in the Object configuration file options section, it said I need to oil my muffler bearings when CLEARLY it should note that it requires that I first cross-drill my brake lines". -------------- next part -------------- An embedded message was scrubbed... From: Sam Stave Subject: Re: [Nagios-users] Biggest Problem with Nagios: Poor Setup/Installation Date: Mon, 16 Aug 2004 12:05:12 -0700 (PDT) Size: 7112 URL: From Mark.Duling at biola.edu Mon Aug 16 23:37:02 2004 From: Mark.Duling at biola.edu (Mark Duling) Date: Mon, 16 Aug 2004 14:37:02 -0700 Subject: Biggest Problem with Nagios: Poor=?ISO-8859-1?Q? Setup/Installation?= In-Reply-To: <1092686836.28136.18.camel@localhost> References: <20040816190512.41890.qmail@web50304.mail.yahoo.com> <1092686836.28136.18.camel@localhost> Message-ID: jeff vier on Monday, August 16, 2004 at 1:07 PM -0800 wrote: >Maybe you should read the DOCS. > >I think the "idiosyncrosis" (sic) are minimal, and well documented. >I, and many others, judging by this thread, have never had the >"problems" that you and the original poster describe. Perhaps that says >more about you (and him) than the tool. > >SOME checks work that way. Many don't. >Describing ICMP (ping) as a client/service relationship is awfully >convoluted. Not to mention passive services. and negation. And load >checks, and disk checks. and others. > >Not true. > >what? > >So, you don't delineate between host_name and address? And you think >Nagios has idiosyncrasies? > >You *really* didn't read the docs, did you? This is all material for a Saturday Night Live type of satire, which has already been done, on the anti-social behavior of tech type people. Great stuff. I think Sam's commnents have quite a bit of merit. I, like he, do my own internal documentation so that if I get hit by a truck, whoever somes after me won't have to mine all the original docs just to know how *I* used a particular open source program if he wants to maintain what I set up. It's best not to reinvent the wheel the first day on a job. And, amazingly enough, my documentation also addresses at least one of the things of which Sam spoke so I guess we think alike. In fact, it helped me to clarify a conceptual part of it, although I hope he doesn't expect any credit. :) I was also going to contribute my HOWTO to the list when finished, but I'm actually reconsidering since no one like to see their writing torn to shreds. I think probably if the developers collaborated with a technical writer who would take their docs, revise them, and resubmit them and get their final ok, then the definciencies mentioned in this thread might get addressed. I would probably be willing to contribute to this end since I've had some technical writing training. But I think the least constructive parts of this thread have been the responses to, rather than the critiques of, the documentation. But then I am hoping for some more good Saturday Night Live tech support satires, so I am rather conflicted. :) > Good documentation takes into account *the reader*. It is clear that some on this list don't think that if a certain number, or even a certain type, of person has trouble with the documentation that this tells us anything meaningful. I think it does. Whether or not the programmers care about it is their business, but flaming users who want to *contribute* to fill a perceived deficiency seems like a really bad idea. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam_stave at yahoo.com Mon Aug 16 23:40:13 2004 From: sam_stave at yahoo.com (Sam Stave) Date: Mon, 16 Aug 2004 14:40:13 -0700 (PDT) Subject: Biggest Problem with Nagios: Poor Setup/Installation In-Reply-To: <1092690449.28136.44.camel@localhost> References: <1092690449.28136.44.camel@localhost> Message-ID: <20040816214013.77841.qmail@web50303.mail.yahoo.com> Mr Vier wrote : "I never said it was default." Mr. Vier Wrote: "In fact, I have no host.cfg. or hosts.cfg, which is default." I stated that when you run the make install-config and it creates the hosts.cfg for you, which would *lead one to believe* this to be the default. Jeff, I will certainly continue to check the DOCS as it is obvious I will get no information from you. So, I thank you for the encouragement. I also went back and reviewed some of your other postings and it should be abundantly clear that any comments coming from you should be disregarded entirely as your incapable of having a smooth communication. I certainly hope you conduct yourself better in your offline relations - I am sure that you're a valuable asset to Trading Technologies, which I see has an office in NYC - where I would assume you to be from, based on what wonderful insight you have given me to your personality. BTW - I would suggest that you not attempt to cling to vigorously to the BOFH persona you seem to equate with one in a technical position... however, I am sure you lack other qualities that might otherwise be considered your saving grace. Good Day. Sam --- jeff vier wrote: > On Mon, 2004-08-16 at 13:49 -0700, Sam Stave wrote: > > OK so that was a completely asinine response.\ > > > > First of all I have read *all* the documentation. > in > > addition I have been going throug the lists > archive, > > and posting to the list. I have read that PDF and > > other contributed documentation as well. > > > > So, since you are such an expert why not replying > with > > something more than "What?" > > When I have no idea what you are talking about, I > feel "What?" is a > valid response. > > > For example: > > > It requires that a host be defined, but there is > no > > > file name > > > requirement. In fact, I have no host.cfg. or > > > hosts.cfg, which is > > > default. > > Actually when you install nagios, it does not > create > > these files as you may be well aware. However it > DOES > > state that you should use make install-config to > > create the sample config files - of which there is > a > > hosts.cfg. NO place does it state that having no > > host.cfg is a Default way to have the system > > configured. > > I think running "make install-config" is part of > installing nagios. As > it is in the documentation under "Configuration > overview", which is the > first step in the "Configuring Nagios" section. > That's the section > right after "Installing Nagios". > > > It is obvious from your response that you are > merely > > attempting to make yourself feel better about your > > understanding being greater than anothers - rather > > than actually contributing anything of true value. > > Similarly, I think that your instructions which are, > at times, > contradictory to published documentation are at > least confusing and at > worst misleading. > > > Why not expand upon how you state not having a > host > > file is a default. I just went back again and read > the > > object definition documentation - and nowhere does > it > > state that no host file is defult. Infact since > the > > make install-config CREATES a hosts.cfg file - it > > would lead one to believe that having this file is > in > > fact the default. > > I never said it was default. > YOU said "Nagios requires that one host definition > be placed in the > host.cfg file". > Nagios doesn't require such a thing at all. > > Running the aforementioned "make install-config" > creates a file (in the > etc/ subdirectory of the nagios install directory) > named "hosts.cfg". > This file is, however, not a requirement in any way. > It is simply the > default location for host_definition clauses, but > you are free to put > them anywhere. > > > I also did mention that what i had wrote was jsut > off > > the top of my head.... but it was a hell of a lot > more > > clear than what my experience has been in reading > all > > the docs and some of the respondants to issues on > this > > list, such as is evident from the pompous > rediculous > > response of mr vier here. > > What docs are you reading? There is a docs/ > subdirectory in > ~nagios/share/ that has *all* of this information at > length. A link to > this documentation is off of the "Home" page in the > nagios web > interface. > > You can certainly regard me as pompous if you like, > though I prefer the > more apropos "arrogant". Also, it's "ridiculous". > > > anyway - the point is that it should be fairly > obvious > > that some people do find defficiencies in the > > documentation - as some people need things spelled > out > > in a non-technical description more than others, > and I > > hope to alleviate that to as much a degree as I > can - > > as opposed to making attacks with no value-add on > the > > list... > > This is a technical product for technical > monitoring. Technical > descriptions are the norm, I would think. > > YOU are not lending much help in discovering these > deficiencies, either. > Providing your own duplicate (though incorrect) > documentation does not > provide insight into any shortcomings of the > documentation. > > Perhaps something like "in the Object configuration > file options > section, it said I need to oil my muffler bearings > when CLEARLY it > should note that it requires that I first > cross-drill my brake lines". > > ATTACHMENT part 2 message/rfc822 > From: Sam Stave > Subject: Re: [Nagios-users] Biggest Problem with > Nagios: Poor > Setup/Installation > To: nagios-users at lists.sourceforge.net > Date: Mon, 16 Aug 2004 12:05:12 -0700 (PDT) > > Well, i can tell you that this is an extremely > poorly > documented util. > > There is no place that states nor clearly describes > the exact methods for getting a check to run - > especially when it is not an actual service that a > host is presenting to external users. > > There is a tremendous amount of trial and error and > WTF type of reading and re-reading the config files > to > figure out how the thing is supposed to be > configured. > > While this is a great way to really learn what the > tool is doing and how it actually does it - just > because one person with sys admin experience can > make > many deductions quickly and flow past any issues - > most of the undocumented idiosyncrosis of the > utility > can be show-stoppers for the "average" person. > > I am writing a clear and concise installation and > configuration run-book which i will publish on this > list, so one example is: > > Nagios is a utility which is designed to natively > check external services presented to clients on a > network. Nagios will act as a client of the service > and access the service to determine if it is > actually > running. In order to do this, Nagios requires that > one > host definition be placed in the host.cfg file > (usually a host is defined as a single IP) - then > services associated with this host can be listed in > the service.cfg file. For example, host 10.1.1.1 may > be a web/ftp server. > > For 10.1.1.1, you would tell Nagios to run a > check_ftp > and a check_http service check. > > Your host definition in host.cfg looks like this: > > [Standard host definition] > > A service check definition associated with a host > should be entered into service.cfg like this: > > [standrd service definition] > > You can list as many service checks to a single host > as you like. > > The services that Nagios can check natively are all > *external* services. For internal system checks, > such > as check_disk check_load and other checks which must > run commands on a local host, Nagios needs to be > configured to run these checks via ssh. The > check_by_ssh command allows for Nagios to SSH to a > machine, execute a Nagios plugin that is *installed > on > the remote host* and report based on the output of > that check. > > ----- > > That is the level of description that Nagios does > *not* have... and that was just off the top of my > head... and I am new to Nagios. So i am sure that > those who are much more familiar with it should have > been able to write some better documentation. > > additionally, there are other issues, like what > dependancy packages need to be added. The fact that > it > appears that check_by_ssh does *NOT* work when both > the Nagios Server and Client are solaris (as I have > found - check_by_ssh returns no output when I have > both server and client as solaris boxes - but I am > currently setting up both a linux server and client > to > verify this) > > The installation and configuration runbook that I am > writing is for me, but i am happy to share it with > the > Nagios community.... > > Sam > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R > for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gstrickland at live365.com Mon Aug 16 23:28:43 2004 From: gstrickland at live365.com (Gregg Strickland) Date: Mon, 16 Aug 2004 14:28:43 -0700 Subject: Tactical Overview Colors In-Reply-To: References: Message-ID: <20040816212847.FYLJ10626.lakermmtao12.cox.net@rockycanyon> I'm running Nagios 1.2. When looking at the tactical overview all of the critical, warning, and unknown alerts show up with the color red. Is this configurable so I could make warnings yellow? Thanks, Gregg ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Aug 16 23:50:05 2004 From: benny at bennyvision.com (C. Bensend) Date: Mon, 16 Aug 2004 16:50:05 -0500 (CDT) Subject: Biggest Problem with Nagios: Poor Setup/Installation In-Reply-To: <20040816204938.64289.qmail@web50303.mail.yahoo.com> References: <1092686836.28136.18.camel@localhost> <20040816204938.64289.qmail@web50303.mail.yahoo.com> Message-ID: <3065.134.244.169.17.1092693027.squirrel@webmail.stinkweasel.net> > anyway - the point is that it should be fairly obvious > that some people do find defficiencies in the > documentation - as some people need things spelled out > in a non-technical description more than others, and I > hope to alleviate that to as much a degree as I can - > as opposed to making attacks with no value-add on the > list... Hi Sam, I'm curious to know what your background is, ie, your technical proficiency. This is absolutely an honest question, and I'm not at all intending to attack or demean you. I'm curious - are you familiar with *NIX and open source, or are you just getting into it? The questions and problems you've mentioned seem suggest that you're not familiar with compiling code, using config files, etc. For example, the config files - at the end of the 'make' step of installation, it very pointedly tells you to 'make install-config' to create a set of example config files (the DESTDIR and CFGDIR are automagically substituted with your actual values): make install-config - This installs *SAMPLE* config files in $(DESTDIR)$(CFGDIR) You'll have to modify these sample files before you can use Nagios. Read the HTML documentation for more info on doing this. Pay particular attention to the docs on object configuration files, as they determine what/how things get monitored! To me, this seems very clear. Does it to you? It might not, if you're simply not used to software on a *NIX system. This is all for my curiousity. Nagios is a technical system, intended for technical people, to do technical things. I think very technically, and I don't see many issues with the documents. This might be considerably different for others. And it might indeed be difficult for someone that isn't used to thinking technically. Benny -- "Horrible pain! I made sounds like a dolphin giving birth." -- Mr. Corman, "Scrubs" ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Mon Aug 16 23:59:47 2004 From: teng at dataway.com (Tedman Eng) Date: Mon, 16 Aug 2004 14:59:47 -0700 Subject: [Nagios-users] Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC72EB@dw-mail.dataway.com> Some things to check: NOTE: All commands must be run in context of the nagios server's user, the first command may be omitted if this is the case already. This is especially important not because of execute permissions, but because of ssh keys that get passed and checked Verify paswordless (ie publickey) login from Nagios server ---------------------------------------------------------- root at nagios-server# su to nagios at nagios-server# ssh -l Public key MUST be set up for automated checks to work - if you have to enter a password, it WILL NOT work under any circumstances. Once logged in, try running the check command and make sure it executes properly as the remote-user nagios at remote-host# /usr/local/nagios/libexec/check_disk -w 10 -c 8 -p /;echo $? DISK OK [1819196 kB (95%) free on /dev/sda2] 0 Verify check_by_ssh from Nagios server ---------------------------------------------------------- root at nagios-server# su to nagios at nagios-server# /usr/local/nagios/libexec/check_by_ssh -l nagios -H localhost -C 'echo OK;exit 0'; echo $? OK 0 nagios at nagios-server# /usr/local/nagios/libexec/check_by_ssh -l nagios -H localhost -C 'echo CRITICAL;exit 2'; echo $? CRITICAL 2 Once this works, then you can substitute the actual plugin and try again. If the above does not work, check that your remote-host ssh configuration does not use login banners, or use a newer version of the check_by_ssh plugin that support suppression of login banners. -----Original Message----- From: Sam Stave [mailto:sam_stave at yahoo.com] Sent: Monday, August 16, 2004 1:57 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: [Nagios-users] Jeff, I can run the command by hand and get the same result: I posted on this earlier but still havent found the issue. I run the check_by_ssh command by hand and it drops back to command prompt with two blank lines. When Nagios actually runs the command it states "plugin returned no data" I have actually been able to run it and get data on CLI - but get no data when run by Nagios.... Here is my previous post; I am attempting to do the following with check_by_ssh - and it doesnt seem to work: from the nagios server: ./check_by_ssh -l nagios -H 10.x.x.x -C '/usr/local/nagios/libexec/check_disk -w 10 -c 8 -p /' If I run this manually - it prompts me for the password, then just drops back to a prompt.... so I get no return of data.... if i actually run the entire command manually - meaning log into the remote host via ssh as the user, and then run the check_disk cmd - it works fine.... so i know there isnt some sort of permissions issue etc... ---- Someone had mentioned that I needed to get ssh keys set to do this. I did that but still got the same result - dropping back without any data returned. Thanks Sam > Sam, > > I don't have any issues with docs, it all worked > fine for myself, with > very little effort.... > > Anyway, wanted to let you know there is no issue > with checking from > Solaris via SSH, thats all I do. I have a Solaris8 > based Nagios Server, > and about 75 monitored hosts, and 500-600 service > checks, almost all > checked via ssh. (I'm actually having more issues > with my Redhat 9 > server, than any of my solaris systems.) I'm > working on a set of service > checks that run via SSH only, but don't require any > processes or scripts > on the remote end, except for standard unix > commands. That way the > service checks don't have to be compiled on every > host. And my vendors > can't complain about "3rd party" software running on > production systems. > > Can you run the checks manually by hand? > > Good Luck, > Jeff > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30 at yahoo.com Tue Aug 17 00:05:17 2004 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 16 Aug 2004 15:05:17 -0700 (PDT) Subject: Tactical Overview Colors In-Reply-To: <20040816212847.FYLJ10626.lakermmtao12.cox.net@rockycanyon> References: <20040816212847.FYLJ10626.lakermmtao12.cox.net@rockycanyon> Message-ID: <20040816220517.18655.qmail@web60804.mail.yahoo.com> Here's mine....With yellow for warnings and brown for unkown... --- Gregg Strickland wrote: > I'm running Nagios 1.2. When looking at the > tactical overview all of the > critical, warning, and unknown alerts show up with > the color red. Is this > configurable so I could make warnings yellow? > > Thanks, > Gregg > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R > for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > _______________________________ Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now. http://messenger.yahoo.com -------------- next part -------------- A non-text attachment was scrubbed... Name: tac-with-colors.tar Type: application/x-tar Size: 71680 bytes Desc: tac-with-colors.tar URL: From teng at dataway.com Tue Aug 17 00:08:26 2004 From: teng at dataway.com (Tedman Eng) Date: Mon, 16 Aug 2004 15:08:26 -0700 Subject: Biggest Problem with Nagios: Poor Setup/I nstallation Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC72EC@dw-mail.dataway.com> Gentlemen, Please continue your lively discussion off-list. Thank you kindly. -----Original Message----- From: Sam Stave [mailto:sam_stave at yahoo.com] Sent: Monday, August 16, 2004 1:50 PM To: jeff vier; nagios-users Subject: Re: [Nagios-users] Biggest Problem with Nagios: Poor Setup/Installation OK so that was a completely asinine response.\ First of all I have read *all* the documentation. in addition I have been going throug the lists archive, and posting to the list. I have read that PDF and other contributed documentation as well. So, since you are such an expert why not replying with something more than "What?" For example: > It requires that a host be defined, but there is no > file name > requirement. In fact, I have no host.cfg. or > hosts.cfg, which is > default. Actually when you install nagios, it does not create these files as you may be well aware. However it DOES state that you should use make install-config to create the sample config files - of which there is a hosts.cfg. NO place does it state that having no host.cfg is a Default way to have the system configured. It is obvious from your response that you are merely attempting to make yourself feel better about your understanding being greater than anothers - rather than actually contributing anything of true value. Why not expand upon how you state not having a host file is a default. I just went back again and read the object definition documentation - and nowhere does it state that no host file is defult. Infact since the make install-config CREATES a hosts.cfg file - it would lead one to believe that having this file is in fact the default. I also did mention that what i had wrote was jsut off the top of my head.... but it was a hell of a lot more clear than what my experience has been in reading all the docs and some of the respondants to issues on this list, such as is evident from the pompous rediculous response of mr vier here. anyway - the point is that it should be fairly obvious that some people do find defficiencies in the documentation - as some people need things spelled out in a non-technical description more than others, and I hope to alleviate that to as much a degree as I can - as opposed to making attacks with no value-add on the list... Sam --- jeff vier wrote: > On Mon, 2004-08-16 at 12:05 -0700, Sam Stave wrote: > > Well, i can tell you that this is an extremely > poorly > > documented util. > > You can tell us? > > So, this isn't a subjective issue? > > Damn, I guess I was mistaken, then. I was of the > impression that it's > amazingly documented. > > > There is no place that states nor clearly > describes > > the exact methods for getting a check to run - > > especially when it is not an actual service that a > > host is presenting to external users. > > What? > > > There is a tremendous amount of trial and error > and > > WTF type of reading and re-reading the config > files to > > figure out how the thing is supposed to be > configured. > > Maybe you should read the DOCS. > > > While this is a great way to really learn what the > > tool is doing and how it actually does it - just > > because one person with sys admin experience can > make > > many deductions quickly and flow past any issues - > > most of the undocumented idiosyncrosis of the > utility > > can be show-stoppers for the "average" person. > > I think the "idiosyncrosis" (sic) are minimal, and > well documented. > I, and many others, judging by this thread, have > never had the > "problems" that you and the original poster > describe. Perhaps that says > more about you (and him) than the tool. > > > I am writing a clear and concise installation and > > configuration run-book which i will publish on > this > > list, so one example is: > > > > Nagios is a utility which is designed to natively > > check external services presented to clients on a > > network. Nagios will act as a client of the > service > > and access the service to determine if it is > actually > > running. > > SOME checks work that way. Many don't. > Describing ICMP (ping) as a client/service > relationship is awfully > convoluted. Not to mention passive services. and > negation. And load > checks, and disk checks. and others. > > > In order to do this, Nagios requires that one > > host definition be placed in the host.cfg file > > Not true. > > It requires that a host be defined, but there is no > file name > requirement. In fact, I have no host.cfg. or > hosts.cfg, which is > default. > > > (usually a host is defined as a single IP) - then > > what? > > > services associated with this host can be listed > in > > the service.cfg file. For example, host 10.1.1.1 > may > > be a web/ftp server. > > So, you don't delineate between host_name and > address? And you think > Nagios has idiosyncrasies? > > > For 10.1.1.1, you would tell Nagios to run a > check_ftp > > and a check_http service check. > > > > Your host definition in host.cfg looks like this: > > > > [Standard host definition] > > > > A service check definition associated with a host > > should be entered into service.cfg like this: > > > > [standrd service definition] > > > > You can list as many service checks to a single > host > > as you like. > > > > The services that Nagios can check natively are > all > > *external* services. For internal system checks, > such > > as check_disk check_load and other checks which > must > > run commands on a local host, Nagios needs to be > > configured to run these checks via ssh. The > > Or nsca, you know. > > > check_by_ssh command allows for Nagios to SSH to a > > machine, execute a Nagios plugin that is > *installed on > > the remote host* and report based on the output of > > that check. > > > > ----- > > > > That is the level of description that Nagios does > > *not* have... and that was just off the top of my > > head... and I am new to Nagios. So i am sure that > > those who are much more familiar with it should > have > > been able to write some better documentation. > > You *really* didn't read the docs, did you? > > > additionally, there are other issues, like what > > dependancy packages need to be added. The fact > that it > > appears that check_by_ssh does *NOT* work when > both > > the Nagios Server and Client are solaris (as I > have > > found - check_by_ssh returns no output when I have > > both server and client as solaris boxes - but I am > > currently setting up both a linux server and > client to > > verify this) > > compile-time dependencies are a fact of life. If > you're not used to > them such that it causes you this level of > consternation, perhaps pre- > compiled packages are a better option. > > > The installation and configuration runbook that I > am > > writing is for me, but i am happy to share it with > the > > Nagios community.... > > > > Sam > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic > DVD+R for only $33 > > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk > being sent to /dev/null > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R > for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Tue Aug 17 00:18:13 2004 From: teng at dataway.com (Tedman Eng) Date: Mon, 16 Aug 2004 15:18:13 -0700 Subject: Parent of nagios? Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC72ED@dw-mail.dataway.com> I've been wishing for the same thing. Even just making the built-in implied object configurable with service checks would be nice. That way there's something to attach local checks to without having to have a seperate localhost container object separate from the root nagios object. -----Original Message----- From: Jan Johansson [mailto:jan.johansson at se.nyklogistics.com] Sent: Friday, August 13, 2004 12:04 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Parent of nagios? (yes, I have checked the docs, but I cant figure this out). How can I tell the status map that "the nagios process" is running on the host "hooch"? Right now the map looks weird. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam_stave at yahoo.com Tue Aug 17 00:35:09 2004 From: sam_stave at yahoo.com (Sam Stave) Date: Mon, 16 Aug 2004 15:35:09 -0700 (PDT) Subject: check_by_ssh In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1AFC72EB@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1AFC72EB@dw-mail.dataway.com> Message-ID: <20040816223509.26345.qmail@web50306.mail.yahoo.com> Tedman, Thank you - Actually i ahve done all this and still get teh same result. I have keys set and could get to the other machine. I noted that if i ran the whole thing manually - it worked fine - it was just when invoked by Nagios that it would fail, or when invoked as a single ./check command from the command line. That is why i was lead to believe that it was an issue of running it as a NAgios Server on solaris and a solaris client - because it works fine when run from 2 linux hosts..... is there some dependancy I am missing? I can't tell. Sam --- Tedman Eng wrote: > Some things to check: > NOTE: All commands must be run in context of the > nagios server's user, the > first command may be omitted if this is the case > already. This is especially > important not because of execute permissions, but > because of ssh keys that > get passed and checked > > > Verify paswordless (ie publickey) login from Nagios > server > ---------------------------------------------------------- > root at nagios-server# su to > nagios at nagios-server# ssh -l > > > Public key MUST be set up for automated checks to > work - if you have to > enter a password, it WILL NOT work under any > circumstances. Once logged in, > try running the check command and make sure it > executes properly as the > remote-user > > nagios at remote-host# > /usr/local/nagios/libexec/check_disk -w 10 -c 8 -p > /;echo $? > DISK OK [1819196 kB (95%) free on /dev/sda2] > 0 > > > Verify check_by_ssh from Nagios server > ---------------------------------------------------------- > root at nagios-server# su to > nagios at nagios-server# > /usr/local/nagios/libexec/check_by_ssh -l nagios -H > localhost -C 'echo OK;exit 0'; echo $? > OK > 0 > > nagios at nagios-server# > /usr/local/nagios/libexec/check_by_ssh -l nagios -H > localhost -C 'echo CRITICAL;exit 2'; echo $? > CRITICAL > 2 > > Once this works, then you can substitute the actual > plugin and try again. > > If the above does not work, check that your > remote-host ssh configuration > does not use login banners, or use a newer version > of the check_by_ssh > plugin that support suppression of login banners. > > > -----Original Message----- > From: Sam Stave [mailto:sam_stave at yahoo.com] > Sent: Monday, August 16, 2004 1:57 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: [Nagios-users] > > > Jeff, > > I can run the command by hand and get the same > result: > > I posted on this earlier but still havent found the > issue. I run the check_by_ssh command by hand and it > drops back to command prompt with two blank lines. > When Nagios actually runs the command it states > "plugin returned no data" > > I have actually been able to run it and get data on > CLI - but get no data when run by Nagios.... > > Here is my previous post; > > I am attempting to do the following with > check_by_ssh > - and it doesnt seem to work: > > from the nagios server: > > ./check_by_ssh -l nagios -H 10.x.x.x -C > '/usr/local/nagios/libexec/check_disk -w 10 -c 8 -p > /' > > If I run this manually - it prompts me for the > password, then just drops back to a prompt.... so I > get no return of data.... > > if i actually run the entire command manually - > meaning log into the remote host via ssh as the > user, > and then run the check_disk cmd - it works fine.... > so > i know there isnt some sort of permissions issue > etc... > > > ---- > > Someone had mentioned that I needed to get ssh keys > set to do this. I did that but still got the same > result - dropping back without any data returned. > > Thanks > > Sam > > > > > > Sam, > > > > I don't have any issues with docs, it all worked > > fine for myself, with > > very little effort.... > > > > Anyway, wanted to let you know there is no issue > > with checking from > > Solaris via SSH, thats all I do. I have a > Solaris8 > > based Nagios Server, > > and about 75 monitored hosts, and 500-600 service > > checks, almost all > > checked via ssh. (I'm actually having more issues > > with my Redhat 9 > > server, than any of my solaris systems.) I'm > > working on a set of service > > checks that run via SSH only, but don't require > any > > processes or scripts > > on the remote end, except for standard unix > > commands. That way the > > service checks don't have to be compiled on every > > host. And my vendors > > can't complain about "3rd party" software running > on > > production systems. > > > > Can you run the checks manually by hand? > > > > Good Luck, > > Jeff > > > > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - 100MB free storage! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R > for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R > for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam_stave at yahoo.com Tue Aug 17 01:20:15 2004 From: sam_stave at yahoo.com (Sam Stave) Date: Mon, 16 Aug 2004 16:20:15 -0700 (PDT) Subject: Benny - Biggest Problem .... In-Reply-To: <3065.134.244.169.17.1092693027.squirrel@webmail.stinkweasel.net> References: <3065.134.244.169.17.1092693027.squirrel@webmail.stinkweasel.net> Message-ID: <20040816232015.63451.qmail@web50302.mail.yahoo.com> Benny, I am a very technical person - however as one who also runs operations and has a history of developing extremely detailed technical programs I feel comfortable with my assessment of the documentation being lacking in Nagios - and here is why: The documentation that I develop, expect and require is such that it covers all the bases in such a detailed manner as to provide instantly useful information to one who is tasked with supporting a service sight-unseen. As an example, The technical run book for a large network should include three levels of documentation, which when combined together to form the actual Run-Book allow for full operation of a system by staff who have no prior experience administering it. First there is a Technical Overview which describes the full state of the organization, its services and the infrastructure supporting these services from a high level. This is a document that is used to communicate the overall features and functions to individuals and groups from a non-technical perspective. Think of this level of documentation as what you would use to communicate with executives. This would describe your system from a 10,000 foot view. Then there is the Technical Description. This is a level of documentation that would detail and describe your organization and services from an internal perspective. This would contain network maps, information on the subnetting and zoning and routing architecture of your network. You would define your policies here, list the systems and services that you maintain and where they are located. This is obviously not an externally shared document. Last there is Procedural Documentation. This details the actual systems, configuration of your systems and the procedures and methods used in support, deployment and maintenance of your system. This is very confidential information as a whole - but any procedure should be able to be pulled out as a standalone document walking an administrator through a particular process i.e. how to perform your backups, or how to recover a specific file. How to add a host to your monitoring system etc... This is information that is strictly for IT - or a person tasked with doing a particular function of IT in an emergency (failure or loss of staff).... The goal that I am bringing up with regards to the Nagios documentation is that while there is technical documentation, it is hardly concise and in a clear flow. I will be developing my personal Nagios documentation along the same model mentioned above: "this is how nagios is architected" "this is where all of its files live, and how they operate" "this is all the requirements for a host, service or server" and last "this is how you add a specific host or service" Now, there will be a certain level of expectation for shared nomenclature, such as you know how to login, ssh, ping etc.... but also there will be the ability for a person, given minimal coaching to be able to accomplish base tasks associated with ensuring that nagios can monitor hosts on a network. Just because documentation is available out there that enables IT staff to create a nagios server, does not mean that the available documentation is complete or satisfactory. Thanks Sam --- "C. Bensend" wrote: > > > anyway - the point is that it should be fairly > obvious > > that some people do find defficiencies in the > > documentation - as some people need things spelled > out > > in a non-technical description more than others, > and I > > hope to alleviate that to as much a degree as I > can - > > as opposed to making attacks with no value-add on > the > > list... > > Hi Sam, > > I'm curious to know what your background is, ie, > your technical > proficiency. This is absolutely an honest question, > and I'm not at all > intending to attack or demean you. I'm curious - > are you familiar with > *NIX and open source, or are you just getting into > it? > > The questions and problems you've mentioned seem > suggest that you're > not familiar with compiling code, using config > files, etc. For example, > the config files - at the end of the 'make' step of > installation, it > very pointedly tells you to 'make install-config' to > create a set of > example config files (the DESTDIR and CFGDIR are > automagically substituted > with your actual values): > > > make install-config > - This installs *SAMPLE* config files in > $(DESTDIR)$(CFGDIR) > You'll have to modify these sample files before > you can > use Nagios. Read the HTML documentation for > more info > on doing this. Pay particular attention to the > docs on > object configuration files, as they determine > what/how > things get monitored! > > > To me, this seems very clear. Does it to you? > It might not, if > you're simply not used to software on a *NIX system. > > This is all for my curiousity. Nagios is a > technical system, intended > for technical people, to do technical things. I > think very technically, > and I don't see many issues with the documents. > This might be > considerably different for others. And it might > indeed be difficult for > someone that isn't used to thinking technically. > > Benny > > > -- > "Horrible pain! I made sounds like a dolphin giving > birth." > -- > Mr. Corman, "Scrubs" > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R > for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sclark at nyroc.rr.com Mon Aug 16 21:49:53 2004 From: sclark at nyroc.rr.com (Sean R. Clark) Date: Mon, 16 Aug 2004 15:49:53 -0400 Subject: Biggest Problem with Nagios: Poor Setup/Installation In-Reply-To: <2197.134.244.169.17.1092681266.squirrel@webmail.stinkweasel.net> References: <2197.134.244.169.17.1092681266.squirrel@webmail.stinkweasel.net> Message-ID: <200408161950.i7GJnwZx009096@ms-smtp-01.nyroc.rr.com> I think it was more like With Big Brother, put the host in the host file, and let it run Want to create an external check? Just have it do BB "STATUS host.check green" And that's it Big Brother is by far easier to setup -- but it does lack host interdependencies The one thing I dislike about nagios so far is that it seems to do host checks in serial while doing service checks in parallel -Sean -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of C. Bensend Sent: Monday, August 16, 2004 2:34 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Biggest Problem with Nagios: Poor Setup/Installation > If the developers of Nagios can work on the above and get that > polished, they will have a very good tool that a lot more people will be using. > Until then....we'll leave it to those that have lots and lots of time > to waste. What exactly did you find lacking? A long time ago when I did my first install of Netsaint 0.0.4, and me being that much greener in the sysadmin business, it still didn't take more than a day or two until I had a basic installation up and running, with web interface and everything. Within a week, I had written a few custom plugins using Perl and/or sh script. As for configuration of hosts/services, the examples in the example config files from 'make install-config' were plenty for me. Was it 100% done immediately? No, not at all. But I didn't recall any real issues with the docs (and remember, that was years ago, with 0.0.4), nor with runtime config. I'd be interested to hear details of the problems you had. Benny -- "Horrible pain! I made sounds like a dolphin giving birth." -- Mr. Corman, "Scrubs" ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kdubose at mystrotv.com Tue Aug 17 02:11:41 2004 From: kdubose at mystrotv.com (Kreig DuBose) Date: Mon, 16 Aug 2004 18:11:41 -0600 Subject: RHEL3 and DAG rpms Message-ID: I seem to be having problems with the dag rpms for RHEL 3. Every plugin, except the check-host-alive, fails to return any output? Has anyone else encountered/solved this? My belief is it has to do with the pathing of the nagios.cmd file that the plugins (pre-compiled) use. I don't know where they're trying to report their output. Cheers, Kreig -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of nagios-users-request at lists.sourceforge.net Sent: Monday, August 16, 2004 4:06 PM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #2180 - 6 msgs Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-admin at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: Biggest Problem with Nagios: Poor Setup/Installation (Sam Stave) 2. Tactical Overview Colors (Gregg Strickland) 3. Re: Biggest Problem with Nagios: Poor Setup/Installation (C. Bensend) 4. RE: Re: [Nagios-users] (Tedman Eng) 5. Re: Tactical Overview Colors (Jon Lyons) --__--__-- Message: 1 Date: Mon, 16 Aug 2004 14:40:13 -0700 (PDT) From: Sam Stave Reply-To: sam_stave at yahoo.com Subject: Re: [Nagios-users] Biggest Problem with Nagios: Poor Setup/Installation To: jeff vier , nagios-users Mr Vier wrote : "I never said it was default." Mr. Vier Wrote: "In fact, I have no host.cfg. or hosts.cfg, which is default." I stated that when you run the make install-config and it creates the hosts.cfg for you, which would *lead one to believe* this to be the default. Jeff, I will certainly continue to check the DOCS as it is obvious I will get no information from you. So, I thank you for the encouragement. I also went back and reviewed some of your other postings and it should be abundantly clear that any comments coming from you should be disregarded entirely as your incapable of having a smooth communication. I certainly hope you conduct yourself better in your offline relations - I am sure that you're a valuable asset to Trading Technologies, which I see has an office in NYC - where I would assume you to be from, based on what wonderful insight you have given me to your personality. BTW - I would suggest that you not attempt to cling to vigorously to the BOFH persona you seem to equate with one in a technical position... however, I am sure you lack other qualities that might otherwise be considered your saving grace. Good Day. Sam --- jeff vier wrote: > On Mon, 2004-08-16 at 13:49 -0700, Sam Stave wrote: > > OK so that was a completely asinine response.\ > > > > First of all I have read *all* the documentation. > in > > addition I have been going throug the lists > archive, > > and posting to the list. I have read that PDF and > > other contributed documentation as well. > > > > So, since you are such an expert why not replying > with > > something more than "What?" > > When I have no idea what you are talking about, I > feel "What?" is a > valid response. > > > For example: > > > It requires that a host be defined, but there is > no > > > file name > > > requirement. In fact, I have no host.cfg. or > > > hosts.cfg, which is > > > default. > > Actually when you install nagios, it does not > create > > these files as you may be well aware. However it > DOES > > state that you should use make install-config to > > create the sample config files - of which there is > a > > hosts.cfg. NO place does it state that having no > > host.cfg is a Default way to have the system > > configured. > > I think running "make install-config" is part of > installing nagios. As > it is in the documentation under "Configuration > overview", which is the > first step in the "Configuring Nagios" section. > That's the section > right after "Installing Nagios". > > > It is obvious from your response that you are > merely > > attempting to make yourself feel better about your > > understanding being greater than anothers - rather > > than actually contributing anything of true value. > > Similarly, I think that your instructions which are, > at times, > contradictory to published documentation are at > least confusing and at > worst misleading. > > > Why not expand upon how you state not having a > host > > file is a default. I just went back again and read > the > > object definition documentation - and nowhere does > it > > state that no host file is defult. Infact since > the > > make install-config CREATES a hosts.cfg file - it > > would lead one to believe that having this file is > in > > fact the default. > > I never said it was default. > YOU said "Nagios requires that one host definition > be placed in the > host.cfg file". > Nagios doesn't require such a thing at all. > > Running the aforementioned "make install-config" > creates a file (in the > etc/ subdirectory of the nagios install directory) > named "hosts.cfg". > This file is, however, not a requirement in any way. > It is simply the > default location for host_definition clauses, but > you are free to put > them anywhere. > > > I also did mention that what i had wrote was jsut > off > > the top of my head.... but it was a hell of a lot > more > > clear than what my experience has been in reading > all > > the docs and some of the respondants to issues on > this > > list, such as is evident from the pompous > rediculous > > response of mr vier here. > > What docs are you reading? There is a docs/ > subdirectory in > ~nagios/share/ that has *all* of this information at > length. A link to > this documentation is off of the "Home" page in the > nagios web > interface. > > You can certainly regard me as pompous if you like, > though I prefer the > more apropos "arrogant". Also, it's "ridiculous". > > > anyway - the point is that it should be fairly > obvious > > that some people do find defficiencies in the > > documentation - as some people need things spelled > out > > in a non-technical description more than others, > and I > > hope to alleviate that to as much a degree as I > can - > > as opposed to making attacks with no value-add on > the > > list... > > This is a technical product for technical > monitoring. Technical > descriptions are the norm, I would think. > > YOU are not lending much help in discovering these > deficiencies, either. > Providing your own duplicate (though incorrect) > documentation does not > provide insight into any shortcomings of the > documentation. > > Perhaps something like "in the Object configuration > file options > section, it said I need to oil my muffler bearings > when CLEARLY it > should note that it requires that I first > cross-drill my brake lines". > > ATTACHMENT part 2 message/rfc822 > From: Sam Stave > Subject: Re: [Nagios-users] Biggest Problem with > Nagios: Poor > Setup/Installation > To: nagios-users at lists.sourceforge.net > Date: Mon, 16 Aug 2004 12:05:12 -0700 (PDT) > > Well, i can tell you that this is an extremely > poorly > documented util. > > There is no place that states nor clearly describes > the exact methods for getting a check to run - > especially when it is not an actual service that a > host is presenting to external users. > > There is a tremendous amount of trial and error and > WTF type of reading and re-reading the config files > to > figure out how the thing is supposed to be > configured. > > While this is a great way to really learn what the > tool is doing and how it actually does it - just > because one person with sys admin experience can > make > many deductions quickly and flow past any issues - > most of the undocumented idiosyncrosis of the > utility > can be show-stoppers for the "average" person. > > I am writing a clear and concise installation and > configuration run-book which i will publish on this > list, so one example is: > > Nagios is a utility which is designed to natively > check external services presented to clients on a > network. Nagios will act as a client of the service > and access the service to determine if it is > actually > running. In order to do this, Nagios requires that > one > host definition be placed in the host.cfg file > (usually a host is defined as a single IP) - then > services associated with this host can be listed in > the service.cfg file. For example, host 10.1.1.1 may > be a web/ftp server. > > For 10.1.1.1, you would tell Nagios to run a > check_ftp > and a check_http service check. > > Your host definition in host.cfg looks like this: > > [Standard host definition] > > A service check definition associated with a host > should be entered into service.cfg like this: > > [standrd service definition] > > You can list as many service checks to a single host > as you like. > > The services that Nagios can check natively are all > *external* services. For internal system checks, > such > as check_disk check_load and other checks which must > run commands on a local host, Nagios needs to be > configured to run these checks via ssh. The > check_by_ssh command allows for Nagios to SSH to a > machine, execute a Nagios plugin that is *installed > on > the remote host* and report based on the output of > that check. > > ----- > > That is the level of description that Nagios does > *not* have... and that was just off the top of my > head... and I am new to Nagios. So i am sure that > those who are much more familiar with it should have > been able to write some better documentation. > > additionally, there are other issues, like what > dependancy packages need to be added. The fact that > it > appears that check_by_ssh does *NOT* work when both > the Nagios Server and Client are solaris (as I have > found - check_by_ssh returns no output when I have > both server and client as solaris boxes - but I am > currently setting up both a linux server and client > to > verify this) > > The installation and configuration runbook that I am > writing is for me, but i am happy to share it with > the > Nagios community.... > > Sam > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R > for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail --__--__-- Message: 2 From: "Gregg Strickland" To: Date: Mon, 16 Aug 2004 14:28:43 -0700 Subject: [Nagios-users] Tactical Overview Colors I'm running Nagios 1.2. When looking at the tactical overview all of the critical, warning, and unknown alerts show up with the color red. Is this configurable so I could make warnings yellow? Thanks, Gregg --__--__-- Message: 3 Date: Mon, 16 Aug 2004 16:50:05 -0500 (CDT) Subject: Re: [Nagios-users] Biggest Problem with Nagios: Poor Setup/Installation From: "C. Bensend" To: nagios-users at lists.sourceforge.net > anyway - the point is that it should be fairly obvious > that some people do find defficiencies in the > documentation - as some people need things spelled out > in a non-technical description more than others, and I > hope to alleviate that to as much a degree as I can - > as opposed to making attacks with no value-add on the > list... Hi Sam, I'm curious to know what your background is, ie, your technical proficiency. This is absolutely an honest question, and I'm not at all intending to attack or demean you. I'm curious - are you familiar with *NIX and open source, or are you just getting into it? The questions and problems you've mentioned seem suggest that you're not familiar with compiling code, using config files, etc. For example, the config files - at the end of the 'make' step of installation, it very pointedly tells you to 'make install-config' to create a set of example config files (the DESTDIR and CFGDIR are automagically substituted with your actual values): make install-config - This installs *SAMPLE* config files in $(DESTDIR)$(CFGDIR) You'll have to modify these sample files before you can use Nagios. Read the HTML documentation for more info on doing this. Pay particular attention to the docs on object configuration files, as they determine what/how things get monitored! To me, this seems very clear. Does it to you? It might not, if you're simply not used to software on a *NIX system. This is all for my curiousity. Nagios is a technical system, intended for technical people, to do technical things. I think very technically, and I don't see many issues with the documents. This might be considerably different for others. And it might indeed be difficult for someone that isn't used to thinking technically. Benny -- "Horrible pain! I made sounds like a dolphin giving birth." -- Mr. Corman, "Scrubs" --__--__-- Message: 4 From: Tedman Eng To: nagios-users at lists.sourceforge.net Cc: "'sam_stave at yahoo.com'" Subject: RE: [Nagios-users] Re: [Nagios-users] Date: Mon, 16 Aug 2004 14:59:47 -0700 Some things to check: NOTE: All commands must be run in context of the nagios server's user, the first command may be omitted if this is the case already. This is especially important not because of execute permissions, but because of ssh keys that get passed and checked Verify paswordless (ie publickey) login from Nagios server ---------------------------------------------------------- root at nagios-server# su to nagios at nagios-server# ssh -l Public key MUST be set up for automated checks to work - if you have to enter a password, it WILL NOT work under any circumstances. Once logged in, try running the check command and make sure it executes properly as the remote-user nagios at remote-host# /usr/local/nagios/libexec/check_disk -w 10 -c 8 -p /;echo $? DISK OK [1819196 kB (95%) free on /dev/sda2] 0 Verify check_by_ssh from Nagios server ---------------------------------------------------------- root at nagios-server# su to nagios at nagios-server# /usr/local/nagios/libexec/check_by_ssh -l nagios -H localhost -C 'echo OK;exit 0'; echo $? OK 0 nagios at nagios-server# /usr/local/nagios/libexec/check_by_ssh -l nagios -H localhost -C 'echo CRITICAL;exit 2'; echo $? CRITICAL 2 Once this works, then you can substitute the actual plugin and try again. If the above does not work, check that your remote-host ssh configuration does not use login banners, or use a newer version of the check_by_ssh plugin that support suppression of login banners. -----Original Message----- From: Sam Stave [mailto:sam_stave at yahoo.com] Sent: Monday, August 16, 2004 1:57 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: [Nagios-users] Jeff, I can run the command by hand and get the same result: I posted on this earlier but still havent found the issue. I run the check_by_ssh command by hand and it drops back to command prompt with two blank lines. When Nagios actually runs the command it states "plugin returned no data" I have actually been able to run it and get data on CLI - but get no data when run by Nagios.... Here is my previous post; I am attempting to do the following with check_by_ssh - and it doesnt seem to work: from the nagios server: ./check_by_ssh -l nagios -H 10.x.x.x -C '/usr/local/nagios/libexec/check_disk -w 10 -c 8 -p /' If I run this manually - it prompts me for the password, then just drops back to a prompt.... so I get no return of data.... if i actually run the entire command manually - meaning log into the remote host via ssh as the user, and then run the check_disk cmd - it works fine.... so i know there isnt some sort of permissions issue etc... ---- Someone had mentioned that I needed to get ssh keys set to do this. I did that but still got the same result - dropping back without any data returned. Thanks Sam > Sam, > > I don't have any issues with docs, it all worked > fine for myself, with > very little effort.... > > Anyway, wanted to let you know there is no issue > with checking from > Solaris via SSH, thats all I do. I have a Solaris8 > based Nagios Server, > and about 75 monitored hosts, and 500-600 service > checks, almost all > checked via ssh. (I'm actually having more issues > with my Redhat 9 > server, than any of my solaris systems.) I'm > working on a set of service > checks that run via SSH only, but don't require any > processes or scripts > on the remote end, except for standard unix > commands. That way the > service checks don't have to be compiled on every > host. And my vendors > can't complain about "3rd party" software running on > production systems. > > Can you run the checks manually by hand? > > Good Luck, > Jeff > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --__--__-- Message: 5 Date: Mon, 16 Aug 2004 15:05:17 -0700 (PDT) From: Jon Lyons Subject: Re: [Nagios-users] Tactical Overview Colors To: Gregg Strickland , nagios-users at lists.sourceforge.net --0-1849208536-1092693917=:18520 Content-Type: text/plain; charset=us-ascii Content-Id: Content-Disposition: inline Here's mine....With yellow for warnings and brown for unkown... --- Gregg Strickland wrote: > I'm running Nagios 1.2. When looking at the > tactical overview all of the > critical, warning, and unknown alerts show up with > the color red. Is this > configurable so I could make warnings yellow? > > Thanks, > Gregg > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R > for only $33 >