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 > 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 --0-1849208536-1092693917=:18520 Content-Type: application/x-tar; name="tac-with-colors.tar" Content-Transfer-Encoding: base64 Content-Description: tac-with-colors.tar Content-Disposition: attachment; filename="tac-with-colors.tar" dGFjLmMAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA== --0-1849208536-1092693917=:18520-- --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- 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 Tue Aug 17 02:19:26 2004 From: benny at bennyvision.com (C. Bensend) Date: Mon, 16 Aug 2004 19:19:26 -0500 (CDT) Subject: Benny - Biggest Problem .... In-Reply-To: <20040816232015.63451.qmail@web50302.mail.yahoo.com> References: <3065.134.244.169.17.1092693027.squirrel@webmail.stinkweasel.net> <20040816232015.63451.qmail@web50302.mail.yahoo.com> Message-ID: <60719.63.227.74.41.1092701988.squirrel@webmail.stinkweasel.net> > 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. Hi Sam, Very well said. Now that I know more about what you're looking for, I'd agree that nothing of that level exists (that I'm aware of, anyway). However, as you are doing, something of that level would probably have to be built in-house due to customizations, etc. A "generic" template would probably be helpful for people that do require that level of documentation, if for no other reason but to jumpstart their own work. I will be very interested to take a look at your end result, if you still intend to release it when it's finished. 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 CWaters at jeld-wen.com Tue Aug 17 03:23:46 2004 From: CWaters at jeld-wen.com (CWaters at jeld-wen.com) Date: Mon, 16 Aug 2004 18:23:46 -0700 Subject: Host Escalation Problems Message-ID: I am having a problem trying to get host notifications sent to my ticketing system only on the first notification and to my admins group for all notifications. I have read the documentation and it says that overlapping notificaions should work. Here are the appropriate portions of my config files. I hope I am missing something obvious because I have tried several iterations of the hostgroupescalations with mixed results. In this configuration, everyone gets the first notfication and none after that. Other configs I have tried have sent notifications continuously to admins but not to the ticketing group at all. I am sure there were other results but too many to list. define hostgroupescalation{ hostgroup_name myhosts,myotherhosts first_notification 1 last_notification 1 notification_interval 15 contact_groups ticketing } define hostgroupescalation{ hostgroup_name myhosts,myotherhosts first_notification 1 last_notification 0 notification_interval 15 contact_groups admins } define host { use generic-host host_name networkdev alias networkdev address 172.16.11.229 parents r_kla check_command check-host-alive max_check_attempts 3 notification_interval 15 notification_period 24x7 notification_options d,u,r } define service { use generic-service host_name localhost,r_kla,r_internet,networkdev service_description Alive contact_groups admins check_period 24x7 notification_interval 15 notification_options u,c,r notification_period 24x7 check_command check-host-alive max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 } define hostgroup { hostgroup_name myhosts alias myhosts contact_groups admins members r_kla,networkdev,r_internet } Thanks, I hope someone can set me striaght. Chris Waters -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Aug 17 03:53:16 2004 From: marc at ena.com (Marc Powell) Date: Mon, 16 Aug 2004 20:53:16 -0500 Subject: RHEL3 and DAG rpms Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A808@mismail2.ena.com> > -----Original Message----- > From: Kreig DuBose [mailto:kdubose at mystrotv.com] > Sent: Monday, August 16, 2004 7:12 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RHEL3 and DAG rpms > > 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. [an ungodly number of lines of irrelevant digest removed] Are they returning anything at all? What information has led you to believe that the problem is related to nagios.cmd? In a 'standard' setup, Nagios spawns child process to execute the checks which then return the results of those checks back to the main process. Nagios.cmd is mainly used for the processing of commands originating from the web interface and passive checks. Have you tried executing the plugins as they are defined in command.cfg as the nagios user to see if they return proper output? Config snippets of a representative (and related) host definition, service definition and command definition along with any specific error information or output would be useful as well. -- 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 merlin at phear.lwz.org Tue Aug 17 04:23:22 2004 From: merlin at phear.lwz.org (Cory Visi) Date: Mon, 16 Aug 2004 22:23:22 -0400 Subject: parent vs. host dependency Message-ID: <20040816222322.A12544@phear.lwz.org> What is the difference between a host parent and a host dependency? Besides what has been mentioned before, that a host depedency can override a parent definition... Thank you, Cory Visi ------------------------------------------------------- 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 jamie.roughan at mizuho-sc.com Tue Aug 17 09:48:33 2004 From: jamie.roughan at mizuho-sc.com (Jamie Roughan) Date: Tue, 17 Aug 2004 16:48:33 +0900 Subject: Web interface install question Message-ID: <000401c4842e$987c9500$4618680a@ad.mizuhosc.com> I am nearing completion of a nagios install and am not yet successful with the Web interface. I read the docs related to this section but have yet to resolve the issue: /etc/httpd/conf/httpd.conf has been configed with.... ScriptAlias /nagios/cgi-bin/ /usr/local/sbin/> # 1st ( section) & then Alias /nagios/ /usr/local/nagios/share #2nd ( section ) # I am logged in as user nagios, have /etc/init.d/httpd start running and also ./nagios start -> password ... Running Although the web browser http://x.x.x.x returns a test page; http://x.x.x.x/nagios Gives me the 404. /usr/local/nagios/bin/nagios -v nagios.cfg indicates that everything is working. ## also of note... The docs differ with respect to the above mentioned sections With respect to " " quotes depending on if you look at `configure Script Alias for CGI` -> ScriptAlias "/nagios/cgi-bin/ /usr/local/sbin/"> Or instead are viewing `Configuring web authentication`. ScriptAlias /nagios/cgi-bin/ /usr/local/sbin/> #no quotes 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 pamela at rak.bb.euroweb.sk Tue Aug 17 10:18:21 2004 From: pamela at rak.bb.euroweb.sk (jan gregor) Date: Tue, 17 Aug 2004 10:18:21 +0200 Subject: Sounds in web interface In-Reply-To: References: <20040816172457.A23083@rak.bb.euroweb.sk> Message-ID: <20040817101821.A29279@rak.bb.euroweb.sk> > You can find this in cgi.cfg. Just uncomment the wav's you want to > activate Yes, I know about this. But web interface plays sounds each time it is refreshed. I want it to do so ONLY if status of service(s) changes between two refreshes. 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 tom.welsh at bt.com Tue Aug 17 10:58:27 2004 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Tue, 17 Aug 2004 09:58:27 +0100 Subject: Web interface install question Message-ID: <418B502A3861E242AFDED453F3D5B89CB66807@i2km99-ukbr.domain1.systemhost.net> Hi Jamie, Take a wander over to http://demo.square-box.com/httpd.htm this is the apache configuration we use on the nagios demo site. Obviously edit it for your ip address and paths. HTH 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 Jamie Roughan Sent: 17 August 2004 08:49 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Web interface install question I am nearing completion of a nagios install and am not yet successful with the Web interface. I read the docs related to this section but have yet to resolve the issue: /etc/httpd/conf/httpd.conf has been configed with.... ScriptAlias /nagios/cgi-bin/ /usr/local/sbin/> # 1st ( section) & then Alias /nagios/ /usr/local/nagios/share #2nd ( section ) # I am logged in as user nagios, have /etc/init.d/httpd start running and also ./nagios start -> password ... Running Although the web browser http://x.x.x.x returns a test page; http://x.x.x.x/nagios Gives me the 404. /usr/local/nagios/bin/nagios -v nagios.cfg indicates that everything is working. ## also of note... The docs differ with respect to the above mentioned sections With respect to " " quotes depending on if you look at `configure Script Alias for CGI` -> ScriptAlias "/nagios/cgi-bin/ /usr/local/sbin/"> Or instead are viewing `Configuring web authentication`. ScriptAlias /nagios/cgi-bin/ /usr/local/sbin/> #no quotes 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 ------------------------------------------------------- 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 richard.luys at vanderlet.nl Tue Aug 17 11:26:32 2004 From: richard.luys at vanderlet.nl (Richard Luys) Date: Tue, 17 Aug 2004 11:26:32 +0200 Subject: Refresh question In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F38A7D0@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F38A7D0@mismail2.ena.com> Message-ID: On Mon, 16 Aug 2004 09:29:48 -0500, Marc Powell wrote: > ----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. > FYI here are my findings with the Opera browser (version 7.something). It has a nice feature which allows you to easily change the refresh-interval from 5 seconds to 30 minutes. But, as I suspected, this will not work with a refresh that is 'forced' by the page. A META-tag resulting in a refresh every 60 seconds cannot be overruled by this setting (tried it by setting the Opera refresh interval to 5 minutes, still after 1 minute it refreshed!). AFAIK this should be the right behaviour; if a browser allows you to override the refresh-time set by a META-tag, it is not fully compliant with the standards... Richard ------------------------------------------------------- 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 afarrer at africonnect.com Tue Aug 17 11:23:35 2004 From: afarrer at africonnect.com (Alex Farrer) Date: Tue, 17 Aug 2004 10:23:35 +0100 Subject: Tactical Overview Colors In-Reply-To: <20040816212847.FYLJ10626.lakermmtao12.cox.net@rockycanyon> References: <20040816212847.FYLJ10626.lakermmtao12.cox.net@rockycanyon> Message-ID: <5.2.1.1.2.20040817102011.02bebd80@mail.africonnect.com> As far as I know there's not an actual configuration option for this in the files, but you could get it to work if you really wanted it to. You would have to edit the source code of the tac.cgi script and recompile it though. Alex At 14:28 16/08/2004 -0700, 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 From nagios at mm.quex.org Tue Aug 17 13:26:15 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Tue, 17 Aug 2004 19:26:15 +0800 Subject: Sounds in web interface In-Reply-To: <20040817101821.A29279@rak.bb.euroweb.sk> References: <20040816172457.A23083@rak.bb.euroweb.sk> <20040817101821.A29279@rak.bb.euroweb.sk> Message-ID: <20040817112615.GA16680@quex.org> On Tue, Aug 17, 2004 at 10:18:21AM +0200, jan gregor wrote: >> You can find this in cgi.cfg. Just uncomment the wav's you want to >> activate > Yes, I know about this. But web interface plays sounds each time it is > refreshed. I want it to do so ONLY if status of service(s) changes > between two refreshes. I don't think that'd be possible without some major hacking to the CGI's, as HTTP is itself a stateless protocol (so the CGI's don't know if it's the first or second or ten millionth time the browser has reloaded the page), and as far as I know the CGI's don't do any session tracking. Possibly this planned for 2.0 or 3.0 or 6.x? :) If you don't need to tie in the sound to the web interface, you might want to consider setting up a special notification contact that will play a sound on appropriate machine(s) when an event occurs. ------------------------------------------------------- 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 Tue Aug 17 14:40:15 2004 From: h.januschka at krone.at (Helmut Januschka) Date: Tue, 17 Aug 2004 14:40:15 +0200 Subject: AW: Tactical Overview Colors Message-ID: <481EAEA6BAED9A4EAF26BA149197AA3E87F883@office1.online.krone.at> try to play arround with the CSS files I think I'v seen it there cu Helmut Januschka -----Urspr?ngliche Nachricht----- Von: Alex Farrer [mailto:afarrer at africonnect.com] Gesendet: Dienstag, 17. August 2004 11:24 An: Gregg Strickland; nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] Tactical Overview Colors As far as I know there's not an actual configuration option for this in the files, but you could get it to work if you really wanted it to. You would have to edit the source code of the tac.cgi script and recompile it though. Alex At 14:28 16/08/2004 -0700, 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 ------------------------------------------------------- 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 Markus.Saner at antalis.ch Tue Aug 17 15:09:13 2004 From: Markus.Saner at antalis.ch (Saner, Markus) Date: Tue, 17 Aug 2004 15:09:13 +0200 Subject: Sounds in web interface Message-ID: <491A5F682BEFA742B21EF20AD4A81733F94BA8@chluex01.ch.antalis.local> Saner, Markus wrote: > nagios at mm.quex.org wrote: > I don't think that'd be possible without some major hacking to the > CGI's, as HTTP is itself a stateless protocol (so the CGI's don't > know if it's the first or second or ten millionth time the browser > has reloaded the page), and as far as I know the CGI's don't do any > session tracking. Possibly this planned for 2.0 or 3.0 or 6.x? :) The only way is patching the source and recompile..... I did it in the tactical overview only and is quite simple. Find attached the TAC source for Nagios V1.1 what would fix your problem. All modifications are tagged with: SAN If the attachement dont reach the list, please request it by email. regards, Markus -------------- next part -------------- A non-text attachment was scrubbed... Name: tac.c Type: application/octet-stream Size: 55357 bytes Desc: tac.c URL: From jlyons30 at yahoo.com Tue Aug 17 17:07:21 2004 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 17 Aug 2004 08:07:21 -0700 (PDT) Subject: Tactical Overview Colors In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D6E9889@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D6E9889@golden-m.mactec.com> Message-ID: <20040817150721.75022.qmail@web60802.mail.yahoo.com> It's pretty simple to add, just modify 6 lines in tac.c and add 2 lines in the style sheets. It would be nice if it was in the default install... :) At least now my helpdesk monkeys only panic when thing are red and ARE critical... --- "Cook, Garry" wrote: > Absolutely Brilliant! Thanks Jon. That is really > awesome. > Have you submitted this to Ethan? I think this would > be a great addition > to the distribution. > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > nagios-users-admin at lists.sourceforge.net wrote: > > Here's mine....With yellow for warnings and brown > for unkown... > > > > > > __________________________________ 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 jlyons30 at yahoo.com Tue Aug 17 16:59:28 2004 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 17 Aug 2004 07:59:28 -0700 (PDT) Subject: Tactical Overview Colors In-Reply-To: <4121D191.1090703@cict.fr> References: <4121D191.1090703@cict.fr> Message-ID: <20040817145928.85953.qmail@web60807.mail.yahoo.com> Try 'make tac.cgi'.... Also you need to replace your tac.css(in the stylesheets folder) with mine...Be sure to make backups! :) --- carole verdon wrote: > Hi, > > I copied 'tac-with-colors.tar' in nagios-1.2/cgi. > Then i executed this: > $ tar -xvf tac-with-colors.tar > $ make tac > gcc -g -O2 -I/usr/local/mysql/include/mysql > -I/usr/local/include > -DHAVE_CONFIG_H -DNSCGI > -L/usr/local/mysql/lib/mysql -L/usr/local/lib > -lmysqlclient tac.c -o tac > Undefined first referenced > symbol in file > service_critical_sound > /var/tmp//cceUSncc.o > url_media_path > /var/tmp//cceUSncc.o > read_main_config_file > /var/tmp//cceUSncc.o > refresh_rate > /var/tmp//cceUSncc.o > getcgivars > /var/tmp//cceUSncc.o > enable_flap_detection > /var/tmp//cceUSncc.o > url_stylesheets_path > /var/tmp//cceUSncc.o > url_images_path > /var/tmp//cceUSncc.o > get_time_string > /var/tmp//cceUSncc.o > host_unreachable_sound > /var/tmp//cceUSncc.o > free_memory > /var/tmp//cceUSncc.o > normal_sound > /var/tmp//cceUSncc.o > display_context_help > /var/tmp//cceUSncc.o > host_down_sound > /var/tmp//cceUSncc.o > include_ssi_files > /var/tmp//cceUSncc.o > find_service > /var/tmp//cceUSncc.o > hoststatus_list > /var/tmp//cceUSncc.o > execute_service_checks > /var/tmp//cceUSncc.o > service_warning_sound > /var/tmp//cceUSncc.o > servicestatus_list > /var/tmp//cceUSncc.o > get_authentication_information > /var/tmp//cceUSncc.o > is_host_immediate_child_of_host > /var/tmp//cceUSncc.o > enable_notifications > /var/tmp//cceUSncc.o > cgi_config_file_error > /var/tmp//cceUSncc.o > read_all_status_data > /var/tmp//cceUSncc.o > status_data_error > /var/tmp//cceUSncc.o > free_cgivars > /var/tmp//cceUSncc.o > accept_passive_service_checks > /var/tmp//cceUSncc.o > main_config_file_error > /var/tmp//cceUSncc.o > find_host > /var/tmp//cceUSncc.o > read_all_object_configuration_data > /var/tmp//cceUSncc.o > display_info_table > /var/tmp//cceUSncc.o > is_authorized_for_host > /var/tmp//cceUSncc.o > read_cgi_config_file > /var/tmp//cceUSncc.o > main_config_file > /var/tmp//cceUSncc.o > reset_cgi_vars > /var/tmp//cceUSncc.o > is_authorized_for_service > /var/tmp//cceUSncc.o > is_authorized_for_all_hosts > /var/tmp//cceUSncc.o > host_list > /var/tmp//cceUSncc.o > enable_event_handlers > /var/tmp//cceUSncc.o > find_hoststatus > /var/tmp//cceUSncc.o > object_data_error > /var/tmp//cceUSncc.o > ld: fatal: Symbol referencing errors. No output > written to tac > collect2: ld returned 1 exit status > make: *** [tac] Error 1 > > Why i have got this error? > > Can you help me, please? > > Carole. > > Jon Lyons wrote: > > >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 > > > > -- > ********************************** > VERDON Carole > Ing?nieur Syst?me > CICT - Universit? Paul Sabatier > 118, route de Narbonne > 31062 Toulouse Cedex > T?l.: 05.61.36.60.44 > Fax: 05.61.52.14.58 > Mail: verdon at cict.fr > ********************************** > > > __________________________________ 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 dhawal at netmagicsolutions.com Tue Aug 17 17:15:50 2004 From: dhawal at netmagicsolutions.com (Dhawal Doshy) Date: Tue, 17 Aug 2004 20:45:50 +0530 Subject: FCAPS compliance In-Reply-To: <4120E1EC.6010200@netmagicsolutions.com> References: <4AB63699.6050301@datavis.se> <4120E1EC.6010200@netmagicsolutions.com> Message-ID: <41222126.8050300@netmagicsolutions.com> A lot of questions got drowned in the noise yesterday.. one of them was this.. Anybody care?? - dhawal Dhawal Doshy wrote: > 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 ------------------------------------------------------- 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 Tue Aug 17 16:41:27 2004 From: jan.johansson at se.nyklogistics.com (Jan Johansson) Date: Tue, 17 Aug 2004 16:41:27 +0200 Subject: check_snmp limits? Message-ID: <9AA4F704BE060A45A06E1FA950C9DF932CBD21@sbs-1.nwl.se> I cant get warn/crit to work for check_snmp... hooch:/usr/share/snmp/mibs# /usr/lib/nagios/plugins/check_snmp -H printer-1 -o .1.3.6.1.2.1.43.11.1.1.9.1.5 SNMP OK - 1600 Now, I want a warning between 1000-2000 and crit between 0-999 But, if use hooch:/usr/share/snmp/mibs# /usr/lib/nagios/plugins/check_snmp -H printer-1 -o .1.3.6.1.2.1.43.11.1.1.9.1.5 -w 1000:2000 -c 0:999 SNMP CRITICAL - *1600* hooch:/usr/share/snmp/mibs# It goes to critical. What am I missing? ------------------------------------------------------- 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 19:05:21 2004 From: kdubose at mystrotv.com (Kreig DuBose) Date: Tue, 17 Aug 2004 11:05:21 -0600 Subject: RHEL3 and DAG rpms- Follow-up Message-ID: What's leading me to my suspicion is the fact that running the individual plugins as both root and nagios return valid responses. However, in the web interface it consistently reports: No output returned from plugin or No output I'm also getting an error: Could not stat() command file '/var/log/nagios/rw/nagios.cmd' When 1) Nagios is running, 2) is it set to check for external commands, and the file is there: nagios at beaker libexec]$ ll /var/log/nagios/rw/nagios.cmd prwxrwxrwx 1 nagios nagios 0 Aug 17 11:03 /var/log/nagios/rw/nagios.cmd Cheers, Kreig [root at beaker libexec]# ./check_ping -H milton -w 100,90% -c 200,100% PING OK - Packet loss = 0%, RTA = 0.18 ms [root at beaker libexec]# su - nagios [nagios at beaker nagios]$ cd /etc/nagios/libexec/ [nagios at beaker libexec]$ ./check_ping -H milton -w 100,90% -c 200,100% PING OK - Packet loss = 0%, RTA = 0.17 ms [nagios at beaker libexec]$ ./check_time -H milton TIME OK - 0 second time difference [nagios at beaker libexec]$ ./check_ntp -H milton NTP OK: Offset 0.005588 secs, jitter 1.297 msec, peer is stratum 1 ************ Message: 3 Subject: RE: [Nagios-users] RHEL3 and DAG rpms Date: Mon, 16 Aug 2004 20:53:16 -0500 From: "Marc Powell" To: "Kreig DuBose" , > -----Original Message----- > From: Kreig DuBose [mailto:kdubose at mystrotv.com] > Sent: Monday, August 16, 2004 7:12 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RHEL3 and DAG rpms >=20 > 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? >=20 > Has anyone else encountered/solved this? >=20 > 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. [an ungodly number of lines of irrelevant digest removed] Are they returning anything at all? What information has led you to believe that the problem is related to nagios.cmd? In a 'standard' setup, Nagios spawns child process to execute the checks which then return the results of those checks back to the main process. Nagios.cmd is mainly used for the processing of commands originating from the web interface and passive checks. Have you tried executing the plugins as they are defined in command.cfg as the nagios user to see if they return proper output? Config snippets of a representative (and related) host definition, service definition and command definition along with any specific error information or output would be useful as well. -- Marc --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- 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 Tue Aug 17 20:53:14 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Tue, 17 Aug 2004 14:53:14 -0400 Subject: RHEL3 and DAG rpms In-Reply-To: References: Message-ID: <1092768794.4356.106.camel@pel> On Mon, 2004-08-16 at 20:11, Kreig DuBose wrote: > 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. By default, the plugins send their output to stdout. Its nagios that redirects the output. The plugins do not have that path pre-compiled into them. I'm using an rpm based off Dag's without a problem. And I used Dag's rpm with RHL9 without a problem. ------------------------------------------------------- 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 hsimon at cigital.com Tue Aug 17 22:39:17 2004 From: hsimon at cigital.com (Horst Simon) Date: Tue, 17 Aug 2004 16:39:17 -0400 Subject: Need help with CPU Warning message Message-ID: <9B05A21842F77F41ABFB3153FC93201D1CC540@va-mail.cigital.com> Hello, We've been receiving the following WARNING message on one of our servers: c:\program files\nrpe_nt\check_cputime.wsf(87, 6) Microsoft VBScript runtime error: Input past end of file It's now spread to another server and we've found Googling and Nagios documentation have been no help. Would appreciate any input someone might have to correct the problem. ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From wcooley at nakedape.cc Tue Aug 17 18:55:52 2004 From: wcooley at nakedape.cc (Wil Cooley) Date: Tue, 17 Aug 2004 09:55:52 -0700 Subject: Web interface install question In-Reply-To: <000401c4842e$987c9500$4618680a@ad.mizuhosc.com> References: <000401c4842e$987c9500$4618680a@ad.mizuhosc.com> Message-ID: <1092761752.6712.12.camel@denk.nakedape.priv> On Tue, 2004-08-17 at 16:48 +0900, Jamie Roughan wrote: > I am nearing completion of a nagios install and am not yet successful with > the Web interface. > I read the docs related to this section but have yet to resolve the issue: > > /etc/httpd/conf/httpd.conf has been configed with.... > > ScriptAlias /nagios/cgi-bin/ /usr/local/sbin/> # 1st > ( section) > & then > > Alias /nagios/ /usr/local/nagios/share #2nd > ( section ) > > # I am logged in as user nagios, have /etc/init.d/httpd start running > and also ./nagios start -> password ... Running > > Although the web browser http://x.x.x.x returns a test page; > http://x.x.x.x/nagios > Gives me the 404. Add the / at the end of the URL, or (better) remove it from the URL in the alias. Wil -- Wil Cooley wcooley at nakedape.cc Naked Ape Consulting http://nakedape.cc -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From zsitfa at axelero.hu Tue Aug 17 22:31:40 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: Tue, 17 Aug 2004 22:31:40 +0200 Subject: CGIWRAP with Nagios Message-ID: <41226B2C.7060700@axelero.hu> Hi folks! I use Nagios 1.2 + Apache 2.0.49 with mod_ssl 2.0.49 and OpenSSL 0.9.7d on Debian Woody 3.1. Now I can access Nagios via HTTPS and installed cgiwrap 3.9. For the main Apache directrory it works, but for nagios it doesn't. I always get this:" Script Base Directory: '/home/nagios/public_html/cgi-bin' MultiUser Script Base Directory: '/nagios/cgi-bin/' Fetching script string Trying to extract script from PATH_INFO Extracted PATH_INFO '/cgi-bin/grouplist.cgi' ***************** * CGIWrap Error * ***************** Script File Not Found! " I made /home/nagios/public_html/cgi-bin symlink to /usr/local/nagios/sbin, but it doesn't work. If somebody managed to install cgiwrap with nagios, please help me. Thanks very very much. 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 naman.latif at inamed.com Tue Aug 17 18:54:42 2004 From: naman.latif at inamed.com (Naman Latif) Date: Tue, 17 Aug 2004 09:54:42 -0700 Subject: Customizing Side Menu Page Message-ID: <83B3FCAD284096489C9967C54B33B6B302AD5278@sigma.inamed.com> Hi All, I remember there was a posting some time back regarding "customizing side menus"(i.e. side.html). I can't seem to find it in the archives. E.g. Clicking on "Status Overview" will open a "Sub-menu List" with different "Host Groups" listed etc, which makes it easier to browse. Can someone help\guide me in that direction ? Thanks \\ Naman ------------------------------------------------------- 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 Tue Aug 17 14:39:23 2004 From: h.januschka at krone.at (Helmut Januschka) Date: Tue, 17 Aug 2004 14:39:23 +0200 Subject: AW: Sounds in web interface Message-ID: <481EAEA6BAED9A4EAF26BA149197AA3E87F882@office1.online.krone.at> why you don't try to hack in some cookie challenge ? or do it with a java script function , playing the sound in a popup/under and if its already open don't repoen it :), and if you aknowleged the problem close the popup or if all services are OK call a javascript popup close funktion (to make sure its gone) cu Helmut Januschka -----Urspr?ngliche Nachricht----- Von: nagios at mm.quex.org [mailto:nagios at mm.quex.org] Gesendet: Dienstag, 17. August 2004 13:26 An: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] Sounds in web interface On Tue, Aug 17, 2004 at 10:18:21AM +0200, jan gregor wrote: >> You can find this in cgi.cfg. Just uncomment the wav's you want to >> activate > Yes, I know about this. But web interface plays sounds each time it is > refreshed. I want it to do so ONLY if status of service(s) changes > between two refreshes. I don't think that'd be possible without some major hacking to the CGI's, as HTTP is itself a stateless protocol (so the CGI's don't know if it's the first or second or ten millionth time the browser has reloaded the page), and as far as I know the CGI's don't do any session tracking. Possibly this planned for 2.0 or 3.0 or 6.x? :) If you don't need to tie in the sound to the web interface, you might want to consider setting up a special notification contact that will play a sound on appropriate machine(s) when an event occurs. ------------------------------------------------------- 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 jan.johansson at se.nyklogistics.com Tue Aug 17 19:24:39 2004 From: jan.johansson at se.nyklogistics.com (Jan Johansson) Date: Tue, 17 Aug 2004 19:24:39 +0200 Subject: check_ups / check_snmp and APC SmartUPS 2200R? Message-ID: <9AA4F704BE060A45A06E1FA950C9DF930D62BD@sbs-1.nwl.se> ># '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 > } Thanks, but that seem to always return critical? hooch:~# /usr/lib/nagios/plugins/check_snmp -l "UPS STATUS" -H ndc2-ups-1 -C public -o .1.3.6.1.4.1.318.1.1.1.4.1.1.0 -s 2 UPS STATUS CRITICAL - *onLine(2)* hooch:~# Am i missing something? ------------------------------------------------------- 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 sudheer at tgs-solutions.com Tue Aug 17 15:10:18 2004 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Tue, 17 Aug 2004 09:10:18 -0400 Subject: Status map cgi In-Reply-To: <20040817125727.2637.qmail@web52908.mail.yahoo.com> References: <20040817125727.2637.qmail@web52908.mail.yahoo.com> Message-ID: <412203BA.8070105@tgs-solutions.com> Nop Mwaniki jack wrote: >Did you get an answer to this? I got the same problem >and no idea how to resolve the same. > >Rgds > > >--- Sudheer Muddappa >wrote: > > > >>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 >> >> >> > > > > >__________________________________ >Do you Yahoo!? >Yahoo! Mail - 50x more storage than other providers! >http://promotions.yahoo.com/new_mail > > > > -- ################## #Sudheer Muddappa# #TCIS # #732-212-5045 # ################## -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Aug 17 21:58:15 2004 From: marc at ena.com (Marc Powell) Date: Tue, 17 Aug 2004 14:58:15 -0500 Subject: RHEL3 and DAG rpms- Follow-up Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38A831@mismail2.ena.com> ----Original Message---- From: Kreig DuBose [mailto:kdubose at mystrotv.com] Sent: Tuesday, August 17, 2004 12:05 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RHEL3 and DAG rpms- Follow-up > What's leading me to my suspicion is the fact that running the > individual plugins as both root and nagios return valid responses. > However, in the web interface it consistently reports: > > No output returned from plugin or > > No output > > I'm also getting an error: Well, we'll need to see the config snippets mentioned in my original email. Also, the value of the $USER1$ macro in resource.cfg if it's referenced in the command definitions. Make sure that value points to the location of your plugins while you're there. The 'No output' means that nagios did not receive any output from the file handle used to communcate with the plugin being executed. What version of Nagios and the plugins are you using? I'm not familiar with the DAG rpms. > > Could not stat() command file '/var/log/nagios/rw/nagios.cmd' > When 1) Nagios is running, 2) is it set to check for external > commands, and the file is there: > > nagios at beaker libexec]$ ll /var/log/nagios/rw/nagios.cmd > prwxrwxrwx 1 nagios nagios 0 Aug 17 11:03 > /var/log/nagios/rw/nagios.cmd How about permissions on all the directories above nagios.cmd? One of them is likely set too restrictively. > > [root at beaker libexec]# ./check_ping -H milton -w 100,90% -c 200,100% > PING OK - Packet loss = 0%, RTA = 0.18 ms [root at beaker libexec]# su - > nagios [nagios at beaker nagios]$ cd /etc/nagios/libexec/ [nagios at beaker > libexec]$ ./check_ping -H milton -w 100,90% -c 200,100% PING OK - > Packet loss = 0%, RTA = 0.17 ms [nagios at beaker libexec]$ ./check_time > -H milton TIME OK - 0 second time difference [nagios at beaker libexec]$ > ./check_ntp -H milton NTP OK: Offset 0.005588 secs, jitter 1.297 > msec, peer is stratum 1 -- 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 trevor at yarde.com Tue Aug 17 16:19:24 2004 From: trevor at yarde.com (Trev Thorpe) Date: Tue, 17 Aug 2004 10:19:24 -0400 (EDT) Subject: AW: Tactical Overview Colors In-Reply-To: <481EAEA6BAED9A4EAF26BA149197AA3E87F883@office1.online.krone.at> References: <481EAEA6BAED9A4EAF26BA149197AA3E87F883@office1.online.krone.at> Message-ID: <39587.172.24.10.126.1092752364.squirrel@172.24.10.126> Hey Guys, As previously mentioned the tac.css file does hold the values for these colors. I played around and tested a couple this morning myself. Service warnings to yellow for instance -- Background color to FFFF00 Yellow Warnings for Services: .serviceImportantProblem { text-align: left; font-family: arial; font-size: 8pt; background-color: #FFFF00; color: black; } Default Red Setting... .serviceImportantProblem { text-align: left; font-family: arial; font-size: 8pt; background-color: #ff0000; color: black; } > try to play arround with the CSS files > I think I'v seen it there > > cu > Helmut Januschka > > -----Urspr?ngliche Nachricht----- > Von: Alex Farrer [mailto:afarrer at africonnect.com] > Gesendet: Dienstag, 17. August 2004 11:24 > An: Gregg Strickland; nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] Tactical Overview Colors > > > As far as I know there's not an actual configuration option for this in the > files, but you could get it to work if you really wanted it to. You would > have to edit the source code of the tac.cgi script and recompile it though. > > Alex > > > At 14:28 16/08/2004 -0700, 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 > > > ------------------------------------------------------- > 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 | 45 Newell St. 860-406-6281 | Southington, CT 06489 ------------------------------------------------------- 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 Tue Aug 17 16:56:47 2004 From: trevor at yarde.com (Trev Thorpe) Date: Tue, 17 Aug 2004 10:56:47 -0400 (EDT) Subject: Tactical Overview Colors Message-ID: <39764.172.24.10.126.1092754607.squirrel@172.24.10.126> Hey Guys, As previously mentioned the tac.css file does hold the values for these colors. I played around and tested a couple this morning myself. Service warnings to yellow for instance -- Background color to FFFF00 Yellow Warnings for Services: .serviceImportantProblem { text-align: left; font-family: arial; font-size: 8pt; background-color: #FFFF00; color: black; } Default Red Setting... .serviceImportantProblem { text-align: left; font-family: arial; font-size: 8pt; background-color: #ff0000; color: black; } > try to play arround with the CSS files > I think I'v seen it there > > cu > Helmut Januschka > > -----Urspr?ngliche Nachricht----- > Von: Alex Farrer [mailto:afarrer at africonnect.com] > Gesendet: Dienstag, 17. August 2004 11:24 > An: Gregg Strickland; nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] Tactical Overview Colors > > > As far as I know there's not an actual configuration option for this in the files, but you could get it to work if you really wanted it to. You would have to edit the source code of the tac.cgi script and recompile it though. > > Alex > > > At 14:28 16/08/2004 -0700, 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 > > > ------------------------------------------------------- > 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 | 45 Newell St. 860-406-6281 | Southington, CT 06489 -- Trevor Thorpe | Yarde Metals, Inc. Lead TSA | 45 Newell St. 860-406-6281 | Southington, CT 06489 ------------------------------------------------------- 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 Wed Aug 18 03:01:26 2004 From: Steve.Collins at industry.gov.au (Collins, Steve) Date: Wed, 18 Aug 2004 11:01:26 +1000 Subject: [PMX:#] Advice on alert config Message-ID: <61045C98CC667545B7E628E3BED42A38254819@g5dicbr01ms01.industry.gov.au> We're building our first ever prime-time (i.e. watching production servers) Nagios server and would like to have an alert system something like I detail below. Contact Groups: Webdev - Web Development Team Staff Support - Web Development Support Staff BizOwners - Owners of deployed systems SrvDesk - Departmental Help Desk Managers - Departmental Management SnrMgrs - Senior Management What we'd like to do is an alert system that notifies different groups by different methods at different times. So, what we'd like is: 1min 10min 30min 60min 120min 360min Webdev email email/sms email/sms email/sms email/sms email/sms Support email email/sms email/sms email/sms email/sms BizOwners email email SrvDesk email email Managers email email/sms email/sms email/sms SnrMgrs email email/sms email/sms I realise that this may not strictly be possible, and that the alert frequency might need to be tweaked some, but it's pretty much what we want to do. Any advice on how best to approach this would be hugely welcome. TIA. 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 GWCOOK at mactec.com Wed Aug 18 04:11:19 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 17 Aug 2004 20:11:19 -0600 Subject: Customizing Side Menu Page Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E98C9@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > Hi All, > I remember there was a posting some time back regarding "customizing > side menus"(i.e. side.html). I can't seem to find it in the archives. > > E.g. Clicking on "Status Overview" will open a "Sub-menu List" with > different "Host Groups" listed etc, which makes it easier to browse. > > Can someone help\guide me in that direction ? > > Thanks \\ Naman I think this is found on the APAN web site - http://apan.sourceforge.net/. Check the downloads section. 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 CWaters at jeld-wen.com Tue Aug 17 18:34:51 2004 From: CWaters at jeld-wen.com (CWaters at jeld-wen.com) Date: Tue, 17 Aug 2004 09:34:51 -0700 Subject: Host Escalation Problems Message-ID: I guess I wasn't patient enough. The config below seems to work. My alerts were not coming in quite as expected but I was not allowing for time to run the checks themselves. _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of CWaters at jeld-wen.com Sent: Monday, August 16, 2004 6:24 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Host Escalation Problems I am having a problem trying to get host notifications sent to my ticketing system only on the first notification and to my admins group for all notifications. I have read the documentation and it says that overlapping notificaions should work. Here are the appropriate portions of my config files. I hope I am missing something obvious because I have tried several iterations of the hostgroupescalations with mixed results. In this configuration, everyone gets the first notfication and none after that. Other configs I have tried have sent notifications continuously to admins but not to the ticketing group at all. I am sure there were other results but too many to list. define hostgroupescalation{ hostgroup_name myhosts,myotherhosts first_notification 1 last_notification 1 notification_interval 15 contact_groups ticketing } define hostgroupescalation{ hostgroup_name myhosts,myotherhosts first_notification 1 last_notification 0 notification_interval 15 contact_groups admins } define host { use generic-host host_name networkdev alias networkdev address 172.16.11.229 parents r_kla check_command check-host-alive max_check_attempts 3 notification_interval 15 notification_period 24x7 notification_options d,u,r } define service { use generic-service host_name localhost,r_kla,r_internet,networkdev service_description Alive contact_groups admins check_period 24x7 notification_interval 15 notification_options u,c,r notification_period 24x7 check_command check-host-alive max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 } define hostgroup { hostgroup_name myhosts alias myhosts contact_groups admins members r_kla,networkdev,r_internet } Thanks, I hope someone can set me striaght. Chris Waters -------------- next part -------------- An HTML attachment was scrubbed... URL: From kelvin.wu at gmail.com Wed Aug 18 04:38:03 2004 From: kelvin.wu at gmail.com (Kelvin Wu) Date: Wed, 18 Aug 2004 10:38:03 +0800 Subject: Customizing Side Menu Page In-Reply-To: <83B3FCAD284096489C9967C54B33B6B302AD5278@sigma.inamed.com> References: <83B3FCAD284096489C9967C54B33B6B302AD5278@sigma.inamed.com> Message-ID: i wrote one for myself. copy attached hostgroups.cgi to nagios/sbin/ folder, u may want to modify the path/url inside this script. open side.html, under 'Service Detail' table row, add:
refresh left frame. On Tue, 17 Aug 2004 09:54:42 -0700, Naman Latif wrote: > Hi All, > I remember there was a posting some time back regarding "customizing > side menus"(i.e. side.html). I can't seem to find it in the archives. > > E.g. Clicking on "Status Overview" will open a "Sub-menu List" with > different "Host Groups" listed etc, which makes it easier to browse. > > Can someone help\guide me in that direction ? > > Thanks \\ Naman > -------------- next part -------------- A non-text attachment was scrubbed... Name: hostgroups.cgi Type: application/octet-stream Size: 1254 bytes Desc: not available URL: From dinesh at imcb.a-star.edu.sg Wed Aug 18 04:54:38 2004 From: dinesh at imcb.a-star.edu.sg (Dinesh) Date: Wed, 18 Aug 2004 10:54:38 +0800 Subject: nagios install Message-ID: <20040818025438.4FABF2009E@inmx-vw1.imcb.a-star.edu.sg> Hi all, I am switching over from netsaint flat file to a nagios system using mysql. Having some problems. I did as per the documentation, but still having a few issues. Would like if any one of you can spot the difference. Log file says [1092823801] Error: Could not insert row for program retention data in table 'programretention' [1092823921] Error: NULL variable value - Line 51 of resource file '/etc/nagios/resource.cfg' [1092823921] Nagios 1.1 starting... (PID=1806) In /etc/nagios/resource.cfg xsddb_database=nagios xsddb_username=nagios xsddb_password=password123 - Line 51 xcddb_database=nagios xcddb_username=nagios xcddb_password=password123 xdddb_database=nagios xdddb_username=nagios xdddb_password=password123 xrddb_database=nagios xrddb_username=nagios xrddb_password=password123 regards, Dinesh Birlasekaran Network Engineer, ComIT, Institute of Molecular and Cell Biology 61 Biopolis Drive, Singapore 138673 HP : 92962676 DID : 65869804 Fax : 67791117 Email : dinesh at imcb.a-star.edu.sg WWW: www.imcb.a-star.edu.sg ------------------------------------------------------- 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 data64 at yahoo.com Wed Aug 18 05:34:12 2004 From: data64 at yahoo.com (data) Date: Tue, 17 Aug 2004 20:34:12 -0700 (PDT) Subject: Web interface install question In-Reply-To: <000401c4842e$987c9500$4618680a@ad.mizuhosc.com> References: <000401c4842e$987c9500$4618680a@ad.mizuhosc.com> Message-ID: <20040818033412.8383.qmail@web21323.mail.yahoo.com> > /etc/httpd/conf/httpd.conf has been configed > with.... > > ScriptAlias /nagios/cgi-bin/ /usr/local/sbin/> # > 1st > ( section) > & then > > Alias /nagios/ /usr/local/nagios/share #2nd > ( section ) > Change your alias to Alias /nagios /usr/local/nagios/share ie. drop the "/" after nagios data64 __________________________________ 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 GWCOOK at mactec.com Wed Aug 18 06:05:30 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 17 Aug 2004 22:05:30 -0600 Subject: Customizing Side Menu Page Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E98CA@golden-m.mactec.com> I won't compare your script to the APAN Grouplist, because I have not used that one in a while and don't remember its capabilities. However, I did notice a few issues with your script: 1. The menu cannot be collapsed. This is a problem for me due to the fact that I have many hostgroups. 2. The hostgroups.cfg files in my cfg_dirs are not read, only the hostgroups.cfg in the root nagios/etc/ directory is used. Therefore, I'm missing a few hostgroups from the list. 3. I think that in the html code below, line 4 should read: > > > > > refresh left frame. > > > On Tue, 17 Aug 2004 09:54:42 -0700, Naman Latif > wrote: >> Hi All, >> I remember there was a posting some time back regarding "customizing >> side menus"(i.e. side.html). I can't seem to find it in the archives. >> >> E.g. Clicking on "Status Overview" will open a "Sub-menu List" with >> different "Host Groups" listed etc, which makes it easier to browse. >> >> Can someone help\guide me in that direction ? >> >> Thanks \\ Naman ------------------------------------------------------- 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 Roderick.Tapang at gxs.com Wed Aug 18 01:11:02 2004 From: Roderick.Tapang at gxs.com (Roderick.Tapang at gxs.com) Date: Tue, 17 Aug 2004 19:11:02 -0400 Subject: RHEL3 and DAG rpms Message-ID: -| -----Original Message----- -| From: Sean Dilda [mailto:agrajag at dragaera.net] -| On Mon, 2004-08-16 at 20:11, Kreig DuBose wrote: -| > 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? same here, i'm using dag's rpm on taolinux: nagios-plugins-1.3.1-1 nagios-1.2-0.dag no problems so far. taolinux [1] is an RHEL 3 derivative like whitebox[2] [1] www.taolinux.org [2] www.whiteboxlinux.org - erik ------------------------------------------------------- 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 jamie.roughan at mizuho-sc.com Wed Aug 18 06:51:26 2004 From: jamie.roughan at mizuho-sc.com (Jamie Roughan) Date: Wed, 18 Aug 2004 13:51:26 +0900 Subject: Web interface authentication In-Reply-To: References: Message-ID: <001d01c484df$048958e0$4618680a@ad.mizuhosc.com> On Tue, 2004-08-17 at 16:48 +0900, Jamie Roughan wrote: > I am nearing completion of a nagios install and am not yet successful...with authentication Although I have set up authentication accoding to http://nagios.sourceforge.net/docs/1_0/cgiauth.html Specifically with ... htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin I am prompted for a login and password, but Authentication is not working. In the meanwhile I am looking for an answer in the Apache docs --->as advised by the nagios docs ...Okay, so you're done with the first part of what needs to be done. If you point your web browser to your Nagios CGIs you should be asked for a username and password. ( yes, this works) If you have problems getting user authentication to work at this point, read your webserver documentation for more info. Additionally, I have set up /etc/htpasswd.users & .htaccess is in the /sbin & /share directories. Here is a copy of the relevant part of the apache config: #################### # # beginning of nagios section # ###################### DocumentRoot "/usr/local/nagios/share" #DocumentRoot "/var/www/html" Options FollowSymLinks AllowOverride None # this is the Nagios script for cgi ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all ---fin # thanks Tom for the pointer to http://demo.square-box.com/httpd.htm Once I added this line DocumentRoot "/usr/local/nagios/share" I was in better shape. ------------------------------------------------------- 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 jamie.roughan at mizuho-sc.com Wed Aug 18 07:18:35 2004 From: jamie.roughan at mizuho-sc.com (Jamie Roughan) Date: Wed, 18 Aug 2004 14:18:35 +0900 Subject: Web Interface Authentication Message-ID: <002401c484e2$cfae2bb0$4618680a@ad.mizuhosc.com> On Tue, 2004-08-17 at 16:48 +0900, Jamie Roughan wrote: > I am nearing completion of a nagios install and am not yet > successful...with authentication Ok .... I managed to solve this one myself. The issue I had was that /usr/local/nagios/etc htpasswd.users was owned by root, which causes problems for apache. chown apache htpasswd solves that. ...hope this helps someone else in the future. ; ) *********************************************************** Jamie Roughan Mizuho Securities Co., Ltd. 1-5-1 Otemachi, Chiyoda-ku, Tokyo 100-0004, Japan ********************************************************* ------------------------------------------------------- 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 Wed Aug 18 08:11:41 2004 From: kelvin.wu at gmail.com (Kelvin Wu) Date: Wed, 18 Aug 2004 14:11:41 +0800 Subject: Customizing Side Menu Page In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D6E98CA@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D6E98CA@golden-m.mactec.com> Message-ID: > 1. The menu cannot be collapsed. This is a problem for me due to the > fact that I have many hostgroups. no it is not collapsed, i don't know much about dhtml/javascript. > 2. The hostgroups.cfg files in my cfg_dirs are not read, only the > hostgroups.cfg in the root nagios/etc/ directory is used. Therefore, I'm > missing a few hostgroups from the list. as i said, i made this hack for my personal use, i have only one hostgroups.cfg in nagios/etc folder, but it is easy to modify it to read cfg from other location. > 3. I think that in the html code below, line 4 should read: >