From dave at leaplab.com Sat May 1 00:37:57 2004 From: dave at leaplab.com (Dave Barnum) Date: Fri, 30 Apr 2004 15:37:57 -0700 Subject: Confused on Intervals Message-ID: <4092D545.3050104@leaplab.com> Hello. I'm a little confused as to which interval setting i should edit in nagios.cfg. I want to change the time in which the system checks services for their status. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at halligan.org Sat May 1 02:55:12 2004 From: michael at halligan.org (Michael T. Halligan) Date: Fri, 30 Apr 2004 17:55:12 -0700 (PDT) Subject: check_http functionality for regular expressions and redirects? In-Reply-To: <4092D545.3050104@leaplab.com> References: <4092D545.3050104@leaplab.com> Message-ID: Has anybody ever actually used the -r regular expression and -f (onredirect) option? As far as I can tell, they just don't work, and the documentation gives no information on any special quoting.. ------------------- Michael T. Halligan Chief Geek Halligan Infrastructure Designs. http://www.halligan.org/ 3158 Mission St. #3 San Francisco, CA 94110 (415) 724.7998 - Mobile ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat May 1 14:39:03 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Sat, 1 May 2004 08:39:03 -0400 Subject: check_http question? In-Reply-To: <4091D512.40805@pbp.net> References: <4091D512.40805@pbp.net> Message-ID: <20040501083903.6a2c9a77.karl@debisschop.net> On Thu, 29 Apr 2004 21:24:50 -0700 Jonathan Nichols wrote: > Greetings! > > Can the check_http plugin also measure page load times, or does it > just check to see if the http port is open? > > I have a project that I've been tasked with - need to measure page > load times & also graph them. > > Can I do this with Nagios? If yes, how could I graph this? I know, > "rrdtool" or something.. but has anyone done this? :) > > Thanks for any information! :D By default, check_http downloads the entire web page. But id does not follow any links - css, iframes, etc - that are normally part of a page. You need tp use curl or perl LWP if you need to follow links like that. -- Karl ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat May 1 14:42:46 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Sat, 1 May 2004 08:42:46 -0400 Subject: check_http question? In-Reply-To: <4091D512.40805@pbp.net> References: <4091D512.40805@pbp.net> Message-ID: <20040501084246.2517dee9.karl@debisschop.net> On Thu, 29 Apr 2004 21:24:50 -0700 Jonathan Nichols wrote: > Greetings! > > Can the check_http plugin also measure page load times, or does it > just check to see if the http port is open? > > I have a project that I've been tasked with - need to measure page > load times & also graph them. > > Can I do this with Nagios? If yes, how could I graph this? I know, > "rrdtool" or something.. but has anyone done this? :) Forgot the second part of your question - check_http does pass perfdata, so the perfdata hooks in nagios should work to collect data for graphing. -- Karl ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhein at netways.de Sat May 1 15:54:09 2004 From: jhein at netways.de (Julian Hein) Date: Sat, 1 May 2004 15:54:09 +0200 Subject: AW: Re: Version 2.0 timeframe? Message-ID: <2F6750F2110CAD41BE0BC33BB428B568010E1E@net-sql2.int.netways.de> Hi, >In no way am I complaining either.... we are just on the verge >of a major expansion of Nagios, and a rough idea, if there is >any idea, of when 2.0 may be available would help in planning... We are already using Nagios 2.0 compiled from CVS and have not experienced any problems. In my opinion, it is already usable, even in production environments. Julian ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jireland32 at yahoo.com.au Sun May 2 09:47:17 2004 From: jireland32 at yahoo.com.au (=?iso-8859-1?q?John=20Ireland?=) Date: Sun, 2 May 2004 17:47:17 +1000 (EST) Subject: Monitoring snmp traps from PowerWare UPS's Message-ID: <20040502074717.99396.qmail@web12407.mail.yahoo.com> Hi All does anyone have any experience with this. We currently use nagios to monitor our network devices and servers and receive SMS (via Gnocki) messages when things go down. Is it possible to do the same for UPS traps so that when input power is cut to a UPS the trap sent to nagios could generate a SMS in the same way. thanks in advance John Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave-nagios at homer.cymry.org Mon May 3 00:06:26 2004 From: dave-nagios at homer.cymry.org (dave-nagios at homer.cymry.org) Date: Sun, 2 May 2004 17:06:26 -0500 Subject: extended information In-Reply-To: <409103EE.5000606@microlnk.net> References: <54CBD1107EC5AD4EA8D4183558A589EF47875D@coaexch5.coacd.org> <409103EE.5000606@microlnk.net> Message-ID: <20040502220626.GA2258@homer.cymry.org> On Thu, Apr 29, 2004 at 08:32:30AM -0500, Jason Byrns wrote: > Paul.Fiero at ci.austin.tx.us wrote: > [snip] > > > I am trying to get extended host and service information to display in > > Nagios. I am using Nagmin to do my configuration stuff and have only > come > > to realize just now that Nagios doesn't utilize the hostextinfo or > > serviceextinfo config files. So I started doing some digging...even > > experimenting with the cgi.cfg fie and I still can't get those stupid > icons > > to show up. > > > I have also been trying to set up the extended info within Nagios. I > have also been using Nagmin recently. It does look like the cgi.cfg is > where it will have to go, but I haven't made it work yet myself. Sure you have libgd installed properly and working? Sure you have nagios linked against it? ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave-nagios at homer.cymry.org Mon May 3 00:24:07 2004 From: dave-nagios at homer.cymry.org (dave-nagios at homer.cymry.org) Date: Sun, 2 May 2004 17:24:07 -0500 Subject: "(Has been acknowledged)" message won't go away In-Reply-To: <20040429184617.X3047@thermonuclear.org> References: <20040429184617.X3047@thermonuclear.org> Message-ID: <20040502222407.GB2258@homer.cymry.org> On Thu, Apr 29, 2004 at 06:51:33PM -0400, Peter Beckman wrote: > Nowhere did it tell me what happens when I acknowledge a problem, nor how > nagios removes the acknowledgement after the host comes back up. I've > since deleted the comment, but the acknowledgement icon and subsequent text > won't go away. Assuming someone named "joe" ack'd the SERVICE service on the server SERVER, using the comment "I'm working on it.", exactly the following will happen: The cgi will write the following two lines to the external command file [DATE] ADD_SVC_COMMENT;SERVER;SERVICE;1;joe;ACKNOWLEDGEMENT: I'm working on it [DATE] ACKNOWLEDGE_SVC_PROBLEM;SERVER;SERVICE;1;I'm working on it Nagios will read in the first line and put the service in an ack state, which will postpone notifications on it, and optionally send an ack notification if you've configured it to do so. Nagios will read in the second line and add a comment to the bottom of the service. You can check to see what happens when you click something in the interface by tail -f'ing the external command file while you click the thingy. > > I didn't see anything relevant in the archives either, searching for "ack" > "acknowledge" and "(Has been acknowledged)". > > So: > > I've got this host. It is up, according to the host check service > check_tcp9931. Yes, running 1.1, which is why I made a special service > with no args. It is in an "acknowledged" state and I don't know how to get > it to stop being acknowledged, since it is back online. The ack state should go away when the service changes into an ok state. The comment will go away when you tell it to via the web front end under "comments" You can force an ack to go away by navigating to the ack'd service and choosing "Remove problem acknowledgement" from the command box on the left > > Any ideas? > > ----- > Also, when it recovered, recovery messages did not go out, even though they > were set to by the config: > > notification_period 24x7 > notification_options d,u,r > > Messages did go out when it was acknowledged. The messages may not have > gotten sent because I restarted nagios, and it assumed it was up to begin > with, not down, although I thought it cached that info, but maybe not in > 1.1. > > Thanks, > beckman > --------------------------------------------------------------------------- > Peter Beckman Internet Guy > beckman at purplecow.com http://www.purplecow.com/ > --------------------------------------------------------------------------- > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlist.nagios at inlan.inmics.fi Mon May 3 08:41:58 2004 From: mlist.nagios at inlan.inmics.fi (MiikaT) Date: Mon, 3 May 2004 09:41:58 +0300 Subject: Status map Message-ID: <1083566518.4095e9b6a79f3@imp.inmics.fi> I have approx. 100 hosts defined in nagios, and when I look status map with circular (marked up) layoyut, the hosts are layered on top of each other. This is basically an annoying issue as when I have a core switch as parent host, there is a lot of child hosts connecting to this device and one can't really make difference between the child hosts if you try to move mouse over the host icons to see the specific host status. If I change the scaling factor, if will only make graphics bigger, instead I would like to have more "space" for each host, even though it will require greater resolution to view the whole status. Is there any cure for this? -MiikaT ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at scarfies.net Mon May 3 09:00:38 2004 From: dan at scarfies.net (Dan Clark) Date: Mon, 3 May 2004 19:00:38 +1200 Subject: Status map References: <1083566518.4095e9b6a79f3@imp.inmics.fi> Message-ID: <002301c430dd$b3054830$140210ac@TRINITY> Gidday, I think you need too define within each host entry the 2D co-ordinates http://www.nagios.org/faqs/viewfaq.php?faq_id=82 Cheers Dan Clark Network Manager Scarfies.Net Ltd ----- Original Message ----- From: "MiikaT" To: Sent: Monday, May 03, 2004 6:41 PM Subject: [Nagios-users] Status map > I have approx. 100 hosts defined in nagios, and when I look status map with > circular (marked up) layoyut, the hosts are layered on top of each other. This > is basically an annoying issue as when I have a core switch as parent host, > there is a lot of child hosts connecting to this device and one can't really > make difference between the child hosts if you try to move mouse over the host > icons to see the specific host status. If I change the scaling factor, if will > only make graphics bigger, instead I would like to have more "space" for each > host, even though it will require greater resolution to view the whole status. > Is there any cure for this? > > -MiikaT > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amk_dude at yahoo.com Mon May 3 10:30:48 2004 From: amk_dude at yahoo.com (anil kamath) Date: Mon, 3 May 2004 01:30:48 -0700 (PDT) Subject: NRPE Daemon not running Message-ID: <20040503083048.29284.qmail@web14524.mail.yahoo.com> hi, I have complied the nrpe on the remote host and added the nrpe service in xinetd.d with proper arguments. when i restart the service, the port seems to be closed and i am not able to open the port:5666. I tried running it as a standalone daemon also, but failed to start the daemon, I am not getting any error messages when starting the daemon.. I checked thru ps -ef |grep nrpe but the daemon seems not be started. Please help me in this regard. Regards, anil __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From verdon at cict.fr Mon May 3 15:20:49 2004 From: verdon at cict.fr (carole verdon) Date: Mon, 03 May 2004 15:20:49 +0200 Subject: Problem of date in the status tables of NagMin Re: [Nagios-users] Use of Nagmin and nagios tables In-Reply-To: <20040430201642.00E8CABBB4@www.manubulon.com> References: <20040430201642.00E8CABBB4@www.manubulon.com> Message-ID: <40964731.3050000@cict.fr> Thank you for your response. In fact, for the email problem, it was enough to correct the notify commands removing all the backslashes before the double-quote characters: \" must be change to " instead. I have got another problem with informations comprising a date that doesn't display correctly. For example, in host status table, parameters "Last Update" is good but "Last Check", "Last State Change" display "Thu Jan 1 01:33:24 1970" and "Last Notification" displays "1970-01-01 01:00:00". When i edit host status table for one host, i have the right data, those which correspond to my nagios mysql database. But when i want save those informations, i obtain the following error message: SQL update `hoststatus` set `host_name` = 'xxxx' , `host_status` = 'UP' , `last_update` = '2004-05-03 14:58:07' , `last_check` = '2004-05-03 09:41:49' , `last_state_change` = '2004-04-30 17:21:36' , `problem_acknowledged` = '0' , `time_up` = '231570' , `time_down` = '0' , `time_unreachable` = '0' , `last_notification` = '0' , `current_notification` = '0' , `notifications_enabled` = '1' , `event_handler_enabled` = '1' , `checks_enabled` = '1' , `plugin_output` = '(Host assumed to be up)' , `flap_detection_enabled` = '1' , `is_flapping` = '0' , `percent_state_change` = '0.00' , `scheduled_downtime_depth` = '0' , `failure_prediction_enabled` = '1' , `process_performance_data` = '1' where failed : You have an error in your SQL syntax near '' at line 1 I don't known how to solve this problem. Can you help me, please????? Carole. Patrick Proy wrote: >Hi, > > > >>How can i indicate to nagios to read in the NagMin database and not in the >> >> >configuration files? > >You can't, Nagios has it's database in text files in $nagiosdir/etc/ and >Nagmin in a Mysql database. >The Activate button translates the Nagmin database into nagios text files >and reloads nagios. > > > >>Since NagMin runs, i don't receive mail alerts >> >> > >Check your mail command in the "commands" table in Nagmin, maybe they where >not correctly imported by Nagmin. (I had this problem once with an older >version of Nagmin). > >Patrick >nagios at proy.org > >-----Message d'origine----- >De : nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] De la part de carole >verdon >Envoy? : vendredi 30 avril 2004 18:07 >? : nagios-users at lists.sourceforge.net >Objet : [Nagios-users] Use of Nagmin and nagios tables > >Hi, > >Does someone use nagmin to configure nagios? > >I use nagios v1.2 et nagmin v2.1.0 on solaris 8. >I have modified Service table to add a new service, then i click on Reload >button. A this moment, nagios don't take into account those modifications. >If i click on Activate button, then nagios takes them into account. > >How can i indicate to nagios to read in the NagMin database and not in the >configuration files? > >I have got another problem with notifications. Since NagMin runs, i don't >receive mail alerts. Why? > >Thanks you for help. > >Carole. > > > >------------------------------------------------------- >This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest >thing ever to hit the market... Oracle 10g. >Take an Oracle 10g class now, and we'll give you the exam FREE. >http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting >any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > > -- ********************************** 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 ********************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From shantanu-nagios at bjjhumit.com Mon May 3 16:37:46 2004 From: shantanu-nagios at bjjhumit.com (K Shantanu) Date: Mon, 3 May 2004 20:07:46 +0530 Subject: alerts not been sent Message-ID: <43255688.20040503200746@dcpl.co.in> Hi all, This is the first time I have configured nagios, but the problem is that the alerts are not been sent to my email address mentioned in contacts.cfg The OS is RH Linux 7.3 and it is a tar-ball install, In fact, # cat status.log # Nagios 1.2 Status File [1083594508] PROGRAM;1083486163;26821;1;0;1083522600;1;1;1;1;0;0;1;0 [1083594508] HOST;dcpl;UP;1083594423;1083483183;0;2677;0;0;0;0;1;1;1;1;0;0.00;0;1;1;PING OK - Packet loss = 0%, RTA = 10.83 ms [1083594508] SERVICE;dcpl;POP3;CRITICAL;1/1;HARD;1083594414;1083594534;ACTIVE;1;1;1;1083484645;0;CRITICAL;316;0;0;1518;1083592983;16;1;0;0;1;0;0.00;0;1;1;1;Connection refused In my service.cfg I have, define service{ use generic-service host_name dcpl #service_description PING service_description POP3 is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 2 retry_check_interval 1 contact_groups lin-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r #check_command check_ping!100.0,20%!500.0,60% check_command check_pop [Note- The real IP is masked with x.x.x.x] hosts.cfg contains, define host{ use generic-host host_name dcpl alias old plesk address x.x.x.x check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } # cat contacts.cfg define contact{ contact_name dcpl alias Nagios Admin 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,notify-by-epager host_notification_commands host-notify-by-email,host-notify-by-epager email shantanu-nagios at xxxxxxxxxx pager pagenagios-admin at localhost.localdomain } Can someone please tell me where exactly am I going wrong? Thanks a lot for the help. Regards, Shantanu ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 3 16:51:45 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Mon, 03 May 2004 10:51:45 -0400 Subject: alerts not been sent In-Reply-To: <43255688.20040503200746@dcpl.co.in> References: <43255688.20040503200746@dcpl.co.in> Message-ID: <1083595905.4401.104.camel@pel> On Mon, 2004-05-03 at 10:37, K Shantanu wrote: > Hi all, > This is the first time I have configured nagios, but the problem is > that the alerts are not been sent to my email address mentioned in contacts.cfg > The OS is RH Linux 7.3 and it is a tar-ball install, > > In fact, > # cat status.log > # Nagios 1.2 Status File > [1083594508] PROGRAM;1083486163;26821;1;0;1083522600;1;1;1;1;0;0;1;0 > [1083594508] HOST;dcpl;UP;1083594423;1083483183;0;2677;0;0;0;0;1;1;1;1;0;0.00;0;1;1;PING OK - Packet loss = 0%, RTA = 10.83 ms > [1083594508] SERVICE;dcpl;POP3;CRITICAL;1/1;HARD;1083594414;1083594534;ACTIVE;1;1;1;1083484645;0;CRITICAL;316;0;0;1518;1083592983;16;1;0;0;1;0;0.00;0;1;1;1;Connection refused > status.log doesn't report notifications. However, nagios does log that to syslog, so you might want to check /var/log/messages and see if it reports a notification. > > define contact{ > contact_name dcpl > alias Nagios Admin > 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,notify-by-epager > host_notification_commands host-notify-by-email,host-notify-by-epager > email shantanu-nagios at xxxxxxxxxx > pager pagenagios-admin at localhost.localdomain > } > > Can someone please tell me where exactly am I going wrong? Nothing jumped out at me. You may want to take a look at your notify commands. I'd also suggest checking your mail logs (/var/log/maillog) and see what it says about the email attempt. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave-nagios at homer.cymry.org Mon May 3 12:16:34 2004 From: dave-nagios at homer.cymry.org (dave-nagios at homer.cymry.org) Date: Mon, 3 May 2004 05:16:34 -0500 Subject: alerts not been sent In-Reply-To: <43255688.20040503200746@dcpl.co.in> References: <43255688.20040503200746@dcpl.co.in> Message-ID: <20040503101634.GB2368@homer.cymry.org> On Mon, May 03, 2004 at 08:07:46PM +0530, K Shantanu wrote: > Hi all, > This is the first time I have configured nagios, but the problem is > that the alerts are not been sent to my email address mentioned in contacts.cfg > The OS is RH Linux 7.3 and it is a tar-ball install, -SNIP- > # cat contacts.cfg > > > define contact{ > contact_name dcpl > alias Nagios Admin > 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,notify-by-epager > host_notification_commands host-notify-by-email,host-notify-by-epager > email shantanu-nagios at xxxxxxxxxx > pager pagenagios-admin at localhost.localdomain > } > > Can someone please tell me where exactly am I going wrong? I assume from shantanu-nagios@ that you use qmail. I'd verify that qmail-send was alive, then check /var/log/mail/info on the nagios server to see if nagios is at least trying to send mail. if not I'd check nagios.cfg to make sure enable_notifications was on globally, and verify in the web interface that it thinks notifications are enabled, in the tactical overview, and the notifications section. Good luck. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 3 15:37:48 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Mon, 3 May 2004 09:37:48 -0400 Subject: Status map Message-ID: > Gidday, > I think you need too define within each host entry the > 2D co-ordinates > > http://www.nagios.org/faqs/viewfaq.php?faq_id=82 You may be right, but it seems that the "autogen" functionality is still broken. The spacing fix would work when you change parent relationships without having to redefine the coords. Rob Nelson Network Engineer Windchannel Communications M: 919-538-6326 ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 3 18:19:38 2004 From: naman.latif at inamed.com (Naman Latif) Date: Mon, 3 May 2004 09:19:38 -0700 Subject: alerts not been sent Message-ID: <83B3FCAD284096489C9967C54B33B6B3049B2AD9@sigma.inamed.com> Is the host member of some hostgroup ? I had this same problem and as soon as I defined a hostgroup, the alerts started to work. Don't forget to define " contact_groups lin-admins" in your hostgroup properties. \\ Naman -----Original Message----- From: K Shantanu [mailto:shantanu-nagios at bjjhumit.com] Sent: Monday, May 03, 2004 7:38 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] alerts not been sent Hi all, This is the first time I have configured nagios, but the problem is that the alerts are not been sent to my email address mentioned in contacts.cfg The OS is RH Linux 7.3 and it is a tar-ball install, ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Samba at guidemail.com Mon May 3 18:55:13 2004 From: Samba at guidemail.com (Samba) Date: Mon, 3 May 2004 11:55:13 -0500 Subject: problem with web interface Message-ID: <9A7A0D17D695264AAE4E53DD69DF5B8F8AED9F@mail1.guidehome.com> http://www.nagios.org/faqs/viewfaq.php?faq_id=222&expand=false&showdesc=fals e RTFAQ -----Original Message----- From: K. Shantanu [mailto:shantanu-nagios at bjjhumit.com] Sent: Monday, May 03, 2004 11:35 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] problem with web interface Hi, While trying to get nagios's web interface working I get, The requested URL /nagios/nagios was not found on this server. in the browser. Apache's error.log shows, [Mon May 3 21:45:27 2004] [error] [client 207.230.101.151] File does not exist: /usr/local/nagios/share/nagios # ls ../share/ -a . contexthelp .htaccess index.html main.html robots.txt ssi .. docs images locale media side.html stylesheets Parts of httpd.conf which were included are, ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all AllowOverride AuthConfig Order allow,deny Allow from all Options ExecCGI AllowOverride AuthConfig Order allow,deny Allow from all Thanks a lot for the help so far. Regards, Shantanu ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Samba at guidemail.com Mon May 3 19:33:33 2004 From: Samba at guidemail.com (Samba) Date: Mon, 3 May 2004 12:33:33 -0500 Subject: problem with web interface Message-ID: <9A7A0D17D695264AAE4E53DD69DF5B8F8AEDA2@mail1.guidehome.com> You need to put the / on the end of the URI. "By default, Nagios will be installed in the URL format like this: http://yourserver/nagios/ ." -----Original Message----- From: K. Shantanu [mailto:shantanu-nagios at bjjhumit.com] Sent: Monday, May 03, 2004 12:33 PM To: Samba Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] problem with web interface * Samba [040503 10:19]: > > http://www.nagios.org/faqs/viewfaq.php?faq_id=222&expand=false&showdesc=fals > e Yes I read it. I did as it said. I just had to add this to my httpd.conf Alias /nagios/ "/usr/local/nagios/share/" Options None AllowOverride AuthConfig Order allow,deny Allow from all Is this all needed? I am still getting the error. I am not that good in apache. Regards, Shantanu This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Samba at guidemail.com Mon May 3 19:50:46 2004 From: Samba at guidemail.com (Samba) Date: Mon, 3 May 2004 12:50:46 -0500 Subject: problem with web interface Message-ID: <9A7A0D17D695264AAE4E53DD69DF5B8F8AEDA3@mail1.guidehome.com> Just because you autenticated doesn't mean you are authorized. You need to setup your user's permissions in cgi.cfg -----Original Message----- From: K. Shantanu [mailto:shantanu-nagios at bjjhumit.com] Sent: Monday, May 03, 2004 12:47 PM To: Samba; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] problem with web interface * Samba [040503 10:37]: > You need to put the / on the end of the URI. > > "By default, Nagios will be installed in the URL format like this: > http://yourserver/nagios/ ." Got it now. I was going to, http:///nagios/nagios Well but now whenever I try to access any host detail, service detail etc. I get, It appears as though you do not have permission to view information for any of the hosts 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. I have only one username and password in htpasswd.users file and that is the one I use to log in. What is the error here now? Thanks Samba for the help. Regards, Shantanu This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Samba at guidemail.com Mon May 3 20:00:50 2004 From: Samba at guidemail.com (Samba) Date: Mon, 3 May 2004 13:00:50 -0500 Subject: problem with web interface Message-ID: <9A7A0D17D695264AAE4E53DD69DF5B8F8AEDA4@mail1.guidehome.com> Check the file misccommands.cfg In there you specify how Nagios generates and sends the e-mail. Get it working through command line first then get Nagios to do it. -----Original Message----- From: K. Shantanu [mailto:shantanu-nagios at bjjhumit.com] Sent: Monday, May 03, 2004 1:00 PM To: Samba Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] problem with web interface * Samba [040503 10:53]: > Just because you autenticated doesn't mean you are authorized. You need to > setup your user's permissions in cgi.cfg Well, for now I have removed authentication for user permission with, use_authentication=0 It is working now. My main problem is that notifications are not been sent. My mail server (qmail's) log do not show anything. >From "tactical overview" and "notification" section I guess that notifications are enabled. Can you help here? Regards, -Shantanu This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave-nagios at homer.cymry.org Mon May 3 15:18:02 2004 From: dave-nagios at homer.cymry.org (dave-nagios at homer.cymry.org) Date: Mon, 3 May 2004 08:18:02 -0500 Subject: alerts not been sent In-Reply-To: <20040503160559.GA32473@dimakhconsultants1-1.com> References: <43255688.20040503200746@dcpl.co.in> <20040503101634.GB2368@homer.cymry.org> <20040503160559.GA32473@dimakhconsultants1-1.com> Message-ID: <20040503131802.GA2486@homer.cymry.org> On Mon, May 03, 2004 at 09:06:00AM -0700, K. Shantanu wrote: > * dave-nagios at homer.cymry.org [040503 08:56]: > > I assume from shantanu-nagios@ that you use qmail. I'd verify that qmail-send was > > Yes I use qmail and qmail-send is running properly on that system cos' > it hosts my mail server also. > > > alive, then check /var/log/mail/info on the nagios server to see if nagios is at least > > No nagios is not trying to send any mail, I saw nothing related in log file, > of my mail server. > > > trying to send mail. if not I'd check nagios.cfg to make sure enable_notifications was > > enable_notifications=1 > is this OK? > > > on globally, and verify in the web interface that it thinks notifications are enabled, > > in the tactical overview, and the notifications section. > > I have not used nagios's web interface and am not sure how to do it. > > Any ideas with this info? Ok my next step would be to make sure the mail commands as they are setup in misccommands.cfg work by running them manually on the command line. I don't see anythins specifically in your configs that would prevent notifications from being sent, but there are several reasons why a notification would not go out.. The best methodical troubleshooting guide is http://nagios.sourceforge.net/docs/1_0/notifications.html Of paticular interest is "what filters must be passed in order for notifications to be sent?" This should take you step by step to verify your config. Good luck! ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Samba at guidemail.com Mon May 3 20:19:41 2004 From: Samba at guidemail.com (Samba) Date: Mon, 3 May 2004 13:19:41 -0500 Subject: problem with web interface Message-ID: <9A7A0D17D695264AAE4E53DD69DF5B8F8AEDA6@mail1.guidehome.com> You have enable_notifications=1 in the nagios.cfg file? Does the web interface show it sending the notifications ? -----Original Message----- From: K. Shantanu [mailto:shantanu-nagios at bjjhumit.com] Sent: Monday, May 03, 2004 1:13 PM To: Samba; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] problem with web interface * Samba [040503 11:08]: > Check the file misccommands.cfg > > In there you specify how Nagios generates and sends the e-mail. Get it > working through command line first then get Nagios to do it. Well, I checked it, it is, 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" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } It is pretty awkward command to test by command line. But, I can do, echo test | /bin/mail -s "test" shantanu at example.net and it works properly. You have any other idea for the same? With regards, Shantanu This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Samba at guidemail.com Mon May 3 20:32:09 2004 From: Samba at guidemail.com (Samba) Date: Mon, 3 May 2004 13:32:09 -0500 Subject: problem with web interface Message-ID: <9A7A0D17D695264AAE4E53DD69DF5B8F8AEDA7@mail1.guidehome.com> I would kill all the nagios processes and verify they are ALL gone. I've heard of multiple Nagios "instances" running that could cause problems like these. -----Original Message----- From: K. Shantanu [mailto:shantanu-nagios at bjjhumit.com] Sent: Monday, May 03, 2004 1:29 PM To: Samba; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] problem with web interface * Samba [040503 11:25]: > You have > > enable_notifications=1 > > in the nagios.cfg file? You bet. enable_notifications=1 enable_event_handlers=1 enable_flap_detection=0 > Does the web interface show it sending the notifications ? In notification tab it does say that notifications are sent. Thanks. Regards, Shantanu This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon May 3 22:58:17 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 03 May 2004 22:58:17 +0200 Subject: problem with web interface In-Reply-To: <20040503184715.GA25237@dimakhconsultants1-1.com> References: <9A7A0D17D695264AAE4E53DD69DF5B8F8AEDA7@mail1.guidehome.com> <20040503184715.GA25237@dimakhconsultants1-1.com> Message-ID: <4096B269.6020800@op5.se> K. Shantanu wrote: > * Samba [040503 11:37]: > >>I would kill all the nagios processes and verify they are ALL gone. I've >>heard of multiple Nagios "instances" running that could cause problems like >>these. > > > Already done that several times. > Using ps aux | grep nagios > ps wwaux would probabaly work better if you installed in a 'long' path, or simply 'pidof nagios' Check that the paths are correct in the misccommands.cfg file. Run the command EXACTLY (yes, with all that text, and you have to expand the macros yourself) as it says in there, as the user the nagios process is running as. If that works but nagios still fails, you might want to start looking for an exorcist. > Regards, > Shantanu -- Mvh / Best Regards Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Mon May 3 22:04:57 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 3 May 2004 16:04:57 -0400 Subject: Service Check Timeout Error Message Message-ID: <5593DA408212D511B0910002A513501F065592D6@phsexch20.mgh.harvard.edu> I am trying to have Apan 0.2.1 gather statisitcs from an HP-UX 10.20 host with nagios-statd 3.03 listening on port 5668. I keep on getting a Service Check Timeout error message and wanted to know what I needed to reconfigure to correct this problem. Thanks. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dav77p at hotmail.com Mon May 3 15:58:23 2004 From: dav77p at hotmail.com (David Peer) Date: Mon, 03 May 2004 13:58:23 +0000 Subject: check_by_ssh Message-ID: An HTML attachment was scrubbed... URL: From dave-nagios at homer.cymry.org Mon May 3 12:18:48 2004 From: dave-nagios at homer.cymry.org (dave-nagios at homer.cymry.org) Date: Mon, 3 May 2004 05:18:48 -0500 Subject: NRPE Daemon not running In-Reply-To: <20040503083048.29284.qmail@web14524.mail.yahoo.com> References: <20040503083048.29284.qmail@web14524.mail.yahoo.com> Message-ID: <20040503101848.GC2368@homer.cymry.org> On Mon, May 03, 2004 at 01:30:48AM -0700, anil kamath wrote: > hi, > > I have complied the nrpe on the remote host and added > the nrpe service in xinetd.d with proper arguments. > when i restart the service, the port seems to be > closed and i am not able to open the port:5666. I > tried running it as a standalone daemon also, but > failed to start the daemon, I am not getting any error > messages when starting the daemon.. I checked thru ps > -ef |grep nrpe but the daemon seems not be started. Set debug=1 in /etc/nrpe.cfg and watch what happens in whatever log your syslogd is sending it's daemon facility messages to. Good luck. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Basile.Mathieu at siris.sorbonne.fr Mon May 3 12:50:40 2004 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Mon, 03 May 2004 12:50:40 +0200 Subject: /bin/ping Message-ID: <5.0.2.1.2.20040503124324.02905020@195.220.107.3> hi i have nagios 1.2 with plugins 1.3 on gentoo sparc64 i have problem with check_ping which result is when it fails /bin/ping -n .... but i see that if the box nagios is checking is down ( icmp destination unreachable ) i have this error , but if there is no box with this ip ( no message when executing the ping command ) i have CRITICAL plugin timed out . for box which are up , all works fine . permission are good for /bin/ping ( 4755 ) if someone could help me thanks ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave-nagios at homer.cymry.org Mon May 3 12:09:53 2004 From: dave-nagios at homer.cymry.org (dave-nagios at homer.cymry.org) Date: Mon, 3 May 2004 05:09:53 -0500 Subject: Status map In-Reply-To: <1083566518.4095e9b6a79f3@imp.inmics.fi> References: <1083566518.4095e9b6a79f3@imp.inmics.fi> Message-ID: <20040503100953.GA2368@homer.cymry.org> On Mon, May 03, 2004 at 09:41:58AM +0300, MiikaT wrote: > I have approx. 100 hosts defined in nagios, and when I look status map with > circular (marked up) layoyut, the hosts are layered on top of each other. This > is basically an annoying issue as when I have a core switch as parent host, > there is a lot of child hosts connecting to this device and one can't really > make difference between the child hosts if you try to move mouse over the host > icons to see the specific host status. If I change the scaling factor, if will > only make graphics bigger, instead I would like to have more "space" for each > host, even though it will require greater resolution to view the whole status. > Is there any cure for this? > > -MiikaT The answer you will most likely get on this list is that you can do one of the following things a. define parent relationships to spread things out a bit b. Define your own corrdinants I had your problem a while back and ended up kludging the statusmap.c file to stagger the hosts on certain rings (mostly the innermost ring). It's a really ugly kludge, and doesn't look right unless you turn off the green slots by using the non marked-up version of circular. But it solved my problem and staggered the hosts so that they were readable. Here's a diff 42 > #include 72,73c73,74 < #define DEFAULT_NODE_VSPACING 15 < #define DEFAULT_NODE_HSPACING 45 --- > #define DEFAULT_NODE_VSPACING 80 > #define DEFAULT_NODE_HSPACING 80 75,76c76,77 < #define DEFAULT_PROXIMITY_WIDTH 1000 < #define DEFAULT_PROXIMITY_HEIGHT 800 --- > #define DEFAULT_PROXIMITY_WIDTH 10 > #define DEFAULT_PROXIMITY_HEIGHT 8 81,82c82,83 < #define COORDS_WARNING_WIDTH 650 < #define COORDS_WARNING_HEIGHT 60 --- > #define COORDS_WARNING_WIDTH 10 > #define COORDS_WARNING_HEIGHT 6 84c85 < #define CIRCULAR_DRAWING_RADIUS 100 --- > #define CIRCULAR_DRAWING_RADIUS 250 2684a2686 > int even_y=0; 2690a2693 > double last_x=0.0; 2691a2695,2697 > double last_y=0.0; > double even_counter=0.0; > double even_x=0.0; 2694c2700,2703 < --- > char vmserver_a[10]; > char vmserver_b[10]; > strcpy(vmserver_a,"wvha2p15"); > strcpy(vmserver_b,"xvhalp02"); 2746a2756,2770 > /*stagger if even kludge*/ > even_x=(even_counter/2); > even_y=(even_counter/2); > if(layer<=3){ > if(number_of_immediate_child_hosts(temp_host)==0){ > if(even_x!=even_y){ > x_coord=-(sin(-this_drawing_angle*(M_PI/180.0))*(2.2*radius)); > y_coord=-(sin((90+this_drawing_angle)*(M_PI/180.0))*(2.2*radius)); > }else{ > x_coord=-(sin(-this_drawing_angle*(M_PI/180.0))*(1.8*radius)); > y_coord=-(sin((90+this_drawing_angle)*(M_PI/180.0))*(1.8*radius)); > } > } > } > 2756a2781,2783 > ++even_counter; > last_x=x_coord; > last_y=y_coord; 2785,2795d2811 < double y_coord[4]={0.0,0.0,0.0,0.0}; < host *temp_host; < hoststatus *temp_hoststatus; < hostextinfo *temp_hostextinfo; < int x_offset=0; < int y_offset=0; < int center_x=0; < int center_y=0; < int bgcolor=0; < double arc_start_angle=0.0; < double arc_end_angle=0.0; 2882a2899,2909 > gdImageArc(map_image,x_offset,y_offset,(radius+(CIRCULAR_DRAWING_RADIUS/2))* 2,(radius+(CIRCULAR_DRAWING_RADIUS/2))*2,floor(arc_start_angle),ceil(arc_end_angle),color_lightgrey) ; > > > /* determine center of "slice" and fill with appropriate color > */ > center_x=-(sin(-(current_drawing_angle+(available_angle/2.0))*(M_PI/180.0))* (radius)); > center_y=-(sin((90+current_drawing_angle+(available_angle/2.0))*(M_PI/180.0) )*(radius)); > translated_x=center_x+x_offset; > translated_y=center_y+y_offset; > > /* determine background color */ > temp_hoststatus=find_hoststatus(temp_host->name); > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lendra at continuumit.com.au Tue May 4 03:39:29 2004 From: lendra at continuumit.com.au (Lendra Tanujaya) Date: Tue, 4 May 2004 11:39:29 +1000 Subject: Nagios Issues "ConnectData Failed" Message-ID: <784A12BC71EF2C42B996EFB2BC40312098DE18@contit-mlb-mx2.continuumit.com.au> Hi there, I get the error "ConnectData Failed" on one W2k-server, nsclient on this box worked fine for months before. 10 other servers also work fine and there is no common Perflib-errors on this server. I have tried uninstalling and reinstalling it again but doesn't work still. Does anybody have any clue why this is happening to this particular w2k server? From the Nagios server, it keeps reporting "Connection Refused by Host" and on the server, it has the above error message. Regards, Lendra Tanujaya Support Centre ContinuumIT P/L Australian Stock Exchange Building Level 5, 530 Collins Street Melbourne, 3000 Fax (03) 8630 3799 Support 1300 366 392 helpdesk at ContinuumIT.com.au www.continuumit.com.au ------------------------------------------------------------------------ ------------------------------------------------ This e-mail and any attachments may be confidential or legally privileged. If you received this message in error or are not the intended recipient, you should destroy the e-mail message and any attachments or copies, and are prohibited from retaining, distributing, disclosing or using any information contained herein. Please inform us of the erroneous delivery by return e-mail. Thank you for your cooperation. ------------------------------------------------------------------------ ------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From zaineb.de.souza at consultant.volvo.com Tue May 4 08:29:35 2004 From: zaineb.de.souza at consultant.volvo.com (De Souza Zaineb) Date: Tue, 4 May 2004 14:29:35 +0800 Subject: temptrax Message-ID: I rememeber reading somebodys email regarding the temptrax plugin and that ethan had removed it from the FAQs. I have been through the sourceforge directory of plugins and i cannot find it.... can anyone post it as an attachment or send me a link if they have found it. Thank you zaineb -------------- next part -------------- An HTML attachment was scrubbed... URL: From marco at sd.com Tue May 4 10:43:06 2004 From: marco at sd.com (Marco Supino) Date: Tue, 04 May 2004 11:43:06 +0300 Subject: Nagios Issues "ConnectData Failed" References: <784A12BC71EF2C42B996EFB2BC40312098DE18@contit-mlb-mx2.continuumit.com.au> Message-ID: <4097579A.4050307@sd.com> Hi This happends because the port that nsclient uses is busy with (probably) active dir communication, change the port of the nsclient to something higher (i use 7689) , and change the setup in the nagios checkcommands to the new port (-p 7689) , this will solve your problem. Marco. Lendra Tanujaya wrote: > Hi there, > > > > I get the error ?ConnectData Failed? on one W2k-server, nsclient on this > box worked fine > > for months before. > > 10 other servers also work fine and there is no common Perflib-errors on > this > > server. > > > > I have tried uninstalling and reinstalling it again but doesn?t work still. > > > > > > Does anybody have any clue why this is happening to this particular w2k > server? From the Nagios server, it keeps reporting ?Connection Refused > by Host? and on the server, it has the above error message. > > > > > > Regards, > > Lendra Tanujaya > > Support Centre > > ContinuumIT P/L > > Australian Stock Exchange Building > > Level 5, 530 Collins Street > > Melbourne, 3000 > > Fax (03) 8630 3799 > > > > Support 1300 366 392 > > > > helpdesk at ContinuumIT.com.au > > www.continuumit.com.au > > > > ------------------------------------------------------------------------------------------------------------------------ > > This e-mail and any attachments may be confidential or legally > privileged. If you received this message in error or are not the > intended recipient, you should destroy the e-mail message and any > attachments or copies, and are prohibited from retaining, distributing, > disclosing or using any information contained herein. Please inform us > of the erroneous delivery by return e-mail. > > Thank you for your cooperation. > > ------------------------------------------------------------------------------------------------------------------------ > > > ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 4 10:46:33 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 04 May 2004 10:46:33 +0200 Subject: problem with web interface In-Reply-To: <20040504023415.GA14857@dimakhconsultants1-1.com> References: <9A7A0D17D695264AAE4E53DD69DF5B8F8AEDA7@mail1.guidehome.com> <20040503184715.GA25237@dimakhconsultants1-1.com> <4096B269.6020800@op5.se> <20040504023415.GA14857@dimakhconsultants1-1.com> Message-ID: <40975869.3070501@op5.se> K. Shantanu wrote: > * Andreas Ericsson [040503 19:01]: > > >>ps wwaux would probabaly work better if you installed in a 'long' path, >>or simply 'pidof nagios' > > > Already checked that. Nagios is already runnning and it is a single instance. > > >>Check that the paths are correct in the misccommands.cfg file. Run the >>command EXACTLY (yes, with all that text, and you have to expand the >>macros yourself) as it says in there, as the user the nagios process is >>running as. If that works but nagios still fails, you might want to >>start looking for an exorcist. > > > I am not sure how to expnd the macros, so I ran it as best as I could like, > > /usr/bin/printf "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE" | > /bin/mail -s "ALERT" shantanu-nagios at xxxxx.xxx > > This command works (as a nagios user too). > But nothing is seen in my mail logs. > > Can you give some more clues? > Can you send ANY emails through the 'mail' command? Also, make absolutely sure that the command mail -s "subject" recipient at email.domain returns you to the prompt when you run it. If it asks for Cc: or anything else equally ridiculous you have to alter your /etc/mail.rc file. What MTA are you using? Is it set up properly, and is it running? > Regards, > Shantanu > -- Mvh / Best Regards Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dav77p at hotmail.com Tue May 4 10:52:32 2004 From: dav77p at hotmail.com (David Peer) Date: Tue, 04 May 2004 08:52:32 +0000 Subject: check_by_ssh Message-ID: An HTML attachment was scrubbed... URL: From uv at upaya.co.uk Tue May 4 11:34:20 2004 From: uv at upaya.co.uk (Upayavira) Date: Tue, 04 May 2004 10:34:20 +0100 Subject: check_by_ssh In-Reply-To: References: Message-ID: <4097639C.9050403@upaya.co.uk> David Peer wrote: > Can some help about to create the non-interactive login to remot host > using check_by_ssh. > > all the keys i have generated didn't help me. > > After all that the remot host tells me : > > Connection closed by 10.1.235.19 > What user is trying to log on to the server? Presumably the unix nagios user. Have you tried doing a manual ssh as that user? Upayavira ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 4 11:41:32 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 04 May 2004 11:41:32 +0200 Subject: check_by_ssh In-Reply-To: References: Message-ID: <4097654C.2090003@op5.se> David Peer wrote: > Can some help about to create the non-interactive login to remot host using > check_by_ssh. > > all the keys i have generated didn't help me. > > After all that the remot host tells me : > > Connection closed by 10.1.235.19 > Let's make a few assumptions here. Your Nagios server is called HostA, and the user nagios is running as is called UserA. The server you want to monitor is called HostB, and the user you want to run the check as is called UserB. On HostB: In your /etc/ssh/sshd_config (or wherever your distro places it) make sure these lines are present and uncommented; Protocol 2 PubKeyAuthentication yes AuthorizedKeysFile %h/.ssh/authorized_keys Protocol can actually read 1,2 or 2,1 as well, as long as the 2 is in there somewhere. When these changes are done, restart the ssh server (not required if run from inetd or xinetd). On HostA: Make sure the /etc/ssh/ssh_config (or wherever your distro places it) contains the following lines. They are somewhat default, but depend a bit on compilation options and your distro might do things differently, so it's best to enable it specifically; IdentityFile ~/.ssh/id_dsa Protocol 2 Protocol can actually read 2,1 as well (but not 1,2 since client selects protocol by order). On HostA, as UserA, run this command ssh-keygen -t dsa -b 768 and slam enter three times. Still on HostA, as UserA, run this command scp ~/.ssh/id_dsa.pub UserB at HostB:.ssh/authorized_keys and enter the password. Now, test it with running ssh UserB at HostB and you MUST be logged in without entering a password. If not, you haven't followed instructions correctly or either the ssh-client on HostA or ssh-server on HostB is unable to handle SSHv2 protocol. > Thanks > You're welcome. -- Mvh / Best Regards Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.wilhelm at frontiercorp.com Tue May 4 15:44:57 2004 From: john.wilhelm at frontiercorp.com (Wilhelm, John) Date: Tue, 4 May 2004 09:44:57 -0400 Subject: How often is the downtime.log processed? Message-ID: <5070FD2FA9CF484C883AC33034027E6A11497011@nyrofcs2kexch01.east.frontiercorp.com> Hello, Does anyone know how often the downtime.log is processed? Thanks, John Wilhelm -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.wilhelm at frontiercorp.com Tue May 4 15:46:26 2004 From: john.wilhelm at frontiercorp.com (Wilhelm, John) Date: Tue, 4 May 2004 09:46:26 -0400 Subject: downtime.log format Message-ID: <5070FD2FA9CF484C883AC33034027E6A11497012@nyrofcs2kexch01.east.frontiercorp.com> is the format of downtime.log documented? I need to understand the fields of this file for both host and service. Thanks, John Wilhelm -------------- next part -------------- An HTML attachment was scrubbed... URL: From Anthony at PromoHut.com Tue May 4 16:03:34 2004 From: Anthony at PromoHut.com (Anthony Lieuallen) Date: Tue, 4 May 2004 10:03:34 -0400 Subject: new install, ping services not working Message-ID: <75DEB1F7BFA6D711922A0020781E86F127C559@EXCHANGE> I've recently set up nagios and am enjoying a number of the things it is capable of. I'm having trouble setting up any services to do a "ping" of a host. Below is what I think are the appropriate sections of my .cfg files define service { host_name r.1 service_description ping-first-hop-router check_command check_ping max_check_attempts 8 normal_check_interval 6 retry_check_interval 1 check_period always notification_interval 0 notification_period always notification_options w,u,c,r contact_groups admin } define host { host_name r.1 alias Router Hop 1 address 66.0.192.246 max_check_attempts 8 notification_interval 0 } define hostgroup { hostgroup_name routers alias Routers contact_groups admin members r.1, r.2 } I have three services set up just like that, and in nagios it says: "check_ping: %s: Warning threshold must be integer or percentage!" I assume that the check_ping plugin is not functioning properly. I'm quite sure my plugins in general are working, because the one non-ping service I have set up is in an OK state in nagios. Have I configured something incorrectly? Any other leads? Thanks in advance! ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shorn at lssi.net Tue May 4 16:10:55 2004 From: shorn at lssi.net (Spencer Horn) Date: Tue, 04 May 2004 10:10:55 -0400 Subject: new install, ping services not working In-Reply-To: <75DEB1F7BFA6D711922A0020781E86F127C559@EXCHANGE> References: <75DEB1F7BFA6D711922A0020781E86F127C559@EXCHANGE> Message-ID: <4097A46F.7070000@lssi.net> Anthony Lieuallen wrote: >I've recently set up nagios and am enjoying a number of the things it is >capable of. I'm having trouble setting up any services to do a "ping" of a >host. Below is what I think are the appropriate sections of my .cfg files > >define service { > host_name r.1 > service_description ping-first-hop-router > check_command check_ping > max_check_attempts 8 > normal_check_interval 6 > retry_check_interval 1 > check_period always > notification_interval 0 > notification_period always > notification_options w,u,c,r > contact_groups admin >} > >define host { > host_name r.1 > alias Router Hop 1 > address 66.0.192.246 > max_check_attempts 8 > notification_interval 0 >} > >define hostgroup { > hostgroup_name routers > alias Routers > contact_groups admin > members r.1, r.2 >} > >I have three services set up just like that, and in nagios it says: >"check_ping: %s: Warning threshold must be integer or percentage!" >I assume that the check_ping plugin is not functioning properly. I'm quite >sure my plugins in general are working, because the one non-ping service I >have set up is in an OK state in nagios. > >Have I configured something incorrectly? Any other leads? Thanks in >advance! > > >------------------------------------------------------- >This SF.Net email is sponsored by: Oracle 10g >Get certified on the hottest thing ever to hit the market... Oracle 10g. >Take an Oracle 10g class now, and we'll give you the exam FREE. >http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > May I see the line from your checkcommands.cfg file for check_ping? Spencer ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Anthony at PromoHut.com Tue May 4 16:15:59 2004 From: Anthony at PromoHut.com (Anthony Lieuallen) Date: Tue, 4 May 2004 10:15:59 -0400 Subject: new install, ping services not working Message-ID: <75DEB1F7BFA6D711922A0020781E86F127C55A@EXCHANGE> >-----Original Message----- >Anthony Lieuallen wrote: >>I've recently set up nagios and am enjoying a number of the things it is >>capable of. I'm having trouble setting up any services to do a "ping" of a >>host. Below is what I think are the appropriate sections of my .cfg files >May I see the line from your checkcommands.cfg file for check_ping? Should be the default: # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shorn at lssi.net Tue May 4 16:21:17 2004 From: shorn at lssi.net (Spencer Horn) Date: Tue, 04 May 2004 10:21:17 -0400 Subject: new install, ping services not working In-Reply-To: <75DEB1F7BFA6D711922A0020781E86F127C55A@EXCHANGE> References: <75DEB1F7BFA6D711922A0020781E86F127C55A@EXCHANGE> Message-ID: <4097A6DD.2080909@lssi.net> Anthony Lieuallen wrote: >>-----Original Message----- >>Anthony Lieuallen wrote: >> >> >>>I've recently set up nagios and am enjoying a number of the things it is >>>capable of. I'm having trouble setting up any services to do a "ping" of >>> >>> >a > > >>>host. Below is what I think are the appropriate sections of my .cfg files >>> >>> >>May I see the line from your checkcommands.cfg file for check_ping? >> >> > >Should be the default: > ># 'check_ping' command definition >define command{ > command_name check_ping > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c >$ARG2$ -p 5 >} > > >------------------------------------------------------- >This SF.Net email is sponsored by: Oracle 10g >Get certified on the hottest thing ever to hit the market... Oracle 10g. >Take an Oracle 10g class now, and we'll give you the exam FREE. >http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > Specify your warning and critical levels, for example here is mine. define command{ command_name check_ping command_line /usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w 600:20% -c 1000:100% -p 1 } sounds ling something is hosed with the macros $ARG1$ $ARG2$ Hope this helps. Spencer -------------- next part -------------- An HTML attachment was scrubbed... URL: From Anthony at PromoHut.com Tue May 4 16:37:10 2004 From: Anthony at PromoHut.com (Anthony Lieuallen) Date: Tue, 4 May 2004 10:37:10 -0400 Subject: new install, ping services not working Message-ID: <75DEB1F7BFA6D711922A0020781E86F127C55B@EXCHANGE> Don't you love when someone answers their own question? =) Some clarity hit me, so I started looking at the sample configs, and working on things from the CLI. In short, yes I had things configured wrong. I was giving no arguments to check_ping . check_ping was also not operating properly. In short, I fixed my config (based on the sample), installed a copy of check_ping from an RPM, and made it suid because my host doesn't allow non-priveleged users to ping. Wala my hosts are up! Thanks for the pointers to all who gave some. -----Original Message----- From: Anthony Lieuallen [mailto:Anthony at PromoHut.com] Sent: Tuesday, May 04, 2004 10:04 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] new install, ping services not working I've recently set up nagios and am enjoying a number of the things it is capable of. I'm having trouble setting up any services to do a "ping" of a host. Below is what I think are the appropriate sections of my .cfg files [snip] ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dnhansen at lakeport.k12.ca.us Tue May 4 17:25:03 2004 From: dnhansen at lakeport.k12.ca.us (David Hansen Jr.) Date: Tue, 04 May 2004 08:25:03 -0700 Subject: Checking Samba Message-ID: <1083684303.11137.1.camel@merlin> Is there a plugin or script to check a samba process on a different box than nagios? Thanks! ~ David -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Black holes were created when God divided by zero ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fra at adinet.com.uy Tue May 4 17:30:46 2004 From: fra at adinet.com.uy (Francisco) Date: Tue, 04 May 2004 12:30:46 -0300 Subject: configuration files Message-ID: <1083684645.555.46.camel@arwen> Hi, i have installed nagios for the first time almost succesfully. I have configured nagios through the configuration files: nagios.cfg cgi.cfg hosts.cfg etc..... The problem is that I enabled notifications through this files, and when I acces the web interface notifications are not enabled. Then I have enabled the notifications through the web interface and the notifications begun to work. It seems that there is another place where this settings are stored; but where ?? Thanks in advance Mario -------------- next part -------------- An HTML attachment was scrubbed... URL: From gregor.bruhin at netoxygen.ch Tue May 4 17:50:46 2004 From: gregor.bruhin at netoxygen.ch (Gregor Bruhin) Date: Tue, 4 May 2004 17:50:46 +0200 Subject: nrpe_nt connections refused by host Message-ID: Hi all, I monitor about 12 different services on a remote windows host using nrpe plugin and nrpe_nt on the windows side. When I use the "Schedule an immediate check of all services on this host" I always get some error messages: connections refused by host for a few services but not all... (in normal operation all checks work fine, it seems not to be a cpu problem) Too many concurrent connections are made to my windows box ? Any ideas how I could solve this ? Thanks, Greg ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gregor.bruhin at netoxygen.ch Tue May 4 18:00:42 2004 From: gregor.bruhin at netoxygen.ch (Gregor Bruhin) Date: Tue, 4 May 2004 18:00:42 +0200 Subject: configuration files Message-ID: <323A8E9E-9DE4-11D8-824E-000A95CD8036@netoxygen.ch> Forgot cc to m-l ... Begin forwarded message: > From: Gregor Bruhin > Date: May 4, 2004 5:53:29 PM CEST > To: Francisco > Subject: Re: [Nagios-users] configuration files > > Did you grep your cfg folder for "notification" ? > > Check that you have not set notifications_enabled 0 in your > services.cfg file. > > CU Greg > ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gregor.bruhin at netoxygen.ch Tue May 4 18:01:52 2004 From: gregor.bruhin at netoxygen.ch (Gregor Bruhin) Date: Tue, 4 May 2004 18:01:52 +0200 Subject: temptrax In-Reply-To: References: Message-ID: <5BA6F90E-9DE4-11D8-824E-000A95CD8036@netoxygen.ch> I sent you a copy. I got no reply from Ethan, so I have no idea why he removed it :-( CU Greg ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fra at adinet.com.uy Tue May 4 19:53:50 2004 From: fra at adinet.com.uy (Francisco) Date: Tue, 04 May 2004 14:53:50 -0300 Subject: configuration files- 2 In-Reply-To: <323A8E9E-9DE4-11D8-824E-000A95CD8036@netoxygen.ch> References: <323A8E9E-9DE4-11D8-824E-000A95CD8036@netoxygen.ch> Message-ID: <1083693230.549.63.camel@arwen> Yes, I have notifications_enabled 1 in both files, hosts.cfg and services.cfg but when I enable or disable notifications trough the web interface, the line "notifications_enabled" in the files hosts.cfg or services.cfg does not change. That's my cuestion if this values are not stored in those files, where are they stored. Mario On Tue, 2004-05-04 at 13:00, Gregor Bruhin wrote: > Forgot cc to m-l ... > > Begin forwarded message: > > > From: Gregor Bruhin > > Date: May 4, 2004 5:53:29 PM CEST > > To: Francisco > > Subject: Re: [Nagios-users] configuration files > > > > Did you grep your cfg folder for "notification" ? > > > > Check that you have not set notifications_enabled 0 in your > > services.cfg file. > > > > CU Greg > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 gramajo at saman.com.uy Tue May 4 19:58:11 2004 From: gramajo at saman.com.uy (Gramajo, Gabriel) Date: Tue, 4 May 2004 14:58:11 -0300 Subject: check_ping hangs up Message-ID: <94658F4F37CF774C85E0FD732BD8AC61C6CCA3@samannt.saman.com.uy> SAMAN Casa Central Rambla Dr. Baltasar Brum 2772 11800 Montevideo, Uruguay Tel: (+598-2) 208 1421* Fax: (+598-2) 203 4087 Web: www.saman.com.uy Hi, folks! What could be going wrong with the check_ping service which hangs up with "Timeout plugin" when a server goes down , but don?t seems to take account when the servers cames up. Thanks in advance, Gabriel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Logo.jpg Type: image/jpeg Size: 12725 bytes Desc: not available URL: From pla at softflare.com Tue May 4 20:11:59 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 04 May 2004 19:11:59 +0100 Subject: check_ping hangs up In-Reply-To: <94658F4F37CF774C85E0FD732BD8AC61C6CCA3@samannt.saman.com.uy> References: <94658F4F37CF774C85E0FD732BD8AC61C6CCA3@samannt.saman.com.uy> Message-ID: <20040504181159.19453.qmail@minnow.softflare.net> Gramajo, Gabriel writes: > What could be going wrong with the check_ping service which hangs up with > "Timeout plugin" when a server goes down , but don?t seems to take > account when the servers cames up. ping on your OS doesn't timeout unless you pass it a switch that isn't in the default ping command defined for check_ping. Do "man ping", find out what you need to change, test ping from the command line to check that you've found the right switches, redefine the ping command in the plugin source, recompile. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 4 21:53:42 2004 From: marc at ena.com (Marc Powell) Date: Tue, 4 May 2004 14:53:42 -0500 Subject: configuration files- 2 Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6264@mismail2.ena.com> Modifications made via the web interface are transient and are _not_ written to the config files. If you have state_retention enabled then that's likely your 'problem'. Please see the 'Retention Notes' section of http://nagios.sourceforge.net/docs/1_0/xodtemplate.html. Also, please try to post to the list using plain-text as opposed to HTML formatted mail if you can. It allows for better response formatting and more people can read it. -- Marc ________________________________ From: Francisco [mailto:fra at adinet.com.uy] Sent: Tuesday, May 04, 2004 12:54 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] configuration files- 2 Yes, I have notifications_enabled 1 in both files, hosts.cfg and services.cfg but when I enable or disable notifications trough the web interface, the line "notifications_enabled" in the files hosts.cfg or services.cfg does not change. That's my cuestion if this values are not stored in those files, where are they stored. Mario On Tue, 2004-05-04 at 13:00, Gregor Bruhin wrote: Forgot cc to m-l ... Begin forwarded message: > From: Gregor Bruhin > Date: May 4, 2004 5:53:29 PM CEST > To: Francisco > Subject: Re: [Nagios-users] configuration files > > Did you grep your cfg folder for "notification" ? > > Check that you have not set notifications_enabled 0 in your > services.cfg file. > > CU Greg > ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lendra at continuumit.com.au Wed May 5 02:07:17 2004 From: lendra at continuumit.com.au (Lendra Tanujaya) Date: Wed, 5 May 2004 10:07:17 +1000 Subject: Nagios Issues "ConnectData Failed" Message-ID: <784A12BC71EF2C42B996EFB2BC40312098DE70@contit-mlb-mx2.continuumit.com.au> Marco, That works fine. Thank you By the way, have you come across an issue with Nagios reporting with the error "Invalid Drive" while it was checking the Disk space on a drive C and D on the server. I have checked that those Drive C and D, does exist on the server. R's Lendra -----Original Message----- From: Marco Supino [mailto:marco at sd.com] Sent: Tuesday, 4 May 2004 6:43 PM To: Lendra Tanujaya Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Issues "ConnectData Failed" Hi This happends because the port that nsclient uses is busy with (probably) active dir communication, change the port of the nsclient to something higher (i use 7689) , and change the setup in the nagios checkcommands to the new port (-p 7689) , this will solve your problem. Marco. Lendra Tanujaya wrote: > Hi there, > > > > I get the error ?ConnectData Failed? on one W2k-server, nsclient on this > box worked fine > > for months before. > > 10 other servers also work fine and there is no common Perflib-errors on > this > > server. > > > > I have tried uninstalling and reinstalling it again but doesn?t work still. > > > > > > Does anybody have any clue why this is happening to this particular w2k > server? From the Nagios server, it keeps reporting ?Connection Refused > by Host? and on the server, it has the above error message. > > > > > > Regards, > > Lendra Tanujaya > > Support Centre > > ContinuumIT P/L > > Australian Stock Exchange Building > > Level 5, 530 Collins Street > > Melbourne, 3000 > > Fax (03) 8630 3799 > > > > Support 1300 366 392 > > > > helpdesk at ContinuumIT.com.au > > www.continuumit.com.au > > > > ------------------------------------------------------------------------ ------------------------------------------------ > > This e-mail and any attachments may be confidential or legally > privileged. If you received this message in error or are not the > intended recipient, you should destroy the e-mail message and any > attachments or copies, and are prohibited from retaining, distributing, > disclosing or using any information contained herein. Please inform us > of the erroneous delivery by return e-mail. > > Thank you for your cooperation. > > ------------------------------------------------------------------------ ------------------------------------------------ > > > ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco at sd.com Wed May 5 08:32:41 2004 From: marco at sd.com (Marco Supino) Date: Wed, 05 May 2004 09:32:41 +0300 Subject: Nagios Issues "ConnectData Failed" References: <784A12BC71EF2C42B996EFB2BC40312098DE70@contit-mlb-mx2.continuumit.com.au> Message-ID: <40988A89.5080809@sd.com> Hi, I havnt seen this problem, is it consistent or not ? maybe something to do with ":" ? Marco. Lendra Tanujaya wrote: > Marco, > > That works fine. Thank you > > By the way, have you come across an issue with Nagios reporting with the > error "Invalid Drive" while it was checking the Disk space on a drive C > and D on the server. > > I have checked that those Drive C and D, does exist on the server. > > R's > > Lendra > > -----Original Message----- > From: Marco Supino [mailto:marco at sd.com] > Sent: Tuesday, 4 May 2004 6:43 PM > To: Lendra Tanujaya > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios Issues "ConnectData Failed" > > Hi > > This happends because the port that nsclient uses is busy with > (probably) active dir communication, change the port of the nsclient to > something higher (i use 7689) , and change the setup in the nagios > checkcommands to the new port (-p 7689) , this will solve your problem. > > Marco. > > > Lendra Tanujaya wrote: > >>Hi there, >> >> >> >>I get the error ?ConnectData Failed? on one W2k-server, nsclient on > > this > >>box worked fine >> >>for months before. >> >>10 other servers also work fine and there is no common Perflib-errors > > on > >>this >> >>server. >> >> >> >>I have tried uninstalling and reinstalling it again but doesn?t work > > still. > >> >> >> >> >>Does anybody have any clue why this is happening to this particular > > w2k > >>server? From the Nagios server, it keeps reporting ?Connection Refused > > >>by Host? and on the server, it has the above error message. >> >> >> >> >> >>Regards, >> >>Lendra Tanujaya >> >>Support Centre >> >>ContinuumIT P/L >> >>Australian Stock Exchange Building >> >>Level 5, 530 Collins Street >> >>Melbourne, 3000 >> >>Fax (03) 8630 3799 >> >> >> >>Support 1300 366 392 >> >> >> >>helpdesk at ContinuumIT.com.au >> >>www.continuumit.com.au >> > > 2BC71EF2C42B996EFB2BC40312000000000BEE90000784A12BC71EF2C42B996EFB2BC403 > 120000000204F1D0000/www.continuumit.com.au> > >> >> > ------------------------------------------------------------------------ > ------------------------------------------------ > >>This e-mail and any attachments may be confidential or legally >>privileged. If you received this message in error or are not the >>intended recipient, you should destroy the e-mail message and any >>attachments or copies, and are prohibited from retaining, > > distributing, > >>disclosing or using any information contained herein. Please inform us > > >>of the erroneous delivery by return e-mail. >> >>Thank you for your cooperation. >> >> > > ------------------------------------------------------------------------ > ------------------------------------------------ > >> >> > > > > > ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amk_dude at yahoo.com Wed May 5 08:41:03 2004 From: amk_dude at yahoo.com (anil kamath) Date: Tue, 4 May 2004 23:41:03 -0700 (PDT) Subject: help related to samba Message-ID: <20040505064103.93074.qmail@web14523.mail.yahoo.com> Hi please send me the lines that you have entered for check_disk_smb on both checkcommnds.cfg and services.cfg. I have tried all the permutation and combinations but not working. Regards, anil __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amk_dude at yahoo.com Wed May 5 08:43:24 2004 From: amk_dude at yahoo.com (anil kamath) Date: Tue, 4 May 2004 23:43:24 -0700 (PDT) Subject: help related to check_disk on another host on the same network Message-ID: <20040505064324.97627.qmail@web14521.mail.yahoo.com> hi please help me with the correct parameters i need to specify in checkcommands.cfg and services.cfg for checking free space on the file server on the same network. please specify the params also on remote hosts too. I am having problems with that. Regards, anil __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco at mkohn.de Wed May 5 12:16:01 2004 From: marco at mkohn.de (Marco Kohn) Date: Wed, 5 May 2004 12:16:01 +0200 Subject: Monitoring LVS Message-ID: <16081411543.20040505121601@mkohn.de> Hi, does anybody knows any plugin or script, which i could use to monitor an Linux Virtual Server , like state of master/slave or anything else. TNX Marco ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 nomoreheroes.org.uk Wed May 5 13:48:12 2004 From: nagios at nomoreheroes.org.uk (den man) Date: Wed, 05 May 2004 12:48:12 +0100 Subject: external command problems]] Message-ID: <4098D47C.3000308@nomoreheroes.org.uk> Not an error as such, but I am confused. I have everything setup as it should, or so I think, but disabling checking on hosts "appears" to work and it shows up in the logs BUT neither the tactical overview nor any of the other other displays available on the web interface say that checking has been disabled .... so how do I know it has been done ? have I missed something in the installation and/or configuration ? ------------------------------------------------- Scanned by Atlas for all known viruses. - www.atlas.net.uk ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rob.Gallegly at usfsi.com Wed May 5 16:28:20 2004 From: Rob.Gallegly at usfsi.com (Gallegly, Rob) Date: Wed, 5 May 2004 10:28:20 -0400 Subject: Upgrading questions Message-ID: Currently running v1.2 on a Mandrake 9.2 box and quickly learning Nagios. The company I work has an increased demand for monitoring services. Has anyone worked out good hardware specs for a box to run this? I'm going to be monitoring over a thousand hosts across a nation wide WAN. Additionally I've had a problem adding hosts to my database. When adding hosts I would like to be able to add services by just selecting a service group. On the line that says service group there is no drop down nor manual entry field. Any ideas on how I get that field to be live or another way I can add a service group to a host? Thanks in advance for any assistance. Rob Gallegly Hotel Technology Group U.S. Franchise Systems 888-215-9044 hotel.support at usfsi.com rob.gallegly at usfsi.com ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Wed May 5 17:07:28 2004 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Wed, 05 May 2004 11:07:28 -0400 Subject: Monitoring SAN boxes Message-ID: Hi all, I have some SAN boxes and I was wandering if someone is "Nagiosing" theses. (this is a new verb) Of course the QLogic controller do SNMP, but what information could be interesting to look at? Thanks all Alexandre --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From TFasko at springlamp.com Wed May 5 17:45:59 2004 From: TFasko at springlamp.com (TFasko at springlamp.com) Date: Wed, 5 May 2004 11:45:59 -0400 Subject: Missing CGIs Message-ID: I will I am new to Nagios, I used to run netsaint. But I decided to start this install from scratch and go step by step through the instructions. I am running this on a Debian 3.0 After a few hours or reading and configuring I have Nagios monitoring some basic stats but I notices I am missing a few CGIs that the main Nagios web page has links to. So far here is what I have noticed missing: /usr/local/nagios/sbin/ trends.cgi histogram.cgi statusmap.cgi did I do something wrong? Thank You! Travis -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed May 5 18:09:08 2004 From: marc at ena.com (Marc Powell) Date: Wed, 5 May 2004 11:09:08 -0500 Subject: Missing CGIs Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B626F@mismail2.ena.com> http://nagios.org/faqs/viewfaq.php?faq_id=55 -- Marc ________________________________ From: TFasko at springlamp.com [mailto:TFasko at springlamp.com] Sent: Wednesday, May 05, 2004 10:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Missing CGIs I will I am new to Nagios, I used to run netsaint. But I decided to start this install from scratch and go step by step through the instructions. I am running this on a Debian 3.0 After a few hours or reading and configuring I have Nagios monitoring some basic stats but I notices I am missing a few CGIs that the main Nagios web page has links to. So far here is what I have noticed missing: /usr/local/nagios/sbin/ trends.cgi histogram.cgi statusmap.cgi did I do something wrong? Thank You! Travis ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gramajo at saman.com.uy Wed May 5 18:27:32 2004 From: gramajo at saman.com.uy (Gramajo, Gabriel) Date: Wed, 5 May 2004 13:27:32 -0300 Subject: Ping plugin Message-ID: <94658F4F37CF774C85E0FD732BD8AC61C6CCA9@samannt.saman.com.uy> SAMAN Casa Central Rambla Dr. Baltasar Brum 2772 11800 Montevideo, Uruguay Tel: (+598-2) 208 1421* Fax: (+598-2) 203 4087 Web: www.saman.com.uy When a server is down ping plugin works fine until starts to notify plugin timeouts, when the server came back to life the plugin seems no to take account of it and still notify server is down, besides ping from the linux box doesn?t work either. Thanks in advance for any hint you can give me, A/P Gabriel Gramajo SAMAN Computaci?n Montevideo - Uruguay Dir.: Rbla. Baltasar Brum 2772 Tel.: 2081421 / 232 E-Mail: gramajo at saman.com.uy "Es propio de hombres de cabezas medianas embestir contra todo aquello que no les cabe en la cabeza." - Antonio Machado -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Logo.jpg Type: image/jpeg Size: 12725 bytes Desc: not available URL: From rlogbeck at moinfo.com Wed May 5 18:58:12 2004 From: rlogbeck at moinfo.com (Robert Logbeck) Date: Wed, 5 May 2004 11:58:12 -0500 Subject: Email Notification help. Message-ID: <4B63F5F5A4CB934FA82D5393A1D947E5FF00B4@s3mail.s3systems.com> Hello, I am attempting to send out email notifications through my exchange server. The sendmail configuration, which used to work, is configured to forward SMTP to the internal address of my mail server. I am allowing relaying from the Linux IP address. I get no errors in the notification log yet I never receive the mail at the exchange server. Any thoughts? Thanks! Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: From Paul.Fiero at ci.austin.tx.us Wed May 5 19:09:22 2004 From: Paul.Fiero at ci.austin.tx.us (Paul.Fiero at ci.austin.tx.us) Date: Wed, 5 May 2004 12:09:22 -0500 Subject: Historical data Message-ID: <54CBD1107EC5AD4EA8D4183558A589EF478795@coaexch5.coacd.org> I have a question for you guys. Where is historical data stored on a Nagios system with database capabilities turned on? I see that comments, downtime, extinfo, retention, and status data is stored in MySQL database I configured it for. But is there more data? For example is there a running log of events and changes? I see that there is a nagios.log file in the nagios/var directory. Is that it? Has anyone figured out a way to store that nagios.log file in a MySQL database? PFiero ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 5 19:21:21 2004 From: marc at ena.com (Marc Powell) Date: Wed, 5 May 2004 12:21:21 -0500 Subject: Historical data Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6271@mismail2.ena.com> Paul.Fiero at ci.austin.tx.us wrote: > I have a question for you guys. Where is historical data stored on a > Nagios system with database capabilities turned on? I see that > comments, downtime, extinfo, retention, and status data is stored in > MySQL database I configured it for. But is there more data? For > example is there a running log of events and changes? I see that > there is a nagios.log file in the nagios/var directory. Is that it? /usr/local/nagios/var/nagios.log and /usr/local/nagios/var/archives/* for a standard install. > > Has anyone figured out a way to store that nagios.log file in a MySQL > database? It can be done through a number of different ways (post processing of the log files, DB triggers, OCSP, etc). You would need to create your own table schema and CGI's/scripts to insert and utilize that data of course. It is not supported by the main distribution and the CGI's will not be able to access or use that data unless they are re-written. Nagios would also continue to happily write to the existing log files. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed May 5 19:36:41 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 05 May 2004 19:36:41 +0200 Subject: Ping plugin In-Reply-To: <94658F4F37CF774C85E0FD732BD8AC61C6CCA9@samannt.saman.com.uy> References: <94658F4F37CF774C85E0FD732BD8AC61C6CCA9@samannt.saman.com.uy> Message-ID: <40992629.20100@op5.se> Gramajo, Gabriel wrote: > When a server is down ping plugin works fine until starts to notify plugin > timeouts, when the server came back to life the plugin seems no to take > account of it and still notify server is down, besides ping from the linux > box doesn?t work either. > If what little I think I understood from that is correct, then this sounds like network trouble to me. Are you sure the two hosts are on the same subnet, or otherwise have proper routes between them? Make sure to check the netmasks. Two hosts on the same switch doesn't necessarily have to be on the same logical subnet. > Thanks in advance for any hint you can give me, > > A/P Gabriel Gramajo > E-Mail: gramajo at saman.com.uy > -- Mvh / Best Regards Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DavidB at etobin.com Wed May 5 19:42:55 2004 From: DavidB at etobin.com (David Barnett) Date: Wed, 5 May 2004 12:42:55 -0500 Subject: Nagios Missing Passive Checks Message-ID: I am running Nagios with mostly passive services and nsca/send_nsca. I have a service that gets triggered when an event occurs on a client machine, and when the event happens, it passes two passive checks to Nagios, one to turn the service to a Warning state and one to turn it to an OK state (to trigger the event handler). It will always send in two checks, and they will occur back to back. I have noticed that occasionally, it misses one of the checks. Because it misses the check in, it fails to call the event handler, which is the most important part. I log everything I send with send_nsca, and it logs both checks. I don't log passive service checks, because this would result in such a large event log. Why does this happen and what can I do to fix it? Here are some variables in my nagios.cfg file: check_external_commands=1 command_check_interval=-1 max_concurrent_checks=0 service_reaper_frequency=10 Do I need to switch any of these values or is there something else I need to do? Thanks for any help David -------------- next part -------------- An HTML attachment was scrubbed... URL: From shorn at lssi.net Wed May 5 20:01:25 2004 From: shorn at lssi.net (Spencer Horn) Date: Wed, 05 May 2004 14:01:25 -0400 Subject: Downtime history? Message-ID: <40992BF5.2090809@lssi.net> Anyone know of a way to see hosts or services that have been placed in downtime? After they have come out of downtime. Thanks, Spencer ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 5 20:23:03 2004 From: marc at ena.com (Marc Powell) Date: Wed, 5 May 2004 13:23:03 -0500 Subject: Downtime history? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6279@mismail2.ena.com> Spencer Horn wrote: > Anyone know of a way to see hosts or services that have been placed > in downtime? After they have come out of downtime. Like below? grep DOWNTIME /usr/local/nagios/var/archives/* nagios-01-05-2003-00.log:[1041490815] SERVICE DOWNTIME ALERT: ;PING;STARTED; Service has entered a period of scheduled downtime nagios-01-05-2003-00.log:[1041512401] SERVICE DOWNTIME ALERT: ;PING;STOPPED; Service has exited from a period of scheduled downtime (and so on...) That's the quickest way. It's also available via the Availiablity CGI (Service Log Entries) as long as your report period contains the downtime window. 05-05-2004 01:00:21 05-05-2004 13:20:09 0d 12h 19m 48s+ SERVICE DOWNTIME START Start of scheduled downtime (This particular one hasn't ended yet.) -- Marc ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shorn at lssi.net Wed May 5 20:29:02 2004 From: shorn at lssi.net (Spencer Horn) Date: Wed, 05 May 2004 14:29:02 -0400 Subject: Downtime history? In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F1B6279@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F1B6279@mismail2.ena.com> Message-ID: <4099326E.7010605@lssi.net> Thanks! I was grepping for the wrong thing. Spencer Marc Powell wrote: >Spencer Horn wrote: > > >>Anyone know of a way to see hosts or services that have been placed >>in downtime? After they have come out of downtime. >> >> > >Like below? > >grep DOWNTIME /usr/local/nagios/var/archives/* > >nagios-01-05-2003-00.log:[1041490815] SERVICE DOWNTIME ALERT: REMOVED>;PING;STARTED; Service has entered a period of scheduled >downtime >nagios-01-05-2003-00.log:[1041512401] SERVICE DOWNTIME ALERT: REMOVED>;PING;STOPPED; Service has exited from a period of scheduled >downtime >(and so on...) > >That's the quickest way. It's also available via the Availiablity CGI >(Service Log Entries) as long as your report period contains the >downtime window. > >05-05-2004 01:00:21 05-05-2004 13:20:09 0d 12h 19m 48s+ SERVICE DOWNTIME >START Start of scheduled downtime > >(This particular one hasn't ended yet.) > >-- >Marc > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Rob.Gallegly at usfsi.com Wed May 5 21:01:18 2004 From: Rob.Gallegly at usfsi.com (Gallegly, Rob) Date: Wed, 5 May 2004 15:01:18 -0400 Subject: Upgrading questions Message-ID: Thanks for the reply Randie. It's pointing me in the right direction to justify a purchase to my VP. As far as the database problem we are running Nagios 1.2 with MySQL 4.0.15. I don't know if it is a problem with the database or with Nagios. The annoying thing is that I can see where my boss assigned service groups to certain hosts but when I edit those entries it still has nothing listed for service groups. If I end up not being able to add a service group through the web interface, does anyone know to which CFG file I would add it? I crawled through the host.cfg and service.cfg and didn't find anything in there (I admit that I may have overlooked it). -----Original Message----- From: Randie Waddell [mailto:rwaddell at ritzcamera.com] Sent: Wednesday, May 05, 2004 10:40 AM To: Gallegly, Rob Subject: Re: [Nagios-users] Upgrading questions Rob, I don't know if this helps but I'm using nagios to monitor about 1300 sites and about 2000 services. The box I'm using is a compaq PIII 800 Mhz SCSI. The machine is also gather MRTG stats every 5 minutes. I haven't had any problems with the system keeping up with monitoring all the sites. I think alot of what you will need depends on how often you are monitoring all your services(ie every 5 minutes, or every hour). I have services that are monitored every 15 to 60 minutes. I think the best thing to get would be something with alot of speed and fast hard drive access, that way all the services checks would be done as quickly as possible. I'm not to sure about your database problem. What type of database are you using, and what version of nagios are you running? Sorry I couldn't be of any more help. Randie Waddell Store Systems Department 6711 Ritz Way Beltsville MD 20705 301-479-3368 rwaddell at ritzcamera.com On Wednesday 05 May 2004 10:28, Gallegly, Rob wrote: > Currently running v1.2 on a Mandrake 9.2 box and quickly learning Nagios. > The company I work has an increased demand for monitoring services. Has > anyone worked out good hardware specs for a box to run this? I'm going to > be monitoring over a thousand hosts across a nation wide WAN. > > Additionally I've had a problem adding hosts to my database. When adding > hosts I would like to be able to add services by just selecting a service > group. On the line that says service group there is no drop down nor > manual entry field. Any ideas on how I get that field to be live or > another way I can add a service group to a host? > > Thanks in advance for any assistance. > > Rob Gallegly > Hotel Technology Group > U.S. Franchise Systems > 888-215-9044 > hotel.support at usfsi.com > rob.gallegly at usfsi.com > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed May 5 22:26:23 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 05 May 2004 22:26:23 +0200 Subject: Upgrading questions In-Reply-To: References: Message-ID: <40994DEF.6080202@op5.se> Gallegly, Rob wrote: > Thanks for the reply Randie. It's pointing me in the right direction to > justify a purchase to my VP. > > As far as the database problem we are running Nagios 1.2 with MySQL 4.0.15. > I don't know if it is a problem with the database or with Nagios. The > annoying thing is that I can see where my boss assigned service groups to > certain hosts but when I edit those entries it still has nothing listed for > service groups. If I end up not being able to add a service group through > the web interface, does anyone know to which CFG file I would add it? I > crawled through the host.cfg and service.cfg and didn't find anything in > there (I admit that I may have overlooked it). > > -----Original Message----- > From: Randie Waddell [mailto:rwaddell at ritzcamera.com] > monitored every 15 to 60 minutes. I think the best thing to get would be > something with alot of speed and fast hard drive access, that way all the > services checks would be done as quickly as possible. > Don't forget you need a whole wad of memory. More the more database and 'extras' you enable at compile time, since nagios fork()'s for every check being executed. > I'm not to sure about your database problem. What type of database are you > using, and what version of nagios are you running? > > Sorry I couldn't be of any more help. > > Randie Waddell > Store Systems Department > 6711 Ritz Way > Beltsville MD 20705 > 301-479-3368 > rwaddell at ritzcamera.com > > > On Wednesday 05 May 2004 10:28, Gallegly, Rob wrote: > >>Currently running v1.2 on a Mandrake 9.2 box and quickly learning Nagios. >>The company I work has an increased demand for monitoring services. Has >>anyone worked out good hardware specs for a box to run this? I'm going to >>be monitoring over a thousand hosts across a nation wide WAN. >> >>Additionally I've had a problem adding hosts to my database. When adding >>hosts I would like to be able to add services by just selecting a service >>group. On the line that says service group there is no drop down nor >>manual entry field. Any ideas on how I get that field to be live or >>another way I can add a service group to a host? >> >>Thanks in advance for any assistance. >> >>Rob Gallegly >>Hotel Technology Group >>U.S. Franchise Systems >>888-215-9044 >>hotel.support at usfsi.com >>rob.gallegly at usfsi.com >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: Oracle 10g >>Get certified on the hottest thing ever to hit the market... Oracle 10g. >>Take an Oracle 10g class now, and we'll give you the exam FREE. >>http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >> >>::: Please include Nagios version, plugin version (-v) and OS when >>::: reporting any issue. Messages without supporting info will risk being >>::: sent to /dev/null > > -- Mvh Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shane at xpressdocs.com Wed May 5 23:44:02 2004 From: shane at xpressdocs.com (Shane Selman) Date: Wed, 5 May 2004 16:44:02 -0500 Subject: nrpe - ssl handshake? In-Reply-To: <40994DEF.6080202@op5.se> References: <40994DEF.6080202@op5.se> Message-ID: <533BEDF5-9EDD-11D8-8072-000393872F04@xpressdocs.com> I'm getting a strange error. When I run check_nrpe from the command line, it returns the expected values, but when I add it to my config files. it continues to give the ssl handshake error. Am I missing something in the service configuration. Does anyone have a good set of sample code for using NRPE? Thanks Shane -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 405 bytes Desc: not available URL: From nagios at korthrun.net Thu May 6 00:58:16 2004 From: nagios at korthrun.net (Korthrun) Date: Wed, 5 May 2004 12:58:16 -1000 Subject: not getting notified Message-ID: <00a901c432f4$741838d0$22fb4b40@korthwork> This happens from time to time, and I am just not sure whats going on here. Probly something basic that I ahve not grasped yet. ------- Current Status: CRITICAL Status Information: CRITICAL - Plugin timed out after 10 seconds Current Attempt:1/3 State Type:HARD Last Check Type:ACTIVE Last Check Time:05-05-2004 12:21:56 Status Data Age: 0d 0h 2m 14s Next Scheduled Active Check: 05-05-2004 12:23:56 Latency:< 1 second Check Duration:10 seconds Last State Change: 05-05-2004 10:59:24 Current State Duration: 0d 1h 24m 46s Last Service Notification:N/A Current Notification Number:0 Is This Service Flapping?N/A Percent State Change:N/A In Scheduled Downtime? NO Last Update:05-05-2004 12:24:08 -------- The thing to note is that, it has been in a hard state for 0d 1h 24m 46s. Nagios still thinks it is on Attempted 1/3, and I have recieved 0, yes 0 alerts for this service. ---------------------- define service{ use generic-service ; Name of service template to use host_name nelha-meadow-rb service_description RB-Routing is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 contact_groups admins notification_interval 30 notification_period 24x7 notification_options w,u,c,r check_command check_ping!500,50%!500,50% } ------------ define host{ use generic-host ; Name of host template to use host_name nelha-meadow-rb alias nelha-meadow-rb address 64.75.248.233 check_command check-host-alive max_check_attempts 10 notification_interval 30 notification_period 24x7 notification_options d,u,r parents nelha-meadow-bu } --------- It would be greatly appreciated if someone could let me kbnow whats up. ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From THIERRY.MISSIMILLY at BULL.NET Thu May 6 08:48:36 2004 From: THIERRY.MISSIMILLY at BULL.NET (Thierry Missimilly) Date: Thu, 06 May 2004 08:48:36 +0200 Subject: Nagios Configuration File in DB Message-ID: <4099DFC4.88FFDBB7@BULL.NET> Hi, I work with Nagios 1.1, compiled with pgsql options. I would like to know why the .cfg files are not replaced by configuration tables and if it is planned for the next releases. Thanks, Thierry -------------- next part -------------- A non-text attachment was scrubbed... Name: THIERRY.MISSIMILLY.vcf Type: text/x-vcard Size: 359 bytes Desc: Card for Thierry Missimilly URL: From m.borsani at it.net Thu May 6 09:18:48 2004 From: m.borsani at it.net (Marco Borsani) Date: Thu, 6 May 2004 09:18:48 +0200 Subject: Check_snmp on HP-Ux 11.00 Message-ID: Hi all !! I have a "little problem" during the plugins compilation. After the installation I have not the check_snmp plugin in the libexec directory. It is very strange because on a Red Hat 9.0 system I reached that command, performing same procedure. The plugins release is 1.3.1 May anyone help me ? Thanks a lot. Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: From me-lists at kernzeit.com Thu May 6 11:48:57 2004 From: me-lists at kernzeit.com (Matthias Eichler) Date: Thu, 06 May 2004 11:48:57 +0200 Subject: Integration of Nagios into Trouble-Ticket-Systems (OTRS) Message-ID: <1083836937.2568.55.camel@blindzero> Dear List, I am quite unhappy with our integration of Nagios into our Trouble-Ticket-System (OTRS). With the standard standard mail functionality of Nagios it is quite uncomfortable as every mail creates a new ticket. Thats why I wanted to ask if somebody has experiences in integration Nagios into a Trouble-Ticket-System, especially into OTRS? Has somebody figured out the best way and the stumbling blocks for the integration? The optimum would in my eyes would be some ticket opening on WARNINGS or ERRORS, the automatic ticket closing on RECOVERYs and the changes of the agent who is working on the problem with some comment, when acknowleding a problem. Thanks for all input, Matthias -- Matthias Eichler kernzeit AG ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 6 14:58:20 2004 From: marc at ena.com (Marc Powell) Date: Thu, 6 May 2004 07:58:20 -0500 Subject: Nagios Configuration File in DB Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6283@mismail2.ena.com> Thierry Missimilly wrote: > Hi, > > I work with Nagios 1.1, compiled with pgsql options. I would like to > know why the .cfg files are not replaced by configuration tables and > if it is planned for the next releases. The core Nagios distribution does not support storing of config information in a database. In fact, all database support was supposed to be dropped from the main distribution in 2.0 but it looks like most of it is going to hang on for a little while longer. There are several tools that can be downloaded from http://www.nagios.org/download/extras.php (Naui, Nagmin, etc) that allow you to modifiy config information in a database and then translate that to the nagios config file format. As far as database support in general, Ethan has written an event broker daemon that will allow custom modules to receive and process any type of data they register for (but not config data afaik). This can be used to process all of the same status information that is currently stuck in databases and more. That way Ethan doesn't need to maintain 3 different data storage mechanisms in code and opens up the ability to store the data in any kind of system that can be communicated with by the nagios host without core code changes. There used to be some detail on the Upcoming page but it looks like it's been moved/removed. You can always search the list archives if you're interested in more information. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From awisniewski at axit.pl Thu May 6 15:50:19 2004 From: awisniewski at axit.pl (Andrzej Wisniewski) Date: Thu, 6 May 2004 15:50:19 +0200 Subject: check different time in Windows ? Message-ID: <200405061550.19243.awisniewski@axit.pl> Hi, I have a little problem :/ I want to monitoring time on my Windows remote machine. I can use nrpe_nt but I have any idea how can I write plugins :/ Linux's systems have a check_ntp (with nrpe is a very good solution for me) but I don't know what I can do in Windows :/ I will be grateful for any ideas ... -- AndY ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 6 16:22:42 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Thu, 6 May 2004 08:22:42 -0600 Subject: Integration of Nagios into Trouble-Ticket-Systems (OTRS) Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E8F97@golden-m.mactec.com> > I am quite unhappy with our integration of Nagios into > our Trouble-Ticket-System (OTRS). > With the standard standard mail functionality of Nagios > it is quite uncomfortable as every mail creates a new ticket. > > Thats why I wanted to ask if somebody has experiences in > integration Nagios into a Trouble-Ticket-System, especially into OTRS? > Has somebody figured out the best way and the stumbling blocks for > the integration? > > The optimum would in my eyes would be some ticket opening > on WARNINGS or ERRORS, the automatic ticket closing on > RECOVERYs and the changes of the agent who is working on > the problem with some comment, when acknowleding a problem. > > Thanks for all input, > > Matthias I've integrated Nagios with the TeamTrack trouble ticketing system. To do this, I created two new contacts, one called noc_failure, and another called noc_recovery. The noc_failure contact sends service notifications on Warning & Critical, and host notifications on Down. The noc_recovery contact sends service notifications on Critical, Warning, Unreachable, & Recovery, and host notifications on Unreachable & Recovery. The email addresses (different address for failure and recovery) were created by the NOC, and open and close tickets in the TeamTrack system. Unfortunately, I can't offer much insight on how this is accomplished, as I don't deal with that system on a regular basis. Two caveats: 1) I believe that Nagios generates warnings or possibly errors if the noc_recovery contact does not have Critical and Warning Service notification options. I'm not sure if this is still the case, as I have not made any changes since upgrading to 1.2, but I'm pretty sure that this is what happened when I originally set it up under 1.1. 2) Acknowledgements will open a separate trouble ticket in the TeamTrack system. I have not taken the time to determine if Acks are treated as Service Warnings, Service Criticals, or Host Down notifications, but instead recommended that the NOC filter out emails with Ack in the subject. HTH 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu May 6 17:52:10 2004 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 6 May 2004 11:52:10 -0400 (EDT) Subject: Monitoring SAN boxes In-Reply-To: References: Message-ID: On Wed, 5 May 2004, Serveur-Faucon Surveillance wrote: > Hi all, > > I have some SAN boxes and I was wandering if someone is "Nagiosing" > theses. (this is a new verb) > > Of course the QLogic controller do SNMP, but what information could be > interesting to look at? I looked into monitoring a SAN with MCDATA fibreswitches and EMC Clariion - there was minimal fault data - a couple of SNMP traps and interface status. It was more useful to monitor the disk mount mounts on the host and the SAN traffic using Cricket/MRTG... -- -sg ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frankie at etsetb.upc.es Thu May 6 19:06:10 2004 From: frankie at etsetb.upc.es (Francesc Guasch) Date: Thu, 06 May 2004 19:06:10 +0200 Subject: Problem alert server is EMPTY In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1AFC7215@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1AFC7215@dw-mail.dataway.com> Message-ID: <409A7082.5090202@etsetb.upc.es> Tedman Eng wrote: Hi Tedman, thank you for answering me. > Looks like you may have some syntax problems in misccommands.cfg. > Specifically, the notification definitions. I've been trying to fix this issue, so I downloaded nagios-1.2 from tgz and built it. I copied /sample-config/template-object/misccomands.cfg to /etc/nagios ( this is the config location of the rpm file ). I also changed the notify line so I made sure this file is being used for sending the request: ** PROBLEM alertdamnsure - ServerName/ is ** ^^^^^^^^ ^- empty ! I haven't noticed any change, misccomands.cfg is okay so it looks like somewhere else nagios fails to pass the service and status info to the command. Anything else I could check ? >>From: Francesc Guasch [mailto:frankie at etsetb.upc.es] >>Sent: Friday, April 30, 2004 10:05 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Problem alert server is EMPTY >> >> >>Hi. I've got Nagios-1.2 running in a linux server. >>When I shut a server down, nagios send me a report, >>but the status in empty, I just see: >> >> ** PROBLEM alert - server/ is ** >> >>and the body shows a missing state: >> >> Service: >> Host: server >> Address: server.domain >> State: >> >>I think between there should be a DOWN or something >>after "is". >> >>I do receive a correct report when it's up: >> >> * RECOVERY alert - ofelia/alive is OK ** >> >>And all the other reports are ok. I've been checking the >>config files from the rpm and it looks like everything is ok. >>I've been digging the faq unsuccessfully. ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kkoduru at hotmail.com Thu May 6 20:24:16 2004 From: kkoduru at hotmail.com (Kiran Koduru) Date: Thu, 06 May 2004 18:24:16 +0000 Subject: cannot display Logos Message-ID: Greetings!! I have the cgi.cfg with physical_html_path=/usr/share/nagios and I have the images/logos in that directory, but still I am not seeing the logos on the nagios. Here is the sample EXTENDED HOST INFORMATION. hostextinfo[tyler]=http://www.sun.com;sunlogo.gif;sunlogo.gd2;sunlogo.gd2;Solaris 8.0;50,2000;0.5,0.5,0.5 I have the followinf config in httpd.conf for the virtualhost ---------------------------------------------------------- AllowOverride AuthConfig order allow,deny allow from all Options ExecCGI Alias /nagios/ /usr/share/nagios/ order allow,deny allow from all ----------------------------------------------------------- it was working with netsaint, but not able to get the logos working after the migration to nagios. What else should I check for getting the logos working. Please help. Thanks, Kiran. _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar ? get it now! http://toolbar.msn.com/go/onm00200415ave/direct/01/ ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neeraj.malve at ge.com Thu May 6 21:32:26 2004 From: neeraj.malve at ge.com (Malve, Neeraj S (Corporate, consultant)) Date: Fri, 7 May 2004 01:02:26 +0530 Subject: MIB? quick question Message-ID: <6F832B0C67025649A27362C0436971170277810C@BANMLVEM02.e2k.ad.ge.com> Hello there, WebUI's menu STATUS-> SESSIONS->End User Summary shows Current End User Sessions: 400(IPSEC) If I want to get the number of Current End User Sessions thru SNMP, which MIB/OID, I should use. I was considering interfaces.ifNumber.0 (MIB), .1.3.6.1.2.1.2.1 (OID) should be right. some days back it was showing same number (+/- 5%). I verified it by loggin in and out, number was changing at that time. but now above MIB is giving me value "3". Something is wrong somewhere, please advice me which MIB/OID I should use for getting "Current End User Sessions" of "Nortel Contivity Extranet Switch (CES4500D)" Thanks Neeraj Malve Bangalore, India. ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 6 23:32:29 2004 From: Seth.Hollist at ingenix.com (Seth Hollist) Date: Thu, 6 May 2004 16:32:29 -0500 Subject: nrpe - ssl handshake? Message-ID: I had a similar problem, and it was because I didn't have openssl installed on the client when I compiled nrpe. so the client wasn't capable of ssl, and yet check_nrpe was expecting it to be. I wonder if there's a configurable parameter somewhere that Nagios passes to check_nrpe to tell it to force the use of ssl? -----Original Message----- From: Shane Selman [mailto:shane at xpressdocs.com] Sent: Wednesday, May 05, 2004 3:44 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] nrpe - ssl handshake? I'm getting a strange error. When I run check_nrpe from the command line, it returns the expected values, but when I add it to my config files. it continues to give the ssl handshake error. Am I missing something in the service configuration. Does anyone have a good set of sample code for using NRPE? Thanks Shane 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 dave at leaplab.com Thu May 6 23:41:30 2004 From: dave at leaplab.com (Dave Barnum) Date: Thu, 06 May 2004 14:41:30 -0700 Subject: dependacy formatting question Message-ID: <409AB10A.7090303@leaplab.com> Does this service dependancy make sense to you? Just want to check.. To check to make sure that the server is up, before the page is looked at.. And i want it to notify me if the host is down (if it is) before it reports that the pages on the host are down. # Servicedependency definition for Check_HTTP_domain.com/sign-up.html define servicedependency{ host_name WebServer service_description PING dependent_host_name WebServer dependent_service_description Check_HTTP_domain.com/sign-up.html execution_failure_criteria n notification_failure_criteria w,u,c } ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave at leaplab.com Thu May 6 23:54:55 2004 From: dave at leaplab.com (Dave Barnum) Date: Thu, 06 May 2004 14:54:55 -0700 Subject: cannot display Logos In-Reply-To: References: Message-ID: <409AB42F.4030603@leaplab.com> Kiran Koduru wrote: > Greetings!! > > I have the cgi.cfg with > > physical_html_path=/usr/share/nagios > > and I have the images/logos in that directory, but still I am not > seeing the logos on the nagios. > > Here is the sample EXTENDED HOST INFORMATION. > > hostextinfo[tyler]=http://www.sun.com;sunlogo.gif;sunlogo.gd2;sunlogo.gd2;Solaris > 8.0;50,2000;0.5,0.5,0.5 > > I have the followinf config in httpd.conf for the virtualhost > ---------------------------------------------------------- > > AllowOverride AuthConfig > order allow,deny > allow from all > Options ExecCGI > > Alias /nagios/ /usr/share/nagios/ > > order allow,deny > allow from all > > ----------------------------------------------------------- > > it was working with netsaint, but not able to get the logos working > after the migration to nagios. > > What else should I check for getting the logos working. > > Perhaps you should try modeling your hostextinfo.cfg after this.. define hostextinfo{ host_name hostname icon_image win40.jpg icon_image_alt Win 2K vrml_image win40.png statusmap_image win40.gd2 } > > Please help. > > > > Thanks, > > Kiran. > > _________________________________________________________________ > FREE pop-up blocking with the new MSN Toolbar ? get it now! > http://toolbar.msn.com/go/onm00200415ave/direct/01/ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From KMueller at netsuite.com Fri May 7 00:42:42 2004 From: KMueller at netsuite.com (Mueller, Karl) Date: Thu, 6 May 2004 15:42:42 -0700 Subject: dependacy formatting question Message-ID: <3A83D9BECDDF58468F068F6CA1C36AB957C362@corpmail.corp.netledger.com> Nagios has an automatic "host" level check built in. If the service check fails, Nagios will check whether the host is up or not via the check host command. In other words, you're probably duplicating what Nagios already does if you have the host check commands working correctly. Karl -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Dave Barnum Sent: Thursday, May 06, 2004 2:42 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] dependacy formatting question Does this service dependancy make sense to you? Just want to check.. To check to make sure that the server is up, before the page is looked at.. And i want it to notify me if the host is down (if it is) before it reports that the pages on the host are down. # Servicedependency definition for Check_HTTP_domain.com/sign-up.html define servicedependency{ host_name WebServer service_description PING dependent_host_name WebServer dependent_service_description Check_HTTP_domain.com/sign-up.html execution_failure_criteria n notification_failure_criteria w,u,c } ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave at leaplab.com Fri May 7 00:46:55 2004 From: dave at leaplab.com (Dave Barnum) Date: Thu, 06 May 2004 15:46:55 -0700 Subject: dependacy formatting question In-Reply-To: <3A83D9BECDDF58468F068F6CA1C36AB957C362@corpmail.corp.netledger.com> References: <3A83D9BECDDF58468F068F6CA1C36AB957C362@corpmail.corp.netledger.com> Message-ID: <409AC05F.8080203@leaplab.com> I was wondering about that. What about if the host goes down.. will i still get emails for the host and all it's services? Mueller, Karl wrote: >Nagios has an automatic "host" level check built in. If the service >check fails, Nagios will check whether the host is up or not via the >check host command. > >In other words, you're probably duplicating what Nagios already does if >you have the host check commands working correctly. > >Karl > > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Dave >Barnum >Sent: Thursday, May 06, 2004 2:42 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] dependacy formatting question > >Does this service dependancy make sense to you? Just want to check.. > >To check to make sure that the server is up, before the page is looked >at.. And i want it to notify me if the host is down (if it is) before >it reports that the pages on the host are down. > ># Servicedependency definition for Check_HTTP_domain.com/sign-up.html >define servicedependency{ > host_name WebServer > service_description PING > dependent_host_name WebServer > dependent_service_description >Check_HTTP_domain.com/sign-up.html > execution_failure_criteria n > notification_failure_criteria w,u,c > } > > > >------------------------------------------------------- >This SF.Net email is sponsored by Sleepycat Software >Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to >deliver >higher performing products faster, at low TCO. >http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 7 01:28:07 2004 From: marc at ena.com (Marc Powell) Date: Thu, 6 May 2004 18:28:07 -0500 Subject: dependacy formatting question Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B629A@mismail2.ena.com> Dave Barnum wrote: > I was wondering about that. What about if the host goes down.. will > i still get emails for the host and all it's services? http://nagios.sourceforge.net/docs/1_0/notifications.html -- Marc ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 7 02:28:55 2004 From: teng at dataway.com (Tedman Eng) Date: Thu, 6 May 2004 17:28:55 -0700 Subject: Integration of Nagios into Trouble-Ticket-Syst ems (OTRS) Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC7228@dw-mail.dataway.com> We use a notification script to handle acknowledgements differently from warning/critical. In our reasoning, warning/critical/down/etc should prompt human investiagtion. Then upon investigating, that person will enter an acknowledgement in Nagios to silence the alarm, which also triggers our ticket system to generate a ticket. Services that go into problem states and then resolve themselves without human intervention are logged in monitoring logs but our staff isn't burdened with managing a ticket for that issue. Between Nagios and our Ticket System, our users can monitor how productive their machines and their personel are, respectively. > -----Original Message----- > From: Matthias Eichler [mailto:me-lists at kernzeit.com] > Sent: Thursday, May 06, 2004 2:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Integration of Nagios into > Trouble-Ticket-Systems (OTRS) > > > Dear List, > > I am quite unhappy with our integration of Nagios into > our Trouble-Ticket-System (OTRS). > With the standard standard mail functionality of Nagios > it is quite uncomfortable as every mail creates a new > ticket. > > Thats why I wanted to ask if somebody has experiences in > integration Nagios into a Trouble-Ticket-System, especially > into OTRS? > Has somebody figured out the best way and the stumbling > blocks for the integration? > > The optimum would in my eyes would be some ticket opening > on WARNINGS or ERRORS, the automatic ticket closing on > RECOVERYs and the changes of the agent who is working on > the problem with some comment, when acknowleding a problem. > > Thanks for all input, > > Matthias > > -- > Matthias Eichler > kernzeit AG > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent > use to deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From milindyn at rolta.com Fri May 7 07:18:59 2004 From: milindyn at rolta.com (Milind Nanal) Date: Fri, 7 May 2004 10:48:59 +0530 Subject: Migration from Netsaint to NagiOS Message-ID: I have recently migrated from Netsaint to NagiOS monitoring tool. Old netsaint was configured with several hosts , host groups , contacts.Is there any easy way to migration the old configuration / data to newly configured NagiOS. Any tool / script / utility for easy configuration migration. Old netsaint configuration was in a single file where new NagiOS has separate file for each host, host group, contacts. Download URL is highly appreciated. Regards, Milind -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Fri May 7 09:21:38 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 07 May 2004 09:21:38 +0200 Subject: nrpe - ssl handshake? In-Reply-To: References: Message-ID: <409B3902.2030603@op5.se> Seth Hollist wrote: > I had a similar problem, and it was because I didn't have openssl installed > on the client when I compiled nrpe. so the client wasn't capable of ssl, > and yet check_nrpe was expecting it to be. I wonder if there's a > configurable parameter somewhere that Nagios passes to check_nrpe to tell it > to force the use of ssl? > The mysterious --ssl switch can be used to force ssl. The non-documented -n switch can be passed to force non-ssl mode. > -----Original Message----- > From: Shane Selman [mailto:shane at xpressdocs.com] > Sent: Wednesday, May 05, 2004 3:44 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] nrpe - ssl handshake? > > > > I'm getting a strange error. > > > When I run check_nrpe from the command line, it returns the expected values, > but when I add it to my config files. it continues to give the ssl handshake > error. > > > Am I missing something in the service configuration. Does anyone have a good > set of sample code for using NRPE? > > > Thanks > > > Shane > > > > > 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. > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri May 7 09:27:38 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 07 May 2004 09:27:38 +0200 Subject: Migration from Netsaint to NagiOS In-Reply-To: References: Message-ID: <409B3A6A.5050205@op5.se> Try www.nagios.org If it isn't there (download :: extras), it probably doesn't exist. Milind Nanal wrote: > > > I have recently migrated from Netsaint to NagiOS monitoring tool. Old > netsaint was configured with several hosts , host groups , contacts.Is there > any easy way to migration the old configuration / data to newly configured > NagiOS. > > Any tool / script / utility for easy configuration migration. Old netsaint > configuration was in a single file where new NagiOS has separate file for > each host, host group, contacts. > > Download URL is highly appreciated. > > Regards, > > Milind > > > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.armstrong at cablecom.ch Fri May 7 14:44:13 2004 From: chris.armstrong at cablecom.ch (Chris Armstrong) Date: Fri, 7 May 2004 14:44:13 +0200 Subject: build custom rpm with nagios-plugins and nagios-plugins-extras Message-ID: <20040507144413.7d1e7b3e.chris.armstrong@cablecom.ch> Hi all I'm trying to build a custom nagios-plugins rpm package for RedHat but there are some things i can't figure out. Don't tell me to use the existing RPM packages. My company won't allow it :-| I have seen, that two packages are needed. One is nagios-plugins that contains the basic plugins and one is nagios-plugins-extras that contains the custom plugins like check_snmp. I have seen, that check_snmp.c is also in the plugins directory of the nagios-plugins source and i can't find any nagios-plugins-extras tar.gz file anywhere on google or nagios.org. Questions: ------------------------------------------------- -> Does this mean that check_snmp and all of these plugins got included in to the nagios-plugins tar.gz file? -> Or where can i get the nagios-plugins-extras tar.gz file? -> What do i need to build these extra plugins? When i use the nagios-plugins.spec file that is included in the nagios-plugins source, then i get following error: + umask 022 + cd /usr/src/redhat/BUILD + cd nagios-plugins-1.3.0 + DOCDIR=/var/tmp/nagios-plugins-buildroot/usr/share/doc/nagios-plugins-1.3.0 + export DOCDIR + rm -rf /var/tmp/nagios-plugins-buildroot/usr/share/doc/nagios-plugins-1.3.0 + /bin/mkdir -p /var/tmp/nagios-plugins-buildroot/usr/share/doc/nagios-plugins-1.3.0 + cp -pr INSTALL README REQUIREMENTS COPYING ChangeLog command.cfg /var/tmp/nagios-plugins-buildroot/usr/share/doc/nagios-plugins-1.3.0 + exit 0 Processing files: nagios-plugins-extras-1.3.0-1.9 error: File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_mysql error: File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_pgsql error: File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_snmp error: File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_hpjd RPM build errors: File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_fping File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_mysql File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_pgsql File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_snmp File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_hpjd When i read the INSTALL file from the source of nagios-plugins i see that you can specify different extras by using ./configure --enable-. So i have tried to compile manually as following: ./configure --enable-check_snmp but this didn't work. I have additionally read that the enable options are documentated in the README file but couldn't find a description about this options. Can you give me some hints on this? Thanks Chris Armstrong ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From seppy at chartermi.net Fri May 7 15:06:47 2004 From: seppy at chartermi.net (Brian E. Seppanen) Date: Fri, 7 May 2004 09:06:47 -0400 (EDT) Subject: URL's Getting Eaten by Nagios 1.1 Message-ID: Hi Folks: I have nagios 1.1 on a couple of boxes and have a ping test defined in the checkcommands file that will wrap the output in a URL using urlize. Basically the URL is broken with characters being eliminated. For example we get lovely things like the following TEST :a href=https://localhost/cgi-bin/traceroute.cgi?test/a This is after removing <> from the illegal character specification in nagios.cfg. What could I possibly be missing? Brian Seppanen seppy at chartermi.net 906-475-0107 ext 1040 ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bcotta at unimedbh.com.br Fri May 7 14:59:53 2004 From: bcotta at unimedbh.com.br (bcotta at unimedbh.com.br) Date: Fri, 7 May 2004 09:59:53 -0300 Subject: Check service utilization Message-ID: <50323A86875DE74F9153476BF39E451A02922FA7@UNISERVER01> Srs, I have a doubt about services in Nagios. Can I check if service is up to 80% utilization. Can I send a alert when this happen For example I have a server with apache running, when the service reach a 80% utilization the service stop. Thanks, -- Breno Andrade Cotta bcotta at unimedbh.com.br Network Administrator Fone: +55 (31) 9977-2841 - (31) 3229-6273 ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-n0Zl8IkGad4 at public.gmane.org Fri May 7 15:29:48 2004 From: ae-n0Zl8IkGad4 at public.gmane.org (Andreas Ericsson) Date: Fri, 07 May 2004 15:29:48 +0200 Subject: check_ping & check_fping replacement without requirements Message-ID: <409B8F4C.4090200@op5.se> Hey all. I've rewritten check_fping completely. Features / Improvements; Includes the code from fping (in a modified state) instead of calling it and parsing the output. Takes care of 'Unable to parse ping output' and such. Fixes the 1 second maximum threshold value in check_fping, which was hardcoded in the fping source. Removes the ridiculous appearance of precision down to a millionth of a millisecond (0.1000000 RTA), and instead gives proper and valuable output in a sensible manner. Both check_ping and check_fping command line syntax works just fine, so it could be used to replace either one (-n and -p both denote number of packets to send). Drawbacks; Requires root privileges for raw sockets (if run setsuid it drops privileges again after obtaining the socket). This is common to all ping programs though. ToDo: Parallellize packet sending. This requires a different packet identity encoding algorithm, as well as some manner of delay so that hosts don't think they're being flooded, so I'll wait a while with this. Please send info on any and all bugs you find to ae-n0Zl8IkGad4 at public.gmane.org -- Mvh Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson-n0Zl8IkGad4 at public.gmane.org -------------- next part -------------- A non-text attachment was scrubbed... Name: check_fping.tar.gz Type: application/gzip Size: 10603 bytes Desc: not available URL: From agrajag at dragaera.net Fri May 7 15:24:24 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Fri, 07 May 2004 09:24:24 -0400 Subject: build custom rpm with nagios-plugins and nagios-plugins-extras In-Reply-To: <20040507144413.7d1e7b3e.chris.armstrong@cablecom.ch> References: <20040507144413.7d1e7b3e.chris.armstrong@cablecom.ch> Message-ID: <1083936263.4431.14.camel@pel> On Fri, 2004-05-07 at 08:44, Chris Armstrong wrote: > Hi all > > I'm trying to build a custom nagios-plugins rpm package for RedHat but there are some things i can't figure out. > Don't tell me to use the existing RPM packages. My company won't allow it :-| > > I have seen, that two packages are needed. One is nagios-plugins that contains the basic plugins and one is nagios-plugins-extras that contains the custom plugins like check_snmp. > > I have seen, that check_snmp.c is also in the plugins directory of the nagios-plugins source and i can't find any nagios-plugins-extras tar.gz file anywhere on google or nagios.org. > > Questions: > ------------------------------------------------- > -> Does this mean that check_snmp and all of these plugins got included in to the nagios-plugins tar.gz file? Yes > > -> What do i need to build these extra plugins? The reason for the extra plugins package is that these plugins have special dependencies (snmpget, fping, mysql libs, etc). So, they put them all in a special package so that people could install all the other plugins without having to worry about uncommon dependencies. If you're building your own package for only your use, I'd suggest just making one package, and leaving out the plugins you don't need. > > When i use the nagios-plugins.spec file that is included in the nagios-plugins source, then i get following error: > > + umask 022 > + cd /usr/src/redhat/BUILD > + cd nagios-plugins-1.3.0 > + DOCDIR=/var/tmp/nagios-plugins-buildroot/usr/share/doc/nagios-plugins-1.3.0 > + export DOCDIR > + rm -rf /var/tmp/nagios-plugins-buildroot/usr/share/doc/nagios-plugins-1.3.0 > + /bin/mkdir -p > /var/tmp/nagios-plugins-buildroot/usr/share/doc/nagios-plugins-1.3.0 > + cp -pr INSTALL README REQUIREMENTS COPYING ChangeLog command.cfg /var/tmp/nagios-plugins-buildroot/usr/share/doc/nagios-plugins-1.3.0 > + exit 0 > Processing files: nagios-plugins-extras-1.3.0-1.9 > error: File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_mysql > error: File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_pgsql > error: File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_snmp > error: File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_hpjd > > > RPM build errors: > File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_fping > File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_mysql > File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_pgsql > File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_snmp > File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_hpjd > > When i read the INSTALL file from the source of nagios-plugins i see that you can specify different extras by using ./configure --enable-. So i have tried to compile manually as following: ./configure --enable-check_snmp but this didn't work. > I have additionally read that the enable options are documentated in the README file but couldn't find a description about this options. > > Can you give me some hints on this? IIRC the configure for building the plugins checks for the requirements for those plugins, and doesn't build them if they're not there. So, if you want snmp, make sure net-snmp-utils is installed. For the ones you don't need, I'd recommend just removing them from your spec file. ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri May 7 15:38:50 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 07 May 2004 15:38:50 +0200 Subject: build custom rpm with nagios-plugins and nagios-plugins-extras In-Reply-To: <20040507144413.7d1e7b3e.chris.armstrong@cablecom.ch> References: <20040507144413.7d1e7b3e.chris.armstrong@cablecom.ch> Message-ID: <409B916A.5030803@op5.se> Chris Armstrong wrote: > Questions: > ------------------------------------------------- > -> Does this mean that check_snmp and all of these plugins got included in to the nagios-plugins tar.gz file? > Yes. The reason for putting them in different packages is that some require packages to be installed that aren't on all systems. check_snmp requires net-snmp (or at least snmpget) to be present, so it's not included with the 'standard' plugins. This all gets sorted by the ./configure script though, so when building from source it's not a problem. When installing from rpm, the Requires: list would get loooong. > -> Or where can i get the nagios-plugins-extras tar.gz file? > There is none. See above. > -> What do i need to build these extra plugins? > net-snmp 5.x, qstat (if you mean to monitor gameservers running quake3 engines), fping (for check_fping, although I submitted a new program for that just a couple of minutes ago) > When i use the nagios-plugins.spec file that is included in the nagios-plugins source, then i get following error: > > + umask 022 > + cd /usr/src/redhat/BUILD > + cd nagios-plugins-1.3.0 > + DOCDIR=/var/tmp/nagios-plugins-buildroot/usr/share/doc/nagios-plugins-1.3.0 > + export DOCDIR > + rm -rf /var/tmp/nagios-plugins-buildroot/usr/share/doc/nagios-plugins-1.3.0 > + /bin/mkdir -p > /var/tmp/nagios-plugins-buildroot/usr/share/doc/nagios-plugins-1.3.0 > + cp -pr INSTALL README REQUIREMENTS COPYING ChangeLog command.cfg /var/tmp/nagios-plugins-buildroot/usr/share/doc/nagios-plugins-1.3.0 > + exit 0 > Processing files: nagios-plugins-extras-1.3.0-1.9 > error: File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_mysql > error: File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_pgsql > error: File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_snmp > error: File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_hpjd > > > RPM build errors: > File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_fping > File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_mysql > File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_pgsql > File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_snmp > File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_hpjd > > When i read the INSTALL file from the source of nagios-plugins i see that you can specify different extras by using ./configure --enable-. So i have tried to compile manually as following: ./configure --enable-check_snmp but this didn't work. > I have additionally read that the enable options are documentated in the README file but couldn't find a description about this options. > > Can you give me some hints on this? > Good reading for you; REQUIREMENTS (in the nagiosplugins-1.3.0 directory) http://www.rpm.org/RPM-HOWTO (in your favorite browser)a These plugins aren't being built because you don't have the development libraries and headers for postgresql and mysql, the net-snmp package and the fping binary installed. > Thanks You're welcome. > Chris Armstrong > -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Fri May 7 16:00:46 2004 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Fri, 07 May 2004 15:00:46 +0100 Subject: Email Notification help. In-Reply-To: <4B63F5F5A4CB934FA82D5393A1D947E5FF00B4@s3mail.s3systems.com> References: <4B63F5F5A4CB934FA82D5393A1D947E5FF00B4@s3mail.s3systems.com> Message-ID: <409B968E.2070608@exponential-e.com> Robert Logbeck wrote: > I am attempting to send out email notifications through my exchange > server. The sendmail configuration, which used to work, is configured > to forward SMTP to the internal address of my mail server. I am > allowing relaying from the Linux IP address. I get no errors in the > notification log yet I never receive the mail at the exchange server. > Any thoughts? Assuming you are sending email out from Nagios using sendmail on the Linux box did you see the emails being processed in sendmail's log? That way you know Nagios is OK (or not) and if the problem is really your sendmail talking to exchange. Jim ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Fri May 7 16:07:51 2004 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Fri, 07 May 2004 15:07:51 +0100 Subject: Nagios Missing Passive Checks In-Reply-To: References: Message-ID: <409B9837.4020608@exponential-e.com> David Barnett wrote: > I am running Nagios with mostly passive services and nsca/send_nsca. I > have a service that gets triggered when an event occurs on a client > machine, and when the event happens, it passes two passive checks to > Nagios, one to turn the service to a Warning state and one to turn it to > an OK state (to trigger the event handler). It will always send in two > checks, and they will occur back to back. I have noticed that > occasionally, it misses one of the checks. Because it misses the check > in, it fails to call the event handler, which is the most important > part. I log everything I send with send_nsca, and it logs both checks. > I don?t log passive service checks, because this would result in such a > large event log. Why does this happen and what can I do to fix it? > Here are some variables in my nagios.cfg file: > > > > check_external_commands=1 > > command_check_interval=-1 > > max_concurrent_checks=0 > > service_reaper_frequency=10 > > > > Do I need to switch any of these values or is there something else I > need to do? Thanks for any help > > > > David > Have thought I saw a post regarding problems setting the command check interval to -1, IIRC the docs indicate that YMMV with this (if that is not too many TLAs ;-) ). Try searching the archives for a recent thread titled... "Passive check reception in nagios-1.2 does not scale" On the development list. Jim ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri May 7 16:10:02 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 07 May 2004 16:10:02 +0200 Subject: [Nagios-devel] new plugin interface for Nagios In-Reply-To: <8110133085.20040507173251@rbc.ru> References: <731900458.20040507142211@rbc.ru> <409B7933.8040601@op5.se> <8110133085.20040507173251@rbc.ru> Message-ID: <409B98BA.4070405@op5.se> Deomid Ryabkov wrote: > AE> Deomid Ryabkov wrote: >>> >>>well, basically I think it's just about time to add a new plugin interaction interface to Nagios. >>>pretty bold, ha? ;) >>> >>>currently we have 248 hosts monitored with 755 active checks at a 60 seconds interval. >>>(interval_length=10, normal_check_interval 6) >>> >>>being in charge of the monitoring, by now i have done all i could to optimize plugins, >>>and in fact this has helped a lot to keep the system running at a decent pace. >>>(for example, i have integrated disk checks into one plugin that uses shared snmplib >>>instead of calling snmpget, effectively elimitaing another fork) I'd like to see some of these plugins, if you don't mind. New plugins are always interesting. > > AE> That problem will still exist, unless you mean to make the code > AE> thread-safe, which would make nagios a memory-hog on large systems (a > AE> lot more hash buckets would be required for this to work). Besides, on > AE> linux-systems, fork() uses copy-on-write, so only the PTE needs be created. > > well, now it takes fork() + exec() to complete a check. and my aim is that latter exec(). > that doesn't make nagios threaded. > Are you meaning to remove the fork()? If so, how do you suspect nagios to run several checks at once? Your 755 seconds would (at best) take 400 seconds to complete without some sort of parallellization. Or are you meaning to remove the exec()? That can't be done without removing the fork() as well, and then we're back with the bloated memory hog nagios isn't today (at least not without database support and other bling-bling). > >>>so now i'm thinking of adding some kind of plugin invocation mechanism into Nagios >>>that wouldn't require starting up another program. >>>and what i am thinking of as my options are: >>> >>>1) shared library mechanism, like Apache modules. should be the fastest of all, but has its shortcomings. >>>not very flexible. > > > AE> Not a bad idea, but nagios would still have to fork() or > AE> pthread_create() to actually RUN the different checks (unless you want > AE> it to serialize checks, which is just plain dumb). > > basically, i don't mind nagios to fork (yet), but instead of running an external plugin it should... > well, that is to be decided ;) > External plugins is the foremost power of nagios. If everybody would have to write C modules (like for apache), only very few people would be competent enough to manage that, and we would take a wide step back in nagios' evolution before we managed to rewrite all the perl and sh scripts as modules to nagios (not to mention the code in nagios itself). > as of now, for every check a separate process is launched. arguments are parsed, snmp session > is created and initialized, host's filesystems are enumerated, their current state is recorded, > warning threshold value is obtained (for unix hosts). > then a match of fs data against thresholds is done with most severe condition becoming exitcode. > summary is printed and there we go, check done. > and we do this for more that 200 hosts, every minute (we are leaving the check interval out of our discussion for now). > for me, it seems obvious that this could be optimized. only if we hadn't to start all over every time. Even if you implemented the code for every check in nagios, all you'd save would be the exec() call. This at the price of stripping nagios of its most powerful feature; flexibility beyond belief. > most of the data is the same all the time, so why not to just cache it? Because you need it fresh to be valuable. This would work very nicely for stateful tcp connections, but how does one go about checking web-pages? HTTP is a stateless protocol, and I don't suspect the world to change that because someone wants to write a program that already exists and work with current standards. > i could write a check_disk_snmpd, that'd create and initialize an snmp session, cache filesystem data > and thresholds and only do a couple of get()'s upon a request arriving from nagios to freshen the data. Parsing arguments and setting threshold values are done in a blink and requires little if any CPU power. Obtaining a socket and requesting a connection is also very light on both CPU and memory. If you want to optimize something, work on things that need it. > seems pretty obvious for me indeed. > > so, what is to be done? > basically, we have to teach nagios to open a socket (or sould it be other IPC mechanism? may be a message queue? I'm still unsure) > send it a request packet and settle down waiting for a reply. In a fork()ed process, I'm sure you mean. If it's just waiting, it can't do something else, which means 10 seconds of doing nothing while a socket times out because a webserver is down, and another 10 just to determine that the server actually IS down, and not just IIS fucking up again. > the daemon on the other side could be threaded (i think i'd write mine this way), but it doesn't in fact matter. It makes a huge difference, actually. You can't make a program do two things at once without threading one way or another. > with socket we could even go as far as running this daemon on remote machine, > but the benefit of this is unclear to me. > Three reasons, all highly thought of; Load balancing, redundancy, configuration propagation. > that is it. what do you think? > I think you should study C some more. > -- > Best regards, > Deomid Ryabkov > UNIX Systems Administrator > RosBusinessConsulting | http://www.rbc.ru/ > E-mail: rojer at rbc.ru | ICQ: 8025844 -- Mvh / Best Regards Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 7 16:11:51 2004 From: marc at ena.com (Marc Powell) Date: Fri, 7 May 2004 09:11:51 -0500 Subject: Migration from Netsaint to NagiOS Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B629C@mismail2.ena.com> In the distribution contrib directory is a file named convertcfg.c. You'll need to compile it as below but it will convert from the old format to the new template format. You can then split out the definitions among different files however you like. bash-2.05a$ gcc -o convertcfg convertcfg.c bash-2.05a$ ./convertcfg --help Nagios Config File Converter Written by Ethan Galstad (nagios at nagios.org) Last Modified: 04-21-2002 Usage: ./convertcfg Valid object types include: timeperiods commands contacts contactgroups hosts hostgroups hostgroupescalationss services servicedependencies serviceescalations hostextinfo serviceextinfo Notes: This utility is designed to aide you in converting your old 'host' config file(s) to the new template-based config file style. It is also capable of converting extended host and service information definitions in your old CGI config file. Supply the name of your old 'host' config file (or your old CGI config file if you're converting extended host/service definitions) on the command line, along with the type of object you would like to produce a new config file for. Your old config file is not overwritten - new configuration data is printed to standard output, so you can redirect it wherever you like. Please note that you can only specify one type of object at a time on the command line. ________________________________ From: Milind Nanal [mailto:milindyn at rolta.com] Sent: Friday, May 07, 2004 12:19 AM To: nagios-users at lists.sourceforge.net Cc: isp-linux at isp-linux.com Subject: [Nagios-users] Migration from Netsaint to NagiOS I have recently migrated from Netsaint to NagiOS monitoring tool. Old netsaint was configured with several hosts , host groups , contacts.Is there any easy way to migration the old configuration / data to newly configured NagiOS. Any tool / script / utility for easy configuration migration. Old netsaint configuration was in a single file where new NagiOS has separate file for each host, host group, contacts. Download URL is highly appreciated. Regards, Milind ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.armstrong at cablecom.ch Fri May 7 16:15:13 2004 From: chris.armstrong at cablecom.ch (Chris Armstrong) Date: Fri, 7 May 2004 16:15:13 +0200 Subject: build custom rpm with nagios-plugins and nagios-plugins-extras In-Reply-To: <409B916A.5030803@op5.se> References: <20040507144413.7d1e7b3e.chris.armstrong@cablecom.ch> <409B916A.5030803@op5.se> Message-ID: <20040507161513.44e64419.chris.armstrong@cablecom.ch> Yes i have seen it. Thank you all for your help Chris On Fri, 07 May 2004 15:38:50 +0200 Andreas Ericsson wrote: > Chris Armstrong wrote: > > Questions: > > ------------------------------------------------- > > -> Does this mean that check_snmp and all of these plugins got included in to the nagios-plugins tar.gz file? > > > Yes. The reason for putting them in different packages is that some > require packages to be installed that aren't on all systems. check_snmp > requires net-snmp (or at least snmpget) to be present, so it's not > included with the 'standard' plugins. This all gets sorted by the > ./configure script though, so when building from source it's not a > problem. When installing from rpm, the Requires: list would get loooong. > > > -> Or where can i get the nagios-plugins-extras tar.gz file? > > > There is none. See above. > > > -> What do i need to build these extra plugins? > > > net-snmp 5.x, qstat (if you mean to monitor gameservers running quake3 > engines), fping (for check_fping, although I submitted a new program for > that just a couple of minutes ago) > > > When i use the nagios-plugins.spec file that is included in the nagios-plugins source, then i get following error: > > > > + umask 022 > > + cd /usr/src/redhat/BUILD > > + cd nagios-plugins-1.3.0 > > + DOCDIR=/var/tmp/nagios-plugins-buildroot/usr/share/doc/nagios-plugins-1.3.0 > > + export DOCDIR > > + rm -rf /var/tmp/nagios-plugins-buildroot/usr/share/doc/nagios-plugins-1.3.0 > > + /bin/mkdir -p > > /var/tmp/nagios-plugins-buildroot/usr/share/doc/nagios-plugins-1.3.0 > > + cp -pr INSTALL README REQUIREMENTS COPYING ChangeLog command.cfg /var/tmp/nagios-plugins-buildroot/usr/share/doc/nagios-plugins-1.3.0 > > + exit 0 > > Processing files: nagios-plugins-extras-1.3.0-1.9 > > error: File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_mysql > > error: File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_pgsql > > error: File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_snmp > > error: File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_hpjd > > > > > > RPM build errors: > > File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_fping > > File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_mysql > > File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_pgsql > > File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_snmp > > File not found: /var/tmp/nagios-plugins-buildroot/usr/lib/nagios/plugins/check_hpjd > > > > When i read the INSTALL file from the source of nagios-plugins i see that you can specify different extras by using ./configure --enable-. So i have tried to compile manually as following: ./configure --enable-check_snmp but this didn't work. > > I have additionally read that the enable options are documentated in the README file but couldn't find a description about this options. > > > > Can you give me some hints on this? > > > > Good reading for you; > REQUIREMENTS (in the nagiosplugins-1.3.0 directory) > http://www.rpm.org/RPM-HOWTO (in your favorite browser)a > > These plugins aren't being built because you don't have the development > libraries and headers for postgresql and mysql, the net-snmp package and > the fping binary installed. > > > > Thanks > > You're welcome. > > > Chris Armstrong > > > > -- > Andreas Ericsson > OP5 AB > +46 (0)733 709032 > andreas.ericsson at op5.se > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From seppy at chartermi.net Fri May 7 16:16:36 2004 From: seppy at chartermi.net (Brian E. Seppanen) Date: Fri, 7 May 2004 10:16:36 -0400 (EDT) Subject: URL's Getting Eaten by Nagios 1.1 In-Reply-To: References: Message-ID: On Fri, 7 May 2004, Brian E. Seppanen wrote: > Hi Folks: > > I have nagios 1.1 on a couple of boxes and have a ping test defined in the > checkcommands file that will wrap the output in a URL using urlize. > Basically the URL is broken with characters being eliminated. > > For example we get lovely things like the following > TEST :a > href=https://localhost/cgi-bin/traceroute.cgi?test/a > > This is after removing <> from the illegal character specification in > nagios.cfg. > > What could I possibly be missing? > Nevermind, my bad, the nagios.cfg likewise has an acceptable character for output macros, and that was where the problem was. It is fixed. Thanks, Brian Seppanen seppy at chartermi.net 906-475-0107 ext 1040 ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From slade at cryptoflow.net Fri May 7 16:39:38 2004 From: slade at cryptoflow.net (Slade Edmonds) Date: Fri, 07 May 2004 07:39:38 -0700 Subject: Page Cannot Be Displayed Error After Enabling CGI/Authentication Message-ID: <409B9FAA.9090606@cryptoflow.net> Hi, running Nagios 1.2 on Debian. After I enabled CGI authentication, I commonly encounter 'This Page Cannot Be Displayed' in IE and 'Document Contains No Data' in Mozilla. Prior to that there were no issues. The main Nagios interfaces shows just fine. The problem only affects links to the menu items on the left pane such as status detail, host detail, etc. Also, in IE I can right-click the links and open them in a new window and they come up just fine. I did find FAQ ID F0222 submitted by Jack Yao and adjusted my config accordingly, still resulting in the same problems. I've double-checked my configs a few times over and nothing seems out of order. Any ideas what might be going on? Thanks Slade ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 7 16:50:49 2004 From: marc at ena.com (Marc Powell) Date: Fri, 7 May 2004 09:50:49 -0500 Subject: Check service utilization Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B62A8@mismail2.ena.com> bcotta at unimedbh.com.br wrote: > Srs, > > I have a doubt about services in Nagios. Can I check if service is up > to 80% utilization. Can I send a alert when this happen For example I > have a server with apache running, when the service reach a 80% > utilization the service stop. If you can check it from the command line and can formulate the logic to determine when you've hit 80% then yes, you can create a plugin for Nagios that will work. You'll probably want to look at the Plugin Developer Guidelines and information at http://nagiosplug.sourceforge.net. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ytemizkan at inteltek.com.tr Fri May 7 16:58:18 2004 From: ytemizkan at inteltek.com.tr (YAVUZ TEMIZKAN) Date: Fri, 7 May 2004 17:58:18 +0300 Subject: Page Cannot Be Displayed Error After Enabling CGI/Authentication Message-ID: <4AD5CA2CFA654F4FA2D53E91C4FCD596892B4B@ex1-dc2> Also enable authentication on apache side 8 or your web server) and add usernames and passwords by using htpasswd command. -----Original Message----- From: Slade Edmonds [mailto:slade at cryptoflow.net] Sent: Friday, May 07, 2004 5:40 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Page Cannot Be Displayed Error After Enabling CGI/Authentication Hi, running Nagios 1.2 on Debian. After I enabled CGI authentication, I commonly encounter 'This Page Cannot Be Displayed' in IE and 'Document Contains No Data' in Mozilla. Prior to that there were no issues. The main Nagios interfaces shows just fine. The problem only affects links to the menu items on the left pane such as status detail, host detail, etc. Also, in IE I can right-click the links and open them in a new window and they come up just fine. I did find FAQ ID F0222 submitted by Jack Yao and adjusted my config accordingly, still resulting in the same problems. I've double-checked my configs a few times over and nothing seems out of order. Any ideas what might be going on? Thanks Slade ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Anthony at PromoHut.com Fri May 7 16:56:45 2004 From: Anthony at PromoHut.com (Anthony Lieuallen) Date: Fri, 7 May 2004 10:56:45 -0400 Subject: check_tcp works from CLI, not in nagios Message-ID: <75DEB1F7BFA6D711922A0020781E86F127C573@EXCHANGE> Excerpts from services.cfg, checkcommands.cfg, the CLI, and the nagios page below. I have numerous services (check_ dns, tcp, smtp, ping) all set up and working, except this particular tcp (_telnet) check fails, but works from the command line. I'm stumped. define service { host_name XXXHOSTNAMEHEREXXX service_description telnet check_command check_telnet max_check_attempts 4 normal_check_interval 12 retry_check_interval 1 check_period always notification_interval 0 notification_period always notification_options w,u,c,r contact_groups admin } # 'check_telnet' command definition define command{ command_name check_telnet command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 23 } t-bone at 602744 [/usr/local/nagios/etc]# ../libexec/check_tcp -H XXXHOSTNAMEHEREXXX -p 23 TCP OK - 0.031 second response time on port 23|time= 0.031 Current Status: CRITICAL (Has been acknowledged) Status Information: Connection refused by host Current Attempt: 4/4 State Type: HARD Last Check Type: ACTIVE ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From slade at cryptoflow.net Fri May 7 17:08:54 2004 From: slade at cryptoflow.net (Slade Edmonds) Date: Fri, 07 May 2004 08:08:54 -0700 Subject: Page Cannot Be Displayed Error After Enabling CGI/Authentication In-Reply-To: <4AD5CA2CFA654F4FA2D53E91C4FCD596892B4B@ex1-dc2> References: <4AD5CA2CFA654F4FA2D53E91C4FCD596892B4B@ex1-dc2> Message-ID: <409BA686.6080909@cryptoflow.net> YAVUZ TEMIZKAN wrote: >Also enable authentication on apache side 8 or your web server) and add >usernames and passwords by using htpasswd command. > > Hi, yes. Authentication is working. I can log in with the users I created. Its after I log in the problems surface. Slade ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 7 17:27:09 2004 From: marc at ena.com (Marc Powell) Date: Fri, 7 May 2004 10:27:09 -0500 Subject: check_tcp works from CLI, not in nagios Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B62AC@mismail2.ena.com> Anthony Lieuallen wrote: > Excerpts from services.cfg, checkcommands.cfg, the CLI, and the > nagios page below. > I have numerous services (check_ dns, tcp, smtp, ping) all set up and > working, except this particular tcp (_telnet) check fails, but works > from the command line. > I'm stumped. > > define service { > host_name XXXHOSTNAMEHEREXXX > service_description telnet > check_command check_telnet > max_check_attempts 4 > normal_check_interval 12 > retry_check_interval 1 > check_period always > notification_interval 0 > notification_period always > notification_options w,u,c,r > contact_groups admin > } > > # 'check_telnet' command definition > define command{ > command_name check_telnet > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 23 > } > > t-bone at 602744 [/usr/local/nagios/etc]# ../libexec/check_tcp -H > XXXHOSTNAMEHEREXXX -p 23 > TCP OK - 0.031 second response time on port 23|time= 0.031 > > Current Status: CRITICAL (Has been acknowledged) > Status Information: Connection refused by host Current Attempt: 4/4 > State Type: HARD Last Check Type: ACTIVE You do know that Nagios isn't using the host_name but rather the host_address as it appears in the host definition when executing the service check, right? Have you tried using that and running check_tcp as the nagios user as opposed to root? It seems to me that there is a discrepency between those two addresses and the host_address doesn't have anything listening on port 23. -- MArc ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 7 18:05:44 2004 From: misaochankun at speakeasy.net (Misao) Date: Fri, 7 May 2004 11:05:44 -0500 Subject: cannot display Logos In-Reply-To: References: Message-ID: I also can not get Nagios to show any logos. I even tried adding the definitions supplied below and I still only see '?' for everything. Date: Thu, 06 May 2004 14:54:55 -0700 From: Dave Barnum To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] cannot display Logos Kiran Koduru wrote: > Greetings!! > > I have the cgi.cfg with > > physical_html_path=/usr/share/nagios > > and I have the images/logos in that directory, but still I am not > seeing the logos on the nagios. > > Here is the sample EXTENDED HOST INFORMATION. > > hostextinfo[tyler]=http://www.sun.com;sunlogo.gif;sunlogo.gd2;sunlogo.gd2;So laris > 8.0;50,2000;0.5,0.5,0.5 > > I have the followinf config in httpd.conf for the virtualhost > ---------------------------------------------------------- > > AllowOverride AuthConfig > order allow,deny > allow from all > Options ExecCGI > > Alias /nagios/ /usr/share/nagios/ > > order allow,deny > allow from all > > ----------------------------------------------------------- > > it was working with netsaint, but not able to get the logos working > after the migration to nagios. > > What else should I check for getting the logos working. > > Perhaps you should try modeling your hostextinfo.cfg after this.. define hostextinfo{ host_name hostname icon_image win40.jpg icon_image_alt Win 2K vrml_image win40.png statusmap_image win40.gd2 } > > Please help. > > > > Thanks, > > Kiran. > ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From slade at cryptoflow.net Fri May 7 18:26:55 2004 From: slade at cryptoflow.net (Slade Edmonds) Date: Fri, 07 May 2004 09:26:55 -0700 Subject: check_tcp works from CLI, not in nagios In-Reply-To: <75DEB1F7BFA6D711922A0020781E86F127C573@EXCHANGE> References: <75DEB1F7BFA6D711922A0020781E86F127C573@EXCHANGE> Message-ID: <409BB8CF.5090801@cryptoflow.net> Anthony Lieuallen wrote: >Excerpts from services.cfg, checkcommands.cfg, the CLI, and the nagios page >below. >I have numerous services (check_ dns, tcp, smtp, ping) all set up and >working, except this particular tcp (_telnet) check fails, but works from >the command line. >I'm stumped. > >define service { > host_name XXXHOSTNAMEHEREXXX > service_description telnet > check_command check_telnet > max_check_attempts 4 > normal_check_interval 12 > retry_check_interval 1 > check_period always > notification_interval 0 > notification_period always > notification_options w,u,c,r > contact_groups admin >} > ># 'check_telnet' command definition >define command{ > command_name check_telnet > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 23 > } > >t-bone at 602744 [/usr/local/nagios/etc]# ../libexec/check_tcp -H >XXXHOSTNAMEHEREXXX -p 23 >TCP OK - 0.031 second response time on port 23|time= 0.031 > >Current Status: CRITICAL (Has been acknowledged) >Status Information: Connection refused by host >Current Attempt: 4/4 >State Type: HARD >Last Check Type: ACTIVE > > I assume you have checked to be certain the address in hosts.cfg for that particular host is entered correctly? Is running tcpdump on your destination host (or connected firewall interface) an option? At least you could verify whether or not it is actually checking the correct host that way, even if your host definition seems to be in order. I can't imagine, though, that it would be checking the wrong host if your host definition is accurate. Slade ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From milindyn at rolta.com Fri May 7 19:05:06 2004 From: milindyn at rolta.com (Milind Nanal) Date: Fri, 7 May 2004 22:35:06 +0530 Subject: Nagat admin tool problem Message-ID: List, Anybody configured Nagat web admin tool for NagiOS. I am trying to setup the same on Suse 8.2 & getting following error. Any help is most welcome.. Importing configuration files: Processing file : /etc/nagios/nagios.cfg.. Warning: fopen(NAGIOS_ETC/nagatcfg.dat) [function.fopen]: failed to create stream: No such file or directory in /usr/share/nagat/plugin_default.inc on line 98 Warning: fwrite(): supplied argument is not a valid stream resource in /usr/share/nagat/plugin_default.inc on line 99 Warning: fclose(): supplied argument is not a valid stream resource in /usr/share/nagat/plugin_default.inc on line 100 ok! Regards, Milind ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nick.Platt at myflorida.com Fri May 7 19:08:14 2004 From: Nick.Platt at myflorida.com (Platt, Nicholas) Date: Fri, 7 May 2004 13:08:14 -0400 Subject: Cisco routers and Nagios Message-ID: <2FDA6C38B2BFD4119D2400D0B784BE6F06FC06F9@stoexchange.state.fl.us> Hello everyone: I've gotten to the point where I have all my active checks and dependencies setup for the entire infrastructure. My question relates to passive checks. Can Nagios be setup to accept traps from routers for such things as interface down, interface warning congestion, errors, etc...? I've been reading on passive checks and the only thing I can find is that nsca is the product to use to receive passive checks. Obviously a router can't run the nsca client side. Any guidance would be appreciated. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From Nick.Platt at myflorida.com Fri May 7 19:11:27 2004 From: Nick.Platt at myflorida.com (Platt, Nicholas) Date: Fri, 7 May 2004 13:11:27 -0400 Subject: Cisco routers and Nagios Message-ID: <2FDA6C38B2BFD4119D2400D0B784BE6F06FC06FA@stoexchange.state.fl.us> Hello everyone again: http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html Sorry to bother you but I did find the documentation on receiving traps right after I had sent the original e-mail to the forum. Would this be the way to setup traps from my routers and would it accomplish what stated below? See the URL. Thanks -----Original Message----- From: Platt, Nicholas Sent: Friday, May 07, 2004 1:08 PM To: 'nagios-users at lists.sourceforge.net' Subject: Cisco routers and Nagios Hello everyone: I've gotten to the point where I have all my active checks and dependencies setup for the entire infrastructure. My question relates to passive checks. Can Nagios be setup to accept traps from routers for such things as interface down, interface warning congestion, errors, etc...? I've been reading on passive checks and the only thing I can find is that nsca is the product to use to receive passive checks. Obviously a router can't run the nsca client side. Any guidance would be appreciated. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From gramajo at saman.com.uy Fri May 7 20:12:58 2004 From: gramajo at saman.com.uy (Gramajo, Gabriel) Date: Fri, 7 May 2004 15:12:58 -0300 Subject: RV: SAME PROBLEM !!! check_tcp works from CLI, not in nagios Message-ID: <94658F4F37CF774C85E0FD732BD8AC61C6CCCA@samannt.saman.com.uy> SAMAN Casa Central Rambla Dr. Baltasar Brum 2772 11800 Montevideo, Uruguay Tel: (+598-2) 208 1421* Fax: (+598-2) 203 4087 Web: www.saman.com.uy I?ve the same problem. And nagios apparently seems to be scheduling check commands but don?t do anything at all. What could be going wrong ? A/P Gabriel Gramajo SAMAN Computaci?n Montevideo - Uruguay Dir.: Rbla. Baltasar Brum 2772 Tel.: 2081421 / 232 E-Mail: gramajo at saman.com.uy "Es propio de hombres de cabezas medianas embestir contra todo aquello que no les cabe en la cabeza." - Antonio Machado -----Mensaje original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] En nombre de Marc Powell Enviado el: Viernes, 07 de Mayo de 2004 12:27 p.m. Para: Anthony Lieuallen; nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] check_tcp works from CLI, not in nagios Anthony Lieuallen wrote: > Excerpts from services.cfg, checkcommands.cfg, the CLI, and the nagios > page below. I have numerous services (check_ dns, tcp, smtp, ping) all > set up and working, except this particular tcp (_telnet) check fails, > but works from the command line. > I'm stumped. > > define service { > host_name XXXHOSTNAMEHEREXXX > service_description telnet > check_command check_telnet > max_check_attempts 4 > normal_check_interval 12 > retry_check_interval 1 > check_period always > notification_interval 0 > notification_period always > notification_options w,u,c,r > contact_groups admin > } > > # 'check_telnet' command definition > define command{ > command_name check_telnet > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 23 > } > > t-bone at 602744 [/usr/local/nagios/etc]# ../libexec/check_tcp -H > XXXHOSTNAMEHEREXXX -p 23 > TCP OK - 0.031 second response time on port 23|time= 0.031 > > Current Status: CRITICAL (Has been acknowledged) > Status Information: Connection refused by host Current Attempt: 4/4 > State Type: HARD Last Check Type: ACTIVE You do know that Nagios isn't using the host_name but rather the host_address as it appears in the host definition when executing the service check, right? Have you tried using that and running check_tcp as the nagios user as opposed to root? It seems to me that there is a discrepency between those two addresses and the host_address doesn't have anything listening on port 23. -- MArc ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=dnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 mysck.com Fri May 7 20:39:43 2004 From: jstotler at mysck.com (John Stotler) Date: Fri, 07 May 2004 14:39:43 -0400 Subject: autologin? Message-ID: <1083955183.3326.18.camel@jstotler.fastinc.com> I've enabled authentication on my Nagios installation to allow all the various things that such behavior enables. Nagios, in my environment, will be run by the helpdesk staff. I already have a php system which authenticates each of these individual users, and I need to add a link to nagios from within the helpdesk application that will automatically log them in to Nagios. If this were any of several other authentication types, I'd have no problem scripting this, but I've not had to do such things with htaccess/BasicAuth. Any ideas out there? thanks, John ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Anthony at PromoHut.com Fri May 7 20:52:45 2004 From: Anthony at PromoHut.com (Anthony Lieuallen) Date: Fri, 7 May 2004 14:52:45 -0400 Subject: autologin? Message-ID: <75DEB1F7BFA6D711922A0020781E86F127C579@EXCHANGE> insecure, but if you are on a local lan it's okay. standard http authentication method is: http://user:password at www.hostname.com/ -----Original Message----- From: John Stotler [mailto:jstotler at mysck.com] Sent: Friday, May 07, 2004 2:40 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] autologin? I've enabled authentication on my Nagios installation to allow all the various things that such behavior enables. Nagios, in my environment, will be run by the helpdesk staff. I already have a php system which authenticates each of these individual users, and I need to add a link to nagios from within the helpdesk application that will automatically log them in to Nagios. If this were any of several other authentication types, I'd have no problem scripting this, but I've not had to do such things with htaccess/BasicAuth. Any ideas out there? thanks, John ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Anthony at PromoHut.com Fri May 7 21:10:53 2004 From: Anthony at PromoHut.com (Anthony Lieuallen) Date: Fri, 7 May 2004 15:10:53 -0400 Subject: check_tcp works from CLI, not in nagios Message-ID: <75DEB1F7BFA6D711922A0020781E86F127C57A@EXCHANGE> >From: Marc Powell [mailto:marc at ena.com] >Sent: Friday, May 07, 2004 11:27 AM >To: Anthony Lieuallen; nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] check_tcp works from CLI, not in nagios >Anthony Lieuallen wrote: >> t-bone at 602744 [/usr/local/nagios/etc]# ../libexec/check_tcp -H >> XXXHOSTNAMEHEREXXX -p 23 >> TCP OK - 0.031 second response time on port 23|time= 0.031 >> >> Current Status: CRITICAL (Has been acknowledged) >> Status Information: Connection refused by host Current Attempt: 4/4 >> State Type: HARD Last Check Type: ACTIVE >You do know that Nagios isn't using the host_name but rather the >host_address as it appears in the host definition when executing the >service check, right? Have you tried using that and running check_tcp as >the nagios user as opposed to root? It seems to me that there is a >discrepency between those two addresses and the host_address doesn't >have anything listening on port 23. Yes. IP hidden but: t-bone at 602744 [/usr/local/nagios/libexec]# sudo -u nagios ./check_tcp -H xx.xxx.xxx.xxx -p 23 TCP OK - 0.030 second response time on port 23|time= 0.030 And: >From: Slade Edmonds [mailto:slade at cryptoflow.net] >Sent: Friday, May 07, 2004 12:27 PM >To: Anthony Lieuallen >Cc: 'nagios-users at lists.sourceforge.net' >Subject: Re: [Nagios-users] check_tcp works from CLI, not in nagios >I assume you have checked to be certain the address in hosts.cfg for >that particular host is entered correctly? Is running tcpdump on your >destination host (or connected firewall interface) an option? At least >you could verify whether or not it is actually checking the correct host >that way, even if your host definition seems to be in order. I can't >imagine, though, that it would be checking the wrong host if your host >definition is accurate. Nagios can ping, and notes ping is up, for that host. But cannot check_telnet. This is answering fine: define service { host_name XXXHOSTNAMEHEREXXX service_description cisco check_command check_ping!100.0:20%!500.0:60% max_check_attempts 4 normal_check_interval 12 retry_check_interval 1 check_period always notification_interval 0 notification_period always notification_options w,u,c,r contact_groups admin } ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 mysck.com Fri May 7 21:14:08 2004 From: jstotler at mysck.com (John Stotler) Date: Fri, 07 May 2004 15:14:08 -0400 Subject: autologin? In-Reply-To: References: Message-ID: <1083957248.3326.21.camel@jstotler.fastinc.com> Well, then you must be fortunate enough to be working in a business that doesn't use IE. It works perfectly in Mozilla, but it looks like rather than fix a security bug in IE, MS decided to pull that functionality entirely. Thanks, tho. On Fri, 2004-05-07 at 15:06, Jordan Medlen wrote: > The easiest way that I can think of to do this is to pass a username and > password in the URL... > > http://$uname:$passwd at nagios.yourdomain.com/nagios > > This works for our setup. > > Jordan Medlen > Senior Network Engineer/Architect > Sago Networks > http://www.sagonet.com > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of John Stotler > Sent: Friday, May 07, 2004 2:40 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] autologin? > > > I've enabled authentication on my Nagios installation to allow all the > various things that such behavior enables. > > Nagios, in my environment, will be run by the helpdesk staff. I already > have a php system which authenticates each of these individual users, > and I need to add a link to nagios from within the helpdesk application > that will automatically log them in to Nagios. > > If this were any of several other authentication types, I'd have no > problem scripting this, but I've not had to do such things with > htaccess/BasicAuth. > > Any ideas out there? > > > thanks, > John > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null John Stotler Smart Commercial Kitchen (SCK) a Food Automation-Service Techniques, Inc. company Tel: 203-380-3459 Toll free 866-840-4271 Visit us at www.mysck.com ************************************************************** The Information Contained In This E-Mail Message Is Privileged And Confidential And Is Intended Only For The Use Of The Individual Or Entity To Whom It Is Addressed. If The Reader Of This Message Is Not The Intended Recipient, You Are Hereby Notified That Any Dissemination, Distribution, Or Copying Of This Communication Is Strictly Prohibited. If You Have Received This Communication In Error, Please Immediately Notify The Sender And Delete The Original Message Along With Any Attachments. ************************************************************** ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwhuff at charter.net Sat May 8 00:26:34 2004 From: rwhuff at charter.net (Ron Huff) Date: Fri, 07 May 2004 15:26:34 -0700 Subject: Chain-hash-patch and 1.2 In-Reply-To: <94658F4F37CF774C85E0FD732BD8AC61C6CCCA@samannt.saman.com.uy> References: <94658F4F37CF774C85E0FD732BD8AC61C6CCCA@samannt.saman.com.uy> Message-ID: <409C0D1A.5080703@charter.net> I applied the subject patch to nagios -1.2 (after a little fiddling). The resultant build spews a few scary warnings, but in fact the code just-works...and service checks DO run quite a bit faster...or, I should say the code that nagios executes in order to build the service list and execute those calls runs a lot faster... However, my new 'stable state' has ~180 nagios-spawned processes running all the time...!!...I don't quite get-it...these processes are always dying off and new ones being spawned...but why so frequently?!? Before applying the patch, I would see 1-6 nagios processes running once a startup had settled down...when checktime rolled around there might be 20-30 processes, for a short time... Currently I have no crit's; my services (3-4 per device; 1550 devices) run every are set to check every 15 minutes... Again...nagios seems to be functioning well!!...I just don't understand what I'm seeing...and it worries me [:-} Any comments...?!? Ron Huff/UCD ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From KMueller at netsuite.com Sat May 8 00:44:23 2004 From: KMueller at netsuite.com (Mueller, Karl) Date: Fri, 7 May 2004 15:44:23 -0700 Subject: Chain-hash-patch and 1.2 Message-ID: <3A83D9BECDDF58468F068F6CA1C36AB957C37F@corpmail.corp.netledger.com> Ron, Since you're running "bleeding edge" Nagios stuff already with your patch, why don't you just run 2.0 CVS? We're running it here in production Karl -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ron Huff Sent: Friday, May 07, 2004 3:27 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Chain-hash-patch and 1.2 I applied the subject patch to nagios -1.2 (after a little fiddling). The resultant build spews a few scary warnings, but in fact the code just-works...and service checks DO run quite a bit faster...or, I should say the code that nagios executes in order to build the service list and execute those calls runs a lot faster... However, my new 'stable state' has ~180 nagios-spawned processes running all the time...!!...I don't quite get-it...these processes are always dying off and new ones being spawned...but why so frequently?!? Before applying the patch, I would see 1-6 nagios processes running once a startup had settled down...when checktime rolled around there might be 20-30 processes, for a short time... Currently I have no crit's; my services (3-4 per device; 1550 devices) run every are set to check every 15 minutes... Again...nagios seems to be functioning well!!...I just don't understand what I'm seeing...and it worries me [:-} Any comments...?!? Ron Huff/UCD ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave at leaplab.com Sat May 8 00:49:31 2004 From: dave at leaplab.com (Dave Barnum) Date: Fri, 07 May 2004 15:49:31 -0700 Subject: dependacy formatting question In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F1B629A@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F1B629A@mismail2.ena.com> Message-ID: <409C127B.4020301@leaplab.com> An HTML attachment was scrubbed... URL: From karl-ZSqfqAwTGpIytDrLOV7HaA at public.gmane.org Sat May 8 01:08:16 2004 From: karl-ZSqfqAwTGpIytDrLOV7HaA at public.gmane.org (Karl DeBisschop) Date: Fri, 7 May 2004 19:08:16 -0400 Subject: [Nagios-users] check_ping & check_fping replacement without requirements In-Reply-To: <409B8F4C.4090200-n0Zl8IkGad4@public.gmane.org> References: <409B8F4C.4090200@op5.se> Message-ID: <20040507190816.4cc11473.karl@debisschop.net> On Fri, 07 May 2004 15:29:48 +0200 Andreas Ericsson wrote: > Hey all. > > I've rewritten check_fping completely. > Features / Improvements; > Includes the code from fping (in a modified state) instead of calling > it and parsing the output. > Takes care of 'Unable to parse ping output' and such. > Fixes the 1 second maximum threshold value in check_fping, which was > hardcoded in the fping source. > Removes the ridiculous appearance of precision down to a millionth of > a millisecond (0.1000000 RTA), and instead gives proper and valuable > output in a sensible manner. > Both check_ping and check_fping command line syntax works just fine, > so it could be used to replace either one (-n and -p both denote > number of packets to send). > > Drawbacks; > Requires root privileges for raw sockets (if run setsuid it drops > privileges again after obtaining the socket). This is common to all > ping programs though. > > ToDo: > Parallellize packet sending. This requires a different packet identity > > encoding algorithm, as well as some manner of delay so that hosts > don't think they're being flooded, so I'll wait a while with this. > > Please send info on any and all bugs you find to ae-n0Zl8IkGad4 at public.gmane.org I haven't looked at the implementation yet, but it is exactly the direction we were hoping to go - would you mind if we included it as check_icmp in the core plugins? Plugin team - how do you all feel about this? -- Karl ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagiosplug-devel mailing list Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nick.Platt at myflorida.com Sat May 8 01:22:37 2004 From: Nick.Platt at myflorida.com (Platt, Nicholas) Date: Fri, 7 May 2004 19:22:37 -0400 Subject: Cisco router SNMP TRAPs - snmptrapd script verification Message-ID: <2FDA6C38B2BFD4119D2400D0B784BE6F06FC0770@stoexchange.state.fl.us> Hello: Can anyone look over my scripts in the word attachment and tell why the "submit_check_result" script is not passing the information to Nagios. It could be because "handle-cisco-traps" script is not passing the trap information to "submit_check_result" script. I see the traps showing up on the iptables firewall as allowed and the sniffer verifies it as well. I've gone to the extent to documenting all scripts involved in this process and I was wondering if anyone can help me that has more experience with snmptrapd. I'm fairly new at this. I want to be able receive traps from our core and cpe routers so it can set off alarms for various types of traps. Maybe you can point to more documentation. Anything in red is what changes I made and on the submit_check_results, I placed a statement to output the trap information to a log file just for a test. The log file never gets created because I fee that the script "submit_check_result" never gets executed. Included in the attachment is also the sniffer capture. Any help will greatly be appreciated. Thanks you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: snmptrad scripts.doc Type: application/msword Size: 35840 bytes Desc: not available URL: From jnichols at pbp.net Sat May 8 01:35:53 2004 From: jnichols at pbp.net (Jonathan Nichols) Date: Fri, 07 May 2004 16:35:53 -0700 Subject: Change "default" page? Message-ID: <409C1D59.1010505@pbp.net> Hi! How easy is it to change the default page to the "Status Overview" page? I'd like to have that be the very first page to come up. Also, is it possible to arrange stuff bu their hostgroup in the "Service Detail" page? If I change the name of a host from bob.com to www.bob.com, it puts www.bob.com at the very bottom. It'd be neat to have it let me arrange them by their hostgroups..ie: bob.com: www.bob.com - HTTP www.bob.com - PING mail.bob.com - SMTP mail.bob.com - PING cow.com: www.cow.com - HTTP www.cow.com - PING ... you get the idea.. :) Thanks! ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat May 8 01:46:53 2004 From: steve.atwal at ubc.ca (Atwal, Steve) Date: Fri, 7 May 2004 16:46:53 -0700 Subject: Simple Instructions for Installing NRPE & Plugins for Remote Serv ers to be Monitored Message-ID: <943B458A6A6E0540AD7D80D78DE371040367E314@exchange3.ubc.ca> Anyone know where to find simple, easy instructions for installing the NRPE+Plugins for monitoring remote servers? Have everything setup on the Nagios server, but need to install the client side tools. These are Debian-based systems, and I've seen some posts about Debian packages for NAGIOS-NRPE-SERVER: I managed to find and install the Debian package for NAGIOS-PLUGINS, but can't seem to find an APT Repository that has the NAGIOS-NRPE-SERVER package - so if anyone is running this on Debian can you send exact APT repository to use? Cheers Steve ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From slade at cryptoflow.net Sun May 9 23:47:13 2004 From: slade at cryptoflow.net (Slade Edmonds) Date: Sun, 09 May 2004 14:47:13 -0700 Subject: Page Cannot Be Displayed Error After Enabling CGI/Authentication (Problem Solved -- Cisco IDS to Blame) In-Reply-To: <409B9FAA.9090606@cryptoflow.net> References: <409B9FAA.9090606@cryptoflow.net> Message-ID: <409EA6E1.6060501@cryptoflow.net> Slade Edmonds wrote: > Hi, running Nagios 1.2 on Debian. After I enabled CGI authentication, > I commonly encounter 'This Page Cannot Be Displayed' in IE and > 'Document Contains No Data' in Mozilla. Prior to that there were no > issues. The main Nagios interfaces shows just fine. The problem only > affects links to the menu items on the left pane such as status > detail, host detail, etc. Also, in IE I can right-click the links and > open them in a new window and they come up just fine. I did find FAQ > ID F0222 submitted by Jack Yao and adjusted my config accordingly, > still resulting in the same problems. I've double-checked my configs > a few times over and nothing seems out of order. Any ideas what might > be going on? > Thanks > > Slade > Hello, I was able to figure out what was causing the failure. If you are running your Nagios box behind a Cisco running IOS/ firewall feature set and you have enabled Intrusion Detection in that feature set, you will possibly run in to the same behavior. There's an audit rule numbered 5055 in IOS 12.3 called HTTP_BASIC_AUTH_OVFLOW_SIG. I happened to check my Cisco logs (they're sent to a syslog daemon) and found the following entry: May 9 17:16:18 hostname.blah.net/hostname.blah.net 35834: 3w3d: %IDS-4-HTTP_BASIC_AUTH_OVFLOW_SIG: Sig:5055:HTTP Basic Authentication Overflow - from source.ip.add.ress to destination.ip.add.ress I disabled this audit rule to solve the problems described in the original mailing. The IOS config looks like this: ip inspect name ncinspect ftp timeout 60 ip audit info action alarm drop reset ip audit attack action alarm drop reset ip audit notify log ip audit po max-events 100 ip audit signature 2000 disable ip audit signature 5055 disable <----- disable HTTP_BASIC_AUTH_OVFLOW_SIG -----> ip audit name AUDIT.1 info list 99 action alarm drop reset ip audit name AUDIT.1 attack list 98 action alarm drop reset The Apache running is version 1.3.29. Cheers, Slade ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 netspace.net.au Mon May 10 03:40:31 2004 From: scott at netspace.net.au (Scott) Date: Mon, 10 May 2004 11:40:31 +1000 Subject: Change "default" page? In-Reply-To: <409C1D59.1010505@pbp.net> References: <409C1D59.1010505@pbp.net> Message-ID: <05EDD4BA-A223-11D8-8D7F-000A9582EEFA@netspace.net.au> I suppose the easy way would be to set apache or whatever web server you are using to look at a different default page and then set that page up to be a redirect to the page you are actually looking for.. eg set your DirectoryIndex to default in your httpd.conf (This is for apache) DirectoryIndex default.html.html content of default.html

Redirecting

Hope this makes sense. > Hi! > > How easy is it to change the default page to the "Status Overview" > page? I'd like to have that be the very first page to come up. > > Also, is it possible to arrange stuff bu their hostgroup in the > "Service Detail" page? > > If I change the name of a host from bob.com to www.bob.com, it puts > www.bob.com at the very bottom. It'd be neat to have it let me arrange > them by their hostgroups..ie: > > bob.com: > www.bob.com - HTTP > www.bob.com - PING > mail.bob.com - SMTP > mail.bob.com - PING > > cow.com: > www.cow.com - HTTP > www.cow.com - PING > > > ... you get the idea.. :) > > Thanks! > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 netspace.net.au Mon May 10 03:47:37 2004 From: scott at netspace.net.au (Scott) Date: Mon, 10 May 2004 11:47:37 +1000 Subject: autologin? In-Reply-To: <1083955183.3326.18.camel@jstotler.fastinc.com> References: <1083955183.3326.18.camel@jstotler.fastinc.com> Message-ID: <03EB17E6-A224-11D8-8D7F-000A9582EEFA@netspace.net.au> The other option which is what I use is to set guest up as low level access with no option to allow options at all.. basically read only and then give the username guest/guest to my helpdesk staff. > > I've enabled authentication on my Nagios installation to allow all the > various things that such behavior enables. > > Nagios, in my environment, will be run by the helpdesk staff. I already > have a php system which authenticates each of these individual users, > and I need to add a link to nagios from within the helpdesk application > that will automatically log them in to Nagios. > > If this were any of several other authentication types, I'd have no > problem scripting this, but I've not had to do such things with > htaccess/BasicAuth. > > Any ideas out there? > > > thanks, > John > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swati220781 at hotmail.com Mon May 10 10:55:26 2004 From: swati220781 at hotmail.com (Swati Srivastava) Date: Mon, 10 May 2004 14:25:26 +0530 Subject: (no subject) Message-ID: I'm trying to install and configure Nagios remotely through SSH on red hat Linux,enterprise edition 3. i'm followinf the documentation given at nagios.org Uptil now, i've installed nagios, plugins, Boutell's gd librarry, apache, jpeg,..etc. on requesting for homepage of Nagios, i.e. on typing the IP Addr/Nagios/ i'm getting 403 Forbidden You don't have permission to access /nagios/ on this server. Please help! Thanks in advance _________________________________________________________________ Post Classifieds on MSN classifieds. http://go.msnserver.com/IN/44045.asp Buy and Sell on MSN Classifieds. ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon May 10 11:06:34 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 10 May 2004 11:06:34 +0200 Subject: (no subject) In-Reply-To: References: Message-ID: <409F461A.5030907@op5.se> Swati Srivastava wrote: > on requesting for homepage of Nagios, i.e. on typing the IP Addr/Nagios/ > i'm getting 403 Forbidden You don't have permission to access /nagios/ > on this server. > This is due to misconfiguration of the Apache webserver, or possibly of faulty permissions on the directories actually containing the files. I suggest you turn to www.apache.org for help on how to make the web-server do as what you want. > Please help! > Thanks in advance You're welcome. -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 10 11:20:06 2004 From: pamela at rak.bb.euroweb.sk (jan gregor) Date: Mon, 10 May 2004 11:20:06 +0200 Subject: Cisco router SNMP TRAPs - snmptrapd script verification Message-ID: <20040510112006.A15281@rak.bb.euroweb.sk> > > Can anyone look over my scripts in the word attachment and tell why the Do not post to list in proprietary format and expect any much help. Best regards Jan Gregor ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maca02 at atlas.cz Mon May 10 13:37:54 2004 From: maca02 at atlas.cz (=?ISO-8859-2?Q?Tom=E1=B9_Macek?=) Date: Mon, 10 May 2004 13:37:54 +0200 (CEST) Subject: host notification problems? Message-ID: Hi, I have this configuration in my nagios 1.2: [jev]=Jev;10.111.1.3;RORjev;check-host-alive;5;60;24x7;1;1;1; service [jev]=PING2;0;24x7;3;5;1;ORINOCO;600;24x7;0;1;0;;check_ping_far I disconnected the radio and nagios send a mail only for the service alert, no alert saying, that host is $ I was trying to find similar problems in list archive, but no similar problems found. Any help appreciated ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peter at mcalpinecomputing.net Mon May 10 14:42:16 2004 From: peter at mcalpinecomputing.net (Peter McAlpine) Date: Mon, 10 May 2004 08:42:16 -0400 Subject: Trouble starting nagios In-Reply-To: <000101c424d8$8c748980$0300000a@Frodo> References: <000101c424d8$8c748980$0300000a@Frodo> Message-ID: <20040510124216.GA17159@smtp> For some rediculous reason the package maintainer did not decide to build the pgsql and mysql packages with XOD_TEMPLATE defined, and updated packages haven't been uploaded. I've posted a working version of the .deb @: http://www.mcalpinecomputing.net/deb/nagios-mysql_1.2-3.1_i386.deb This is bug #235139 @ bugs.debian.org http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=235139 -Peter On Sun, Apr 18, 2004 at 02:03:10AM +0200, Frode Lillerud wrote: > Link: File-List > > Hi, I've installed the nagios-mysql package on a debian linux system. > > > > I've gone through all the config files in /etc/nagios, and read through > the documentation on the nagios site. > > > > When I run `nagios -v /etc/nagios/nagios.cfg' I get 5 errors. > > It complains about there being no services, hosts, host groups, contacts > or contac groups defined. I've set up the different .cfg files, and I > think they should be pretty much correct. To me it seems like the > `cfg_file=/etc/nagios/contactgroups.cfg' etc lines in nagios.cfg are not > parsed. I've tried to a some define {...}-blocks in nagios.cfg, but that > results in a "Error in configuration file", but at least I know nagios is > parsing the correct nagios.cfg file. I have also tried to chmod 777 *.cfg, > but no difference. > > > > No log files are written, so there is not much info to work with. > > > > Is there any way to find out which part of the nagios.cfg file that > contains the problem? Why are the definitions in the other .cfg files not > read? > > > > Thanks > > Frode, Norway -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From marc at ena.com Mon May 10 16:27:12 2004 From: marc at ena.com (Marc Powell) Date: Mon, 10 May 2004 09:27:12 -0500 Subject: Change "default" page? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B62B8@mismail2.ena.com> It actually seems easier to me to just edit index.html and change the second to point to the page you want -- To show the Status Summary as the default -- To show Service Problems as the default -- -- Marc Scott wrote: > I suppose the easy way would be to set apache or whatever web server > you are using to look at a different default page and then set that > page up to be a redirect to the page you are actually looking for.. > > eg > > set your DirectoryIndex to default in your httpd.conf (This is for > apache) > > DirectoryIndex default.html.html > > content of default.html > >
> 
> Redirecting 
> 
> > Hope this makes sense. > > > > Hi! > > > > How easy is it to change the default page to the "Status Overview" > > page? I'd like to have that be the very first page to come up. > > ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RBoswell at SYMBION.COM Mon May 10 16:24:55 2004 From: RBoswell at SYMBION.COM (Boswell, Richard) Date: Mon, 10 May 2004 09:24:55 -0500 Subject: Watching Exchange Private store Message-ID: <6FB2870E3A4BD61189B500508B127A378909D0@NASHEXCH02> Does anyone know of a way to monitor the size of the Exchange Private store? Richard Boswell Network Security Engineer Symbion Healthcare Work - 615.234.8912 Cell - 615.445.5944 ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave-nagios at homer.cymry.org Mon May 10 11:57:01 2004 From: dave-nagios at homer.cymry.org (dave-nagios at homer.cymry.org) Date: Mon, 10 May 2004 04:57:01 -0500 Subject: Watching Exchange Private store In-Reply-To: <6FB2870E3A4BD61189B500508B127A378909D0@NASHEXCH02> References: <6FB2870E3A4BD61189B500508B127A378909D0@NASHEXCH02> Message-ID: <20040510095701.GA2876@homer.cymry.org> On Mon, May 10, 2004 at 09:24:55AM -0500, Boswell, Richard wrote: > Does anyone know of a way to monitor the size of the Exchange Private store? The nsclient plugin gives you polling access to anything in perfmon. So if the exchange private sector value is a perfmon counter, nsclient can give nagios access to it. ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From slade at cryptoflow.net Mon May 10 16:46:39 2004 From: slade at cryptoflow.net (Slade Edmonds) Date: Mon, 10 May 2004 07:46:39 -0700 Subject: (no subject) In-Reply-To: References: Message-ID: <409F95CF.2040302@cryptoflow.net> Swati Srivastava wrote: > I'm trying to install and configure Nagios remotely through SSH on red > hat Linux,enterprise edition 3. > i'm followinf the documentation given at nagios.org > Uptil now, i've installed nagios, plugins, Boutell's gd librarry, > apache, jpeg,..etc. > on requesting for homepage of Nagios, i.e. on typing the IP Addr/Nagios/ > i'm getting 403 Forbidden You don't have permission to access /nagios/ > on this server. > > Please help! > Thanks in advance Surely a permissions issue. My advice is to double-check the installation instructions and then verify permissions on the directories containing the nagios files. When you run the configure script with '--with-nagios-user=nagios' and '--with-nagios-grp=nagios' permissions should be taken care of. Just check them to be sure. Your apache log might help too. Slade ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nick.Platt at myflorida.com Mon May 10 14:07:09 2004 From: Nick.Platt at myflorida.com (Platt, Nicholas) Date: Mon, 10 May 2004 08:07:09 -0400 Subject: Cisco router SNMP TRAPs - snmptrapd script ver ification Message-ID: <2FDA6C38B2BFD4119D2400D0B784BE6F06FC0777@stoexchange.state.fl.us> Hello again: I was advised to not post things in proprietary format which make sense. The original message is below. If anyone can help me, it would greatly appreciated. -----Original Message----- From: Platt, Nicholas [mailto:Nick.Platt at myflorida.com] Sent: Friday, May 07, 2004 7:23 PM To: 'nagios-users at lists.sourceforge.net' Cc: Radcliffe, David Subject: [Nagios-users] Cisco router SNMP TRAPs - snmptrapd script verification Hello: Can anyone look over my scripts in the word attachment and tell why the "submit_check_result" script is not passing the information to Nagios. It could be because "handle-cisco-traps" script is not passing the trap information to "submit_check_result" script. I see the traps showing up on the iptables firewall as allowed and the sniffer verifies it as well. I've gone to the extent to documenting all scripts involved in this process and I was wondering if anyone can help me that has more experience with snmptrapd. I'm fairly new at this. I want to be able receive traps from our core and cpe routers so it can set off alarms for various types of traps. Maybe you can point to more documentation. Anything in red is what changes I made and on the submit_check_results, I placed a statement to output the trap information to a log file just for a test. The log file never gets created because I fee that the script "submit_check_result" never gets executed. Included in the attachment is also the sniffer capture. Any help will greatly be appreciated. Thanks you. snmptrad snmptrapd script #!/bin/bash # ucd-snmp init file for snmptrapd # # chkconfig: - 50 50 # description: Simple Network Management Protocol (SNMP) Trap Daemon # # processname: /usr/sbin/snmptrapd # config: /etc/snmp/snmptrapd.conf # config: /usr/share/snmp/snmptrapd.conf # pidfile: /var/run/snmptrapd.pid # # source function library . /etc/init.d/functions OPTIONS="-s -c /etc/snmp/snmptrapd.conf -C -u /var/run/snmptrapd.pid" RETVAL=0 prog="snmptrapd" start() { echo -n $"Starting $prog: " daemon /usr/sbin/snmptrapd $OPTIONS RETVAL=$? echo touch /var/lock/subsys/snmptrapd return $RETVAL } stop() { echo -n $"Stopping $prog: " killproc /usr/sbin/snmptrapd RETVAL=$? echo rm -f /var/lock/subsys/snmptrapd return $RETVAL } reload(){ stop start } restart(){ stop start } condrestart(){ [ -e /var/lock/subsys/snmptrapd ] && restart return 0 } case "$1" in start) start ;; stop) stop ;; restart) restart ;; reload) reload ;; condrestart) condrestart ;; status) status snmptrapd RETVAL=$? ;; *) echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}" RETVAL=1 esac exit $RETVAL snmptrapd.conf # /etc/snmp/snmptrapd.conf traphandle SNMPv2-MIB::coldStart /usr/local/nagios/libexec/eventhandlers/handle-cisco-traps 1 traphandle SNMPv2-MIB::warmStart /usr/local/nagios/libexec/eventhandlers/handle-cisco-traps 2 traphandle IF-MIB::linkDown /usr/local/nagios/libexec/eventhandlers/handle-cisco-traps 3 traphandle IF-MIB::linkUp /usr/local/nagios/libexec/eventhandlers/handle-cisco-traps 4 traphandle default /usr/local/nagios/libexec/eventhandlers/handle-cisco-traps 5 /usr/local/nagios/libexec/eventhandlers/handle-cisco-traps handle-cisco-traps #!/bin/sh # # This script should handle the traps it will receive # from the snmptrapd and defined in the snmptrapd.conf # read host hostname="unkown" ip=`host $host | awk -F" " '{print $3}' esac state=-1 output="No Output" case $1 in 1) output="Critical: Coldstart" state=2 ;; 2) output="Warning: Warmstart" state=1 ;; 3) output="Critical: Link down" state=2 ;; 4) output="Warning: Link up" state=2 ;; 5) output="Warning: Unknown trap" state=1 # SNMP Trap is the name of the service /usr/lib/nagios/plugins/eventhandlers/submit_check_result $hostname "SNMP Trap" $state "$output" submit_check_result (Nagios) #!/bin/sh # SUBMIT_CHECK_RESULT # Written by Ethan Galstad (nagios at nagios.org) # Last Modified: 02-18-2002 # # This script will write a command to the Nagios command # file to cause Nagios to process a passive service check # result. Note: This script is intended to be run on the # same host that is running Nagios. If you want to # submit passive check results from a remote machine, look # at using the nsca addon. # # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = return_code (An integer that determines the state # of the service check, 0=OK, 1=WARNING, 2=CRITICAL, # 3=UNKNOWN). # $4 = plugin_output (A text string that should be used # as the plugin output for the service check) # echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` #`$echocmd $cmdline >> /backup/snmp-trap-test.log` Sniffer Capture Packet Frame 1 (211 bytes on wire, 211 bytes captured) Ethernet II, Src: 00:0e:d7:74:cc:d1, Dst: 00:b0:d0:32:7a:7c Internet Protocol, Src Addr: 192.168.24.60 (192.168.24.60), Dst Addr: 192.168.24.58 (192.168.24.58) User Datagram Protocol, Src Port: 53914 (53914), Dst Port: snmptrap (162) Simple Network Management Protocol Version: 2C (1) Community: test PDU type: TRAP-V2 (7) Request Id: 0x00000002 Error Status: NO ERROR (0) Error Index: 0 Object identifier 1: 1.3.6.1.2.1.1.3.0 (iso.3.6.1.2.1.1.3.0) Value: Timeticks: (212951) 0:35:29.51 Object identifier 2: 1.3.6.1.6.3.1.1.4.1.0 (iso.3.6.1.6.3.1.1.4.1.0) Value: OID: iso.3.6.1.6.3.1.1.5.3 Object identifier 3: 1.3.6.1.2.1.2.2.1.1.1 (iso.3.6.1.2.1.2.2.1.1.1) Value: INTEGER: 1 Object identifier 4: 1.3.6.1.2.1.2.2.1.2.1 (iso.3.6.1.2.1.2.2.1.2.1) Value: STRING: "Ethernet0" Object identifier 5: 1.3.6.1.2.1.2.2.1.3.1 (iso.3.6.1.2.1.2.2.1.3.1) Value: INTEGER: 6 Object identifier 6: 1.3.6.1.4.1.9.2.2.1.1.20.1 (iso.3.6.1.4.1.9.2.2.1.1.20.1) Value: STRING: "administratively down" -------------- next part -------------- An HTML attachment was scrubbed... URL: From jstasik at mc3.edu Mon May 10 17:07:19 2004 From: jstasik at mc3.edu (Jim Stasik) Date: Mon, 10 May 2004 11:07:19 -0400 Subject: Nagios monitoring of Netbotz device Message-ID: Has anyone configured Nagios to monitor a Netbotz monitoring device? I would like to be able to track temperature, and other things over time. Thanks Jim ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.baecker at ecofis.de Mon May 10 15:29:56 2004 From: h.baecker at ecofis.de (h.baecker at ecofis.de) Date: Mon, 10 May 2004 15:29:56 +0200 Subject: Antwort: RE: Cisco router SNMP TRAPs - snmptrapd script ver ification In-Reply-To: <2FDA6C38B2BFD4119D2400D0B784BE6F06FC0777@stoexchange.state.fl.us> References: <2FDA6C38B2BFD4119D2400D0B784BE6F06FC0777@stoexchange.state.fl.us> Message-ID: Hi there, Do you have a Nagios Host configured named by "unknown"? When I am right your handle-cisco-traps script will determine what kind of trap was received by trapd an then decides which Nagios state and which output your submit check result will send to the nagios process but your $hostname is a kind of static, isn't it? ### read host hostname="unknown" .... .... ./submit_check_result $hostname ... will ever be submit_check_result unknown "SNMP Trap" $state $output #### Did you try to execute the script manually? Like: ./handle-cisco-traps 5 or later ./submit_check_results unknown "SNMP Trap" 1 "All is good" ? But it is a good idea! Do you know if it is possible to determine the IP Adress of the trap sending host and take this info through the scripts? We have got 500 Cisco Routers and the idea with passive Trap Checks is just very good! Thanks for the nice idea Greeting Hendrik "Platt, Nicholas" Gesendet von: nagios-users-admin at lists.sourceforge.net 10.05.2004 14:07 An "'nagios-users at lists.sourceforge.net'" Kopie "Radcliffe, David" Thema RE: [Nagios-users] Cisco router SNMP TRAPs - snmptrapd script ver ification Hello again: I was advised to not post things in proprietary format which make sense. The original message is below. If anyone can help me, it would greatly appreciated. -----Original Message----- From: Platt, Nicholas [mailto:Nick.Platt at myflorida.com] Sent: Friday, May 07, 2004 7:23 PM To: 'nagios-users at lists.sourceforge.net' Cc: Radcliffe, David Subject: [Nagios-users] Cisco router SNMP TRAPs - snmptrapd script verification Hello: Can anyone look over my scripts in the word attachment and tell why the "submit_check_result" script is not passing the information to Nagios. It could be because "handle-cisco-traps" script is not passing the trap information to "submit_check_result" script. I see the traps showing up on the iptables firewall as allowed and the sniffer verifies it as well. I've gone to the extent to documenting all scripts involved in this process and I was wondering if anyone can help me that has more experience with snmptrapd. I'm fairly new at this. I want to be able receive traps from our core and cpe routers so it can set off alarms for various types of traps. Maybe you can point to more documentation. Anything in red is what changes I made and on the submit_check_results, I placed a statement to output the trap information to a log file just for a test. The log file never gets created because I fee that the script "submit_check_result" never gets executed. Included in the attachment is also the sniffer capture. Any help will greatly be appreciated. Thanks you. snmptrad snmptrapd script #!/bin/bash # ucd-snmp init file for snmptrapd # # chkconfig: - 50 50 # description: Simple Network Management Protocol (SNMP) Trap Daemon # # processname: /usr/sbin/snmptrapd # config: /etc/snmp/snmptrapd.conf # config: /usr/share/snmp/snmptrapd.conf # pidfile: /var/run/snmptrapd.pid # # source function library . /etc/init.d/functions OPTIONS="-s -c /etc/snmp/snmptrapd.conf -C -u /var/run/snmptrapd.pid" RETVAL=0 prog="snmptrapd" start() { echo -n $"Starting $prog: " daemon /usr/sbin/snmptrapd $OPTIONS RETVAL=$? echo touch /var/lock/subsys/snmptrapd return $RETVAL } stop() { echo -n $"Stopping $prog: " killproc /usr/sbin/snmptrapd RETVAL=$? echo rm -f /var/lock/subsys/snmptrapd return $RETVAL } reload(){ stop start } restart(){ stop start } condrestart(){ [ -e /var/lock/subsys/snmptrapd ] && restart return 0 } case "$1" in start) start ;; stop) stop ;; restart) restart ;; reload) reload ;; condrestart) condrestart ;; status) status snmptrapd RETVAL=$? ;; *) echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}" RETVAL=1 esac exit $RETVAL snmptrapd.conf # /etc/snmp/snmptrapd.conf traphandle SNMPv2-MIB::coldStart /usr/local/nagios/libexec/eventhandlers/handle-cisco-traps 1 traphandle SNMPv2-MIB::warmStart /usr/local/nagios/libexec/eventhandlers/handle-cisco-traps 2 traphandle IF-MIB::linkDown /usr/local/nagios/libexec/eventhandlers/handle-cisco-traps 3 traphandle IF-MIB::linkUp /usr/local/nagios/libexec/eventhandlers/handle-cisco-traps 4 traphandle default /usr/local/nagios/libexec/eventhandlers/handle-cisco-traps 5 /usr/local/nagios/libexec/eventhandlers/handle-cisco-traps handle-cisco-traps #!/bin/sh # # This script should handle the traps it will receive # from the snmptrapd and defined in the snmptrapd.conf # read host hostname="unkown" ip=`host $host | awk -F" " '{print $3}' esac state=-1 output="No Output" case $1 in 1) output="Critical: Coldstart" state=2 ;; 2) output="Warning: Warmstart" state=1 ;; 3) output="Critical: Link down" state=2 ;; 4) output="Warning: Link up" state=2 ;; 5) output="Warning: Unknown trap" state=1 # SNMP Trap is the name of the service /usr/lib/nagios/plugins/eventhandlers/submit_check_result $hostname "SNMP Trap" $state "$output" submit_check_result (Nagios) #!/bin/sh # SUBMIT_CHECK_RESULT # Written by Ethan Galstad (nagios at nagios.org) # Last Modified: 02-18-2002 # # This script will write a command to the Nagios command # file to cause Nagios to process a passive service check # result. Note: This script is intended to be run on the # same host that is running Nagios. If you want to # submit passive check results from a remote machine, look # at using the nsca addon. # # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = return_code (An integer that determines the state # of the service check, 0=OK, 1=WARNING, 2=CRITICAL, # 3=UNKNOWN). # $4 = plugin_output (A text string that should be used # as the plugin output for the service check) # echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` #`$echocmd $cmdline >> /backup/snmp-trap-test.log` Sniffer Capture Packet Frame 1 (211 bytes on wire, 211 bytes captured) Ethernet II, Src: 00:0e:d7:74:cc:d1, Dst: 00:b0:d0:32:7a:7c Internet Protocol, Src Addr: 192.168.24.60 (192.168.24.60), Dst Addr: 192.168.24.58 (192.168.24.58) User Datagram Protocol, Src Port: 53914 (53914), Dst Port: snmptrap (162) Simple Network Management Protocol Version: 2C (1) Community: test PDU type: TRAP-V2 (7) Request Id: 0x00000002 Error Status: NO ERROR (0) Error Index: 0 Object identifier 1: 1.3.6.1.2.1.1.3.0 (iso.3.6.1.2.1.1.3.0) Value: Timeticks: (212951) 0:35:29.51 Object identifier 2: 1.3.6.1.6.3.1.1.4.1.0 (iso.3.6.1.6.3.1.1.4.1.0) Value: OID: iso.3.6.1.6.3.1.1.5.3 Object identifier 3: 1.3.6.1.2.1.2.2.1.1.1 (iso.3.6.1.2.1.2.2.1.1.1) Value: INTEGER: 1 Object identifier 4: 1.3.6.1.2.1.2.2.1.2.1 (iso.3.6.1.2.1.2.2.1.2.1) Value: STRING: "Ethernet0" Object identifier 5: 1.3.6.1.2.1.2.2.1.3.1 (iso.3.6.1.2.1.2.2.1.3.1) Value: INTEGER: 6 Object identifier 6: 1.3.6.1.4.1.9.2.2.1.1.20.1 (iso.3.6.1.4.1.9.2.2.1.1.20.1) Value: STRING: "administratively down" -------------- next part -------------- An HTML attachment was scrubbed... URL: From neil-on-nagios at restricted.dyndns.org Mon May 10 18:05:35 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Mon, 10 May 2004 11:05:35 -0500 Subject: time interval in between checks in seconds Message-ID: <20040510160535.43149.qmail@restricted.dyndns.org> Hey guys, What should I modify in nagios.cfg if I wanted to have a service check in the interval of 15 or 30 seconds but also, I want to keep my other settings which is in 1 minute interval? Thanks. Neil ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Anthony at PromoHut.com Mon May 10 18:29:46 2004 From: Anthony at PromoHut.com (Anthony Lieuallen) Date: Mon, 10 May 2004 12:29:46 -0400 Subject: time interval in between checks in seconds Message-ID: <75DEB1F7BFA6D711922A0020781E86F127C57F@EXCHANGE> interval_length in nagios.cfg defines the number of seconds in an "interval" All intervals in any other configuration are multiples of that. I have my interval_length at 5 seconds. When I want to check once per minute, I set my interval to 12. -----Original Message----- From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] Sent: Monday, May 10, 2004 12:06 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] time interval in between checks in seconds Hey guys, What should I modify in nagios.cfg if I wanted to have a service check in the interval of 15 or 30 seconds but also, I want to keep my other settings which is in 1 minute interval? Thanks. Neil ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bclem at rice.edu Mon May 10 18:32:48 2004 From: bclem at rice.edu (Brent M. Clements) Date: Mon, 10 May 2004 11:32:48 -0500 (CDT) Subject: Remotely checking disk space In-Reply-To: <75DEB1F7BFA6D711922A0020781E86F127C57F@EXCHANGE> References: <75DEB1F7BFA6D711922A0020781E86F127C57F@EXCHANGE> Message-ID: How would I configure nagios to monitor the disk space of remote systems? I assumed I'd use check_by_ssh combined with the check_disk command, but what do I have to configure in order for this to work? Thanks, Brent ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 10 19:00:15 2004 From: leoh at dcc.ufmg.br (Leonardo Henrique Machado) Date: Mon, 10 May 2004 14:00:15 -0300 (BRT) Subject: Host Check 'check_tcp' not found! In-Reply-To: <007d01c42e21$572668f0$0929250a@oit.state.nj.us> References: <20040429152123.M3047@thermonuclear.org> <007d01c42e21$572668f0$0929250a@oit.state.nj.us> Message-ID: Hi all, I have the same problem. I need to ping some hsots that have invalid IPs. Soh I created a check_ping_192.168.0.2 that should be used with nrpe. The problem is that: check_command check_nrpe!check_ping_192.168.0.2 does not work in host definition, but does in services definition. There must be a good reason for it... or not? Why check_commands in host definitions cannot receive arguments!!!??? In my opinion it's a bug. And it's easy to solve. On Thu, 29 Apr 2004, Russell Scibetti wrote: > In Nagios 1.*, the check_command for host definitions cannot take any > arguments. Hence, it is trying to find a command called 'check_tcp!9931', > which doesn't exist. > > Russell Scibetti > > ----- Original Message ----- > From: "Peter Beckman" > To: > Sent: Thursday, April 29, 2004 3:25 PM > Subject: [Nagios-users] Host Check 'check_tcp' not found! > > > > Since when does check_tcp not work in hosts, but work in services? > > > > Relevant Config: > > define host{ > > use generic-host > > host_name www.somex.com > > alias Pierre's server > > address www.somex.com > > parents some-parent > > check_command check_tcp!9931 > > max_check_attempts 20 > > notification_interval 60 > > notification_period 24x7 > > notification_options d,u,r > > } > > > > Error: > > Error: Host check command 'check_tcp!9931' specified for host > 'www.somex.com' is not defined anywhere! > > > > Yet I use check_tcp in my services without any problems: > > > > define service{ > > use generic-service ; Name of > service template to use > > host_name somehost > > service_description MYSQL > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 2 > > retry_check_interval 1 > > contact_groups me,someone-else > > notification_interval 120 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command check_tcp!3306 > > } > > > > What's the deal? > > > > Using: > > Nagios 1.1 > > Last Modified: 06-02-2003 > > > > beckman > > -------------------------------------------------------------------------- > - > > Peter Beckman Internet > Guy > > beckman at purplecow.com > http://www.purplecow.com/ > > -------------------------------------------------------------------------- > - > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: Oracle 10g > > Get certified on the hottest thing ever to hit the market... Oracle 10g. > > Take an Oracle 10g class now, and we'll give you the exam FREE. > > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Leonardo Henrique Machado ?ltimo Per?odo em Ci?ncia da Computacao Universidade Federal de Minas Gerais ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rscibetti at opensight.net Mon May 10 19:15:28 2004 From: rscibetti at opensight.net (Russell Scibetti) Date: Mon, 10 May 2004 13:15:28 -0400 Subject: Host Check 'check_tcp' not found! References: <20040429152123.M3047@thermonuclear.org> <007d01c42e21$572668f0$0929250a@oit.state.nj.us> Message-ID: <001901c436b2$64e5b1f0$0929250a@oit.state.nj.us> "check_command check_nrpe!check_ping_192.168.0.2" This is still passing arguments. Host check commands do not process arguments at all in Nagios 1.x. This feature has been added in Nagios 2.0 if you want to give that a try. Otherwise, you will need to hardcode additional commands to use as your host check commands. Russell ----- Original Message ----- From: "Leonardo Henrique Machado" To: Sent: Monday, May 10, 2004 1:00 PM Subject: Re: [Nagios-users] Host Check 'check_tcp' not found! Hi all, I have the same problem. I need to ping some hsots that have invalid IPs. Soh I created a check_ping_192.168.0.2 that should be used with nrpe. The problem is that: check_command check_nrpe!check_ping_192.168.0.2 does not work in host definition, but does in services definition. There must be a good reason for it... or not? Why check_commands in host definitions cannot receive arguments!!!??? In my opinion it's a bug. And it's easy to solve. On Thu, 29 Apr 2004, Russell Scibetti wrote: > In Nagios 1.*, the check_command for host definitions cannot take any > arguments. Hence, it is trying to find a command called 'check_tcp!9931', > which doesn't exist. > > Russell Scibetti > > ----- Original Message ----- > From: "Peter Beckman" > To: > Sent: Thursday, April 29, 2004 3:25 PM > Subject: [Nagios-users] Host Check 'check_tcp' not found! > > > > Since when does check_tcp not work in hosts, but work in services? > > > > Relevant Config: > > define host{ > > use generic-host > > host_name www.somex.com > > alias Pierre's server > > address www.somex.com > > parents some-parent > > check_command check_tcp!9931 > > max_check_attempts 20 > > notification_interval 60 > > notification_period 24x7 > > notification_options d,u,r > > } > > > > Error: > > Error: Host check command 'check_tcp!9931' specified for host > 'www.somex.com' is not defined anywhere! > > > > Yet I use check_tcp in my services without any problems: > > > > define service{ > > use generic-service ; Name of > service template to use > > host_name somehost > > service_description MYSQL > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 2 > > retry_check_interval 1 > > contact_groups me,someone-else > > notification_interval 120 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command check_tcp!3306 > > } > > > > What's the deal? > > > > Using: > > Nagios 1.1 > > Last Modified: 06-02-2003 > > > > beckman > > -------------------------------------------------------------------------- > - > > Peter Beckman Internet > Guy > > beckman at purplecow.com > http://www.purplecow.com/ > > -------------------------------------------------------------------------- > - > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: Oracle 10g > > Get certified on the hottest thing ever to hit the market... Oracle 10g. > > Take an Oracle 10g class now, and we'll give you the exam FREE. > > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Leonardo Henrique Machado ?ltimo Per?odo em Ci?ncia da Computacao Universidade Federal de Minas Gerais ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=dnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 10 19:26:15 2004 From: leoh at dcc.ufmg.br (Leonardo Henrique Machado) Date: Mon, 10 May 2004 14:26:15 -0300 (BRT) Subject: Host Check 'check_tcp' not found! In-Reply-To: <001901c436b2$64e5b1f0$0929250a@oit.state.nj.us> References: <20040429152123.M3047@thermonuclear.org> <007d01c42e21$572668f0$0929250a@oit.state.nj.us> <001901c436b2$64e5b1f0$0929250a@oit.state.nj.us> Message-ID: Thanks Russell, I will check the best solution for it. On Mon, 10 May 2004, Russell Scibetti wrote: > "check_command check_nrpe!check_ping_192.168.0.2" > > This is still passing arguments. Host check commands do not process > arguments at all in Nagios 1.x. This feature has been added in Nagios 2.0 > if you want to give that a try. Otherwise, you will need to hardcode > additional commands to use as your host check commands. > > Russell > > ----- Original Message ----- > From: "Leonardo Henrique Machado" > To: > Sent: Monday, May 10, 2004 1:00 PM > Subject: Re: [Nagios-users] Host Check 'check_tcp' not found! > > > > Hi all, > > I have the same problem. I need to ping some hsots that have > invalid > IPs. Soh I created a check_ping_192.168.0.2 that should be used with nrpe. > > The problem is that: > > check_command check_nrpe!check_ping_192.168.0.2 > > does not work in host definition, but does in services definition. There > must be a good reason for it... or not? > Why check_commands in host definitions cannot receive arguments!!!??? > > In my opinion it's a bug. And it's easy to solve. > > > > On Thu, 29 Apr 2004, Russell Scibetti wrote: > > > In Nagios 1.*, the check_command for host definitions cannot take any > > arguments. Hence, it is trying to find a command called 'check_tcp!9931', > > which doesn't exist. > > > > Russell Scibetti > > > > ----- Original Message ----- > > From: "Peter Beckman" > > To: > > Sent: Thursday, April 29, 2004 3:25 PM > > Subject: [Nagios-users] Host Check 'check_tcp' not found! > > > > > > > Since when does check_tcp not work in hosts, but work in services? > > > > > > Relevant Config: > > > define host{ > > > use generic-host > > > host_name www.somex.com > > > alias Pierre's server > > > address www.somex.com > > > parents some-parent > > > check_command check_tcp!9931 > > > max_check_attempts 20 > > > notification_interval 60 > > > notification_period 24x7 > > > notification_options d,u,r > > > } > > > > > > Error: > > > Error: Host check command 'check_tcp!9931' specified for host > > 'www.somex.com' is not defined anywhere! > > > > > > Yet I use check_tcp in my services without any problems: > > > > > > define service{ > > > use generic-service ; Name of > > service template to use > > > host_name somehost > > > service_description MYSQL > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 3 > > > normal_check_interval 2 > > > retry_check_interval 1 > > > contact_groups me,someone-else > > > notification_interval 120 > > > notification_period 24x7 > > > notification_options w,u,c,r > > > check_command check_tcp!3306 > > > } > > > > > > What's the deal? > > > > > > Using: > > > Nagios 1.1 > > > Last Modified: 06-02-2003 > > > > > > beckman > > > > -------------------------------------------------------------------------- > > - > > > Peter Beckman Internet > > Guy > > > beckman at purplecow.com > > http://www.purplecow.com/ > > > > -------------------------------------------------------------------------- > > - > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: Oracle 10g > > > Get certified on the hottest thing ever to hit the market... Oracle 10g. > > > Take an Oracle 10g class now, and we'll give you the exam FREE. > > > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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: Oracle 10g > > Get certified on the hottest thing ever to hit the market... Oracle 10g. > > Take an Oracle 10g class now, and we'll give you the exam FREE. > > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Leonardo Henrique Machado > ?ltimo Per?odo em Ci?ncia da Computacao > Universidade Federal de Minas Gerais > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=dnemail3 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Leonardo Henrique Machado ?ltimo Per?odo em Ci?ncia da Computacao Universidade Federal de Minas Gerais ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 10 19:19:27 2004 From: marc at ena.com (Marc Powell) Date: Mon, 10 May 2004 12:19:27 -0500 Subject: Host Check 'check_tcp' not found! Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B62C0@mismail2.ena.com> Leonardo Henrique Machado wrote: > Hi all, > > I have the same problem. I need to ping some hsots that have invalid > IPs. Soh I created a check_ping_192.168.0.2 that should be used with > nrpe. > > The problem is that: > > check_command check_nrpe!check_ping_192.168.0.2 > > does not work in host definition, but does in services definition. > There must be a good reason for it... or not? > Why check_commands in host definitions cannot receive arguments!!!??? > > In my opinion it's a bug. And it's easy to solve. It was apparently a design decision, not a bug. In any event, that functionality has been included in Nagios 2.0 -- http://www.nagios.org/upcoming.php 6. Host check commands, notification commands and event handler command now accept arguments (using $ARGx$ macros) -- Marc ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 10 20:40:01 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Mon, 10 May 2004 13:40:01 -0500 (CDT) Subject: Remotely checking disk space In-Reply-To: References: Message-ID: On Mon, 10 May 2004, Brent M. Clements wrote: > How would I configure nagios to monitor the disk space of remote systems? > I assumed I'd use check_by_ssh combined with the check_disk command, but > what do I have to configure in order for this to work? Brent, You have just described one way to do it, there are others. Check_by_ssh happens to be my method of choice so I'll provide some additional details that may help you. 1. Create an ssh keypair for the nagios user on your nagios box. 2. Create a nagios account on all the remote machines you wish to monitor. Put the nagios plugins on the remote machines. I use /home/nagios/bin. 3. Publish the ssh public key to /home/nagios/.ssh/authorized_keys on each remote machine. 4. Manually log in as the nagios user from the nagios box to each remote box to add the host keys to your known hosts file on the nagios box. 5. From now on, you should be able to ssh as the nagios user from the nagios box to each remote box without any intervention. 6. Configure a service check like check_remote_disk and define it in checkcommands.cfg. Check_remote_disk will in turn rely on check_by_ssh. 7. You may want to use $USER$ variables to store things like the path to the nagios plugins on the remote side and the path to your private key on the nagios side. Once you get this set up for check_disk, you can apply the same steps to check remote load, users, procs, whatever. Good luck, you are on the right track. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 mysck.com Mon May 10 20:55:05 2004 From: jstotler at mysck.com (John Stotler) Date: Mon, 10 May 2004 14:55:05 -0400 Subject: bypass authorization? Message-ID: <1084215304.3331.9.camel@jstotler.fastinc.com> Does anyone know of a way to bypass the authorization required to access the cgi stuff? The machine I'm using is locked down, and I can assume that user dummy/dummy is on the system. thanks, John ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon May 10 21:16:37 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 10 May 2004 21:16:37 +0200 Subject: bypass authorization? In-Reply-To: <1084215304.3331.9.camel@jstotler.fastinc.com> References: <1084215304.3331.9.camel@jstotler.fastinc.com> Message-ID: <409FD515.20900@op5.se> John Stotler wrote: > Does anyone know of a way to bypass the authorization required to access > the cgi stuff? > > The machine I'm using is locked down, and I can assume that user > dummy/dummy is on the system. > That depends on what version of apache you're running, since that's whats handling the authorization. I know there was an issue with mod_ssl on apache 1.3.28, but afaik it can only be used to gain shell access as the user owning the apache process. That should ofcourse suffice, since you'd be able to add your own password later (on a loosely set system, that is). > > thanks, Not sure I helped, but you're welcome none-the-less. > John > -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Mon May 10 21:15:29 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Mon, 10 May 2004 14:15:29 -0500 Subject: time interval in between checks in seconds In-Reply-To: <75DEB1F7BFA6D711922A0020781E86F127C57F@EXCHANGE> References: <75DEB1F7BFA6D711922A0020781E86F127C57F@EXCHANGE> Message-ID: <20040510191529.57549.qmail@restricted.dyndns.org> Hi Anthony, So if I wanted to have ping check executed 4 times (every 15 secs), this should be my services.cfg and nagios.cfg. However, I think my services.cfg is wrong. Can someone correct it please? nagios.cfg: ----------- interval_length=15 services.cfg: ------------- define service{ use generic-service ; Name of service template to use host_name www001 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 2 normal_check_interval 2 retry_check_interval 1 contact_groups www-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } Anthony Lieuallen writes: > interval_length in nagios.cfg defines the number of seconds in an "interval" > All intervals in any other configuration are multiples of that. > > I have my interval_length at 5 seconds. When I want to check once per > minute, I set my interval to 12. > > -----Original Message----- > From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] > Sent: Monday, May 10, 2004 12:06 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] time interval in between checks in seconds > > > Hey guys, > > What should I modify in nagios.cfg if I wanted to have a service check in > the interval of 15 or 30 seconds but also, I want to keep my other settings > which is in 1 minute interval? > > Thanks. > > Neil ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 10 21:34:24 2004 From: marc at ena.com (Marc Powell) Date: Mon, 10 May 2004 14:34:24 -0500 Subject: bypass authorization? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B62C5@mismail2.ena.com> John Stotler wrote: > Does anyone know of a way to bypass the authorization required to > access the cgi stuff? > > The machine I'm using is locked down, and I can assume that user > dummy/dummy is on the system. http://nagios.sourceforge.net/docs/1_0/configcgi.html#default_user_name -- Marc ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Fiero at ci.austin.tx.us Mon May 10 21:59:40 2004 From: Paul.Fiero at ci.austin.tx.us (Paul.Fiero at ci.austin.tx.us) Date: Mon, 10 May 2004 14:59:40 -0500 Subject: check_radius Message-ID: <54CBD1107EC5AD4EA8D4183558A589EF4787CB@coaexch5.coacd.org> Anyone have any ideas on how to check RADIUS services on a remote box? I am trying to do a check_udp command modified to send data on udp port 1645 (which is one of the ports that my RADIUS box is listening on) but I got no data back. My assumption here is that the RADIUS box only sends a response to a specific query type and not just a "hey are you listening" query. PFiero ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 10 22:11:14 2004 From: marc at ena.com (Marc Powell) Date: Mon, 10 May 2004 15:11:14 -0500 Subject: check_radius Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B62C7@mismail2.ena.com> Paul.Fiero at ci.austin.tx.us wrote: > Anyone have any ideas on how to check RADIUS services on a remote > box? I am trying to do a check_udp command modified to send data on > udp port 1645 (which is one of the ports that my RADIUS box is > listening on) but I got no data back. My assumption here is that the > RADIUS box only sends a response to a specific query type and not > just a "hey are you listening" query. Use the check_radius plugin that is distributed with the standard plugins. You must have the radius client libs installed before compiling the plugins. From the REQUIREMENTS file -- check_radius: - Requires the radiusclient library available from http://www.cityline.net/~lf/radius/ RPM (rpmfind): radiusclient-0.3.1-1, radiusclient-devel-0.3.1-1 -- Marc ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at bravenet.com Mon May 10 22:16:02 2004 From: matt at bravenet.com (Matthew Kent) Date: Mon, 10 May 2004 13:16:02 -0700 Subject: check_radius Message-ID: <0A9D1D7BB96F364D83A342871CF25FF9D1D8@bdc-pv1.pv.bravenet.com> > Anyone have any ideas on how to check RADIUS services on a remote box? Take a look at plugins/check_radius.c in a semi-recent plugins package. Matthew Kent ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Fiero at ci.austin.tx.us Mon May 10 22:22:06 2004 From: Paul.Fiero at ci.austin.tx.us (Paul.Fiero at ci.austin.tx.us) Date: Mon, 10 May 2004 15:22:06 -0500 Subject: A question for all Message-ID: <54CBD1107EC5AD4EA8D4183558A589EF4787CD@coaexch5.coacd.org> I am in the process of trying to "sell" my management on the value of Nagios over one of the commercial packages out there. Aside from the folks listed on the nagios.org site can you all give me the names of some large commerical and governmental entities that may be using Nagios? Paul Fiero ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 10 22:53:51 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 10 May 2004 15:53:51 -0500 Subject: A question for all In-Reply-To: <54CBD1107EC5AD4EA8D4183558A589EF4787CD@coaexch5.coacd.org> References: <54CBD1107EC5AD4EA8D4183558A589EF4787CD@coaexch5.coacd.org> Message-ID: <1084222431.3419.12.camel@localhost> On Mon, 2004-05-10 at 15:22 -0500, Paul.Fiero at ci.austin.tx.us wrote: > I am in the process of trying to "sell" my management on the value of Nagios > over one of the commercial packages out there. Aside from the folks listed > on the nagios.org site can you all give me the names of some large > commerical and governmental entities that may be using Nagios? We are. -- jeff vier TT ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 10 23:09:25 2004 From: Greg.Nolan at disney.com (Nolan, Greg) Date: Mon, 10 May 2004 14:09:25 -0700 Subject: Disk Usage and excluding file systems Message-ID: > Nagios Users/Developers/Gurus, > > I would like to excluded multiple filesystems when checking disk usage, does anyone have a method for doing this? If not, has anyone written their own check_disk command? > > Thanks for the assistance. > > 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 jj at penrod.cc Mon May 10 23:14:39 2004 From: jj at penrod.cc (John Penrod) Date: Mon, 10 May 2004 17:14:39 -0400 (EDT) Subject: A question for all In-Reply-To: <54CBD1107EC5AD4EA8D4183558A589EF4787CD@coaexch5.coacd.org> References: <54CBD1107EC5AD4EA8D4183558A589EF4787CD@coaexch5.coacd.org> Message-ID: <49995.216.133.140.1.1084223679.squirrel@216.133.140.1> We use it to monitor about 500 devices at The Weather Channel and weather.com John Penrod jpenrod at weather.com > I am in the process of trying to "sell" my management on the value of > Nagios > over one of the commercial packages out there. Aside from the folks > listed > on the nagios.org site can you all give me the names of some large > commerical and governmental entities that may be using Nagios? > > Paul Fiero > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 11 00:32:10 2004 From: Greg.Nolan at disney.com (Nolan, Greg) Date: Mon, 10 May 2004 15:32:10 -0700 Subject: Host Checks get clogged Message-ID: When we notice a server go down, nagios will get hung up on that one server and check it until it is back up. Is there any way to do the following: 1. have the host check only page after the 2nd instance it is found to be down (eliminating false alarms due to a number of reasons)? 2. have the host check not get hung on one system when it is found to be down? Thank you very much for your responses. 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 rwhuff at charter.net Tue May 11 00:23:26 2004 From: rwhuff at charter.net (Ron Huff) Date: Mon, 10 May 2004 15:23:26 -0700 Subject: A question for all In-Reply-To: <54CBD1107EC5AD4EA8D4183558A589EF4787CD@coaexch5.coacd.org> References: <54CBD1107EC5AD4EA8D4183558A589EF4787CD@coaexch5.coacd.org> Message-ID: <40A000DE.3070605@charter.net> I've implemented Nagios (1.2 at this point) on the UC Davis backbone. I'm monitoring 1529 routers/switches (mostly Foundry) and running 1778 services from a dedicated linux server...monitoring stuff like cpu load, temp, and some protocols (BGP, PIM, etc)...a few ATM devices that only ping... - Ron Huff Paul.Fiero at ci.austin.tx.us wrote: >I am in the process of trying to "sell" my management on the value of Nagios >over one of the commercial packages out there. Aside from the folks listed >on the nagios.org site can you all give me the names of some large >commerical and governmental entities that may be using Nagios? > >Paul Fiero > > >------------------------------------------------------- >This SF.Net email is sponsored by Sleepycat Software >Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver >higher performing products faster, at low TCO. >http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 proy.org Tue May 11 00:53:51 2004 From: nagios at proy.org (Patrick Proy) Date: Tue, 11 May 2004 00:53:51 +0200 Subject: Disk Usage and excluding file systems In-Reply-To: References: Message-ID: <20040510225351.B0774ABBF1@www.manubulon.com> I wrote one using snmp : look at check_snmp_storage.pl at http://www.manubulon.com/nagios/ . You can use the regexp feature to exclude multiple filesystems (I never did it that way, but it should work). Patrick ________________________________ De : nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Nolan, Greg Envoy? : lundi 10 mai 2004 23:09 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] Disk Usage and excluding file systems Nagios Users/Developers/Gurus, I would like to excluded multiple filesystems when checking disk usage, does anyone have a method for doing this? If not, has anyone written their own check_disk command? Thanks for the assistance. 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." ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_bohr at agilent.com Tue May 11 02:14:03 2004 From: jamie_bohr at agilent.com (BOHR,JAMIE (A-ColSprings,ex1)) Date: Mon, 10 May 2004 18:14:03 -0600 Subject: Disk Usage and excluding file systems In-Reply-To: <20040510225351.B0774ABBF1@www.manubulon.com> References: <20040510225351.B0774ABBF1@www.manubulon.com> Message-ID: <1084234443.2274.25.camel@rdrunner.cos.agilent.com> I have a Perl script that can do what you are looking for but it is not finished and is part of a client package I use at work. It does the following: 1. Thresholds per mount point, if threshold is not set for given mount a global threshold is used 2. Excludes read-only mounts 3. UNIX OS independent - each OS has its own Perl Module to set OS specif commands. 4. Put all mount into one service check Working on allowing each mount point to be a separate service check. I will post it if any one is interested. Here is an example of the configuration for it: ########### BEGIN ########## # # Global warning/critical levels # warning = 95 critical = 99 # # Comma delimited list of mount points to exclude # #exclude = /m1,/m2 # # Mount Warning Critical # Point # / 97 99 ########### END ########## The package I am working on has Perl scripts to monitor processes, load and swap. There is also a log monitor piece that uses "sec". If any one is interested let me know and I will post what I have so far. - Jamie Bohr On Mon, 2004-05-10 at 16:53, Patrick Proy wrote: > I wrote one using snmp : look at check_snmp_storage.pl at > http://www.manubulon.com/nagios/ . > You can use the regexp feature to exclude multiple filesystems (I never did > it that way, but it should work). > > Patrick > > ________________________________ > > De : nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Nolan, Greg > Envoy? : lundi 10 mai 2004 23:09 > ? : nagios-users at lists.sourceforge.net > Objet : [Nagios-users] Disk Usage and excluding file systems > > > > Nagios Users/Developers/Gurus, > > I would like to excluded multiple filesystems when checking disk usage, does > anyone have a method for doing this? If not, has anyone written their own > check_disk command? > > Thanks for the assistance. > > 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." > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 g.vickers at qut.edu.au Tue May 11 04:01:17 2004 From: g.vickers at qut.edu.au (Greg Vickers) Date: Tue, 11 May 2004 12:01:17 +1000 Subject: syslog quirk Message-ID: <5.2.0.9.2.20040511113116.02b06ec8@imap.qut.edu.au> Hi all, Just noticed something: if you configure log_file and status_file in conjunction with use_syslog, then messages are sent to both the log files as well as messages in your syslog directory! Which is good 'cause I'm going to siphon off the syslog messages to a remote host (using syslog-ng). ================================= 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 Mob: 0416 001 674 SD: #66147 ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.manuel at infostream.com.au Tue May 11 04:19:55 2004 From: phil.manuel at infostream.com.au (Phil Manuel) Date: Tue, 11 May 2004 12:19:55 +1000 Subject: plugin/module for timing HTTP traffic Message-ID: <40A0384B.5000109@infostream.com.au> I have a requirement to monitor the actual HTTP traffic from a users session on their workstation and provide the timing information about this back to Nagios maybe to display whether the system is running correctly. The workstation may be windows or Linux. I know BMC provide a component called Actual Web Response Timer, which may do the job, but I was really after using Nagios to handle this. Has anyone had to something similar ? We aren't allowed currently to use simulated traffic at present. Thanks -- Phil Manuel Infostream Tel:- +61 2 8977 3457 email:- Phil.Manuel at infostream.com.au ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From forsytad at luther.edu Tue May 11 05:19:58 2004 From: forsytad at luther.edu (Adam R. Forsyth) Date: Mon, 10 May 2004 22:19:58 -0500 (CDT) Subject: escalation bug? Message-ID: <50978.216.248.94.62.1084245598.squirrel@webmail.luther.edu> I think I may have found a bug in nagios escallations. We're currently using Nagios 1.0. Tonight we have a service that has been flip-flopping between yellow and red. That's the way picking a set tollerance goes soemtimes, and I understand that. What I don't get is why paging for this service occurred the way it did. Correlating the state changes, the notifications, and the acknowlegements, I get a story that goes something like this: --State goes critical --Primary gets paged --Primary Acknowleges --State goes to warning --State goes to Critical --Primary gets paged --Primary Acknowleges --State goes to warning --State goes to Critical --Primary gets paged --State goes to warning --State goes to Critical --Escallation gets paged. Now, our paging rules say that nagios should page the primary 3 times, and then escallate. I guess that's what it did, but what I don't understand is why the state change between Warning and Critical seems to clear the acknowlegement, but does not restart the primary escallation cycle. Based on how it behaves, I guessing it takes going back to a Green state before the paging cycle would start back over at the first page to the primary. If that's the case, though, shouldn't it also take going back to a green state to remove the acknowleged state? As it is, it was an unfortunate and annoying series of events that kept paging the primary, but I don't see any bennefit in having the escalation notified when the primary was attempting to acknowlege that he was watching this situation. So, is this a bug, or a feature that I'm not understanding the bennefit of? Thanks for any insight that anyone can provide. >From event log: Total Processes CRITICAL 05-10-2004 21:24:46 monesc notify-by-epager CRITICAL - 417 processes running students Total Processes CRITICAL 05-10-2004 21:24:44 moncall notify-by-epager CRITICAL - 417 processes running students Total Processes CRITICAL 05-10-2004 21:04:43 monesc notify-by-epager CRITICAL - 426 processes running students Total Processes CRITICAL 05-10-2004 20:49:44 monesc notify-by-epager CRITICAL - 427 processes running students Total Processes CRITICAL 05-10-2004 20:39:43 moncall notify-by-epager CRITICAL - 416 processes running students Total Processes ACKNOWLEDGEMENT (CRITICAL) 05-10-2004 20:31:33 moncall notify-by-epager Aknowledged -thw students Total Processes CRITICAL 05-10-2004 20:29:44 moncall notify-by-epager CRITICAL - 424 processes running students Total Processes ACKNOWLEDGEMENT (CRITICAL) 05-10-2004 20:16:18 moncall notify-by-epager Called Chris - Said to acknowledge and let it go... THW students Total Processes CRITICAL 05-10-2004 20:09:43 moncall notify-by-epager CRITICAL - 432 processes running >From the service alert history for this service: : 05-10-2004 21:29:43] SERVICE ALERT: students;Total Processes;WARNING;HARD;3;WARNING - 415 processes running [05-10-2004 21:24:44] SERVICE ALERT: students;Total Processes;CRITICAL;HARD;3;CRITICAL - 417 processes running [05-10-2004 21:19:43] SERVICE ALERT: students;Total Processes;WARNING;HARD;3;WARNING - 410 processes running [05-10-2004 21:04:43] SERVICE ALERT: students;Total Processes;CRITICAL;HARD;3;CRITICAL - 426 processes running [05-10-2004 20:59:44] SERVICE ALERT: students;Total Processes;WARNING;HARD;3;WARNING - 415 processes running [05-10-2004 20:49:44] SERVICE ALERT: students;Total Processes;CRITICAL;HARD;3;CRITICAL - 427 processes running [05-10-2004 20:44:43] SERVICE ALERT: students;Total Processes;WARNING;HARD;3;WARNING - 414 processes running [05-10-2004 20:39:43] SERVICE ALERT: students;Total Processes;CRITICAL;HARD;3;CRITICAL - 416 processes running [05-10-2004 20:34:43] SERVICE ALERT: students;Total Processes;WARNING;HARD;3;WARNING - 414 processes running [05-10-2004 20:29:44] SERVICE ALERT: students;Total Processes;CRITICAL;HARD;3;CRITICAL - 424 processes running [05-10-2004 20:24:43] SERVICE ALERT: students;Total Processes;WARNING;HARD;3;WARNING - 406 processes running [05-10-2004 20:09:43] SERVICE ALERT: students;Total Processes;CRITICAL;HARD;3;CRITICAL - 432 processes running -- Adam Forsyth Senior Systems Administrator Luther College ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From forsytad at luther.edu Tue May 11 05:19:10 2004 From: forsytad at luther.edu (Adam R. Forsyth) Date: Mon, 10 May 2004 22:19:10 -0500 (CDT) Subject: escalation bug? Message-ID: <50973.216.248.94.62.1084245550.squirrel@webmail.luther.edu> I think I may have found a bug in nagios escallations. We're currently using Nagios 1.0. Tonight we have a service that has been flip-flopping between yellow and red. That's the way picking a set tollerance goes soemtimes, and I understand that. What I don't get is why paging for this service occurred the way it did. Correlating the state changes, the notifications, and the acknowlegements, I get a story that goes something like this: --State goes critical --Primary gets paged --Primary Acknowleges --State goes to warning --State goes to Critical --Primary gets paged --Primary Acknowleges --State goes to warning --State goes to Critical --Primary gets paged --State goes to warning --State goes to Critical --Escallation gets paged. Now, our paging rules say that nagios should page the primary 3 times, and then escallate. I guess that's what it did, but what I don't understand is why the state change between Warning and Critical seems to clear the acknowlegement, but does not restart the primary escallation cycle. Based on how it behaves, I guessing it takes going back to a Green state before the paging cycle would start back over at the first page to the primary. If that's the case, though, shouldn't it also take going back to a green state to remove the acknowleged state? As it is, it was an unfortunate and annoying series of events that kept paging the primary, but I don't see any bennefit in having the escalation notified when the primary was attempting to acknowlege that he was watching this situation. So, is this a bug, or a feature that I'm not understanding the bennefit of? Thanks for any insight that anyone can provide. >From event log: Total Processes CRITICAL 05-10-2004 21:24:46 monesc notify-by-epager CRITICAL - 417 processes running students Total Processes CRITICAL 05-10-2004 21:24:44 moncall notify-by-epager CRITICAL - 417 processes running students Total Processes CRITICAL 05-10-2004 21:04:43 monesc notify-by-epager CRITICAL - 426 processes running students Total Processes CRITICAL 05-10-2004 20:49:44 monesc notify-by-epager CRITICAL - 427 processes running students Total Processes CRITICAL 05-10-2004 20:39:43 moncall notify-by-epager CRITICAL - 416 processes running students Total Processes ACKNOWLEDGEMENT (CRITICAL) 05-10-2004 20:31:33 moncall notify-by-epager Aknowledged -thw students Total Processes CRITICAL 05-10-2004 20:29:44 moncall notify-by-epager CRITICAL - 424 processes running students Total Processes ACKNOWLEDGEMENT (CRITICAL) 05-10-2004 20:16:18 moncall notify-by-epager Called Chris - Said to acknowledge and let it go... THW students Total Processes CRITICAL 05-10-2004 20:09:43 moncall notify-by-epager CRITICAL - 432 processes running >From the service alert history for this service: : 05-10-2004 21:29:43] SERVICE ALERT: students;Total Processes;WARNING;HARD;3;WARNING - 415 processes running [05-10-2004 21:24:44] SERVICE ALERT: students;Total Processes;CRITICAL;HARD;3;CRITICAL - 417 processes running [05-10-2004 21:19:43] SERVICE ALERT: students;Total Processes;WARNING;HARD;3;WARNING - 410 processes running [05-10-2004 21:04:43] SERVICE ALERT: students;Total Processes;CRITICAL;HARD;3;CRITICAL - 426 processes running [05-10-2004 20:59:44] SERVICE ALERT: students;Total Processes;WARNING;HARD;3;WARNING - 415 processes running [05-10-2004 20:49:44] SERVICE ALERT: students;Total Processes;CRITICAL;HARD;3;CRITICAL - 427 processes running [05-10-2004 20:44:43] SERVICE ALERT: students;Total Processes;WARNING;HARD;3;WARNING - 414 processes running [05-10-2004 20:39:43] SERVICE ALERT: students;Total Processes;CRITICAL;HARD;3;CRITICAL - 416 processes running [05-10-2004 20:34:43] SERVICE ALERT: students;Total Processes;WARNING;HARD;3;WARNING - 414 processes running [05-10-2004 20:29:44] SERVICE ALERT: students;Total Processes;CRITICAL;HARD;3;CRITICAL - 424 processes running [05-10-2004 20:24:43] SERVICE ALERT: students;Total Processes;WARNING;HARD;3;WARNING - 406 processes running [05-10-2004 20:09:43] SERVICE ALERT: students;Total Processes;CRITICAL;HARD;3;CRITICAL - 432 processes running -- Adam Forsyth Senior Systems Administrator Luther College ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rand at meridian-enviro.com Tue May 11 06:24:47 2004 From: rand at meridian-enviro.com (Douglas K. Rand) Date: Mon, 10 May 2004 23:24:47 -0500 Subject: mawg in cvs In-Reply-To: <50973.216.248.94.62.1084245550.squirrel@webmail.luther.edu> References: <50973.216.248.94.62.1084245550.squirrel@webmail.luther.edu> Message-ID: <877jvjmvzk.wl@bemidji.meridian-enviro.com> Adam> I think I may have found a bug in nagios escallations. We're Adam> currently using Nagios 1.0. Adam> Tonight we have a service that has been flip-flopping between Adam> yellow and red. That's the way picking a set tollerance goes Adam> soemtimes, and I understand that. What I don't get is why Adam> paging for this service occurred the way it did. We had a somewhat similar problem with Nagios 1.0 (or Nagios 1.1, I forget which now) where a notification would be generated on the transition from OK to WARNING but we'd never get a notification on the WARNING to CRITICAL transisition. (We noticed it on file system monitors, most of our monitors go directly from OK to CRITICAL.) I "solved" the problem by upgrading to Nagios 1.2. I never looked to see what the problem was, solving the problem by running portupgrade was easy enough. :) While not directly on point, I hope this helps a bit. ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stewart82 at yahoo.com Tue May 11 07:08:07 2004 From: stewart82 at yahoo.com (Stewart Chen) Date: Mon, 10 May 2004 22:08:07 -0700 (PDT) Subject: State history (Graph) Message-ID: <20040511050807.80145.qmail@web41501.mail.yahoo.com> hello, I'm trying to setup nagios with graph like http://nagios.sourceforge.net/images/screens/big/histogram.jpg I've looked in the mailing list for info but to no avail. I guess i must have missed something somehow. Do i need performance data or something like that ? Thanks Stewart __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From auchi at orms.info Tue May 11 09:43:25 2004 From: auchi at orms.info (markus auchmann) Date: Tue, 11 May 2004 09:43:25 +0200 Subject: how to update from 1.1 to 1.2 Message-ID: hi guys yes as you can see my question is how to update from 1.1 to 1.2, i used the 1.1 rpm's so whats easier, uninstall the 1.1 rpm's and install the 1.2 rpm's or is it easier to just overwrite some 1.1 files to get 1.2 working (and if it is so, wich files should i replace) thanks in advance, markus auchmann ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gregor.bruhin at netoxygen.ch Tue May 11 11:29:20 2004 From: gregor.bruhin at netoxygen.ch (Gregor Bruhin) Date: Tue, 11 May 2004 11:29:20 +0200 Subject: log events presentation (end of alert after ack) In-Reply-To: <75DEB1F7BFA6D711922A0020781E86F127C57F@EXCHANGE> References: <75DEB1F7BFA6D711922A0020781E86F127C57F@EXCHANGE> Message-ID: Hi, What is the best way to integrate (asynchronous and external) log events in nagios ? First of all the service I would like to generate a status for has to be defined, probably it will be a service with no active checks... Little example: A new log entry is written in my logfile on server A. The monitoring server M should check the logfile on A, see that there is a new event and then generate a critical status. (all this is quite easy to do) Then I would like to keep this service in critical state until someone has acknowledged it. How can I do this ? I had the idea to use an event handler to send some data to my plugin to tell it, now you can send a status update again, but there are probably other and easier ways to do it no ? How do you manage that ? (for example with portsentry integration) Thanks, Greg ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zhoue at algonquincollege.com Tue May 11 14:33:45 2004 From: zhoue at algonquincollege.com (emily zhou) Date: Tue, 11 May 2004 08:33:45 -0400 Subject: check_radius References: <370ACCFA5BB3B346A31222E5559BF91F1B62C7@mismail2.ena.com> Message-ID: <40A0C829.8030401@algonquincollege.com> Hi All, I just wonder if anyone got check_radius working on Solaris, I tried but no luck. I got Radiusclient library installed, still the check_radius.c compiling failed, complaining no library. Any clue would be appreciated. Thanks, Emily Marc Powell wrote: >Paul.Fiero at ci.austin.tx.us wrote: > > >>Anyone have any ideas on how to check RADIUS services on a remote >>box? I am trying to do a check_udp command modified to send data on >>udp port 1645 (which is one of the ports that my RADIUS box is >>listening on) but I got no data back. My assumption here is that the >>RADIUS box only sends a response to a specific query type and not >>just a "hey are you listening" query. >> >> > > >Use the check_radius plugin that is distributed with the standard >plugins. You must have the radius client libs installed before compiling >the plugins. From the REQUIREMENTS file -- > >check_radius: > - Requires the radiusclient library available from >http://www.cityline.net/~lf/radius/ > RPM (rpmfind): radiusclient-0.3.1-1, radiusclient-devel-0.3.1-1 > >-- >Marc > > >------------------------------------------------------- >This SF.Net email is sponsored by Sleepycat Software >Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver >higher performing products faster, at low TCO. >http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > >BEGIN-CANIT-VOTING-LINKS >------------------------------------------------------ >Teach CanIt if this mail (ID 3765526) is spam: >Spam: http://mailgate1.algonquincollege.com/canit/b.php?c=s&i=3765526&m=e07010a532b9 >Not spam: http://mailgate1.algonquincollege.com/canit/b.php?c=n&i=3765526&m=e07010a532b9 >Forget vote: http://mailgate1.algonquincollege.com/canit/b.php?c=f&i=3765526&m=e07010a532b9 >------------------------------------------------------ >END-CANIT-VOTING-LINKS > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From verdon at cict.fr Tue May 11 15:05:45 2004 From: verdon at cict.fr (carole verdon) Date: Tue, 11 May 2004 15:05:45 +0200 Subject: PB with arguments of check_disk used with check_nrpe Message-ID: <40A0CFA9.6010309@cict.fr> Hi, In first, in my nrpe.cfg, i define check_disk as following: command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -X $ARG3$ -X $ARG4$ and then i execute ./check_nrpe -H x.x.x.x -c check_disk -a 20% 10% lofs nfs I have a display problem, the output is truncated. So I decided to pass the different paths in nrpe.cfg: command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ -p $ARG4$ -p $ARG5$ -p $ARG6$ -p $ARG7$ -p $ARG8$ -p $ARG9$ -p $ARG10$ -p $ARG11$ When i execute ./check_nrpe -H x.x.x.x -c check_disk -a 20% 10% / /tmp /var/mail /usr/local, i obtain the following message: check_disk: unrecognized option The problem occurs from the argument $ARG6$ because of the return to the line. How must i write this command line correctly in nrpe.cfg? Can you help me, please? Carole. ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Patrick.Roy at ville.Quebec.qc.ca Tue May 11 15:15:21 2004 From: Patrick.Roy at ville.Quebec.qc.ca (Roy, Patrick) Date: Tue, 11 May 2004 09:15:21 -0400 Subject: Status Map error Message-ID: <28A0F72B3EA0BC47A65E8E67CC191282120495@srv3057000552.ville.quebec.qc.ca> hi everyone! I have nagios up and running monitoring over 100 server it's working great but i'm unable to see "Status Map", "Trends" and "Alert History". (3d status map and everything else is working find) Nagios is running on a fresh redhat9 install with apache 2 latest stable release I think it is the GD library that is failling could anyone help me? Patrick ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 nomoreheroes.org.uk Tue May 11 15:45:34 2004 From: nagios at nomoreheroes.org.uk (dennis) Date: Tue, 11 May 2004 14:45:34 +0100 Subject: Strange logging problem In-Reply-To: <28A0F72B3EA0BC47A65E8E67CC191282120495@srv3057000552.ville.quebec.qc.ca> References: <28A0F72B3EA0BC47A65E8E67CC191282120495@srv3057000552.ville.quebec.qc.ca> Message-ID: <40A0D8FE.2090405@nomoreheroes.org.uk> Why is nagios writing to files of the sort below instead of nagios.log? nagios.tmpfhhcdq It baffles me. I have the nagios.log and nagios.sav files in place and have chmod'd the files and dirs to 777 in desperation to discover why they don't go to the log files ... they were at some point, then just stopped and I can't see why this might be so. I feel it is a rtfm sort of issue but I cannot find the answer any help gratefully recieved (before or after i loose all my hair in frustration) ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 11 15:50:45 2004 From: marc at ena.com (Marc Powell) Date: Tue, 11 May 2004 08:50:45 -0500 Subject: Status Map error Message-ID: <370ACCFA5BB3B346A31222E5559BF91F01428A@mismail2.ena.com> Search the FAQ. You need GD. -- Marc -----Original Message----- From: Roy, Patrick To: 'nagios-users at lists.sourceforge.net' Sent: Tue May 11 08:15:21 2004 Subject: [Nagios-users] Status Map error hi everyone! I have nagios up and running monitoring over 100 server it's working great but i'm unable to see "Status Map", "Trends" and "Alert History". (3d status map and everything else is working find) Nagios is running on a fresh redhat9 install with apache 2 latest stable release I think it is the GD library that is failling could anyone help me? Patrick ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 mramos at co.sapo.pt Tue May 11 15:54:21 2004 From: mramos at co.sapo.pt (Marco Ramos) Date: Tue, 11 May 2004 14:54:21 +0100 Subject: Remotely checking disk space In-Reply-To: References: <75DEB1F7BFA6D711922A0020781E86F127C57F@EXCHANGE> Message-ID: <1084283661.2784.25.camel@supernova> Hi, if you've snmp installed in your remote machine you can also use check_snmp with the repective oid and the tresholds you want. Best regards, mramos On Mon, 2004-05-10 at 17:32, Brent M. Clements wrote: > How would I configure nagios to monitor the disk space of remote systems? > I assumed I'd use check_by_ssh combined with the check_disk command, but > what do I have to configure in order for this to work? > > Thanks, > Brent > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shorn at lssi.net Tue May 11 16:13:57 2004 From: shorn at lssi.net (Spencer Horn) Date: Tue, 11 May 2004 10:13:57 -0400 Subject: Strange logging problem In-Reply-To: <40A0D8FE.2090405@nomoreheroes.org.uk> References: <28A0F72B3EA0BC47A65E8E67CC191282120495@srv3057000552.ville.quebec.qc.ca> <40A0D8FE.2090405@nomoreheroes.org.uk> Message-ID: <40A0DFA5.8000407@lssi.net> Is nagios the owners of these files? dennis wrote: > > Why is nagios writing to files of the sort below instead of nagios.log? > > nagios.tmpfhhcdq > > It baffles me. I have the nagios.log and nagios.sav files in place and > have chmod'd the files and dirs to 777 in desperation to discover why > they don't go to the log files ... they were at some point, then just > stopped and I can't see why this might be so. > > I feel it is a rtfm sort of issue but I cannot find the answer > > any help gratefully recieved (before or after i loose all my hair in > frustration) > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwhuff at charter.net Tue May 11 16:27:20 2004 From: rwhuff at charter.net (Ron Huff) Date: Tue, 11 May 2004 07:27:20 -0700 Subject: how to update from 1.1 to 1.2 In-Reply-To: References: Message-ID: <40A0E2C8.4020002@charter.net> I recently updated 1.1 to 1.2; this is as easy as it gets. Just protect any source you've modified. Of course you protect your config files with your life, however these are not threatened and are completely transferable to 1.2. I'm not sure how much control you have with rpms; I use tarballs. Just take the new source tree thru the 'make install' step, and you're ready to go ( I use the INSTALLING guide )...config files should remain untouched and all worked as before for me. - Ron Huff markus auchmann wrote: >hi guys > >yes as you can see my question is how to update from 1.1 to 1.2, i used the 1.1 rpm's so whats easier, uninstall the 1.1 rpm's and install the 1.2 rpm's or is it easier to just overwrite some 1.1 files to get 1.2 working (and if it is so, wich files should i replace) > >thanks in advance, > >markus auchmann > > >------------------------------------------------------- >This SF.Net email is sponsored by Sleepycat Software >Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver >higher performing products faster, at low TCO. >http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 nomoreheroes.org.uk Tue May 11 16:43:29 2004 From: nagios at nomoreheroes.org.uk (dennis) Date: Tue, 11 May 2004 15:43:29 +0100 Subject: Strange logging problem In-Reply-To: <40A0DFA5.8000407@lssi.net> References: <28A0F72B3EA0BC47A65E8E67CC191282120495@srv3057000552.ville.quebec.qc.ca> <40A0D8FE.2090405@nomoreheroes.org.uk> <40A0DFA5.8000407@lssi.net> Message-ID: <40A0E691.6090605@nomoreheroes.org.uk> yes, owner and group are the same for the .log and .save files as they are for the tmp ones. Spencer Horn wrote: > Is nagios the owners of these files? > > dennis wrote: > >> >> Why is nagios writing to files of the sort below instead of nagios.log? >> >> nagios.tmpfhhcdq >> >> It baffles me. I have the nagios.log and nagios.sav files in place >> and have chmod'd the files and dirs to 777 in desperation to discover >> why they don't go to the log files ... they were at some point, then >> just stopped and I can't see why this might be so. >> >> I feel it is a rtfm sort of issue but I cannot find the answer >> >> any help gratefully recieved (before or after i loose all my hair in >> frustration) >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by Sleepycat Software >> Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to >> deliver >> higher performing products faster, at low TCO. >> http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 nomoreheroes.org.uk Tue May 11 17:25:01 2004 From: nagios at nomoreheroes.org.uk (dennis) Date: Tue, 11 May 2004 16:25:01 +0100 Subject: Strange logging problem In-Reply-To: <40A0E691.6090605@nomoreheroes.org.uk> References: <28A0F72B3EA0BC47A65E8E67CC191282120495@srv3057000552.ville.quebec.qc.ca> <40A0D8FE.2090405@nomoreheroes.org.uk> <40A0DFA5.8000407@lssi.net> <40A0E691.6090605@nomoreheroes.org.uk> Message-ID: <40A0F04D.2030005@nomoreheroes.org.uk> ermmm it was down the group defined in the nagios being different to the group the log files belonged to. I shall hide in shame with a wee smile because at least it works! dennis wrote: > > yes, owner and group are the same for the .log and .save files as they > are for the tmp ones. > > > Spencer Horn wrote: > >> Is nagios the owners of these files? > ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nick.Platt at myflorida.com Tue May 11 17:55:54 2004 From: Nick.Platt at myflorida.com (Platt, Nicholas) Date: Tue, 11 May 2004 11:55:54 -0400 Subject: Nagios passive check not changing alert condition Message-ID: <2FDA6C38B2BFD4119D2400D0B784BE6F0746B873@stoexchange.state.fl.us> Hellow everyone: I've been able to get SNMPTT to accept a trap and pass it to "submit_check_result" script but Nagios is not changing the passive service object to warning condition. I've executed the "submit_check_result" manually and could not get Nagios to change the service object from Okay to Warning: [root at nagios eventhandlers]# ./submit_check_result TestRouter TRAP 1 "Ethernet down test" Can someone look at my service object and see if I have anything mis-configured? I am able to perform all external commands but I just can't get nagios.cmd to execute and cause a passive check to change from green to yellow. I was able to output the results of the "submit_check_results" and found that it was spitting out the right output. See blow for script. Any help will be greatly appreciated **************************SERVICE*********************** define service{ use generic-service host_name TestRouter service_description SNMP-TRAP is_volatile 1 passive_checks_enabled 1 check_period none max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 contact_groups network-admins notification_interval 31536000 notifications_enabled 1 notification_period 24x7 notification_options w,c,u,r check_command check-host-alive } *************HOST************** define host{ use generic-host ; Name of host template to use host_name TestRouter alias LAB Cisco 800 address 192.168.1.1 parents M1 check_command check-host-alive max_check_attempts 3 low_flap_threshold 25 high_flap_threshold 50 flap_detection_enabled 1 notification_interval 60 notification_period 24x7 notification_options d,u,r } ************************submit_check_results************************* #!/bin/sh # SUBMIT_CHECK_RESULT # Written by Ethan Galstad (nagios at nagios.org) # Last Modified: 02-18-2002 # # This script will write a command to the Nagios command # file to cause Nagios to process a passive service check # result. Note: This script is intended to be run on the # same host that is running Nagios. If you want to # submit passive check results from a remote machine, look # at using the nsca addon. # # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = return_code (An integer that determines the state # of the service check, 0=OK, 1=WARNING, 2=CRITICAL, # 3=UNKNOWN). # $4 = plugin_output (A text string that should be used # as the plugin output for the service check) # echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` `$echocmd $cmdline >> /backup/snmp-trap-test.log` -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.shipway at auckland.ac.nz Wed May 12 06:28:48 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 12 May 2004 16:28:48 +1200 Subject: Monitoring Windows Event Log from Nagios Message-ID: <00e201c437d9$9ec52e50$b004d882@itss.auckland.ac.nz> Hi - Does anyone out there have a method to monitor the Windows Event log using Nagios? Currently, we use the pNSClient agent to collect Perfmon data, which works fine. On UNIX systems, we have the syslogd daemon which will feed important events via a filter through NSCA and into a Passive Service on Nagios -- again, no problem. However, we need a way to send Windows event log events and generate an alert. An ideal setup would be a configurable daemon that will send an NSCA alert (of a configurable level) for log entries matching a certain regular expression. However, at the moment I'll take anything! It needs to be something that, like pNSClient, can run as a service on the server in question. Do any of you out there have or know of such an agent? It would be of great help out here, Thanks in advance, 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 tothb1 at freemail.hu Wed May 12 08:20:35 2004 From: tothb1 at freemail.hu (=?ISO-8859-2?Q?T=F3th_B=E9la?=) Date: Wed, 12 May 2004 08:20:35 +0200 (CEST) Subject: nagios errors Message-ID: Hi! Where can I find nagios error messages explanations? For example: Return code of 116 is out of bounds and other error messages explanations by error code number. Thanks! Toti ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sven.schaffranneck at volkswagen.de Wed May 12 08:25:58 2004 From: sven.schaffranneck at volkswagen.de (Schaffranneck, Sven (K-DOI-5/4)) Date: Wed, 12 May 2004 08:25:58 +0200 Subject: AW: Monitoring Windows Event Log from Nagios Message-ID: <09FCA2FF7E92D71186320008C71E91C6031FD2B4@devwagwodx0029.wob.vw.de> Hi Steve, > Does anyone out there have a method to monitor the Windows > Event log using > Nagios? have a look at http://naplax.sourceforge.net/check_win_eventlog.html for NAPLAX and it's Windows Eventlog Addon. Poorly it doesn't support the embedded Perl Nagios and the author doesn't know how to change the perl-script to work with ePN. Maybe anyone else want this!? :-) Greets Sven ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From uv at upaya.co.uk Wed May 12 09:04:36 2004 From: uv at upaya.co.uk (Upayavira) Date: Wed, 12 May 2004 08:04:36 +0100 Subject: Time based rather than contact based notifications Message-ID: <40A1CC84.5050707@upaya.co.uk> My scenario is that there are multiple people responsible, at different times, for various services. At present, I have to manage this by specifying the timeperiod for each contact. I'd rather associate people with timeperiods, rather than timeperiods with people. So, I'd like to say: Time Main Contact Secondary Contact Mon, 9am-5pm Peter Jim Mon, 5pm-Tue 9am Jim Sue Tue 9am-5pm Sue William etc, etc, etc. This way, I have a single file that shows me who's on duty when. With the current setup, I could easily end up with two people on duty at the same time, or worse - no-one on duty, simply by an error in the details I enter. I know I could achieve the above by writing a script to generate the Nagios config files from a file format such as the one above, but is there any other way I can achieve this? Thanks in advance. Upayavira ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhennessy at mitchamcouncil.sa.gov.au Wed May 12 09:11:36 2004 From: jhennessy at mitchamcouncil.sa.gov.au (Justin Hennessy) Date: Wed, 12 May 2004 16:41:36 +0930 Subject: Always EMPTY result from check_mailq ... Message-ID: Hi all, I have a little problem in that I monitor sendmail queues on my RedHat linux servers but 1 of my servers seems to be running check_mailq but I ALWAYS get a empty result. I have done tested like email 50 messages and look at the queue with mailq (also using check_mailq at the command prompted) then waited for the test to happen again and then see what Nagios says, as I said before I only get an empty result. Anybody gat any ideas? Justin ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhennessy at mitchamcouncil.sa.gov.au Wed May 12 09:16:21 2004 From: jhennessy at mitchamcouncil.sa.gov.au (Justin Hennessy) Date: Wed, 12 May 2004 16:46:21 +0930 Subject: Output problems with check_snmp ... Message-ID: Hi all (again), I am trying check the uptime of my managed switches but I have a little problem when I put the test into Nagios. When I run this: /usr/local/nagios/libexec/check_snmp -H 172.16.4.1 -o system.sysUpTime.0 -C dragonsbain I get this: SNMP OK - Timeticks: (563369316) 65 days, 4:54:53.16 BUT when I run this: /usr/local/nagios/libexec/check_snmp -H 172.16.4.1 -o system.sysUpTime.0 -C dragonsbain -w 10 -c 30 I get this: SNMP CRITICAL - *563375231* Can anyone shed some light on why the output changes when I put the WARNING and CRITICAL criteria in? Thanks, Justin ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed May 12 10:32:46 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 12 May 2004 10:32:46 +0200 Subject: Output problems with check_snmp ... In-Reply-To: References: Message-ID: <40A1E12E.5070908@op5.se> Justin Hennessy wrote: > Hi all (again), > > I am trying check the uptime of my managed switches but I have a little > problem when I put the test into Nagios. > > When I run this: > /usr/local/nagios/libexec/check_snmp -H 172.16.4.1 -o > system.sysUpTime.0 -C dragonsbain > > I get this: > SNMP OK - Timeticks: (563369316) 65 days, 4:54:53.16 > > BUT when I run this: > /usr/local/nagios/libexec/check_snmp -H 172.16.4.1 -o > system.sysUpTime.0 -C dragonsbain -w 10 -c 30 > > I get this: > SNMP CRITICAL - *563375231* > > Can anyone shed some light on why the output changes when I put the > WARNING and CRITICAL criteria in? > Which is correct. One timetick represents 1/100 of a second, and 563369316 1/100's of a second makes for 65 days, 4 hours, 54 minutes and 53.16 seconds (the above example. There was a time delay of 59.15 seconds delay between your running of snmpget and check_snmp). check_snmp doesn't do that translation for you, so you have to specify it in timeticks (why you would want thresholds on uptime in the first place eludes me, but who am I to say?) Anyways... The math goes something like this; threshold=(((((days*24*60)+hours)*60+minutes)*60+seconds)*100)+centiseconds Mind the math precedense. One day is 86400 seconds. You do the math on the thresholds you want, and don't forget to multiply by 100. > Thanks, > Anytime. > Justin > -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ludo.bosmans at xtenso.be Wed May 12 10:30:00 2004 From: ludo.bosmans at xtenso.be (Ludo Bosmans) Date: Wed, 12 May 2004 10:30:00 +0200 Subject: Monitoring Windows Event Log from Nagios ( SEC OND TRY TO REPLY ) Message-ID: <518772850433D4119AAA00105AC460987B290B@mail.tpb.be> Steve, I'm glad that i can advice the creator of "routers2.cgi" and other nice tools for drawing graphs. Have a look to "SNARE": http://www.intersectalliance.com/projects/ Snare Agent for Windows Snare for Windows is a Windows NT, Windows 2000, Windows XP, and Windows 2003 compatible service that interacts with the underlying Windows Eventlog subsystem to facilitate remote, real-time transfer of event log information. Event logs from the Security, Application and System logs, as well as the new DNS, File Replication Service, and Active Directory logs are supported. Log data is converted to text format, and delivered to a remote Snare Server, or to a remote SYSLOG server. SNARE for Windows is free software (freeware), released under the terms of the GNU Public Licence. I'm still busy to work out a solution but let me point out the way i try to set it up. Currently i have installed the SNARE agent on two Windows servers. The agent is configured to forward the eventlog entries to the syslog daemon on the nagios server. On the nagios server i use a script that is respawned by inittab and that is following the syslog messages file. This script is responsable for filtering the recieved messages on fields as the "Snare HOST_NAME", criticaly level, event-type, ... and finally submitting results to a specific passive service. f.e. "Security WinEventlog", "Application WinEventlog", "System WinEventlog"... The "Snare HOST_NAME" is a configurable parameter that is passed together with the wineventlog fields. I keep this the same as the host_name on which i have set-up currently 3 passive checks ( Security, Applicaton, System )/ host_name. Additionally i have set-up also the same services on the nagios server. When i recieve a Snare host_name message that i can't lookup as a configured host_name, i submit a warning to the nagios server specific winsevent services to avoid alerts get lost. Further the script is keeping an array that contain the host_name and a time stamp when the last result was submitted on a certain host_name and service. When an entry is older then 10 minutes, the entry is removed from the array and an "OK" result is submitted, so the volatile service is automatically recovering. best regards, ludo -----Original Message----- From: Steve Shipway [mailto:s.shipway at auckland.ac.nz] Sent: woensdag 12 mei 2004 06:29 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring Windows Event Log from Nagios Hi - Does anyone out there have a method to monitor the Windows Event log using Nagios? Currently, we use the pNSClient agent to collect Perfmon data, which works fine. On UNIX systems, we have the syslogd daemon which will feed important events via a filter through NSCA and into a Passive Service on Nagios -- again, no problem. However, we need a way to send Windows event log events and generate an alert. An ideal setup would be a configurable daemon that will send an NSCA alert (of a configurable level) for log entries matching a certain regular expression. However, at the moment I'll take anything! It needs to be something that, like pNSClient, can run as a service on the server in question. Do any of you out there have or know of such an agent? It would be of great help out here, Thanks in advance, 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. ** ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ludo.bosmans at xtenso.be Wed May 12 10:14:05 2004 From: ludo.bosmans at xtenso.be (Ludo Bosmans) Date: Wed, 12 May 2004 10:14:05 +0200 Subject: Monitoring Windows Event Log from Nagios Message-ID: <518772850433D4119AAA00105AC460987B290A@mail.tpb.be> Steve, I'm glad that i can advice the creator of "routers2.cgi" and other nice tools for drawing graphs. Have a look to "SNARE": http://www.intersectalliance.com/projects/ Snare Agent for Windows Snare for Windows is a Windows NT, Windows 2000, Windows XP, and Windows 2003 compatible service that interacts with the underlying Windows Eventlog subsystem to facilitate remote, real-time transfer of event log information. Event logs from the Security, Application and System logs, as well as the new DNS, File Replication Service, and Active Directory logs are supported. Log data is converted to text format, and delivered to a remote Snare Server, or to a remote SYSLOG server. SNARE for Windows is free software (freeware), released under the terms of the GNU Public Licence. I'm still busy to work out a solution but let me point out the way i try to set it up. Currently i have installed the SNARE agent on two Windows servers. The agent is configured to forward the eventlog entries to the syslog daemon on the nagios server. On the nagios server i use a script that is respawned by inittab and that is following the syslog messages file. This script is responsable for filtering the recieved messages on fields as the "Snare HOST_NAME", criticaly level, event-type, ... and finally submitting results to a specific passive service. f.e. "Security WinEventlog", "Application WinEventlog", "System WinEventlog"... The "Snare HOST_NAME" is a configurable parameter that is passed together with the wineventlog fields. I keep this the same as the host_name on which i have set-up currently 3 passive checks ( Security, Applicaton, System )/ host_name. Additionally i have set-up also the same services on the nagios server. When i recieve a Snare host_name message that i can't lookup as a configured host_name, i submit a warning to the nagios server specific winsevent services to avoid alerts get lost. Further the script is keeping an array that contain the host_name and a time stamp when the last result was -----Original Message----- From: Steve Shipway [mailto:s.shipway at auckland.ac.nz] Sent: woensdag 12 mei 2004 06:29 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring Windows Event Log from Nagios Hi - Does anyone out there have a method to monitor the Windows Event log using Nagios? Currently, we use the pNSClient agent to collect Perfmon data, which works fine. On UNIX systems, we have the syslogd daemon which will feed important events via a filter through NSCA and into a Passive Service on Nagios -- again, no problem. However, we need a way to send Windows event log events and generate an alert. An ideal setup would be a configurable daemon that will send an NSCA alert (of a configurable level) for log entries matching a certain regular expression. However, at the moment I'll take anything! It needs to be something that, like pNSClient, can run as a service on the server in question. Do any of you out there have or know of such an agent? It would be of great help out here, Thanks in advance, 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. ** ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed May 12 10:38:21 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 12 May 2004 10:38:21 +0200 Subject: nagios errors In-Reply-To: References: Message-ID: <40A1E27D.9050907@op5.se> T?th B?la wrote: > Hi! > Where can I find nagios error messages explanations? > For example: > Return code of 116 is out of bounds > and other error messages explanations by error code number. Return code out of bounds most often happens what a system error happens. You can use the 'perror' program to display the appropriate error message for it. 116 is 'Stale NFS file handle', and should probably occur when a partition previously mounted by NFS is no longer available, but hasn't been unmounted (i.e. NFS server is down or otherwise unavailable). 126 and 127 are not very uncommon. Those are shell return codes (not system ones) and mean, respectively; 'Permission denied' or 'Non-executable' (on the file being executed or one of the directories above it) and 'File not found' (for when a plugin is missing). > Thanks! You're welcome. > Toti > -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gr0ahaxor at eml.cc Wed May 12 13:30:28 2004 From: gr0ahaxor at eml.cc (Ge0ak) Date: Wed, 12 May 2004 04:30:28 -0700 Subject: NSCA problem Message-ID: <1084361428.13311.196316778@webmail.messagingengine.com> hello, my config seems to be ok when i use submit_check_result i have that 1 data packet(s) sent to host successfully. ./submit_check_result web nsca 1 "my output" but in syslog on the manager nsca[25077]: Received invalid packet type/version from client - possibly due to client using wrong password or crypto algorithm? i use no password and no encryption algorythm nsca version is 2.4 Thanks -- Ge0ak gr0ahaxor at eml.cc -- http://www.fastmail.fm - Email service worth paying for. Try it for free ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flakmagnet at tabletop-battlezone.com Wed May 12 15:37:26 2004 From: flakmagnet at tabletop-battlezone.com (Flak Magnet) Date: Wed, 12 May 2004 09:37:26 -0400 Subject: NRPE - Could not read request from client, bailing out... Message-ID: <200405120937.26382.flakmagnet@tabletop-battlezone.com> I am having a fit trying to get check_nrpe to work and so I reluctantly ask you folks for assistance. Environ: Nagios 1.2 on a Linux box with nrpe_check v 2.0 NRPE v 1.9 on Solaris 8 box. I compiled both ends of nrpe without SSL support and I'm running nrpe on the Solaris box from inetd. When I run check_nrpe receive the following message in /var/tmp/messages: May 12 09:16:27 nrpe[6750]: [ID 421412 daemon.error] Could not read request from client, bailing out... I've searched the FAQ and RTFM'd without coming up with anything... could it be the different versions of NRPE that are shnackering up the works? -- -- Tim "Flak Magnet" http://geocities.com/flakmagnet72/ Justing Timberlake is on the cover of Rolling Stones: The fall of Western Civilization is imminent. ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magnus.hultgren at rps.police.se Wed May 12 16:04:18 2004 From: magnus.hultgren at rps.police.se (Magnus Hultgren) Date: Wed, 12 May 2004 16:04:18 +0200 Subject: Nagat vs. Nagmin Message-ID: <200405121408.i4CE8SqR012419@av-inet.police.se> Hi! This is probably a quiet stupid question, but as I'm a newbie to Nagios, I will ask it anyway. Which is the most popular admin tool for Nagios? As it seems, it stands between either Nagat or Nagmin, or am I wrong? So which is the most preferable? And what are the pros and cons? Best Regards! Magnus. -------------- next part -------------- An HTML attachment was scrubbed... URL: From RichardL at profero.com Wed May 12 16:00:37 2004 From: RichardL at profero.com (Richard Lefevre) Date: Wed, 12 May 2004 15:00:37 +0100 Subject: Wierd logo/icon issues Message-ID: <6DC91C2935EED54B9AB1F722B80993E704C1FE@uk-exc-0140.profero.ad> Hi all, I've just moved my Nagios install onto a nice shiny new server and restored all my previous settings - (although this time using mysql as well). Everything works as I would expect it to - exactly the same, the only strange difference, is that the icons on the status map (the exact same ones, I must add) are displayed at what appears to be a much lower resolution. The colours in 'win40.gd2' for example are completely different on the previous and new installs. Can anyone give me a hint as to what might be causing this? It looks pretty shoddy. Cheers, Richard ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From me-lists at kernzeit.com Wed May 12 16:25:55 2004 From: me-lists at kernzeit.com (Matthias Eichler) Date: Wed, 12 May 2004 16:25:55 +0200 Subject: Nagat vs. Nagmin In-Reply-To: <200405121408.i4CE8SqR012419@av-inet.police.se> References: <200405121408.i4CE8SqR012419@av-inet.police.se> Message-ID: <1084371955.2645.42.camel@blindzero> > Which is the most popular admin tool for Nagios? As it seems, it > stands between either Nagat or Nagmin, or am I wrong? Another would be Nawui, but this is in a very early stage of development. > So which is the most preferable? And what are the pros and cons? I think its a question of your general setup defaults. In our company we are not using Webmin (Nagmin) because its security risk is too high in our oppinion. Nagat has the advantage that you dont get all the other stuff you dont need or dont want (especially due to security reasons). The con of Nagat is IMHO that there are no further developments. Matthias > > > Best Regards! Magnus. -- Matthias Eichler kernzeit AG ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wdh at belbone.be Wed May 12 16:28:01 2004 From: wdh at belbone.be (Wim) Date: Wed, 12 May 2004 16:28:01 +0200 Subject: Checks are orphaned... Message-ID: <20040512142801.GB4134@tyr.car.belbone.be> Hi, I wrote some plugins, and implemented them on my Nagios. All the checks seems to be working fine, but afer some time I see the following errors in my syslog: nagios nagios: Warning: The check of service 'Int FastEthernet9/1/1 Status' on host 'pecbru11' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... When I run them from CLI, everything works fine and I checked that I quit always with the proper exitcode (ERROR, WARNING,...) Does someone have a clue? Thanx, Wim ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rlogbeck at moinfo.com Wed May 12 16:35:22 2004 From: rlogbeck at moinfo.com (Robert Logbeck) Date: Wed, 12 May 2004 09:35:22 -0500 Subject: Newbie host/server issue Message-ID: <4B63F5F5A4CB934FA82D5393A1D947E5FF00BC@s3mail.s3systems.com> I have one server that is giving me a bit of a hard time. It responds to the ping and smtp checks but anything that appears to use the client gives a connection refused by host. The target machine is a Windows 2000 server running Exchange 2000. Several other NT and Novell machines are working correctly. Oddly enough, I cannot mail through it either (trying to get alerts to techs) yet I can send traffic to external mail servers. Any thoughts would be appreciated! Thanks! Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed May 12 16:39:29 2004 From: marc at ena.com (Marc Powell) Date: Wed, 12 May 2004 09:39:29 -0500 Subject: Wierd logo/icon issues Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B62E9@mismail2.ena.com> Richard Lefevre wrote: > Hi all, > > I've just moved my Nagios install onto a nice shiny new server and > restored all my previous settings - (although this time using mysql > as well). > > Everything works as I would expect it to - exactly the same, the only > strange difference, is that the icons on the status map (the exact > same ones, I must add) are displayed at what appears to be a much > lower resolution. The colours in 'win40.gd2' for example are > completely different on the previous and new installs. Can anyone > give me a hint as to what might be causing this? It looks pretty > shoddy. Differing versions of GD maybe? The GD format appears to change slightly between versions leading to irregularities. You could try converting them to png on the old system (gdtopng) and then from png to gd on the new system (pngtogd). -- Marc ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Newcombe at mordor.clayton.edu Wed May 12 16:42:05 2004 From: Newcombe at mordor.clayton.edu (Dan Newcombe) Date: Wed, 12 May 2004 10:42:05 -0400 (EDT) Subject: different contact methods for different events Message-ID: In the contacts.cfg, there is a line for pager and line for e-mail. Is it possible to define a notification for a service that uses just one of those? For example, e-mail and page me if a machine is down, but if just something like ntp drops on a host, just e-mail me, as I don't want lunch interupted for nothing. As best as I can tell, it looks like I need to make a Dan_Email contact Dan_Pager contact and then depending on the service, choose the appropriate contact group with the right people. Just seems to me it'd be easier/nice to have a way in the contactgroups to have a contacttype or something, where you just have one entry for each contact and get to choose how they are contacted higher up based on the service. ie in the service config, after contact_groups, have a contact_method pager or contact_method email or something in there. Just seems easier on managing contacts in the long run to have one contact entry per person. Yeah...I could probably modify the source, but I prefer nagios to work :) Or have I missed something completely. ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nick.Platt at myflorida.com Wed May 12 16:54:53 2004 From: Nick.Platt at myflorida.com (Platt, Nicholas) Date: Wed, 12 May 2004 10:54:53 -0400 Subject: Nagios passive check not changing alert condit ion Message-ID: <2FDA6C38B2BFD4119D2400D0B784BE6F0746B958@stoexchange.state.fl.us> Everyone: Haven't received any responses so far :-( If anyone can help me, please respond. You're help is greatly appreciated. Thanks :-) -----Original Message----- From: Platt, Nicholas [mailto:Nick.Platt at myflorida.com] Sent: Tuesday, May 11, 2004 11:56 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Nagios passive check not changing alert condition Hellow everyone: I've been able to get SNMPTT to accept a trap and pass it to "submit_check_result" script but Nagios is not changing the passive service object to warning condition. I've executed the "submit_check_result" manually and could not get Nagios to change the service object from Okay to Warning: [root at nagios eventhandlers]# ./submit_check_result TestRouter TRAP 1 "Ethernet down test" Can someone look at my service object and see if I have anything mis-configured? I am able to perform all external commands but I just can't get nagios.cmd to execute and cause a passive check to change from green to yellow. I was able to output the results of the "submit_check_results" and found that it was spitting out the right output. See blow for script. Any help will be greatly appreciated **************************SERVICE*********************** define service{ use generic-service host_name TestRouter service_description SNMP-TRAP is_volatile 1 passive_checks_enabled 1 check_period none max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 contact_groups network-admins notification_interval 31536000 notifications_enabled 1 notification_period 24x7 notification_options w,c,u,r check_command check-host-alive } *************HOST************** define host{ use generic-host ; Name of host template to use host_name TestRouter alias LAB Cisco 800 address 192.168.1.1 parents M1 check_command check-host-alive max_check_attempts 3 low_flap_threshold 25 high_flap_threshold 50 flap_detection_enabled 1 notification_interval 60 notification_period 24x7 notification_options d,u,r } ************************submit_check_results************************* #!/bin/sh # SUBMIT_CHECK_RESULT # Written by Ethan Galstad (nagios at nagios.org) # Last Modified: 02-18-2002 # # This script will write a command to the Nagios command # file to cause Nagios to process a passive service check # result. Note: This script is intended to be run on the # same host that is running Nagios. If you want to # submit passive check results from a remote machine, look # at using the nsca addon. # # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = return_code (An integer that determines the state # of the service check, 0=OK, 1=WARNING, 2=CRITICAL, # 3=UNKNOWN). # $4 = plugin_output (A text string that should be used # as the plugin output for the service check) # echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` `$echocmd $cmdline >> /backup/snmp-trap-test.log` -------------- next part -------------- An HTML attachment was scrubbed... URL: From ludo.bosmans at xtenso.be Wed May 12 17:08:43 2004 From: ludo.bosmans at xtenso.be (Ludo Bosmans) Date: Wed, 12 May 2004 17:08:43 +0200 Subject: Nagios passive check not changing alert condit ion Message-ID: <518772850433D4119AAA00105AC460987B290C@mail.tpb.be> Nicholas, Try manually: # ./submit_check_result TestRouter "SNMP-TRAP" 1 "Ethernet down test" hostname and service description form a uniq key, if nagios can find them back ..... regards, ludo -----Original Message----- From: Platt, Nicholas [mailto:Nick.Platt at myflorida.com] Sent: woensdag 12 mei 2004 16:55 To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Nagios passive check not changing alert condit ion Everyone: Haven't received any responses so far :-( If anyone can help me, please respond. You're help is greatly appreciated. Thanks :-) -----Original Message----- From: Platt, Nicholas [mailto:Nick.Platt at myflorida.com] Sent: Tuesday, May 11, 2004 11:56 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Nagios passive check not changing alert condition Hellow everyone: I've been able to get SNMPTT to accept a trap and pass it to "submit_check_result" script but Nagios is not changing the passive service object to warning condition. I've executed the "submit_check_result" manually and could not get Nagios to change the service object from Okay to Warning: [root at nagios eventhandlers]# ./submit_check_result TestRouter TRAP 1 "Ethernet down test" Can someone look at my service object and see if I have anything mis-configured? I am able to perform all external commands but I just can't get nagios.cmd to execute and cause a passive check to change from green to yellow. I was able to output the results of the "submit_check_results" and found that it was spitting out the right output. See blow for script. Any help will be greatly appreciated **************************SERVICE*********************** define service{ use generic-service host_name TestRouter service_description SNMP-TRAP is_volatile 1 passive_checks_enabled 1 check_period none max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 contact_groups network-admins notification_interval 31536000 notifications_enabled 1 notification_period 24x7 notification_options w,c,u,r check_command check-host-alive } *************HOST************** define host{ use generic-host ; Name of host template to use host_name TestRouter alias LAB Cisco 800 address 192.168.1.1 parents M1 check_command check-host-alive max_check_attempts 3 low_flap_threshold 25 high_flap_threshold 50 flap_detection_enabled 1 notification_interval 60 notification_period 24x7 notification_options d,u,r } ************************submit_check_results************************* #!/bin/sh # SUBMIT_CHECK_RESULT # Written by Ethan Galstad (nagios at nagios.org) # Last Modified: 02-18-2002 # # This script will write a command to the Nagios command # file to cause Nagios to process a passive service check # result. Note: This script is intended to be run on the # same host that is running Nagios. If you want to # submit passive check results from a remote machine, look # at using the nsca addon. # # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = return_code (An integer that determines the state # of the service check, 0=OK, 1=WARNING, 2=CRITICAL, # 3=UNKNOWN). # $4 = plugin_output (A text string that should be used # as the plugin output for the service check) # echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` `$echocmd $cmdline >> /backup/snmp-trap-test.log` -------------- next part -------------- An HTML attachment was scrubbed... URL: From auchi at orms.info Wed May 12 17:16:03 2004 From: auchi at orms.info (markus auchmann) Date: Wed, 12 May 2004 17:16:03 +0200 Subject: nagios 1.1 statusmap.cgi internal server error Message-ID: My last fucking server crashed so I had to setup nagios now. Everything works fine instead of statusmap and trends. If I click at this button I get an internal server error from apache. The apache authorization works properly. As this very urgent I realy need your help now. Can you give me any hints? Thanks a lot in advance. markus auchmann ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 12 17:40:20 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 12 May 2004 16:40:20 +0100 Subject: different contact methods for different events In-Reply-To: References: Message-ID: <20040512154020.26658.qmail@minnow.softflare.net> Dan Newcombe writes: > For example, e-mail and page me if a machine is down, but if > just something like ntp drops on a host, just e-mail me, as I don't want > lunch interupted for nothing. You could change the notify-by-pager command to involve a shell script/ perl script/whatever, passing the arguments. The script would check the service type and decide whether to page you or discard it. Further enhancements, such as building in a list of people who are always paged or building in a knowledge of when you have your lunch break is left as an exercise for the reader. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 12 17:41:41 2004 From: marc at ena.com (Marc Powell) Date: Wed, 12 May 2004 10:41:41 -0500 Subject: Nagios passive check not changing alert condition Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B62EE@mismail2.ena.com> Just some suggestions -- Enable logging of passive checks in nagios.cfg - log_passive_service_checks=1 Make sure that you're accepting passive checks in nagios.cfg - accept_passive_service_checks=1 Check nagios.log and make sure that nagios is seeing and properly processing the passive service check. In the submit_check_result below, the host ($1) and service description ($2) must exactly match what nagios has in it's configs. For the example you provide, you should be submitting something (after substitution) like: cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4" cmdline="[timestamp] PROCESS_SERVICE_CHECK_RESULT;TestRouter;SNMP-TRAP;1;Plugin Output" -(example for a WARNING) -- Marc ________________________________ From: Platt, Nicholas [mailto:Nick.Platt at myflorida.com] Sent: Wednesday, May 12, 2004 9:55 AM To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Nagios passive check not changing alert condition Everyone: Haven't received any responses so far L If anyone can help me, please respond. You're help is greatly appreciated. Thanks J Platt, Nicholas wrote: > Hellow everyone: > > > > I've been able to get SNMPTT to accept a trap and pass it to > "submit_check_result" script but Nagios is not changing the passive > service object to warning condition. I've executed the > "submit_check_result" manually and could not get Nagios to change the > service object from Okay to Warning: > > > > [root at nagios eventhandlers]# ./submit_check_result TestRouter TRAP 1 > "Ethernet down test" > > > > > > Can someone look at my service object and see if I have anything > mis-configured? I am able to perform all external commands but I > just can't get nagios.cmd to execute and cause a passive check to > change from green to yellow. I was able to output the results of > the "submit_check_results" and found that it was spitting out the > right output. See blow for script. Any help will be greatly > appreciated > > > > > > **************************SERVICE*********************** > > define service{ > > use generic-service > > host_name TestRouter > > service_description SNMP-TRAP > > is_volatile 1 > > passive_checks_enabled 1 > > check_period none > > max_check_attempts 1 > > normal_check_interval 1 > > retry_check_interval 1 > > contact_groups network-admins > > notification_interval 31536000 > > notifications_enabled 1 > > notification_period 24x7 > > notification_options w,c,u,r > > check_command check-host-alive > > } > > > > > > *************HOST************** > > define host{ > > use generic-host ; Name of > host template to use > > host_name TestRouter > > alias LAB Cisco 800 > > address 192.168.1.1 > > parents M1 > > check_command check-host-alive > > max_check_attempts 3 > > low_flap_threshold 25 > > high_flap_threshold 50 > > flap_detection_enabled 1 > > notification_interval 60 > > notification_period 24x7 > > notification_options d,u,r > > } > > > > ************************submit_check_results************************* > > #!/bin/sh > > > > # SUBMIT_CHECK_RESULT > > # Written by Ethan Galstad (nagios at nagios.org) > > # Last Modified: 02-18-2002 > > # > > # This script will write a command to the Nagios command > > # file to cause Nagios to process a passive service check > > # result. Note: This script is intended to be run on the > > # same host that is running Nagios. If you want to > > # submit passive check results from a remote machine, look > > # at using the nsca addon. > > # > > # Arguments: > > # $1 = host_name (Short name of host that the service is > > # associated with) > > # $2 = svc_description (Description of the service) > > # $3 = return_code (An integer that determines the state > > # of the service check, 0=OK, 1=WARNING, 2=CRITICAL, > > # 3=UNKNOWN). > > # $4 = plugin_output (A text string that should be used > > # as the plugin output for the service check) > > # > > > > echocmd="/bin/echo" > > > > CommandFile="/usr/local/nagios/var/rw/nagios.cmd" > > > > # get the current date/time in seconds since UNIX epoch > > datetime=`date +%s` > > > > # create the command line to add to the command file > > cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4" > > > > # append the command to the end of the command file > > `$echocmd $cmdline >> $CommandFile` > > `$echocmd $cmdline >> /backup/snmp-trap-test.log` ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Harris at fns.usda.gov Wed May 12 17:42:41 2004 From: Sam.Harris at fns.usda.gov (Harris, Sam) Date: Wed, 12 May 2004 11:42:41 -0400 Subject: nagios 1.1 statusmap.cgi internal server error Message-ID: Please choose your technical words with care -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of markus auchmann Sent: Wednesday, May 12, 2004 11:16 AM To: nagios-users at lists.sourceforge.net%INTER2 Subject: [Nagios-users] nagios 1.1 statusmap.cgi internal server error Importance: Low My last fucking server crashed so I had to setup nagios now. Everything works fine instead of statusmap and trends. If I click at this button I get an internal server error from apache. The apache authorization works properly. As this very urgent I realy need your help now. Can you give me any hints? Thanks a lot in advance. markus auchmann ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2950 bytes Desc: not available URL: From rouilj at cs.umb.edu Wed May 12 17:55:35 2004 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Wed, 12 May 2004 11:55:35 -0400 Subject: Monitoring Windows Event Log from Nagios In-Reply-To: Your message of "Wed, 12 May 2004 08:14:07 PDT." References: Message-ID: <200405121555.i4CFtZTD016536@mx1.cs.umb.edu> In message , Steve Shipway writes: >Does anyone out there have a method to monitor the Windows Event log >using Nagios? > >Currently, we use the pNSClient agent to collect Perfmon data, which >works fine. On UNIX systems, we have the syslogd daemon which will >feed important events via a filter through NSCA and into a Passive >Service on Nagios -- again, no problem. However, we need a way to >send Windows event log events and generate an alert. > >An ideal setup would be a configurable daemon that will send an NSCA alert >(of a configurable level) for log entries matching a certain regular >expression. However, at the moment I'll take anything! It needs to be >something that, like pNSClient, can run as a service on the server in >question. I used Snare from Intersect Alliance to dump the events to syslog on the nagios server. I then use the simple event correlator SEC to pattern match/analyze/correlate the events into passive services in Nagios. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peter.gutmann at db.com Wed May 12 17:52:38 2004 From: peter.gutmann at db.com (Peter Gutmann) Date: Wed, 12 May 2004 11:52:38 -0400 Subject: Newbie host/server issue Message-ID: Can you telnet to the port from the Nagios host? Are you sure that the service/program is running on the Windows 2k machine? Perhaps there is a network (or firewall) issue that is preventing the connection... ---- Peter Gutmann Peter.Gutmann at db.com "Robert Logbeck" Sent by: nagios-users-admin at lists.sourceforge.net 05/12/2004 10:35 AM To: cc: Subject: [Nagios-users] Newbie host/server issue I have one server that is giving me a bit of a hard time. It responds to the ping and smtp checks but anything that appears to use the client gives a connection refused by host. The target machine is a Windows 2000 server running Exchange 2000. Several other NT and Novell machines are working correctly. Oddly enough, I cannot mail through it either (trying to get alerts to techs) yet I can send traffic to external mail servers. Any thoughts would be appreciated! Thanks! Rob ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 12 18:07:51 2004 From: marc at ena.com (Marc Powell) Date: Wed, 12 May 2004 11:07:51 -0500 Subject: nagios 1.1 statusmap.cgi internal server error Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B62EF@mismail2.ena.com> markus auchmann wrote: > My last fucking server crashed so I had to setup nagios now. > > Everything works fine instead of statusmap and trends. If I click at > this button I get an internal server error from apache. The apache > authorization works properly. > > As this very urgent I realy need your help now. Can you give me any > hints? Check your http error log for details. It should tell you exactly what the failure is. The statusmap and trends cgi's use the GD libraries so whatever the problem is it's likely to be related to that. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vdidenko at Getcollc.com Wed May 12 19:00:20 2004 From: vdidenko at Getcollc.com (Vlad Didenko) Date: Wed, 12 May 2004 12:00:20 -0500 Subject: service_group definition Message-ID: Hello, collagues! I was unable to find how to define service groups in the documentation or in FAQ. I need to define a set of services and assign it to a group of hosts. So that is a host gets added to a group it automatically gets appropriate checks and if new service is added to be check in the service group all hosts in that host group would get it. Corresponding removals would be nice to get working as well. I am running the 1.2 version. Any suggestions? Sincerely, Vlad. -------------- next part -------------- An HTML attachment was scrubbed... URL: From KMueller at netsuite.com Wed May 12 19:10:46 2004 From: KMueller at netsuite.com (Mueller, Karl) Date: Wed, 12 May 2004 10:10:46 -0700 Subject: service_group definition Message-ID: <3A83D9BECDDF58468F068F6CA1C36AB957C3D0@corpmail.corp.netledger.com> Use hostgroups, instead, in 1.2. Create a hostgroup just to assign services to, then add hosts to that hostgroup. Use "hostgroup_name" instead of "host_name" in the service definition and it will work like you expect. We use this extensively service groups don't exist until 2.0, I believe Karl -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Vlad Didenko Sent: Wednesday, May 12, 2004 10:00 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] service_group definition Hello, collagues! I was unable to find how to define service groups in the documentation or in FAQ. I need to define a set of services and assign it to a group of hosts. So that is a host gets added to a group it automatically gets appropriate checks and if new service is added to be check in the service group all hosts in that host group would get it. Corresponding removals would be nice to get working as well. I am running the 1.2 version. Any suggestions? Sincerely, Vlad. ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shorn at lssi.net Wed May 12 20:00:45 2004 From: shorn at lssi.net (Spencer Horn) Date: Wed, 12 May 2004 14:00:45 -0400 Subject: service_group definition In-Reply-To: References: Message-ID: <40A2664D.1080409@lssi.net> Group the hosts rather than the services, group the hosts in the host config file as such define hostgroup{ hostgroup_name rtp_production_aix_servers alias RTP Production AIX Servers contact_groups sysadmins,noc,support,support-pagers members inqr0,inqr1,inqr2,inqr3,inqr4,hag0r,hag1r,hag2r,hag3r,wagr0,osar0,osar1,igwr0,gwlom0,gwlom1,bldr,wsbldr,ldds,mis1,inqedar0,inqr5 } Define this in all services you want for these hosts as such, define service{ service_description Connectivity use rtp-service-standard hostgroup_name rtp_production_aix_servers,rtp_production_linux_servers,rtp_new_box_temp contact_groups sysadmins,noc,support,support-pagers check_command check_fping } Spencer Vlad Didenko wrote: > Hello, collagues! > > I was unable to find how to define service groups in the documentation > or in FAQ. I need to define a set of services and assign it to a group > of hosts. So that is a host gets added to a group it automatically > gets appropriate checks and if new service is added to be check in the > service group all hosts in that host group would get it. Corresponding > removals would be nice to get working as well. > > I am running the 1.2 version. Any suggestions? > > Sincerely, > Vlad. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vdidenko at Getcollc.com Wed May 12 20:27:59 2004 From: vdidenko at Getcollc.com (Vlad Didenko) Date: Wed, 12 May 2004 13:27:59 -0500 Subject: service_group definition Message-ID: Karl, Thank you! We are already using hostgroups - and trying to deal with service reconfigurations. Had a couple situations, when to hostgroup or host to a service and the thing would be down unnoticeable. We need service groups. OK, I guess I'll wait until 2.x. Thank you! Vlad. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Mueller, Karl Sent: Wednesday, May 12, 2004 12:11 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] service_group definition Use hostgroups, instead, in 1.2. Create a hostgroup just to assign services to, then add hosts to that hostgroup. Use "hostgroup_name" instead of "host_name" in the service definition and it will work like you expect. We use this extensively service groups don't exist until 2.0, I believe Karl -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Vlad Didenko Sent: Wednesday, May 12, 2004 10:00 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] service_group definition Hello, collagues! I was unable to find how to define service groups in the documentation or in FAQ. I need to define a set of services and assign it to a group of hosts. So that is a host gets added to a group it automatically gets appropriate checks and if new service is added to be check in the service group all hosts in that host group would get it. Corresponding removals would be nice to get working as well. I am running the 1.2 version. Any suggestions? Sincerely, Vlad. ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=dnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vdidenko at Getcollc.com Wed May 12 20:35:06 2004 From: vdidenko at Getcollc.com (Vlad Didenko) Date: Wed, 12 May 2004 13:35:06 -0500 Subject: service_group definition Message-ID: Spencer, Yes, we are doing that. But this is half of the convenience. An ideal configuration architecture does assign groups to groups, with potential exclusions.Beleive me, it is much more convenient. Right now we are assigning groups to individual services. Which is just a convenience issue, and, as I've heard will be resolved in 2.x. Thank you for the time! Vlad. -----Original Message----- From: Spencer Horn [mailto:shorn at lssi.net] Sent: Wednesday, May 12, 2004 1:01 PM To: Vlad Didenko Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] service_group definition Group the hosts rather than the services, group the hosts in the host config file as such define hostgroup{ hostgroup_name rtp_production_aix_servers alias RTP Production AIX Servers contact_groups sysadmins,noc,support,support-pagers members inqr0,inqr1,inqr2,inqr3,inqr4,hag0r,hag1r,hag2r,hag3r,wagr0,osar0,osar1,igwr0,gwlom0,gwlom1,bldr,wsbldr,ldds,mis1,inqedar0,inqr5 } Define this in all services you want for these hosts as such, define service{ service_description Connectivity use rtp-service-standard hostgroup_name rtp_production_aix_servers,rtp_production_linux_servers,rtp_new_box_temp contact_groups sysadmins,noc,support,support-pagers check_command check_fping } Spencer Vlad Didenko wrote: Hello, collagues! I was unable to find how to define service groups in the documentation or in FAQ. I need to define a set of services and assign it to a group of hosts. So that is a host gets added to a group it automatically gets appropriate checks and if new service is added to be check in the service group all hosts in that host group would get it. Corresponding removals would be nice to get working as well. I am running the 1.2 version. Any suggestions? Sincerely, Vlad. -------------- next part -------------- An HTML attachment was scrubbed... URL: From KMueller at netsuite.com Wed May 12 20:36:55 2004 From: KMueller at netsuite.com (Mueller, Karl) Date: Wed, 12 May 2004 11:36:55 -0700 Subject: service_group definition Message-ID: <3A83D9BECDDF58468F068F6CA1C36AB957C3D7@corpmail.corp.netledger.com> I don't think hostgroups being used in service definitions will affect the algorithm on whether you get notified or not. Same with service groups in 2.0. What we do is we have many hostgroups dedicated to just being used to assign services. This has no effect on how notifications for the service go out. The only time you would not get notifications (typically) is when a) the host is down, or b) some kind of dependency or other normal notification issue happens. (For example, notifications are off for that host or service) If you use hostgroups to assign services, it's no different than assigning them to the hostnames directly. I.e. define service { hostgroup_name foo ... } is the equivalent of define service { host_name foo1,foo2,foo3,... ... } which itself is the equivalent of define service { host_name foo1 ... } define service { host_name foo2 ... } etc. They are all the same thing as far as Nagios is concerned because all the expansion is done in the templates before Nagios "runs". Service groups in 2.0 only are different in the sense that you can't use the "hostgroup" features (such as host escalations) and they have a nice separate link on the left side of the main page in 2.0. The way they expand into host names I believe is the same as hostgroups work. Most people use servicegroups in 2.0 to group together "interesting" services for administrative reasons more than configuration reasons. (I think) Hope this helps, Karl -----Original Message----- From: Vlad Didenko [mailto:vdidenko at Getcollc.com] Sent: Wednesday, May 12, 2004 11:28 AM To: Mueller, Karl; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] service_group definition Karl, Thank you! We are already using hostgroups - and trying to deal with service reconfigurations. Had a couple situations, when to hostgroup or host to a service and the thing would be down unnoticeable. We need service groups. OK, I guess I'll wait until 2.x. Thank you! Vlad. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Mueller, Karl Sent: Wednesday, May 12, 2004 12:11 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] service_group definition Use hostgroups, instead, in 1.2. Create a hostgroup just to assign services to, then add hosts to that hostgroup. Use "hostgroup_name" instead of "host_name" in the service definition and it will work like you expect. We use this extensively service groups don't exist until 2.0, I believe Karl -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Vlad Didenko Sent: Wednesday, May 12, 2004 10:00 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] service_group definition Hello, collagues! I was unable to find how to define service groups in the documentation or in FAQ. I need to define a set of services and assign it to a group of hosts. So that is a host gets added to a group it automatically gets appropriate checks and if new service is added to be check in the service group all hosts in that host group would get it. Corresponding removals would be nice to get working as well. I am running the 1.2 version. Any suggestions? Sincerely, Vlad. ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=dnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Wed May 12 20:53:15 2004 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Wed, 12 May 2004 14:53:15 -0400 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20Re:=20[Nagios-users]=20Nagat=20vs.?= =?ISO-8859-1?Q?=20Nagmin?= Message-ID: IMHO? Nagat as moved.... https://gna.org/projects/nagat/ --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada >>> Matthias Eichler 2004-05-12 10:25:55 >>> > Which is the most popular admin tool for Nagios? As it seems, it > stands between either Nagat or Nagmin, or am I wrong? Another would be Nawui, but this is in a very early stage of development. > So which is the most preferable? And what are the pros and cons? I think its a question of your general setup defaults. In our company we are not using Webmin (Nagmin) because its security risk is too high in our oppinion. Nagat has the advantage that you dont get all the other stuff you dont need or dont want (especially due to security reasons). The con of Nagat is IMHO that there are no further developments. Matthias > > > Best Regards! Magnus. -- Matthias Eichler kernzeit AG ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From behrens at mcs.anl.gov Wed May 12 20:57:58 2004 From: behrens at mcs.anl.gov (Scott) Date: Wed, 12 May 2004 13:57:58 -0500 Subject: nrpe problems Message-ID: <40A273B6.3030203@mcs.anl.gov> In my log file i get this information: May 12 05:21:28 (nrpe daemon machine) nrpe[14408]: connect from (my host nagios machine) May 12 05:21:38 (nrpe daemon machine) nrpe[14408]: Could not read request from client, bailing out...(Success) I am reading through the log file and I keep receving this error. I have nrpe running in inetd as follows: nrpe stream tcp nowait nagios /usr/sbin/tcpd /usr/sbin/nrpe -c /etc/nrpe.cfg --inetd that is where the nrpe daemon and config files are. the config files have read permission for nagios and nrpe has rwx for nrpe. i have nrpe added to my /etc/services as well. ssl is not enabled on either machine and i am using tcp wrappers. i can also telnet to the machine from both the nagios host server and the nrpe daemon machine to itself on the port 5666. i can see that the daemon is running using netstat -pta i also tried to just use check_nrpe -H (the daemons hostname) to see if i would get a response as I read in one of the posts on the forum but it times out even if i adjust the time to 20 or 40 seconds. Any ideas? Scott Behrens ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 12 23:36:19 2004 From: wim.degeeter at bt.com (wim.degeeter at bt.com) Date: Wed, 12 May 2004 22:36:19 +0100 Subject: Check_procs question Message-ID: Hi, I am trying to monitor processes on a remote server. For example I try to get a Critical state when no ftp processes are running. The output of ps -ef | grep ftp gives me 'proftpd' so my command to execute can be $ check_procs -C proftpd -w 1 -c 2 But this give me an OK state when no ftp process is running. How can I change so that when no ftp process is running I got a Critical state. Maybe I overlook something. Thanks for the help Wim -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at fastmail.fm Wed May 12 23:30:39 2004 From: nagios at fastmail.fm (Joe) Date: Wed, 12 May 2004 16:30:39 -0500 Subject: check dns problem Message-ID: <6.0.0.22.2.20040512162647.033d2080@pop.mts.net> I am using the current version of Nagios on a system to check a remote system. However when the system goes down the Nagios status page still shows a green status for the DNS servers $USER1$/check_dns -H www.winnipeg.ca -s $HOSTADDRESS$ -t 60 -a 198.163.51.161 Am using this command for the check_dns and passing as a parameter the canonical name for the IP address via $HOSTADDRESS$. When the system goes down Nagios shows "address is null". Any suggestion on how to have the program show a RED status for the DNS server? ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JRadcliffe at iss.net Wed May 12 23:29:43 2004 From: JRadcliffe at iss.net (Radcliffe, Jerome (ISS Southfield)) Date: Wed, 12 May 2004 17:29:43 -0400 Subject: Large Distributed Nagios w/ NSCA Message-ID: <51540A3DDD507D40B6D47030C8C0C19190E5F6@soumaiexcp01.iss.net> Hello, I am currently heading a project to monitor roughly 1500 hosts with 4500 total service (3-4 checks per system) checks with Nagios 1.2 with a Postgres DB. There will be "collectors" that will perform the service checks and report them back with NSCA to the main server. My question is has anyone done a similar setup? If so were there any problems with nsca/named pipe issue that caused problems. I have read through the newsgroup and there seems to be some issues for some people, and some have gone way over that with no issues. Thanks, Jay Jerome Radcliffe, CISSP Security Engineer Principal MSS Engineering Internet Security Systems ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryan.mooney at pnl.gov Thu May 13 00:36:39 2004 From: ryan.mooney at pnl.gov (Mooney, Ryan) Date: Wed, 12 May 2004 15:36:39 -0700 Subject: Large Distributed Nagios w/ NSCA Message-ID: I was one of the people having some problems. I have ~1000 hosts and almost 15000 services. Some of the issues I saw were: - No messages over kernel pipe size (512 bytes) or you have problems with messages overwriting each other. NSCA may enforce this? I don't know since we use a local replacement) - The linux 2.4 scheduler has a problem whereby sometimes it doesn't schedule processes very well. This will lead to a problem where you will see a lot of nagios processes stuck hanging around reading a pipe and never exiting (or taking a very long time to do so). Note that this is not THE nagios pipe, its an IPC pipe that the parent uses to communicate to a child that reads THE nagios pipe. Some people have re-compiled the kernel with a larger pipe size to fix this (there is a good explanation of why this works in the archives - I lost my pointer to it unfortunately), I "fixed" it by putting an alarm around the pipe call and aborting the process when it failed. This means I loose some small number of messages, but the box doesn't crash any more (definitely sub optimal, but...). FreeBSD users don't have this problem. I started out with Postgres as the storage, but I don't think I can recommend that as solution for large sites. Not because of any deficiency in postgres, but because of how nagios updates the data. Essentially from what I can tell it simply does a delete * followed by a loop to insert every item at the update interval. This isn't very efficient and tends to thrash the DB (mysql may handle this better, again I don't know - I didn't test). I ended up using a memory filesystem as the place to put the status file - this seems to work quite well. If the DB code were redone to only do updates on changes it would probably perform fine (although that introduces some other maintenance issues that you need to be careful of). Also the DB code is going away in future release so setting up to use it now is probably somewhat a waste of time. The other major problem you will find is that the cgi scripts are really slow (as in takign minutes to load) for larger service counts. This is due to a N depth traversal of several linked lists in the code that builds the service/host lists. This is supposed to be fixed in 2.0 and may be an argument for using a CVS snapshot. There is also a patch for 1.2 floating around that fixes the problem as well, but you will have to apply it, etc... > -----Original Message----- > From: Radcliffe, Jerome (ISS Southfield) [mailto:JRadcliffe at iss.net] > Sent: Wednesday, May 12, 2004 2:30 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Large Distributed Nagios w/ NSCA > > > Hello, > > I am currently heading a project to monitor roughly 1500 > hosts with 4500 total service (3-4 checks per system) checks > with Nagios 1.2 with a Postgres DB. There will be > "collectors" that will perform the service checks and report > them back with NSCA to the main server. My question is has > anyone done a similar setup? If so were there any problems > with nsca/named pipe issue that caused problems. I have read > through the newsgroup and there seems to be some issues for > some people, and some have gone way over that with no issues. > > Thanks, > Jay > > Jerome Radcliffe, CISSP > Security Engineer Principal > MSS Engineering > Internet Security Systems > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent > use to deliver higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?> From=dnemail3 > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vag666 at duke.usask.ca Thu May 13 01:03:11 2004 From: vag666 at duke.usask.ca (Vern Gerein) Date: Wed, 12 May 2004 17:03:11 -0600 (CST) Subject: temptrax Message-ID: > From: De Souza Zaineb consultant.volvo.com> > Subject: temptrax > Date: Tue, 04 May 2004 14:29:35 +0800 > > I rememeber reading somebodys email regarding the temptrax plugin and > that ethan had removed it from the FAQs. I have been through the > sourceforge directory of plugins and i cannot find it.... can anyone > post it as an attachment or send me a link if they have found it. > > Thank you > zaineb Howdy. I have a Temptrax Model E and a Temptrax Model F that I need to get installed under nagios. All of the links from the sensatronics site and elsewhere just point to nagios.org or nagios.sourceforge.net and it appears as though the source code for the temptrax plugin is no longer available there. I have done some googling around but have been unable to locate the plugin code. Could some kind soul please send me the plugin code or a pointer to where it is located. Many thanks in advance. Vern Gerein Senior Systems Administrator Information Technology Services University of Saskatchwan The Great White North ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.manuel at infostream.com.au Thu May 13 02:24:11 2004 From: phil.manuel at infostream.com.au (Phil Manuel) Date: Thu, 13 May 2004 10:24:11 +1000 Subject: another ico/logo issue Message-ID: <40A2C02B.10204@infostream.com.au> I've used the extended host information to use icons for the servers, but the statusmap keeps showing a question mark. I'm using Redhat 9, php with gd support is enabled, gd library libgd.so.1.8. No errors appear in Apache. Sample host extended setup # 'Router' host definition define hostextinfo{ host_name router icon_image redhat.jpg icon_image_alt redhat.gif vrml_image redhat.png statusmap_image redhat.gd2 } I have the images under /usr/share/nagios/images/logos/base and /usr/share/nagios/images/logos. Permissions are 644 for the images. So which step have I missed ? Thanks Phil. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhennessy at mitchamcouncil.sa.gov.au Thu May 13 04:31:43 2004 From: jhennessy at mitchamcouncil.sa.gov.au (Justin Hennessy) Date: Thu, 13 May 2004 12:01:43 +0930 Subject: Output problems with check_snmp ... Message-ID: Andreas, Thanks for that (the head is still sore after that maths lesson *grin*). Your statement "why you would want thresholds on uptime in the first place eludes me" is probably correct it is just that we have power outages and I wanted to know if the switch reboot (ie check to see if the switches have been up for MORE than 1 day). The other thing is that when the state is good I just want to see the same about from the command as I get when I don't use the -w/-c switches. Any ideas on this one? Thanks, Justin >>> Andreas Ericsson 12/05/2004 6:02:46 pm >>> Justin Hennessy wrote: > Hi all (again), > > I am trying check the uptime of my managed switches but I have a little > problem when I put the test into Nagios. > > When I run this: > /usr/local/nagios/libexec/check_snmp -H 172.16.4.1 -o > system.sysUpTime.0 -C dragonsbain > > I get this: > SNMP OK - Timeticks: (563369316) 65 days, 4:54:53.16 > > BUT when I run this: > /usr/local/nagios/libexec/check_snmp -H 172.16.4.1 -o > system.sysUpTime.0 -C dragonsbain -w 10 -c 30 > > I get this: > SNMP CRITICAL - *563375231* > > Can anyone shed some light on why the output changes when I put the > WARNING and CRITICAL criteria in? > Which is correct. One timetick represents 1/100 of a second, and 563369316 1/100's of a second makes for 65 days, 4 hours, 54 minutes and 53.16 seconds (the above example. There was a time delay of 59.15 seconds delay between your running of snmpget and check_snmp). check_snmp doesn't do that translation for you, so you have to specify it in timeticks (why you would want thresholds on uptime in the first place eludes me, but who am I to say?) Anyways... The math goes something like this; threshold=(((((days*24*60)+hours)*60+minutes)*60+seconds)*100)+centiseconds Mind the math precedense. One day is 86400 seconds. You do the math on the thresholds you want, and don't forget to multiply by 100. > Thanks, > Anytime. > Justin > -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From emmanuel.ricros at philips.com Thu May 13 05:23:59 2004 From: emmanuel.ricros at philips.com (emmanuel.ricros at philips.com) Date: Thu, 13 May 2004 05:23:59 +0200 Subject: Emmanuel Ricros is out of the office Message-ID: I will be out of the office starting 12/05/2004 and will not return until 17/05/2004. If you need help with ClearCase / ClearCM / 'mk', please send email to Support.ClearCase.CIS at philips.com. For any other urgent issue, please contact Dominique Dubois - Application Manager (dominique.dubois at philips.com). Regards, Emmanuel Ricros - Software Configuration Team Leader Campus Information Systems - Philips France ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Thu May 13 07:31:04 2004 From: noah at mac.com (Noah Leaman) Date: Wed, 12 May 2004 22:31:04 -0700 Subject: check_ping packet loss issue, Andreas Ericsson's replacement Message-ID: I am trying to solve the issue of the check_ping plugin generally reporting packet loss when that doesn't seem to really be the case. it seems this is a common problem. I am using nagios 1.3 with the changed-ash patch and plugins 1.3.1. 1) Am I right in thinking that the check_ping "bogus" packet loss issue is a valid and somewhat common (perhaps inly certain environments)? 2) I am also using Mac OS X (Panther), and it seems the check_fping didn't compile or install. Not 100% sure why. i just compiled Andreas Ericsson's replacement but got these errors when compiling: $ make rm -f *.o a.out core check_fping gcc -O2 -funroll-loops -fomit-frame-pointer -g -ggdb -W -Wunused -Wall -Wstrict-prototypes -c -o check_fping.o check_fping.c check_fping.c: In function `main': check_fping.c:406: warning: unsigned int format, long unsigned int arg (arg 4) gcc check_fping.o -o check_fping Am I safe still using it? Seems to work with what I've tested. Or is there any changes I could make to have it compile without any warnings? ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From orh at kn24.no Thu May 13 07:52:07 2004 From: orh at kn24.no (orh at kn24.no) Date: Thu, 13 May 2004 07:52:07 +0200 Subject: Newbie host/server issue In-Reply-To: References: Message-ID: <40A32927.11608.49BAD7F@localhost> Hi; If the server is running NSClient, it may be worth a try to change the communications port away from the default 1248. Best regards Odd-Rune Hansen On 12 May 2004 at 11:52, Peter Gutmann wrote: > Can you telnet to the port from the Nagios host? Are you sure that the > service/program is running on the Windows 2k machine? > > Perhaps there is a network (or firewall) issue that is preventing the > connection... > > ---- > Peter Gutmann > Peter.Gutmann at db.com > > > > > > "Robert Logbeck" > Sent by: nagios-users-admin at lists.sourceforge.net > 05/12/2004 10:35 AM > > > To: > cc: > Subject: [Nagios-users] Newbie host/server issue > > > I have one server that is giving me a bit of a hard time. It responds to > the ping and smtp checks but anything that appears to use the client gives > a connection refused by host. The target machine is a Windows 2000 server > running Exchange 2000. Several other NT and Novell machines are working > correctly. > > Oddly enough, I cannot mail through it either (trying to get alerts to > techs) yet I can send traffic to external mail servers. Any thoughts > would be appreciated! > > Thanks! > Rob > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu May 13 08:46:15 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 13 May 2004 08:46:15 +0200 Subject: NRPE - Could not read request from client, bailing out... In-Reply-To: <200405120937.26382.flakmagnet@tabletop-battlezone.com> References: <200405120937.26382.flakmagnet@tabletop-battlezone.com> Message-ID: <40A319B7.3070909@op5.se> Flak Magnet wrote: > I am having a fit trying to get check_nrpe to work and so I reluctantly ask > you folks for assistance. > > Environ: > Nagios 1.2 on a Linux box with nrpe_check v 2.0 > > NRPE v 1.9 on Solaris 8 box. > > I compiled both ends of nrpe without SSL support and I'm running nrpe on the > Solaris box from inetd. > > When I run check_nrpe receive the following message in /var/tmp/messages: > > May 12 09:16:27 nrpe[6750]: [ID 421412 daemon.error] Could not read > request from client, bailing out... > > I've searched the FAQ and RTFM'd without coming up with anything... could it > be the different versions of NRPE that are shnackering up the works? > Documentation isn't all too obvious on this, but the two versions are incompatible, due to some hasty mistake in the making of the packet structure of version 1.x. I'm working on creating a backward compatible check_nrpe, but I'm not done yet, so you'll just have to wait a while longer, or update nrpe on the solaris box to nrpe 2.0 -- Mvh Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu May 13 08:51:38 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 13 May 2004 08:51:38 +0200 Subject: Checks are orphaned... In-Reply-To: <20040512142801.GB4134@tyr.car.belbone.be> References: <20040512142801.GB4134@tyr.car.belbone.be> Message-ID: <40A31AFA.5030601@op5.se> Wim wrote: > Hi, > > I wrote some plugins, and implemented them on my Nagios. > All the checks seems to be working fine, but afer some time I see the > following errors in my syslog: > > nagios nagios: Warning: The check of service 'Int FastEthernet9/1/1 Status' on host 'pecbru11' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... > > When I run them from CLI, everything works fine and I checked that I > quit always with the proper exitcode (ERROR, WARNING,...) > > Does someone have a clue? > The nagios process executing the check has encountered an irrecoverable error and died (as in kill -9 or it has received SIGSEGV), which has prevented it from returning the status of the plugin to the main nagios process. I can imagine this would happen if 3 conditions are met; 1. you're using the yet unstable embedded perl in Nagios 2.0 2. the plugin is written in perl. 3. the plugin is bogus and / or incompatible with the embedded perl interpreter. > Thanx, > > Wim > -- Mvh Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu May 13 09:05:44 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 13 May 2004 09:05:44 +0200 Subject: Check_procs question In-Reply-To: References: Message-ID: <40A31E48.9060605@op5.se> wim.degeeter at bt.com wrote: > Hi, > I am trying to monitor processes on a remote server. > For example I try to get a Critical state when no ftp processes are > running. > The output of ps -ef | grep ftp gives me 'proftpd' so my command to > execute can be > $ check_procs -C proftpd -w 1 -c 2 You're supposed to specify a range of low:high check_procs -C proftpd -w 1:1 -c 2: will do what you want (I think. prod around a little) > But this give me an OK state when no ftp process is running. How can I > change so that when no ftp process is running I got a Critical state. > Maybe I overlook something. > > Thanks for the help > Wim > -- Mvh Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu May 13 09:11:10 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 13 May 2004 09:11:10 +0200 Subject: check_ping packet loss issue, Andreas Ericsson's replacement In-Reply-To: References: Message-ID: <40A31F8E.4090707@op5.se> Noah Leaman wrote: > I am trying to solve the issue of the check_ping plugin generally > reporting packet loss when that doesn't seem to really be the case. it > seems this is a common problem. I am using nagios 1.3 with the > changed-ash patch and plugins 1.3.1. > > 1) Am I right in thinking that the check_ping "bogus" packet loss issue > is a valid and somewhat common (perhaps inly certain environments)? > > 2) I am also using Mac OS X (Panther), and it seems the check_fping > didn't compile or install. Not 100% sure why. i just compiled Andreas > Ericsson's replacement but got these errors when compiling: > > $ make > rm -f *.o a.out core check_fping > gcc -O2 -funroll-loops -fomit-frame-pointer -g -ggdb -W -Wunused -Wall > -Wstrict-prototypes -c -o check_fping.o check_fping.c > check_fping.c: In function `main': > check_fping.c:406: warning: unsigned int format, long unsigned int arg > (arg 4) > gcc check_fping.o -o check_fping > > Am I safe still using it? Seems to work with what I've tested. Or is > there any changes I could make to have it compile without any warnings? > Yes, you're safe. It's just a printf() format line with an error message, and it does in no way affect logic or normal operation (it doesn't affect the error message either, afaik, but I'll have it fixed anyways). Btw. Nice to see it in use. :-) -- Mvh Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From verdon at cict.fr Thu May 13 10:02:37 2004 From: verdon at cict.fr (carole verdon) Date: Thu, 13 May 2004 10:02:37 +0200 Subject: Question about comments Message-ID: <40A32B9D.7070108@cict.fr> Hi, I use nagios 1.2 and i would want to known if it's possible to add the comment of one service in the notification using the notify_by_email command? Thanks you for your answer. Carole. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From verdon at cict.fr Thu May 13 11:15:18 2004 From: verdon at cict.fr (carole verdon) Date: Thu, 13 May 2004 11:15:18 +0200 Subject: Disk Usage and excluding file systems In-Reply-To: References: Message-ID: <40A33CA6.7000706@cict.fr> You can use the check_disk plugin with the '-X' option to exclude filesystems. Example: check_disk -w 20% -c 10% -X lofs -X nfs Carole. Nolan, Greg wrote: > Nagios Users/Developers/Gurus, > > I would like to excluded multiple filesystems when checking disk > usage, does anyone have a method for doing this? If not, has anyone > written their own check_disk command? > > Thanks for the assistance. > > 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 gregor.bruhin at netoxygen.ch Thu May 13 11:27:02 2004 From: gregor.bruhin at netoxygen.ch (Gregor Bruhin) Date: Thu, 13 May 2004 11:27:02 +0200 Subject: check_http & proxy Message-ID: Hi, Is check_http proxy compatible ? I defined the http_proxy env var but the plugin still fails (timeout) ... Any ideas ? Greg ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 13 12:09:53 2004 From: pla at softflare.com (Paul L. Allen) Date: Thu, 13 May 2004 11:09:53 +0100 Subject: another ico/logo issue In-Reply-To: <40A2C02B.10204@infostream.com.au> References: <40A2C02B.10204@infostream.com.au> Message-ID: <20040513100953.25981.qmail@minnow.softflare.net> Phil Manuel writes: > So which step have I missed ? Most likely it is creating the gd2 images on the box used to display them. The gd2 file format sometimes changes in incompatible ways between different releases. So if you use somebody else's images created using a different version of gd2 they may not work. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From me-lists at kernzeit.com Thu May 13 13:01:28 2004 From: me-lists at kernzeit.com (Matthias Eichler) Date: Thu, 13 May 2004 13:01:28 +0200 Subject: libraries for debian woody 3.0r1 installation Message-ID: <1084446088.3936.6.camel@blindzero> Dear List, I want to run a nagios setup with woody stable (3.0r1). I've installed all - in my oppinion - necessary libraries for the compiling: libjpeg62/stable uptodate 6b-5 libjpeg-progs/stable uptodate 6b-5 libjpeg62-dev/stable uptodate 6b-5 libgd-text-perl/stable uptodate 0.82-1 libgd-graph-perl/stable uptodate 1.33-4 libgd-gif-tools/stable uptodate 1.3-2 libgd-graph3d-perl/stable uptodate 0.59-1 libgdbmg1/stable uptodate 1.7.3-27 libgd-perl/stable uptodate 1.38-5 libgd1/stable uptodate 1.8.4-17.woody2 libgd2/stable uptodate 2.0.1-10 libgd-tools/stable uptodate 2.0.1-10 libgd-gif1/stable uptodate 1.3-2 libgd2-dev/stable uptodate 2.0.1-10 libpng2/stable uptodate 1.0.12-3.woody.5 libpng3/stable uptodate 1.2.1-1.1.woody.5 libpng-dev/stable uptodate 1.2.1-1.1.woody.5 The output of ldconfig looks well, too: libjpeg.so.62 (libc6) => /usr/lib/libjpeg.so.62 libjpeg.so (libc6) => /usr/lib/libjpeg.so libpng.so.3 (libc6) => /usr/lib/libpng.so.3 libpng.so.2 (libc6) => /usr/lib/libpng.so.2 libpng.so (libc6) => /usr/lib/libpng.so libgd.so.2 (libc6) => /usr/lib/libgd.so.2 libgd.so.1 (libc6) => /usr/lib/libgd.so.1 libgd.so (libc6) => /usr/lib/libgd.so libgd-gif.so.1 (libc6) => /usr/lib/libgd-gif.so.1 Unfortunately the configure of Nagios still gives me the error that it couldn't find the necessary libs for compiling the graphical CGIs. ==> Does anybody is running under Debian woody 3.0r1 stable? ==> Can you send me an output of apt-show-version? Thanks a lot, Matthias -- Matthias Eichler kernzeit AG ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From me-lists at kernzeit.com Thu May 13 13:01:28 2004 From: me-lists at kernzeit.com (Matthias Eichler) Date: Thu, 13 May 2004 13:01:28 +0200 Subject: libraries for debian woody 3.0r1 installation Message-ID: <1084446088.3936.7.camel@blindzero> Dear List, I want to run a nagios setup with woody stable (3.0r1). I've installed all - in my oppinion - necessary libraries for the compiling: libjpeg62/stable uptodate 6b-5 libjpeg-progs/stable uptodate 6b-5 libjpeg62-dev/stable uptodate 6b-5 libgd-text-perl/stable uptodate 0.82-1 libgd-graph-perl/stable uptodate 1.33-4 libgd-gif-tools/stable uptodate 1.3-2 libgd-graph3d-perl/stable uptodate 0.59-1 libgdbmg1/stable uptodate 1.7.3-27 libgd-perl/stable uptodate 1.38-5 libgd1/stable uptodate 1.8.4-17.woody2 libgd2/stable uptodate 2.0.1-10 libgd-tools/stable uptodate 2.0.1-10 libgd-gif1/stable uptodate 1.3-2 libgd2-dev/stable uptodate 2.0.1-10 libpng2/stable uptodate 1.0.12-3.woody.5 libpng3/stable uptodate 1.2.1-1.1.woody.5 libpng-dev/stable uptodate 1.2.1-1.1.woody.5 The output of ldconfig looks well, too: libjpeg.so.62 (libc6) => /usr/lib/libjpeg.so.62 libjpeg.so (libc6) => /usr/lib/libjpeg.so libpng.so.3 (libc6) => /usr/lib/libpng.so.3 libpng.so.2 (libc6) => /usr/lib/libpng.so.2 libpng.so (libc6) => /usr/lib/libpng.so libgd.so.2 (libc6) => /usr/lib/libgd.so.2 libgd.so.1 (libc6) => /usr/lib/libgd.so.1 libgd.so (libc6) => /usr/lib/libgd.so libgd-gif.so.1 (libc6) => /usr/lib/libgd-gif.so.1 Unfortunately the configure of Nagios still gives me the error that it couldn't find the necessary libs for compiling the graphical CGIs. ==> Does anybody is running under Debian woody 3.0r1 stable? ==> Can you send me an output of apt-show-version? Thanks a lot, Matthias -- Matthias Eichler kernzeit AG ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.baddeley at vpc.co.nz Thu May 13 13:35:03 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Thu, 13 May 2004 23:35:03 +1200 Subject: libraries for debian woody 3.0r1 installation In-Reply-To: <1084446088.3936.7.camel@blindzero> References: <1084446088.3936.7.camel@blindzero> Message-ID: <1084448102.4041.37.camel@munter> http://backports.org/package.php?search=nagios have fun. jamie On Thu, 2004-05-13 at 23:01, Matthias Eichler wrote: > Dear List, > > I want to run a nagios setup with woody stable (3.0r1). > I've installed all - in my oppinion - necessary libraries > for the compiling: > libjpeg62/stable uptodate 6b-5 > libjpeg-progs/stable uptodate 6b-5 > libjpeg62-dev/stable uptodate 6b-5 > libgd-text-perl/stable uptodate 0.82-1 > libgd-graph-perl/stable uptodate 1.33-4 > libgd-gif-tools/stable uptodate 1.3-2 > libgd-graph3d-perl/stable uptodate 0.59-1 > libgdbmg1/stable uptodate 1.7.3-27 > libgd-perl/stable uptodate 1.38-5 > libgd1/stable uptodate 1.8.4-17.woody2 > libgd2/stable uptodate 2.0.1-10 > libgd-tools/stable uptodate 2.0.1-10 > libgd-gif1/stable uptodate 1.3-2 > libgd2-dev/stable uptodate 2.0.1-10 > libpng2/stable uptodate 1.0.12-3.woody.5 > libpng3/stable uptodate 1.2.1-1.1.woody.5 > libpng-dev/stable uptodate 1.2.1-1.1.woody.5 > > The output of ldconfig looks well, too: > libjpeg.so.62 (libc6) => /usr/lib/libjpeg.so.62 > libjpeg.so (libc6) => /usr/lib/libjpeg.so > libpng.so.3 (libc6) => /usr/lib/libpng.so.3 > libpng.so.2 (libc6) => /usr/lib/libpng.so.2 > libpng.so (libc6) => /usr/lib/libpng.so > libgd.so.2 (libc6) => /usr/lib/libgd.so.2 > libgd.so.1 (libc6) => /usr/lib/libgd.so.1 > libgd.so (libc6) => /usr/lib/libgd.so > libgd-gif.so.1 (libc6) => /usr/lib/libgd-gif.so.1 > > Unfortunately the configure of Nagios still gives me the > error that it couldn't find the necessary libs for compiling > the graphical CGIs. > > ==> Does anybody is running under Debian woody 3.0r1 stable? > ==> Can you send me an output of apt-show-version? > > Thanks a lot, > > Matthias ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tchagas at uolinc.com Thu May 13 13:35:10 2004 From: tchagas at uolinc.com (Thales Maia) Date: Thu, 13 May 2004 08:35:10 -0300 Subject: Large Distributed Nagios w/ NSCA In-Reply-To: <51540A3DDD507D40B6D47030C8C0C19190E5F6@soumaiexcp01.iss.net> References: <51540A3DDD507D40B6D47030C8C0C19190E5F6@soumaiexcp01.iss.net> Message-ID: <1084448109.3548.4.camel@meriadoc.intranet> Hello Jerome. I'm trying to monitor around 5000 services with 12 distributed servers sending results for the central server but it doesn't work very well. The nagios and nsca on central server shows to be very slowly for to much services sending. I'm still trying... Sorry by the poor english. Thales On Wed, 2004-05-12 at 18:29, Radcliffe, Jerome (ISS Southfield) wrote: > Hello, > > I am currently heading a project to monitor roughly 1500 hosts with 4500 > total service (3-4 checks per system) checks with Nagios 1.2 with a > Postgres DB. There will be "collectors" that will perform the service > checks and report them back with NSCA to the main server. My question is > has anyone done a similar setup? If so were there any problems with > nsca/named pipe issue that caused problems. I have read through the > newsgroup and there seems to be some issues for some people, and some > have gone way over that with no issues. > > Thanks, > Jay > > Jerome Radcliffe, CISSP > Security Engineer Principal > MSS Engineering > Internet Security Systems > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- THALES MAIA CHAGAS Sysadmin - UOL S/A ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 fecsa.es Thu May 13 13:47:43 2004 From: fmartinezg at fecsa.es (Martinez Gonzalez, Francisco) Date: Thu, 13 May 2004 13:47:43 +0200 Subject: Mib browser Web Message-ID: Hi, There's any mib browser via web? thanks ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From me-lists at kernzeit.com Thu May 13 14:06:40 2004 From: me-lists at kernzeit.com (Matthias Eichler) Date: Thu, 13 May 2004 14:06:40 +0200 Subject: libraries for debian woody 3.0r1 installation In-Reply-To: <1084448102.4041.37.camel@munter> References: <1084446088.3936.7.camel@blindzero> <1084448102.4041.37.camel@munter> Message-ID: <1084450000.3936.12.camel@blindzero> Am Do, den 13.05.2004 schrieb Jamie Baddeley um 13:35: > http://backports.org/package.php?search=nagios Thanks for the info, but precompiled, not official debian packages are not allowed due to our security policy. So I have to compile nagios for what I need these library-infos. Thanks, Matthias > have fun. > > jamie > > On Thu, 2004-05-13 at 23:01, Matthias Eichler wrote: > > Dear List, > > > > I want to run a nagios setup with woody stable (3.0r1). > > I've installed all - in my oppinion - necessary libraries > > for the compiling: > > libjpeg62/stable uptodate 6b-5 > > libjpeg-progs/stable uptodate 6b-5 > > libjpeg62-dev/stable uptodate 6b-5 > > libgd-text-perl/stable uptodate 0.82-1 > > libgd-graph-perl/stable uptodate 1.33-4 > > libgd-gif-tools/stable uptodate 1.3-2 > > libgd-graph3d-perl/stable uptodate 0.59-1 > > libgdbmg1/stable uptodate 1.7.3-27 > > libgd-perl/stable uptodate 1.38-5 > > libgd1/stable uptodate 1.8.4-17.woody2 > > libgd2/stable uptodate 2.0.1-10 > > libgd-tools/stable uptodate 2.0.1-10 > > libgd-gif1/stable uptodate 1.3-2 > > libgd2-dev/stable uptodate 2.0.1-10 > > libpng2/stable uptodate 1.0.12-3.woody.5 > > libpng3/stable uptodate 1.2.1-1.1.woody.5 > > libpng-dev/stable uptodate 1.2.1-1.1.woody.5 > > > > The output of ldconfig looks well, too: > > libjpeg.so.62 (libc6) => /usr/lib/libjpeg.so.62 > > libjpeg.so (libc6) => /usr/lib/libjpeg.so > > libpng.so.3 (libc6) => /usr/lib/libpng.so.3 > > libpng.so.2 (libc6) => /usr/lib/libpng.so.2 > > libpng.so (libc6) => /usr/lib/libpng.so > > libgd.so.2 (libc6) => /usr/lib/libgd.so.2 > > libgd.so.1 (libc6) => /usr/lib/libgd.so.1 > > libgd.so (libc6) => /usr/lib/libgd.so > > libgd-gif.so.1 (libc6) => /usr/lib/libgd-gif.so.1 > > > > Unfortunately the configure of Nagios still gives me the > > error that it couldn't find the necessary libs for compiling > > the graphical CGIs. > > > > ==> Does anybody is running under Debian woody 3.0r1 stable? > > ==> Can you send me an output of apt-show-version? > > > > Thanks a lot, > > > > Matthias -- Matthias Eichler kernzeit AG ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a.koch at eurodata.de Thu May 13 14:42:52 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Thu, 13 May 2004 14:42:52 +0200 Subject: Host and Service command Message-ID: <1084452172.750.11.camel@dresden.eurodata.de> Hello list, i have new install the nagios on a debian/testing System. I use the nagios-mysql package. The nagios work fine, but i can't see the Host Commands and the Service Commands, for external Disable the Notification. The nagios print: " It appears as though Nagios is not running, so commands are temporarily unavailable... " Where is my Pproblem? Thanks, Andreas ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.michlbauer at degussa.com Thu May 13 14:40:21 2004 From: christian.michlbauer at degussa.com (christian.michlbauer at degussa.com) Date: Thu, 13 May 2004 14:40:21 +0200 Subject: Problems with the script alias, no access to gifs png`s and css because always pointing my browser to non existing for example /nagios/cgi-bin/nagios/images/tacenabled.png =?ISO-8859-1?Q?=A0__?= Message-ID: Hi, I have a running Nagios installation, i currently monitor some webservers with the check_wget script and some other servers by ping and ftp and so on, this is working fine. But i have an strange problem with the Webfrontend. I see on the left site the Output from the side.html, but on the right side i have only the raw output without any gifs png`s and now background. For Example: When I click on the Tactical Overview Button i see the following error messages in my /var/log/apache2/access.log: 194.127.243.14 - nagios [13/May/2004:14:17:41 +0200] "GET /nagios/cgi-bin/tac.cgi HTTP/1.1" 200 10631 "http://10.60.64.101 /nagios/side.html" "Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.5) Gecko/20031007 Firebird/0.7" ==> THE CGI is still OK !!! ------ 194.127.243.14 - - [13/May/2004:14:17:42 +0200] "GET /nagios/cgi-bin/nagios/stylesheets/tac.css HTTP/1.1" 404 1327 "http://10.60.64.101/nagios/cgi-bin/tac.cgi" "Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.5) Gecko/20031007 Firebird/0.7" I think the problem must come with the Alias and ScriptAlias configuration in my httpd.conf Because the stylesheets are in the directory /usr/local/nagios/share/stylesheets and not in /usr/local/nagios/sbin/nagios/stylesheets where i was pointed to. I have tried almost everything but i don`t know how to get this running. Here`s my httpd.conf # NAGIOS ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride Authconfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/local/nagios/share/ AllowOverride AuthConfig order allow,deny allow from all I have testet this with old apache 1.3 and with apache 2, but always the same problem. My installation looks like the following: SuSE 9.0, SuSE Kernel 2.4.21-215-default with apache2, nagios-1.2 and nagios-plugins-1.3.1 I have configured Nagios in the following way: nagios-1.2 1. ./configure --prefix=/usr/local/nagios --with-gd-lib=/usr/lib --with-gd-inc=/usr/include --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-grp=nagios --with-template-objects 2. make all 3. make install *** Configuration summary for nagios 1.2 02-02-2004 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: no Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Init directory: /etc/rc.d Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute External Data Routines: ------------------------ Status data: Default (text file) Object data: Template-based (text file) Comment data: Default (text file) Downtime data: Default (text file) Retention data: Default (text file) Peformance data: Default (external commands) Extended info data: Template-based (text file) nagios-plugins-1.3.1 1. ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-cgiurl=/nagios/cgi-bin 2. make all 3. make install I hope there is someone out who can help with this propably silly problem. Thanks in advance Chris ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flakmagnet at tabletop-battlezone.com Thu May 13 15:09:33 2004 From: flakmagnet at tabletop-battlezone.com (Flak Magnet) Date: Thu, 13 May 2004 09:09:33 -0400 Subject: NRPE - Could not read request from client, bailing out... In-Reply-To: <40A319B7.3070909@op5.se> References: <200405120937.26382.flakmagnet@tabletop-battlezone.com> <40A319B7.3070909@op5.se> Message-ID: <200405130909.33792.flakmagnet@tabletop-battlezone.com> On Thursday 13 May 2004 02:46 am, Andreas Ericsson wrote: > Flak Magnet wrote: > > I am having a fit trying to get check_nrpe to work and so I reluctantly > > ask you folks for assistance. > > > > Environ: > > Nagios 1.2 on a Linux box with nrpe_check v 2.0 > > > > NRPE v 1.9 on Solaris 8 box. > > > > I compiled both ends of nrpe without SSL support and I'm running nrpe on > > the Solaris box from inetd. > > > > When I run check_nrpe receive the following message in /var/tmp/messages: > > > > May 12 09:16:27 nrpe[6750]: [ID 421412 daemon.error] Could not > > read request from client, bailing out... > > > > I've searched the FAQ and RTFM'd without coming up with anything... could > > it be the different versions of NRPE that are shnackering up the works? > > Documentation isn't all too obvious on this, but the two versions are > incompatible, due to some hasty mistake in the making of the packet > structure of version 1.x. I'm working on creating a backward compatible > check_nrpe, but I'm not done yet, so you'll just have to wait a while > longer, or update nrpe on the solaris box to nrpe 2.0 Thank you for the help, but I'm still having the problem. I started out with identical versions (2.0) compiled sans SSL support but after that didn't work I installed the packages for NRPE (v1.9) on the solaris box. Still no joy. Going back to the compiled 2.0 version I recieve this: On Nagios Box - CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. In /var/adm/messages on solaris box - Well, that's odd, now I'm not seeing anything there... where should I look? -- -- Tim "Flak Magnet" http://geocities.com/flakmagnet72/ Never explain --- your friends do not need it and your enemies will not believe you anyway. ? Elbert Hubbard ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 13 15:44:09 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Thu, 13 May 2004 09:44:09 -0400 Subject: Escalations / 15 minute wait on notifications Message-ID: Hello, I'm sure other people run into the problem where a device flaps, or on occasion fails (hard-state) for one pass of checks before recovering. You then get a notification, and then another when it recovers. The worst is when you're on-call and you get 8 of them at night before it goes into a "flapping" state, and you sleep soundly through it while your spouse beats you because she heard it...so, anyway :) I was curious what tactics other people take to delay notification, even on a hard state failure, until at least one more pass of nagios checks occurs. Standard tactics in our office is not to action on all but a few hosts unless it stays down for 10-15 minutes. Is there a way, using escalations or some other trick I'm unaware of, to send notifications to an email address immediately, and only send a page to the on-call person after 15 minutes have elapsed? Thanks! Rob Nelson Network Engineer Windchannel Communications 919-538-6326 ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 13 16:33:15 2004 From: marc at ena.com (Marc Powell) Date: Thu, 13 May 2004 09:33:15 -0500 Subject: Escalations / 15 minute wait on notifications Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B62FE@mismail2.ena.com> Robert Nelson wrote: > Hello, > > I'm sure other people run into the problem where a device flaps, or > on occasion fails (hard-state) for one pass of checks before > recovering. > You then get a notification, and then another when it recovers. The > worst is when you're on-call and you get 8 of them at night before it > goes into a "flapping" state, and you sleep soundly through it while > your spouse beats you because she heard it...so, anyway :) > > I was curious what tactics other people take to delay notification, > even on a hard state failure, until at least one more pass of nagios > checks occurs. Standard tactics in our office is not to action on all > but a few hosts unless it stays down for 10-15 minutes. Is there a > way, using escalations or some other trick I'm unaware of, to send > notifications to an email address immediately, and only send a page > to the on-call person after 15 minutes have elapsed? To have nagios wait 15 minutes before doing anything at all, put this in your service definition or template: max_check_attempts 5 normal_check_interval 5 retry_check_interval 3 The service will need to be down for 5 checks at 3 minute intervals resulting in an approximate 15 minute delay before notification goes out. You can also to it with escalations, just set your first_notification to whichever contact attempt matches your timing you want based on your notification_interval defined for your service. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 13 16:41:33 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Thu, 13 May 2004 10:41:33 -0400 Subject: Escalations / 15 minute wait on notifications Message-ID: > To have nagios wait 15 minutes before doing anything at all, > put this in your service definition or template: > > max_check_attempts 5 > normal_check_interval 5 > retry_check_interval 3 > > The service will need to be down for 5 checks at 3 minute > intervals resulting in an approximate 15 minute delay before > notification goes out. You can also to it with escalations, > just set your first_notification to whichever contact attempt > matches your timing you want based on your > notification_interval defined for your service. The problem I've had in the past with the first method is that (correct me if I'm wrong) Nagios starts to run in serial mode when it starts to get downed hosts. I'm looking at probably around 1000 active checks from one server when all is said and done, so that doesn't sound too attractive... Anyone have a sample of working escalation code to start with? Thanks! Rob Nelson Network Engineer Windchannel Communications 919-538-6326 ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 13 16:43:46 2004 From: marc at ena.com (Marc Powell) Date: Thu, 13 May 2004 09:43:46 -0500 Subject: check_http & proxy Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6302@mismail2.ena.com> Gregor Bruhin wrote: > Hi, > > Is check_http proxy compatible ? > > I defined the http_proxy env var but the plugin still fails (timeout) > ... > > Any ideas ? check_http --help. I use the following to make sure that our proxies are functioning properly. You don't say if you're trying to check the proxy or if you must use the proxy to get out but in either case I believe the results will be the same -- define command{ command_name check_proxy command_line $USER1$/check_http -H www.yahoo.com -I $HOSTADDRESS$ --onredirect follow -p 8080 -wt 20 -ct 30 -to 35 -u http://www.yahoo.com -s HTML } $HOSTADDRESS$ corresponds to the IP of your proxy. You could of course hard code the $HOSTADDRESS$ to be your proxy and make the -H and -u arguments variable to check other sites via the proxy. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wfreitag at ii3.com Thu May 13 17:53:42 2004 From: wfreitag at ii3.com (Warren Freitag) Date: Thu, 13 May 2004 11:53:42 -0400 Subject: init.d script for Debian (for use with version 1.2) Message-ID: <75C1ACB4128E7C45A4F1D0238B346C5B04D1F5@gondor.tor.ii3.com> Hi all, I was having some problems installing Nagios on my Debian (sarge) system using the Debian packages retrieved through apt-get. I have instead opted to compile, build, and install from the generic source tarballs. However, the sample init.d script they provide was problematic, so I instead opted to use the one provided by the Debian package I originally installed. I had to hack it a bit, but it now works rather nicely using the Debian standard "start-stop-daemon". If you have Nagios installed from source tarballs in the default location (/usr/local/nagios), you should be able to drop the attached script right into your /etc/init.d directory. When you install it, be sure the owner is set to "root.root" and that it is chmod'ded to 755. Regards, Warren <> -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios Type: application/octet-stream Size: 3825 bytes Desc: nagios URL: From rwhuff at ucdavis.edu Thu May 13 19:35:31 2004 From: rwhuff at ucdavis.edu (Ron Huff) Date: Thu, 13 May 2004 10:35:31 -0700 Subject: Missing Notifications Message-ID: <200405131736.i4DHa3YF016140@pop17.ucdavis.edu> Can someone tell me the most common reason for simply not getting a notification for a host-down, when... 1. contacts file says 'd,r' 2. we got the 'r' notification...!! 3. the host was down for app 35 min 4. notifications are sent every 15 min 5. we could see the host down condition as it from any web display 6. history is clear and complete with a down, down, down ....not down notification was sent to the 5 contacts...but recovery was sent... - Ron Huff ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Billt at Mahagonny.com Thu May 13 19:39:40 2004 From: Billt at Mahagonny.com (Bill Thompson) Date: Thu, 13 May 2004 10:39:40 -0700 Subject: libraries for debian woody 3.0r1 installation In-Reply-To: <1084450000.3936.12.camel@blindzero> References: <1084446088.3936.7.camel@blindzero> <1084448102.4041.37.camel@munter> <1084450000.3936.12.camel@blindzero> Message-ID: <20040513103940.15e5276c@BeBop> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 13 May 2004 14:06:40 +0200 Matthias Eichler wrote: > Am Do, den 13.05.2004 schrieb Jamie Baddeley um 13:35: > > http://backports.org/package.php?search=nagios > > Thanks for the info, but precompiled, not official debian packages > are not allowed due to our security policy. So I have to compile > nagios for what I need these library-infos. > > Thanks, > > Matthias What is the error you are getting from the configure script? That should point to the specific library you are having problems with. Another suggestion would be to use "apt-get source" to get the deb package source files for the newer Nagios in unstable and back-port the package yourself. If you need more help with building the deb package feel free to contact me off-list. - -BillT -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAo7LcuLPldPuWZnARAjTUAKCNAT/DQWesiOIbW7eLWmZmOaY1TACgmytt p6x2oHA+6nB4wp96f4qgvsE= =GNi9 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rtanner at linfield.edu Thu May 13 20:18:58 2004 From: rtanner at linfield.edu (Rob Tanner) Date: Thu, 13 May 2004 11:18:58 -0700 Subject: Getting an intermittent permissions problem Message-ID: Hi, I just installed nagios and have started adding config data. I also followed the install instructions to properly secure all the pages. The end result, however, is inconsistent. For example, when I click on the host detail link, about one third of the time the page loads without any problem. But the other two thirds of the time, instead of the data, I get the following displayed under the column headers: It appears as though you do not have permission to view information for any of the hosts 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. Security should either disable my access everytime or allow it. The behavior I'm seeing is inconsistent and confusing. Anybody have any ideas? -- Rob _ _ _ _ _ _ _ _ _ _ /\_\_\_\_\ /\_\ /\_\_\_\_\_\ /\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT, /\/_/__\/_/ __ /\/_/ /\/_/ PROFUNDUM VIDITUR /\/_/_/_/_/ /\_\ /\/_/ /\/_/ /\/_/ \/_/ /\/_/_/\/_/ /\/_/ (Whatever is said in Latin \/_/ \/_/ \/_/_/_/_/ \/_/ appears profound) Rob Tanner UNIX Services Manager Linfield College, McMinnville OR (503) 883-2558 ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gemeosdf at yahoo.com.br Thu May 13 21:35:25 2004 From: gemeosdf at yahoo.com.br (=?iso-8859-1?q?Marcos=20&=20Marcelo?=) Date: Thu, 13 May 2004 16:35:25 -0300 (ART) Subject: doubt - nagios reports with mysql support Message-ID: <20040513193525.92021.qmail@web12904.mail.yahoo.com> Hi Folks, I installed nagios with mysql support, and I noticed some strange things like: 1) when I'm going to make some reports with graphs, nagios get the information from the file nagios.log. Is it normal? Why nagios doesn't use mysql tables in order to make reports? 2) I noticed that nagios keeps data in some tables, after nagios service stops, like hostretention, serviceretention and programretention. So, What is the function of those tables, If nagios doesn't use those to make reports? Thanks, Marcelo Mendonca --------------------------------- Yahoo! Messenger - Fale com seus amigos online. Instale agora! -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Thu May 13 21:54:46 2004 From: marc at ena.com (Marc Powell) Date: Thu, 13 May 2004 14:54:46 -0500 Subject: doubt - nagios reports with mysql support Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B630E@mismail2.ena.com> ________________________________ From: Marcos & Marcelo [mailto:gemeosdf at yahoo.com.br] Sent: Thursday, May 13, 2004 2:35 PM To: nagios_list Subject: [Nagios-users] doubt - nagios reports with mysql support Hi Folks, I installed nagios with mysql support, and I noticed some strange things like: 1) when I'm going to make some reports with graphs, nagios get the information from the file nagios.log. Is it normal? Why nagios doesn't use mysql tables in order to make reports? Yes, it's normal. Nagios only uses the database to store current information, not historical. It doesn't store historical data because it wasn't designed to do so. 2) I noticed that nagios keeps data in some tables, after nagios service stops, like hostretention, serviceretention and programretention. So, What is the function of those tables, If nagios doesn't use those to make reports? It allows nagios to start up with the last known states for host and services. http://nagios.sourceforge.net/docs/1_0/configmain.html#retain_state_info rmation, http://nagios.sourceforge.net/docs/1_0/configmain.html#use_retained_prog ram_state. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Newcombe at mordor.clayton.edu Thu May 13 22:01:19 2004 From: Newcombe at mordor.clayton.edu (Dan Newcombe) Date: Thu, 13 May 2004 16:01:19 -0400 (EDT) Subject: hostextinfo being ignored Message-ID: This is making me rip out whatever hair I have left! In my cfg.cgi, I have this line: xedtemplate_config_file=/etc/nagios/hostextinfo.cfg which contains stuff such as define hostextinfo { host_namename linuxhosts icon_image linux40.png vrml_image linux40.png statusmap_image linux40.gd2 name linuxhosts } define hostextinfo { host_name dragon use linuxhosts 2d_coords 40,40 } Seems okay. The above 3 images are in /usr/share/nagios/htdocs/images/logos. Yet no matter what I put in the hostsextinfo.cfg file, it seems as if it is ignored. At no place in nagios do any of the above "custom" icons show up (they are the ones that are avail, but custom in that they are not the question mark). On the status map, everything is the question mark. However, if I replace unknown.gd2 with, say linux40.gd2, then they are all linux icons. I have checked and the config files are all world-readable, so it shouldn't be a permissions thing. Also, if I choose User-supplied coords in the layout method, I am told I have not supplied any. Even removing hostextinfo.cfg or putting garbage in doesn't cause any thing to work different. Of course, at no time is there any indication of a problem. This is all with the nagios 1.2 packages (nagios-text 1-2) on Debian. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flakmagnet at tabletop-battlezone.com Thu May 13 22:00:41 2004 From: flakmagnet at tabletop-battlezone.com (Flak Magnet) Date: Thu, 13 May 2004 16:00:41 -0400 Subject: Giving up on NRPE, willing to try check_by_ssh... Message-ID: <200405131600.41528.flakmagnet@tabletop-battlezone.com> Exerpt from [path]/check_by_ssh --help "The most common mode of use is to refer to a local identity file with the '-i' option. In this mode, the identity pair should have a null passphrase and the public key should be listed in the authorized_keys file of the remote host. Usually the key will be restricted to running only one command on the remote server." Umm... yeah. I have gathered from a couple of resources that this has something to do with ssh-keygen, a public file and a "authorized_keys functionality" within SSH but which gives me the feeling that I've been given some realy GREAT hints but no "Aha!" If someone could kindly points me to a concise HOW-TO or somesuch I'd be quite happy to RTFM. Thank you. -- -- Tim "Flak Magnet" http://geocities.com/flakmagnet72/ Never explain --- your friends do not need it and your enemies will not believe you anyway. ? Elbert Hubbard ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Newcombe at mordor.clayton.edu Thu May 13 23:21:46 2004 From: Newcombe at mordor.clayton.edu (Dan Newcombe) Date: Thu, 13 May 2004 17:21:46 -0400 (EDT) Subject: hostextinfo being ignored In-Reply-To: References: Message-ID: Found the answer to my own problem. Turns out it is a debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=239174 While the debian build files claim it's built with --with-template-extinfo, this is not true. The build is actually missing that. Rebuilding using the configure line it says it uses cleared it right up. I sent this info along to the debian bug e-mail address - I hope it goes to the right place. :) ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From KMueller at netsuite.com Thu May 13 23:52:59 2004 From: KMueller at netsuite.com (Mueller, Karl) Date: Thu, 13 May 2004 14:52:59 -0700 Subject: FW: 2.0 CVS patch for Aggressive Stale Check directive (and the option to disable it) Message-ID: <3A83D9BECDDF58468F068F6CA1C36AB957C3E7@corpmail.corp.netledger.com> FYI, in case anybody might find this useful. -Karl -----Original Message----- From: Mueller, Karl Sent: Thursday, May 13, 2004 2:53 PM To: Nagios Developers Subject: 2.0 CVS patch for Aggressive Stale Check directive (and the option to disable it) The patch is located here: http://www.xney.com/nagios/nagios-2.0-aggressive_stale_checks.patch We run a distributed nagios environment with 3 slave servers reporting to 1 master server. It works great, except for two scenarios: 1) The slave server has a service go down with dependent services attached to it. The slave server (correctly) stops running service checks for the dependent services. The master server stops getting passive check results. The service on the master eventually goes stale, forcing an active check. 2) The slave server has a service (or host) taken down administratively (for example, a reboot). The slave stops submitting service check information to the master. The master executes forced active checks when the service information goes stale. In both situations, there are three somewhat serious consequences: a) Checks are performed when they don't need to be, consuming resources and clogging up status information. (This is especially true if you have a service that many other services depend on, which we do) b) Notifications are sent out when not needed due to service being marked down or it having failed dependencies c) Handlers are executed on services that shouldn't have them running (due to dependency failure or administrative down situation) (Note: All these issues potentially affect host checks as well) My patch creates a new service and host configuration directive: "aggressive_stale_checks", which by default is enabled. When it is turned OFF, Nagios will check a few things before executing a forced service or host check, just like a normal host or service check. If, for example, an execution dependency fails with aggressive stale checks turned off, then the check will not be performed. This would result in stale information, but that's OK, if it's what is intended. The same thing, after all, happens with active checks. To preserve compatibility with the previous way freshness and stale checks worked, the aggressive_stale_checks option is, by default, on. Let me know if there are any questions, comments, or concerns. The patch applies to my locally modified CVS source, which has the service dependencies patch/fix I submitted a few weeks ago as well. I just tried applying it against the May 13th CVS snapshot and it applied cleanly, though. Karl ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremy+nagios at undergrid.net Thu May 13 23:58:57 2004 From: jeremy+nagios at undergrid.net (Jeremy T. Bouse) Date: Thu, 13 May 2004 14:58:57 -0700 Subject: init.d script for Debian (for use with version 1.2) In-Reply-To: <75C1ACB4128E7C45A4F1D0238B346C5B04D1F5@gondor.tor.ii3.com> References: <75C1ACB4128E7C45A4F1D0238B346C5B04D1F5@gondor.tor.ii3.com> Message-ID: <20040513215857.GA20940@UnderGrid.net> While I'm not the Debian developer responsible for maintaining the Nagios package(s), I am a Debian developer nonetheless. If you had a problem with the packaging I would recommend checking the Debian Bug Tracking System (BTS) [1] to see if it's been reported and if not report it so the package can be fixed. I can see one open bug that references the init.d script having problems and not sure if it relates to the problems you had that made you take these measures. If you've got a solution then including that with a bug report generally gets it fixed quicker. Regards, Jeremy jbouse -at- debian dot org [1] http://bugs.debian.org/nagios On Thu, May 13, 2004 at 11:53:42AM -0400, Warren Freitag wrote: > Hi all, > > I was having some problems installing Nagios on my Debian (sarge) system using the Debian packages retrieved through apt-get. I have instead opted to compile, build, and install from the generic source tarballs. However, the sample init.d script they provide was problematic, so I instead opted to use the one provided by the Debian package I originally installed. I had to hack it a bit, but it now works rather nicely using the Debian standard "start-stop-daemon". If you have Nagios installed from source tarballs in the default location (/usr/local/nagios), you should be able to drop the attached script right into your /etc/init.d directory. When you install it, be sure the owner is set to "root.root" and that it is chmod'ded to 755. > > Regards, > Warren > <> ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rtanner at linfield.edu Fri May 14 01:43:58 2004 From: rtanner at linfield.edu (Rob Tanner) Date: Thu, 13 May 2004 16:43:58 -0700 Subject: SOLVED Re: Getting an intermittent permissions problem In-Reply-To: References: Message-ID: Looks like FAQ #F0021 (Hosts and services intermittently disappear from the web interface) applies here as well. I discovered I had multiple nagios sessions running. Killed them and it all works now. -- Rob --On Thursday, May 13, 2004 11:18:58 AM -0700 Rob Tanner wrote: > Hi, > > I just installed nagios and have started adding config data. I also > followed the install instructions to properly secure all the pages. The > end result, however, is inconsistent. For example, when I click on the > host detail link, about one third of the time the page loads without any > problem. But the other two thirds of the time, instead of the data, I get > the following displayed under the column headers: > > It appears as though you do not have permission to view > information for any of the hosts 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. > > > Security should either disable my access everytime or allow it. The > behavior I'm seeing is inconsistent and confusing. Anybody have any ideas? > > -- Rob > > _ _ _ _ _ _ _ _ _ _ > /\_\_\_\_\ /\_\ /\_\_\_\_\_\ > /\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT, > /\/_/__\/_/ __ /\/_/ /\/_/ PROFUNDUM VIDITUR > /\/_/_/_/_/ /\_\ /\/_/ /\/_/ > /\/_/ \/_/ /\/_/_/\/_/ /\/_/ (Whatever is said in Latin > \/_/ \/_/ \/_/_/_/_/ \/_/ appears profound) > > Rob Tanner > UNIX Services Manager > Linfield College, McMinnville OR > (503) 883-2558 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null _ _ _ _ _ _ _ _ _ _ /\_\_\_\_\ /\_\ /\_\_\_\_\_\ /\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT, /\/_/__\/_/ __ /\/_/ /\/_/ PROFUNDUM VIDITUR /\/_/_/_/_/ /\_\ /\/_/ /\/_/ /\/_/ \/_/ /\/_/_/\/_/ /\/_/ (Whatever is said in Latin \/_/ \/_/ \/_/_/_/_/ \/_/ appears profound) Rob Tanner UNIX Services Manager Linfield College, McMinnville OR (503) 883-2558 ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 14 06:20:01 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 14 May 2004 14:20:01 +1000 Subject: check_http to check a proxy. In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Thu, May 13, 2004 at 08:03:07PM -0700 References: Message-ID: <20040514142001.A55873@IPAustralia.Gov.AU> On Thu, May 13, 2004 at 08:03:07PM -0700, nagios-users-request at lists.sourceforge.net wrote: > Subject: RE: [Nagios-users] check_http & proxy > Date: Thu, 13 May 2004 09:43:46 -0500 > From: "Marc Powell" > To: "Gregor Bruhin" , > > > Gregor Bruhin wrote: > > Hi, > >=20 > > Is check_http proxy compatible ? > >=20 > > I defined the http_proxy env var but the plugin still fails (timeout) > > ...=20 > >=20 > > Any ideas ? > > check_http --help. > > I use the following to make sure that our proxies are functioning > properly. You don't say if you're trying to check the proxy or if you > must use the proxy to get out but in either case I believe the results > will be the same -- > > define command{ > command_name check_proxy > command_line $USER1$/check_http -H www.yahoo.com -I > $HOSTADDRESS$ --onredirect follow -p 8080 -wt 20 -ct 30 -to 35 -u > http://www.yahoo.com -s HTML > } > > $HOSTADDRESS$ corresponds to the IP of your proxy. You could of course > hard code the $HOSTADDRESS$ to be your proxy and make the -H and -u > arguments variable to check other sites via the proxy. > If you need to check an authenticated proxy then :- 1 you may be able to use one of the HTTP schemes to pass the password in the request or in the environment HTTP_PROXY=http://Unser:Password at Proxy:Proxy_Port/ or 2 use a proxy aware application such as lynx, or 3 build your own with a web client library (eg Curl) or Class (eg with the CPAN module named LWP) or 4 use one of the complete web client Classes from CPAN such as WWW:Automate/WWW::Mechanize. The last approach is useful if you want to check a dynamic web service such as a shopping cart application or a database search. 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: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a.koch at eurodata.de Fri May 14 06:53:40 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Fri, 14 May 2004 06:53:40 +0200 Subject: Host and Service command In-Reply-To: <1084452172.750.11.camel@dresden.eurodata.de> References: <1084452172.750.11.camel@dresden.eurodata.de> Message-ID: <1084510420.3045.3.camel@dresden.eurodata.de> Hello List, i have find the bug in nagios with mysql yesterday. See: http://wiki.tryphon.org/LinuxWiki/NagiosInstall Nagios with mysql don't use the status.log. Than the check_nagios don't work, and you must update the nagios-start-script and check_nagios. You can find the update also on teh site: http://wiki.tryphon.org/LinuxWiki/NagiosInstall Andreas Am Do, den 13.05.2004 schrieb Andreas Koch um 14:42: > Hello list, > > i have new install the nagios on a debian/testing System. > > I use the nagios-mysql package. > > The nagios work fine, but i can't see the Host Commands and the Service > Commands, for external Disable the Notification. > > The nagios print: > " > It appears as though Nagios is not running, so commands are temporarily > unavailable... > " > > Where is my Pproblem? > > Thanks, Andreas > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 14 07:12:37 2004 From: naman.latif at inamed.com (Naman Latif) Date: Thu, 13 May 2004 22:12:37 -0700 Subject: Host Retry check Interval Message-ID: <83B3FCAD284096489C9967C54B33B6B302AD51B8@sigma.inamed.com> Hi, Is it possible to specify some specific interval between Host rechecks ? I have defined "max_check_attempts 2" for some hosts before a notification is sent. However nagios performs these checks within 30 seconds and sends out the notification. Is it possible to configure nagios for some specific interval (e.g. 3 minutes) before it retries for the second time ? I tried to used "retry_check_interval" option in hosts.cfg but it gives a configuration error ? Thanks \\ Naman ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From schimpke at lenze.de Fri May 14 08:19:10 2004 From: schimpke at lenze.de (Thomas Schimpke) Date: Fri, 14 May 2004 08:19:10 +0200 Subject: Availability comparison of Win$ and Unix/Linux hosts [OT ?] Message-ID: <1084515549.22538.25.camel@raptor.lenze.com> Hello, I've a little problem finding some data for a paper I've to write and I guess, that at lest some of you can provide the data I'm seeking. I've to write a paper about the estimation of the availability of Win$ machines in comparison to Unix/Linux machines. I was not able to find any data published on the net and my nagios setup is obviously broken with respect of generating the necessary availability reports. Could someone please provide me with some data ? What I need is the host availability over (say) a three month period (perhaps the downtimes separated into planned/unplanned) for some Win$ & Unix machines. If you are monitoring the availability of Oracle and SQL Server instances also, these data would be nice to have also. The background is, that my company likes to set up a traceability system for some electronic production lines. If the traceability system fails, the production will simply stop until the traceability system comes back to life. Thanks for your help. Kind regards, Thomas -- Man sagt, wenn man die Windows-CD r?ckw?rts abspielt, h?rt man Botschaften von Satan. Aber das ist noch gar nichts. Wenn man sie vorw?rts laufen l?sst, installiert sie Windows.. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri May 14 08:58:55 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 14 May 2004 08:58:55 +0200 Subject: NRPE - Could not read request from client, bailing out... In-Reply-To: <200405130909.33792.flakmagnet@tabletop-battlezone.com> References: <200405120937.26382.flakmagnet@tabletop-battlezone.com> <40A319B7.3070909@op5.se> <200405130909.33792.flakmagnet@tabletop-battlezone.com> Message-ID: <40A46E2F.50707@op5.se> Flak Magnet wrote: > On Thursday 13 May 2004 02:46 am, Andreas Ericsson wrote: > >>Flak Magnet wrote: >> >>>I am having a fit trying to get check_nrpe to work and so I reluctantly >>>ask you folks for assistance. >>> >>>Environ: >>>Nagios 1.2 on a Linux box with nrpe_check v 2.0 >>> >>>NRPE v 1.9 on Solaris 8 box. >>> >>>I compiled both ends of nrpe without SSL support and I'm running nrpe on >>>the Solaris box from inetd. >>> >>>When I run check_nrpe receive the following message in /var/tmp/messages: >>> >>>May 12 09:16:27 nrpe[6750]: [ID 421412 daemon.error] Could not >>>read request from client, bailing out... >>> >>>I've searched the FAQ and RTFM'd without coming up with anything... could >>>it be the different versions of NRPE that are shnackering up the works? >> >>Documentation isn't all too obvious on this, but the two versions are >>incompatible, due to some hasty mistake in the making of the packet >>structure of version 1.x. I'm working on creating a backward compatible >>check_nrpe, but I'm not done yet, so you'll just have to wait a while >>longer, or update nrpe on the solaris box to nrpe 2.0 > > > Thank you for the help, but I'm still having the problem. I started out with > identical versions (2.0) compiled sans SSL support but after that didn't work > I installed the packages for NRPE (v1.9) on the solaris box. Still no joy. > > Going back to the compiled 2.0 version I recieve this: > > On Nagios Box - > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for > error messages. > Your nagios servers IP probably isn't mentioned in the 'allowed_hosts' section in your nrpe.conf on the solaris machine. Also, if check_nrpe was compiled WITH ssl support and NRPE was compiled without, you have to specify the '-n' flag to check_nrpe, so to make it use a non-ssl connection (otherwise the handshake will fail, and it will tell you so). > In /var/adm/messages on solaris box - > Well, that's odd, now I'm not seeing anything there... where should I look? > -- Mvh Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri May 14 09:01:57 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 14 May 2004 09:01:57 +0200 Subject: Giving up on NRPE, willing to try check_by_ssh... In-Reply-To: <200405131600.41528.flakmagnet@tabletop-battlezone.com> References: <200405131600.41528.flakmagnet@tabletop-battlezone.com> Message-ID: <40A46EE5.7020109@op5.se> man ssh-keygen man ssh_config man sshd_config check_by_ssh --help Be aware though that check_by_ssh requires public key authentication, and as such adds an additional security risk to your network. Flak Magnet wrote: > Exerpt from [path]/check_by_ssh --help > > "The most common mode of use is to refer to a local identity file with > the '-i' option. In this mode, the identity pair should have a null > passphrase and the public key should be listed in the authorized_keys > file of the remote host. Usually the key will be restricted to running > only one command on the remote server." > > Umm... yeah. I have gathered from a couple of resources that this has > something to do with ssh-keygen, a public file and a "authorized_keys > functionality" within SSH but which gives me the feeling that I've been given > some realy GREAT hints but no "Aha!" > > If someone could kindly points me to a concise HOW-TO or somesuch I'd be quite > happy to RTFM. > > Thank you. > -- Mvh Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From me-lists at kernzeit.com Fri May 14 09:45:20 2004 From: me-lists at kernzeit.com (Matthias Eichler) Date: Fri, 14 May 2004 09:45:20 +0200 Subject: libraries for debian woody 3.0r1 installation In-Reply-To: <20040513103940.15e5276c@BeBop> References: <1084446088.3936.7.camel@blindzero> <1084448102.4041.37.camel@munter> <1084450000.3936.12.camel@blindzero> <20040513103940.15e5276c@BeBop> Message-ID: <1084520720.2501.3.camel@blindzero> > > Thanks for the info, but precompiled, not official debian packages > > are not allowed due to our security policy. So I have to compile > > nagios for what I need these library-infos. > What is the error you are getting from the configure script? That should > point to the specific library you are having problems with. checking for gdImagePng in -lgd (order 1)... (cached) no checking for gdImagePng in -lgd (order 2)... (cached) no checking for gdImagePng in -lgd (order 3)... (cached) no After this there comes this info message box that configure wasn't able to locate the GD, PNG and/or JPEG libraries. So it seems to be the libgd?! > Another suggestion would be to use "apt-get source" to get the deb package > source files for the newer Nagios in unstable and back-port the package > yourself. If you need more help with building the deb package feel free to > contact me off-list. Building own packages is ok for me with dpkg-buildpackage, but I hope that backporting will work but is not my prefered way :-) Matthias -- Matthias Eichler kernzeit AG ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon.lorenz at fresca.co.uk Fri May 14 10:39:54 2004 From: simon.lorenz at fresca.co.uk (Simon Lorenz) Date: Fri, 14 May 2004 09:39:54 +0100 Subject: Tool for centralised deployment of NRPE configs Message-ID: Morning all, Is anyone aware of a solution to the problem of managing multiple config files across an NRPE monitored network? The number of devices we support is growing rapidly and it would be most beneficial to have an 'Enterprise' style config management tool kit to push configs and config updates to the remote devices. With out this solution large network config changes are certainly going to become something of a time drain + the current requirement to login, edit, and restart the daemon is very clunky . I have been considering this for some time, and wondered if this already exits in some form, or how others get around this issue? Otherwise I intend to look at developing such a tool kit. Regards Simon ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugh.jones at eduserv.org.uk Fri May 14 10:55:10 2004 From: hugh.jones at eduserv.org.uk (Hugh Jones) Date: Fri, 14 May 2004 09:55:10 +0100 Subject: Tool for centralised deployment of NRPE configs Message-ID: <0664215B8E934141AF548BBF680B77AE4D1F84@exch.edu2000.com> > Morning all, > > Is anyone aware of a solution to the problem of managing multiple config > files across an NRPE monitored network? The number of devices > we support is growing rapidly and it would be most beneficial to have an > 'Enterprise'style config management tool kit to push configs and config > updates to the remote devices. With out this solution large network config > changes are certainly going to become something of a time drain + the current > requirement to login, edit, and restart the daemon is very clunky . > > I have been considering this for some time, and wondered if this already > exits in some form, or how others get around this issue? Otherwise I intend > to look at developing such a tool kit. We tend to break down the architecture into different config files based on the client name; and as we have 2 nagios servers, we have a script that when run does a reload on the "master" server, and if it restarts sucessfully, scp's the config files to the other server. Not quite "Enterprise Management", but for us it's the next best thing and works well. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magnus.hultgren at rps.police.se Fri May 14 11:04:32 2004 From: magnus.hultgren at rps.police.se (Magnus Hultgren) Date: Fri, 14 May 2004 11:04:32 +0200 Subject: Nagios And MySQL Message-ID: <200405140908.i4E98rFj028980@av-inet.police.se> Hi! Here is another newbee question. I'm trying to compile Nagios with MySQL support to use it with NagMin. The configuration seems to go ok, but when I try to make all it stops with the errors below. Anyone that got a clue to put me on the right track? Best regards. Magnus. /tmp/cc4yCYzT.o(.text+0x378): In function `xrddb_initialize': ../xdata/xrddb.c:215: undefined reference to `mysql_init' /tmp/cc4yCYzT.o(.text+0x3f2): In function `xrddb_connect': ../xdata/xrddb.c:252: undefined reference to `mysql_real_connect' /tmp/cc4yCYzT.o(.text+0x40f):../xdata/xrddb.c:254: undefined reference to `mysql_close' /tmp/cc4yCYzT.o(.text+0x464): In function `xrddb_disconnect': ../xdata/xrddb.c:299: undefined reference to `mysql_close' /tmp/cc4yCYzT.o(.text+0x47c): In function `xrddb_query': ../xdata/xrddb.c:329: undefined reference to `mysql_query' /tmp/cc4yCYzT.o(.text+0xd5c): In function `xrddb_read_program_information': ../xdata/xrddb.c:850: undefined reference to `mysql_store_result' /tmp/cc4yCYzT.o(.text+0xd86):../xdata/xrddb.c:854: undefined reference to `mysql_fetch_row' /tmp/cc4yCYzT.o(.text+0xe4c):../xdata/xrddb.c:867: undefined reference to `mysql_free_result' /tmp/cc4yCYzT.o(.text+0xf00): In function `xrddb_read_host_information': ./xdata/xrddb.c:951: undefined reference to `mysql_store_result' /tmp/cc4yCYzT.o(.text+0xf2a):../xdata/xrddb.c:951: undefined reference to `mysql_fetch_row' /tmp/cc4yCYzT.o(.text+0x10ec):../xdata/xrddb.c:1004: undefined reference to `mysql_free_result' /tmp/cc4yCYzT.o(.text+0x1178): In function `xrddb_read_service_information': ../xdata/xrddb.c:1129: undefined reference to `mysql_store_result' /tmp/cc4yCYzT.o(.text+0x11a2):../xdata/xrddb.c:1129: undefined reference to `mysql_fetch_row' /tmp/cc4yCYzT.o(.text+0x13f1):../xdata/xrddb.c:1195: undefined reference to `mysql_free_result' /tmp/ccuFMvFo.o(.text+0x37c): In function `xcddb_initialize': ../xdata/xcddb.c:234: undefined reference to `mysql_init' /tmp/ccuFMvFo.o(.text+0x3ee): In function `xcddb_connect': ../xdata/xcddb.c:259: undefined reference to `mysql_real_connect' /tmp/ccuFMvFo.o(.text+0x40b):../xdata/xcddb.c:261: undefined reference to `mysql_close' /tmp/ccuFMvFo.o(.text+0x460): In function `xcddb_disconnect': ./xdata/xcddb.c:303: undefined reference to `mysql_close' /tmp/ccuFMvFo.o(.text+0x478): In function `xcddb_query': ../xdata/xcddb.c:329: undefined reference to `mysql_query' /tmp/ccuFMvFo.o(.text+0x5c0): In function `xcddb_validate_host_comments': ../xdata/xcddb.c:477: undefined reference to `mysql_store_result' /tmp/ccuFMvFo.o(.text+0x5d9):../xdata/xcddb.c:477: undefined reference to `mysql_fetch_row' /tmp/ccuFMvFo.o(.text+0x66c): In function `xcddb_validate_service_comments': ../xdata/xcddb.c:566: undefined reference to `mysql_store_result' /tmp/ccuFMvFo.o(.text+0x685):../xdata/xcddb.c:566: undefined reference to `mysql_fetch_row' /tmp/ccuFMvFo.o(.text+0x7fa): In function `xcddb_save_host_comment': ../xdata/xcddb.c:748: undefined reference to `mysql_insert_id' /tmp/ccuFMvFo.o(.text+0x9ca): In function `xcddb_save_service_comment': ../xdata/xcddb.c:847: undefined reference to `mysql_insert_id' /tmp/ccms06uZ.o(.text+0x3e8): In function `xsddb_initialize': ./xdata/xsddb.c:253: undefined reference to `mysql_init' /tmp/ccms06uZ.o(.text+0x462): In function `xsddb_connect': ../xdata/xsddb.c:286: undefined reference to `mysql_real_connect' /tmp/ccms06uZ.o(.text+0x47f):../xdata/xsddb.c:288: undefined reference to `mysql_close' /tmp/ccms06uZ.o(.text+0x4e4): In function `xsddb_disconnect': ../xdata/xsddb.c:335: undefined reference to `mysql_close' /tmp/ccms06uZ.o(.text+0x4fc): In function `xsddb_check_connection': ../xdata/xsddb.c:363: undefined reference to `mysql_errno' /tmp/ccms06uZ.o(.text+0x525):../xdata/xsddb.c:369: undefined reference to `mysql_close' /tmp/ccms06uZ.o(.text+0x664): In function `xsddb_query': ../xdata/xsddb.c:463: undefined reference to `mysql_query' /tmp/cckI1Opk.o(.text+0x37c): In function `xdddb_initialize': ../xdata/xdddb.c:234: undefined reference to `mysql_init' /tmp/cckI1Opk.o(.text+0x3ee): In function `xdddb_connect': ../xdata/xdddb.c:259: undefined reference to `mysql_real_connect' /tmp/cckI1Opk.o(.text+0x40b):../xdata/xdddb.c:261: undefined reference to `mysql_close' /tmp/cckI1Opk.o(.text+0x460): In function `xdddb_disconnect': ../xdata/xdddb.c:303: undefined reference to `mysql_close' /tmp/cckI1Opk.o(.text+0x478): In function `xdddb_query': ../xdata/xdddb.c:329: undefined reference to `mysql_query' /tmp/cckI1Opk.o(.text+0x57d): In function `xdddb_validate_host_downtime': ../xdata/xdddb.c:473: undefined reference to `mysql_store_result' /tmp/cckI1Opk.o(.text+0x595):../xdata/xdddb.c:473: undefined reference to `mysql_fetch_row' /tmp/cckI1Opk.o(.text+0x651): In function `xdddb_validate_service_downtime': ../xdata/xdddb.c:587: undefined reference to `mysql_store_result' /tmp/cckI1Opk.o(.text+0x669):../xdata/xdddb.c:587: undefined reference to `mysql_fetch_row' /tmp/cckI1Opk.o(.text+0x80a): In function `xdddb_save_host_downtime': ../xdata/xdddb.c:788: undefined reference to `mysql_insert_id' /tmp/cckI1Opk.o(.text+0x9e2): In function `xdddb_save_service_downtime': ../xdata/xdddb.c:887: undefined reference to `mysql_insert_id' /tmp/cckI1Opk.o(.text+0xc11): In function `xdddb_read_host_downtime': ../xdata/xdddb.c:1107: undefined reference to `mysql_store_result' /tmp/cckI1Opk.o(.text+0xc35):../xdata/xdddb.c:1107: undefined reference to `mysql_fetch_row' /tmp/cckI1Opk.o(.text+0xd17):../xdata/xdddb.c:1116: undefined reference to `mysql_free_result' /tmp/cckI1Opk.o(.text+0xd34):../xdata/xdddb.c:1149: undefined reference to `mysql_free_result' /tmp/cckI1Opk.o(.text+0xd89): In function `xdddb_read_service_downtime': ../xdata/xdddb.c:1238: undefined reference to `mysql_store_result' /tmp/cckI1Opk.o(.text+0xdad):../xdata/xdddb.c:1238: undefined reference to `mysql_fetch_row' /tmp/cckI1Opk.o(.text+0xe93):../xdata/xdddb.c:1247: undefined reference to `mysql_free_result' /tmp/cckI1Opk.o(.text+0xeb0):../xdata/xdddb.c:1280: undefined reference to `mysql_free_result' collect2: ld returned 1 exit status make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/home/nn/nagios/nagios-1.2/base' make: *** [all] Error 2 -------------- next part -------------- An HTML attachment was scrubbed... URL: From magnus.pettersson at eds.com Fri May 14 11:13:56 2004 From: magnus.pettersson at eds.com (Pettersson, Magnus) Date: Fri, 14 May 2004 10:13:56 +0100 Subject: Integration of Nagios into Trouble-Ticket-Syst ems (OTRS) Message-ID: I have no knowledge of OTRS, but I have made integrations to both Unicenter, and Tivoli earlier. The Unicenter integration was also a Helpdesk integration (ahd). Both these integrations was made using event-handlers. In my opinion, this is the best approach when it comes to integrating Nagios with other systems. Together with the available macros in Nagios there should be no problem in accomplishing what you want. /magnus Dear List, I am quite unhappy with our integration of Nagios into our Trouble-Ticket-System (OTRS). With the standard standard mail functionality of Nagios it is quite uncomfortable as every mail creates a new ticket. Thats why I wanted to ask if somebody has experiences in integration Nagios into a Trouble-Ticket-System, especially into OTRS? Has somebody figured out the best way and the stumbling blocks for the integration? The optimum would in my eyes would be some ticket opening on WARNINGS or ERRORS, the automatic ticket closing on RECOVERYs and the changes of the agent who is working on the problem with some comment, when acknowleding a problem. Thanks for all input, Matthias -- Matthias Eichler kernzeit AG ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amk_dude at yahoo.com Fri May 14 11:28:04 2004 From: amk_dude at yahoo.com (anil kamath) Date: Fri, 14 May 2004 02:28:04 -0700 (PDT) Subject: AW: configuration help on remote hosts In-Reply-To: <09FCA2FF7E92D71186320008C71E91C6031FD283@devwagwodx0029.wob.vw.de> References: <09FCA2FF7E92D71186320008C71E91C6031FD283@devwagwodx0029.wob.vw.de> Message-ID: <20040514092804.64728.qmail@web14522.mail.yahoo.com> Hi, i am unable to get the remote disk check on a remote host it gives incorrect command line arguments found. define service{ use generic-service host_name rakeshlnx service_description check space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_nrpe!check_disk } please help its very urgent.. regards, anil --- "Schaffranneck, Sven (K-DOI-5/4)" wrote: > Hello, > > > My question is do i have to run the daemon on all > the > > remote hosts that i need to monitor!! > > If use want to use nrpe -> Yes. > You even have the possibility to use send_nsca > (passive-check) and > check_by_ssh (active-check, but high load on > nagios-server and you must have > a sshd running on remote host) > > > > how do i pass > > parameters to check_nrpe to check the diskspace > and > > processes on the remote system. Please help me its > > very Urgent. o i have to make any changes in the > local > > configuration file and what changes do i have to > make > > in the nrpe.cfg. is it safe to run the nrpe daemon > as > > an xinetd service????. > > you have to compile your nrpe and check_nrpe with > "--enable-command-args". > In the nrpe.cfg you have to set: > "dont_blame_nrpe=1". Now you can pass your > paramaters via check_nrpe to the daemon. > > -------------------------- > define command { > command_name check_nrpe_ssl_args > command_line $USER1$/check_nrpe_ssl -t > 120 -H $HOSTADDRESS$ -c > $ARG1$ -a $ARG2$ > } > --------------------------- > define service { > name nrpe_ssl_swap > use generic-unix > register 0 > service_description NRPE_Swap > check_command > check_nrpe_ssl_args!check_swap!25% 10% > } > -------------------------- > > > Mit freundlichen Gr?ssen, > Sven Schaffranneck > K-DOI-5/4 > > Volkswagen AG > Brieffach 1883 > 38436 Wolfsburg > > Telefon: +49 (5361) 9-3 88 58 > http://www.volkswagen.de > > > > please reply !!! > > > > Regards, > > Anil > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Win a $20,000 Career Makeover at Yahoo! HotJobs > > > http://hotjobs.sweepstakes.yahoo.com/careermakeover > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: Oracle 10g > > Get certified on the hottest thing ever to hit the > market... > > Oracle 10g. > > Take an Oracle 10g class now, and we'll give you > the exam FREE. > > > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: Oracle 10g > Get certified on the hottest thing ever to hit the > market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the > exam FREE. > http://ads.osdn.com/?ad_id149&alloc_id?66&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From verdon at cict.fr Fri May 14 11:37:12 2004 From: verdon at cict.fr (carole verdon) Date: Fri, 14 May 2004 11:37:12 +0200 Subject: AW: configuration help on remote hosts In-Reply-To: <20040514092804.64728.qmail@web14522.mail.yahoo.com> References: <20040514092804.64728.qmail@web14522.mail.yahoo.com> Message-ID: <40A49348.60805@cict.fr> What is your check_disk definition in nrpe.cfg ? Example: If in nrpe.cfg, you define this : command[check_disk_test]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ In definition of service, you must write: check_command check_nrpe!check_disk_test!20%!10% anil kamath wrote: >Hi, > >i am unable to get the remote disk check on a remote >host it gives incorrect command line arguments found. >define service{ > use >generic-service > host_name rakeshlnx > service_description check space > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 120 > notification_period 24x7 > notification_options c,r > check_command >check_nrpe!check_disk >} > > > >please help its very urgent.. > >regards, >anil > > >--- "Schaffranneck, Sven (K-DOI-5/4)" > wrote: > > >>Hello, >> >> >> >>>My question is do i have to run the daemon on all >>> >>> >>the >> >> >>>remote hosts that i need to monitor!! >>> >>> >>If use want to use nrpe -> Yes. >>You even have the possibility to use send_nsca >>(passive-check) and >>check_by_ssh (active-check, but high load on >>nagios-server and you must have >>a sshd running on remote host) >> >> >> >> >>>how do i pass >>>parameters to check_nrpe to check the diskspace >>> >>> >>and >> >> >>>processes on the remote system. Please help me its >>>very Urgent. o i have to make any changes in the >>> >>> >>local >> >> >>>configuration file and what changes do i have to >>> >>> >>make >> >> >>>in the nrpe.cfg. is it safe to run the nrpe daemon >>> >>> >>as >> >> >>>an xinetd service????. >>> >>> >>you have to compile your nrpe and check_nrpe with >>"--enable-command-args". >>In the nrpe.cfg you have to set: >>"dont_blame_nrpe=1". Now you can pass your >>paramaters via check_nrpe to the daemon. >> >>-------------------------- >>define command { >> command_name check_nrpe_ssl_args >> command_line $USER1$/check_nrpe_ssl -t >>120 -H $HOSTADDRESS$ -c >>$ARG1$ -a $ARG2$ >>} >>--------------------------- >>define service { >> name nrpe_ssl_swap >> use generic-unix >> register 0 >> service_description NRPE_Swap >> check_command >>check_nrpe_ssl_args!check_swap!25% 10% >>} >>-------------------------- >> >> >>Mit freundlichen Gr?ssen, >>Sven Schaffranneck >>K-DOI-5/4 >> >>Volkswagen AG >>Brieffach 1883 >>38436 Wolfsburg >> >>Telefon: +49 (5361) 9-3 88 58 >>http://www.volkswagen.de >> >> >> >> >>>please reply !!! >>> >>>Regards, >>>Anil >>> >>> >>> >>> >>>__________________________________ >>>Do you Yahoo!? >>>Win a $20,000 Career Makeover at Yahoo! HotJobs >>> >>> >>> >>http://hotjobs.sweepstakes.yahoo.com/careermakeover >> >> >>> >>> >>> >------------------------------------------------------- > > >>>This SF.Net email is sponsored by: Oracle 10g >>>Get certified on the hottest thing ever to hit the >>> >>> >>market... >> >> >>>Oracle 10g. >>>Take an Oracle 10g class now, and we'll give you >>> >>> >>the exam FREE. >> >> >http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > > >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>> >>> >>> >https://lists.sourceforge.net/lists/listinfo/nagios-users > > >>>::: 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: Oracle 10g >>Get certified on the hottest thing ever to hit the >>market... Oracle 10g. >>Take an Oracle 10g class now, and we'll give you the >>exam FREE. >>http://ads.osdn.com/?ad_id149&alloc_id?66&op=click >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >> >> >> >https://lists.sourceforge.net/lists/listinfo/nagios-users > > >>::: 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!? >SBC Yahoo! - Internet access at a great low price. >http://promo.yahoo.com/sbc/ > > >------------------------------------------------------- >This SF.Net email is sponsored by: SourceForge.net Broadband >Sign-up now for SourceForge Broadband and get the fastest >6.0/768 connection for only $19.95/mo for the first 3 months! >http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 ae at op5.se Fri May 14 11:43:30 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 14 May 2004 11:43:30 +0200 Subject: Nagios And MySQL In-Reply-To: <200405140908.i4E98rFj028980@av-inet.police.se> References: <200405140908.i4E98rFj028980@av-inet.police.se> Message-ID: <40A494C2.1020000@op5.se> Magnus Hultgren wrote: > Hi! Here is another newbee question. > > I'm trying to compile Nagios with MySQL support to use it with NagMin. > > The configuration seems to go ok, but when I try to make all it stops with > the errors below. > > Anyone that got a clue to put me on the right track? > > Best regards. Magnus. > > > > /tmp/cc4yCYzT.o(.text+0x378): In function `xrddb_initialize': > > ../xdata/xrddb.c:215: undefined reference to `mysql_init' > > /tmp/cc4yCYzT.o(.text+0x3f2): In function `xrddb_connect': > > ../xdata/xrddb.c:252: undefined reference to `mysql_real_connect' > > /tmp/cc4yCYzT.o(.text+0x40f):../xdata/xrddb.c:254: undefined reference to > `mysql_close' > > /tmp/cc4yCYzT.o(.text+0x464): In function `xrddb_disconnect': > > ../xdata/xrddb.c:299: undefined reference to `mysql_close' > > /tmp/cc4yCYzT.o(.text+0x47c): In function `xrddb_query': > > ../xdata/xrddb.c:329: undefined reference to `mysql_query' > > /tmp/cc4yCYzT.o(.text+0xd5c): In function `xrddb_read_program_information': > > ../xdata/xrddb.c:850: undefined reference to `mysql_store_result' > > /tmp/cc4yCYzT.o(.text+0xd86):../xdata/xrddb.c:854: undefined reference to > `mysql_fetch_row' > > /tmp/cc4yCYzT.o(.text+0xe4c):../xdata/xrddb.c:867: undefined reference to > `mysql_free_result' > > /tmp/cc4yCYzT.o(.text+0xf00): In function `xrddb_read_host_information': > > ./xdata/xrddb.c:951: undefined reference to `mysql_store_result' > > /tmp/cc4yCYzT.o(.text+0xf2a):../xdata/xrddb.c:951: undefined reference to > `mysql_fetch_row' > > /tmp/cc4yCYzT.o(.text+0x10ec):../xdata/xrddb.c:1004: undefined reference to > `mysql_free_result' > > /tmp/cc4yCYzT.o(.text+0x1178): In function `xrddb_read_service_information': > > ../xdata/xrddb.c:1129: undefined reference to `mysql_store_result' > > /tmp/cc4yCYzT.o(.text+0x11a2):../xdata/xrddb.c:1129: undefined reference to > `mysql_fetch_row' > > /tmp/cc4yCYzT.o(.text+0x13f1):../xdata/xrddb.c:1195: undefined reference to > `mysql_free_result' > > /tmp/ccuFMvFo.o(.text+0x37c): In function `xcddb_initialize': > > ../xdata/xcddb.c:234: undefined reference to `mysql_init' > > /tmp/ccuFMvFo.o(.text+0x3ee): In function `xcddb_connect': > > ../xdata/xcddb.c:259: undefined reference to `mysql_real_connect' > > /tmp/ccuFMvFo.o(.text+0x40b):../xdata/xcddb.c:261: undefined reference to > `mysql_close' > > /tmp/ccuFMvFo.o(.text+0x460): In function `xcddb_disconnect': > > ./xdata/xcddb.c:303: undefined reference to `mysql_close' > > /tmp/ccuFMvFo.o(.text+0x478): In function `xcddb_query': > > ../xdata/xcddb.c:329: undefined reference to `mysql_query' > > /tmp/ccuFMvFo.o(.text+0x5c0): In function `xcddb_validate_host_comments': > > ../xdata/xcddb.c:477: undefined reference to `mysql_store_result' > > /tmp/ccuFMvFo.o(.text+0x5d9):../xdata/xcddb.c:477: undefined reference to > `mysql_fetch_row' > > /tmp/ccuFMvFo.o(.text+0x66c): In function `xcddb_validate_service_comments': > > ../xdata/xcddb.c:566: undefined reference to `mysql_store_result' > > /tmp/ccuFMvFo.o(.text+0x685):../xdata/xcddb.c:566: undefined reference to > `mysql_fetch_row' > > /tmp/ccuFMvFo.o(.text+0x7fa): In function `xcddb_save_host_comment': > > ../xdata/xcddb.c:748: undefined reference to `mysql_insert_id' > > /tmp/ccuFMvFo.o(.text+0x9ca): In function `xcddb_save_service_comment': > > ../xdata/xcddb.c:847: undefined reference to `mysql_insert_id' > > /tmp/ccms06uZ.o(.text+0x3e8): In function `xsddb_initialize': > > ./xdata/xsddb.c:253: undefined reference to `mysql_init' > > /tmp/ccms06uZ.o(.text+0x462): In function `xsddb_connect': > > ../xdata/xsddb.c:286: undefined reference to `mysql_real_connect' > > /tmp/ccms06uZ.o(.text+0x47f):../xdata/xsddb.c:288: undefined reference to > `mysql_close' > > /tmp/ccms06uZ.o(.text+0x4e4): In function `xsddb_disconnect': > > ../xdata/xsddb.c:335: undefined reference to `mysql_close' > > /tmp/ccms06uZ.o(.text+0x4fc): In function `xsddb_check_connection': > > ../xdata/xsddb.c:363: undefined reference to `mysql_errno' > > /tmp/ccms06uZ.o(.text+0x525):../xdata/xsddb.c:369: undefined reference to > `mysql_close' > > /tmp/ccms06uZ.o(.text+0x664): In function `xsddb_query': > > ../xdata/xsddb.c:463: undefined reference to `mysql_query' > > /tmp/cckI1Opk.o(.text+0x37c): In function `xdddb_initialize': > > ../xdata/xdddb.c:234: undefined reference to `mysql_init' > > /tmp/cckI1Opk.o(.text+0x3ee): In function `xdddb_connect': > > ../xdata/xdddb.c:259: undefined reference to `mysql_real_connect' > > /tmp/cckI1Opk.o(.text+0x40b):../xdata/xdddb.c:261: undefined reference to > `mysql_close' > > /tmp/cckI1Opk.o(.text+0x460): In function `xdddb_disconnect': > > ../xdata/xdddb.c:303: undefined reference to `mysql_close' > > /tmp/cckI1Opk.o(.text+0x478): In function `xdddb_query': > > ../xdata/xdddb.c:329: undefined reference to `mysql_query' > > /tmp/cckI1Opk.o(.text+0x57d): In function `xdddb_validate_host_downtime': > > ../xdata/xdddb.c:473: undefined reference to `mysql_store_result' > > /tmp/cckI1Opk.o(.text+0x595):../xdata/xdddb.c:473: undefined reference to > `mysql_fetch_row' > > /tmp/cckI1Opk.o(.text+0x651): In function `xdddb_validate_service_downtime': > > ../xdata/xdddb.c:587: undefined reference to `mysql_store_result' > > /tmp/cckI1Opk.o(.text+0x669):../xdata/xdddb.c:587: undefined reference to > `mysql_fetch_row' > > /tmp/cckI1Opk.o(.text+0x80a): In function `xdddb_save_host_downtime': > > ../xdata/xdddb.c:788: undefined reference to `mysql_insert_id' > > /tmp/cckI1Opk.o(.text+0x9e2): In function `xdddb_save_service_downtime': > > ../xdata/xdddb.c:887: undefined reference to `mysql_insert_id' > > /tmp/cckI1Opk.o(.text+0xc11): In function `xdddb_read_host_downtime': > > ../xdata/xdddb.c:1107: undefined reference to `mysql_store_result' > > /tmp/cckI1Opk.o(.text+0xc35):../xdata/xdddb.c:1107: undefined reference to > `mysql_fetch_row' > > /tmp/cckI1Opk.o(.text+0xd17):../xdata/xdddb.c:1116: undefined reference to > `mysql_free_result' > > /tmp/cckI1Opk.o(.text+0xd34):../xdata/xdddb.c:1149: undefined reference to > `mysql_free_result' > > /tmp/cckI1Opk.o(.text+0xd89): In function `xdddb_read_service_downtime': > > ../xdata/xdddb.c:1238: undefined reference to `mysql_store_result' > > /tmp/cckI1Opk.o(.text+0xdad):../xdata/xdddb.c:1238: undefined reference to > `mysql_fetch_row' > > /tmp/cckI1Opk.o(.text+0xe93):../xdata/xdddb.c:1247: undefined reference to > `mysql_free_result' > > /tmp/cckI1Opk.o(.text+0xeb0):../xdata/xdddb.c:1280: undefined reference to > `mysql_free_result' > > collect2: ld returned 1 exit status > > make[1]: *** [nagios] Error 1 > > make[1]: Leaving directory `/home/nn/nagios/nagios-1.2/base' > > make: *** [all] Error 2 > You need the mysql-devel (and possibly mysql-shared) package(s), which contains the header files and DSO's required for compilation. Why the ./configure-script detected it if it isn't available, I don't know... -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amk_dude at yahoo.com Fri May 14 11:54:54 2004 From: amk_dude at yahoo.com (anil kamath) Date: Fri, 14 May 2004 02:54:54 -0700 (PDT) Subject: AW: configuration help on remote hosts In-Reply-To: <40A49348.60805@cict.fr> References: <40A49348.60805@cict.fr> Message-ID: <20040514095454.98728.qmail@web14521.mail.yahoo.com> Hi, now after i rectified it gives CHECK_NRPE: Error - Could not complete SSL handshake. i have configured the nrpe.cfg on remote host, put entries in /etc/sevices configured the daemon in xinetd.d and restarted the xinetd daemon. i tried to telnet to localhost on port 5666. it tries to connect and later disconnects what is the problem with the port. please help!!! regards, anil --- carole verdon wrote: > What is your check_disk definition in nrpe.cfg ? > > Example: > If in nrpe.cfg, you define this : > command[check_disk_test]=/usr/local/nagios/libexec/check_disk > -w $ARG1$ > -c $ARG2$ > > In definition of service, you must write: > > check_command check_nrpe!check_disk_test!20%!10% > > > anil kamath wrote: > > >Hi, > > > >i am unable to get the remote disk check on a > remote > >host it gives incorrect command line arguments > found. > >define service{ > > use > >generic-service > > host_name rakeshlnx > > service_description check space > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups > linux-admins > > notification_interval 120 > > notification_period 24x7 > > notification_options c,r > > check_command > >check_nrpe!check_disk > >} > > > > > > > >please help its very urgent.. > > > >regards, > >anil > > > > > >--- "Schaffranneck, Sven (K-DOI-5/4)" > > wrote: > > > > > >>Hello, > >> > >> > >> > >>>My question is do i have to run the daemon on all > >>> > >>> > >>the > >> > >> > >>>remote hosts that i need to monitor!! > >>> > >>> > >>If use want to use nrpe -> Yes. > >>You even have the possibility to use send_nsca > >>(passive-check) and > >>check_by_ssh (active-check, but high load on > >>nagios-server and you must have > >>a sshd running on remote host) > >> > >> > >> > >> > >>>how do i pass > >>>parameters to check_nrpe to check the diskspace > >>> > >>> > >>and > >> > >> > >>>processes on the remote system. Please help me > its > >>>very Urgent. o i have to make any changes in the > >>> > >>> > >>local > >> > >> > >>>configuration file and what changes do i have to > >>> > >>> > >>make > >> > >> > >>>in the nrpe.cfg. is it safe to run the nrpe > daemon > >>> > >>> > >>as > >> > >> > >>>an xinetd service????. > >>> > >>> > >>you have to compile your nrpe and check_nrpe with > >>"--enable-command-args". > >>In the nrpe.cfg you have to set: > >>"dont_blame_nrpe=1". Now you can pass your > >>paramaters via check_nrpe to the daemon. > >> > >>-------------------------- > >>define command { > >> command_name check_nrpe_ssl_args > >> command_line $USER1$/check_nrpe_ssl -t > >>120 -H $HOSTADDRESS$ -c > >>$ARG1$ -a $ARG2$ > >>} > >>--------------------------- > >>define service { > >> name nrpe_ssl_swap > >> use generic-unix > >> register 0 > >> service_description NRPE_Swap > >> check_command > >>check_nrpe_ssl_args!check_swap!25% 10% > >>} > >>-------------------------- > >> > >> > >>Mit freundlichen Gr?ssen, > >>Sven Schaffranneck > >>K-DOI-5/4 > >> > >>Volkswagen AG > >>Brieffach 1883 > >>38436 Wolfsburg > >> > >>Telefon: +49 (5361) 9-3 88 58 > >>http://www.volkswagen.de > >> > >> > >> > >> > >>>please reply !!! > >>> > >>>Regards, > >>>Anil > >>> > >>> > >>> > >>> > >>>__________________________________ > >>>Do you Yahoo!? > >>>Win a $20,000 Career Makeover at Yahoo! HotJobs > >>> > >>> > >>> > >>http://hotjobs.sweepstakes.yahoo.com/careermakeover > > >> > >> > >>> > >>> > >>> > >------------------------------------------------------- > > > > > >>>This SF.Net email is sponsored by: Oracle 10g > >>>Get certified on the hottest thing ever to hit > the > >>> > >>> > >>market... > >> > >> > >>>Oracle 10g. > >>>Take an Oracle 10g class now, and we'll give you > >>> > >>> > >>the exam FREE. > >> > >> > >http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > > > > > >>>_______________________________________________ > >>>Nagios-users mailing list > >>>Nagios-users at lists.sourceforge.net > >>> > >>> > >>> > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > >>>::: Please include Nagios version, plugin version > >>> > >>> > >>(-v) and OS > >> > === message truncated === __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri May 14 12:13:24 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 14 May 2004 12:13:24 +0200 Subject: AW: configuration help on remote hosts In-Reply-To: <20040514095454.98728.qmail@web14521.mail.yahoo.com> References: <20040514095454.98728.qmail@web14521.mail.yahoo.com> Message-ID: <40A49BC4.3090200@op5.se> anil kamath wrote: > Hi, > > now after i rectified it gives > CHECK_NRPE: Error - Could not complete SSL handshake. > > i have configured the nrpe.cfg on remote host, put > entries in /etc/sevices configured the daemon in > xinetd.d and restarted the xinetd daemon. i tried to > telnet to localhost on port 5666. it tries to connect > and later disconnects what is the problem with the > port. You have to run "nrpe -c -i" when you're running it from (x)inetd. Also, SSL libraries and header files must be present on the system where you compile and run the daemon, or things will fail miserably. Check /var/{log,adm}/messages for details. > please help!!! > regards, > anil > > > --- carole verdon wrote: > >>What is your check_disk definition in nrpe.cfg ? >> >>Example: >>If in nrpe.cfg, you define this : >> > > command[check_disk_test]=/usr/local/nagios/libexec/check_disk > >>-w $ARG1$ >>-c $ARG2$ >> >>In definition of service, you must write: >> >>check_command check_nrpe!check_disk_test!20%!10% >> >> >>anil kamath wrote: >> >> >>>Hi, >>> >>>i am unable to get the remote disk check on a >> >>remote >> >>>host it gives incorrect command line arguments >> >>found. >> >>>define service{ >>> use >>>generic-service >>> host_name rakeshlnx >>> service_description check space >>> is_volatile 0 >>> check_period 24x7 >>> max_check_attempts 3 >>> normal_check_interval 5 >>> retry_check_interval 1 >>> contact_groups >> >>linux-admins >> >>> notification_interval 120 >>> notification_period 24x7 >>> notification_options c,r >>> check_command >>>check_nrpe!check_disk >>>} >>> >>> >>> >>>please help its very urgent.. >>> >>>regards, >>>anil >>> >>> >>>--- "Schaffranneck, Sven (K-DOI-5/4)" >>> wrote: >>> >>> >>> >>>>Hello, >>>> >>>> >>>> >>>> >>>>>My question is do i have to run the daemon on all >>>>> >>>>> >>>> >>>>the >>>> >>>> >>>> >>>>>remote hosts that i need to monitor!! >>>>> >>>>> >>>> >>>>If use want to use nrpe -> Yes. >>>>You even have the possibility to use send_nsca >>>>(passive-check) and >>>>check_by_ssh (active-check, but high load on >>>>nagios-server and you must have >>>>a sshd running on remote host) >>>> >>>> >>>> >>>> >>>> >>>>>how do i pass >>>>>parameters to check_nrpe to check the diskspace >>>>> >>>>> >>>> >>>>and >>>> >>>> >>>> >>>>>processes on the remote system. Please help me >> >>its >> >>>>>very Urgent. o i have to make any changes in the >>>>> >>>>> >>>> >>>>local >>>> >>>> >>>> >>>>>configuration file and what changes do i have to >>>>> >>>>> >>>> >>>>make >>>> >>>> >>>> >>>>>in the nrpe.cfg. is it safe to run the nrpe >> >>daemon >> >>>>> >>>>> >>>> >>>>as >>>> >>>> >>>> >>>>>an xinetd service????. >>>>> >>>>> >>>> >>>>you have to compile your nrpe and check_nrpe with >>>>"--enable-command-args". >>>>In the nrpe.cfg you have to set: >>>>"dont_blame_nrpe=1". Now you can pass your >>>>paramaters via check_nrpe to the daemon. >>>> >>>>-------------------------- >>>>define command { >>>> command_name check_nrpe_ssl_args >>>> command_line $USER1$/check_nrpe_ssl -t >>>>120 -H $HOSTADDRESS$ -c >>>>$ARG1$ -a $ARG2$ >>>>} >>>>--------------------------- >>>>define service { >>>> name nrpe_ssl_swap >>>> use generic-unix >>>> register 0 >>>> service_description NRPE_Swap >>>> check_command >>>>check_nrpe_ssl_args!check_swap!25% 10% >>>>} >>>>-------------------------- >>>> >>>> >>>>Mit freundlichen Gr?ssen, >>>>Sven Schaffranneck >>>>K-DOI-5/4 >>>> >>>>Volkswagen AG >>>>Brieffach 1883 >>>>38436 Wolfsburg >>>> >>>>Telefon: +49 (5361) 9-3 88 58 >>>>http://www.volkswagen.de >>>> >>>> >>>> >>>> >>>> >>>>>please reply !!! >>>>> >>>>>Regards, >>>>>Anil >>>>> >>>>> >>>>> >>>>> >>>>>__________________________________ >>>>>Do you Yahoo!? >>>>>Win a $20,000 Career Makeover at Yahoo! HotJobs >>>>> >>>>> >>>>> >> >>>http://hotjobs.sweepstakes.yahoo.com/careermakeover >> >>>> >>>> >>>> >>>>> >>>>> >> >>------------------------------------------------------- >> >>> >>> >>> >>>>>This SF.Net email is sponsored by: Oracle 10g >>>>>Get certified on the hottest thing ever to hit >> >>the >> >>>>> >>>>> >>>> >>>>market... >>>> >>>> >>>> >>>>>Oracle 10g. >>>>>Take an Oracle 10g class now, and we'll give you >>>>> >>>>> >>>> >>>>the exam FREE. >>>> >>>> >> >>http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click >> >>> >>> >>> >>>>>_______________________________________________ >>>>>Nagios-users mailing list >>>>>Nagios-users at lists.sourceforge.net >>>>> >>>>> >>>>> >> >>https://lists.sourceforge.net/lists/listinfo/nagios-users >> >>> >>> >>> >>>>>::: Please include Nagios version, plugin version >>>>> >>>>> >>>> >>>>(-v) and OS >>>> >> > === message truncated === > > > > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! - Internet access at a great low price. > http://promo.yahoo.com/sbc/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Mvh Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flakmagnet at tabletop-battlezone.com Fri May 14 14:08:19 2004 From: flakmagnet at tabletop-battlezone.com (Flak Magnet) Date: Fri, 14 May 2004 08:08:19 -0400 Subject: Solution: NRPE - Could not read request from client, bailing out... In-Reply-To: <40A46E2F.50707@op5.se> References: <200405120937.26382.flakmagnet@tabletop-battlezone.com> <200405130909.33792.flakmagnet@tabletop-battlezone.com> <40A46E2F.50707@op5.se> Message-ID: <200405140808.19991.flakmagnet@tabletop-battlezone.com> On Friday 14 May 2004 02:58 am, Andreas Ericsson wrote: > Your nagios servers IP probably isn't mentioned in the 'allowed_hosts' > section in your nrpe.conf on the solaris machine. > > Also, if check_nrpe was compiled WITH ssl support and NRPE was compiled > without, you have to specify the '-n' flag to check_nrpe, so to make it > use a non-ssl connection (otherwise the handshake will fail, and it will > tell you so). Thanks for your response. Actually, I figured out what the problem was last night. The 1.9 version wanted the "-inetd" option when running from inetd. The 2.0 version wants just "-i" when running from inetd. The extra characters after the "-i" for v2.0 created errors and prevented nrpe from responding to check_nrpe, thus the 0 byte response and the lack of errors in /var/adm/messages on the solaris box. All is well with NRPE in my world now. -- -- Tim "Flak Magnet" http://geocities.com/flakmagnet72/ Never explain --- your friends do not need it and your enemies will not believe you anyway. ? Elbert Hubbard ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flakmagnet at tabletop-battlezone.com Fri May 14 14:16:15 2004 From: flakmagnet at tabletop-battlezone.com (Flak Magnet) Date: Fri, 14 May 2004 08:16:15 -0400 Subject: Giving up on NRPE, willing to try check_by_ssh... In-Reply-To: <40A46EE5.7020109@op5.se> References: <200405131600.41528.flakmagnet@tabletop-battlezone.com> <40A46EE5.7020109@op5.se> Message-ID: <200405140816.15775.flakmagnet@tabletop-battlezone.com> On Friday 14 May 2004 03:01 am, Andreas Ericsson wrote: > man ssh-keygen > man ssh_config Aha! "man ssh" and "man sshd" didn't give me what I was after... "ssh/sshd_config will probably make all the difference. > man sshd_config > check_by_ssh --help > > Be aware though that check_by_ssh requires public key authentication, > and as such adds an additional security risk to your network. Yes, from what I've seen primarily because a vulnerability on one machine becomes a vulnerability on all pk authenticated machines... I gave NRPE a last-ditch retry last night and figured out my mistake. That's working now so while I'll keep this information handy for future use, I probably won't use it for my nagios box. Thanks for the response! > Flak Magnet wrote: +++snipped some of my own blah blah blah+++ > > If someone could kindly points me to a concise HOW-TO or somesuch I'd be > > quite happy to RTFM. > > > > Thank you. -- -- Tim "Flak Magnet" http://geocities.com/flakmagnet72/ Never explain --- your friends do not need it and your enemies will not believe you anyway. ? Elbert Hubbard ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From verdon at cict.fr Fri May 14 15:48:39 2004 From: verdon at cict.fr (carole verdon) Date: Fri, 14 May 2004 15:48:39 +0200 Subject: Use of "-e" option of check_disk Message-ID: <40A4CE37.6030301@cict.fr> Hi, What does someone use the '-e' (--errors-only) option of check disk? Because i don't understand the result of this command: ./check_disk -e -w 10% -c 5% -X lofs -X nfs DISK CRITICAL - free space: /var/mail.avant.coque 1085 MB (10%); /aurore6 305 MB (8%); /aurore9 1546 MB (8%); /aurore14 4666 MB (94%); /aurore15 3384 MB (70%);| /=996MB;2292;2419;0;2547 /tmp=4333MB;3899;4116;0;4333 /var/mail.avant.coque=1085MB;9983;10538;0;11093 /usr/local=759MB;3631;3833;0;4035 /aurore1=1721MB;2723;2874;0;3026 /aurore2=1185MB;2723;2874;0;3026 /aurore3=3803MB;3902;4119;0;4336 /aurore4=1023MB;3631;3833;0;4035 /aurore5=1031MB;3631;3833;0;4035 /aurore6=304MB;3631;3833;0;4035 /aurore7=2127MB;2257;2382;0;2508 /aurore8=12265MB;18152;19160;0;20169 /aurore9=1546MB;18152;19160;0;20169 /aurore10=3421MB;18152;19160;0;20169 /aurore11=9207MB;18152;19160;0;20169 /aurore12=14657MB;15954;16840;0;17727 /aurore13=24646MB;34092;35986;0;37881 /aurore14=4665MB;4954;4954;0;4954 /aurore15=3384MB;4840;4840;0;4840 Why the output displays "/aurore14 4666 MB (94%)" and "/aurore15 3384 MB (70%)" whereas they have respectively 94% and 70% of free space? What is the goal of the "--errors-only" option? Thanks you for help. Carole. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 14 15:53:41 2004 From: pla at softflare.com (Paul L. Allen) Date: Fri, 14 May 2004 14:53:41 +0100 Subject: Giving up on NRPE, willing to try check_by_ssh... In-Reply-To: <200405140816.15775.flakmagnet@tabletop-battlezone.com> References: <200405131600.41528.flakmagnet@tabletop-battlezone.com> <40A46EE5.7020109@op5.se> <200405140816.15775.flakmagnet@tabletop-battlezone.com> Message-ID: <20040514135341.15648.qmail@minnow.softflare.net> Flak Magnet writes: > Yes, from what I've seen primarily because a vulnerability on one machine > becomes a vulnerability on all pk authenticated machines. Not quite. If your monitoring machine is vulnerable to external attack X but your monitored machines are not (things are usually the other way around with monitored machines running additional services to the ones run on the monitoring machine), and external attack X allows the attacker to become the Nagios user then he can use the PK vulnerability to get onto other machines as the Nagios user. So, in most cases if there's an external attack X that affects your monitoring machine it will also affect your monitored machines and the attacker doesn't need the PK exploit. Only if the monitoring machine runs services that the monitoring machines don't, or has other vulnerabilities, is this a potential problem. The attacker may then be able to access confidential data on the monitored machines, if you are foolish enough to leave it readable by Nagios. The attacker may also be able to use one or more local exploits to gain root on the monitored machines, but only needs the PK attack to do so if the monitored machines are not vulnerable to external attack X. > I gave NRPE a last-ditch retry last night and figured out my mistake. I have used NRPE but abandoned it mainly because the NRPE config file is nothing like the Nagios config file so it's a real pain configuring many machines with many services. Even worse if you need to use NRPE to talk to a firewall to make it use NRPE to monitor several machines behind the firewall. I was also slightly unhappy about the fact that somebody who could sniff traffic to a monitored box could send NRPE checks with a spoofed IP of the monitoring machine) and get answers (unlikely they'd want to, though). Then I tried check_by_ssh. It works for remote machines, but I couldn't get it to chain so that I could use it to talk to a firewall to get it to invoke check_by_ssh on the firewall to check a machine behind the firewall. I was probably doing something wrong, but I gave up on that approach too. Yes, I could have made it work by port forwarding on the firewalls, but I was annoyed with check_by_ssh by then. So I switched to NSCA. That takes quite a load off the monitoring machine. Machines behind firewalls and which don't have an external IP can still be monitored as long as they are masqueraded. The major downside is that it's a service running on the monitoring machine that isn't running on the monitored machines and might be vulnerable. But as long as you're not also using check_by_ssh then it doesn't let people get at the monitored machines through the PK vulnerability. It's also a problem if you're monitoring several untrusted machines with different customers because you have to run separate instances of the daemon on separate ports to be able to give them different passwords. Another way of monitoring remote machines would be to use a VPN. That means the authentication overhead happens infrequently rather than with each service check. The trouble is that the only VPN technology that copes reasonably well with network outages is PPTP (and even that sometimes needs to be restarted after it gets confused) but the authentication is weak. IPSec with the Cisco extensions might be robust against network outages but I haven't played with it. All of the approaches have advantages and disadvantages. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Weinberg at tudor.com Fri May 14 15:48:39 2004 From: Keith.Weinberg at tudor.com (Keith Weinberg) Date: Fri, 14 May 2004 09:48:39 -0400 Subject: Is bogus packet-loss really a problem? Message-ID: A previous poster asked: > 1) Am I right in thinking that the check_ping "bogus" packet loss issue is a valid and somewhat common (perhaps inly certain environments)? I never saw a reply that answered this question directly. I'd like to know the answer to this too. . . Do people agree that: 1) this is a problem with "bogus" packet loss AND b) check_fping fixes it? Thanks, Keith Weinberg ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flakmagnet at tabletop-battlezone.com Fri May 14 16:31:25 2004 From: flakmagnet at tabletop-battlezone.com (Flak Magnet) Date: Fri, 14 May 2004 10:31:25 -0400 Subject: Giving up on NRPE, willing to try check_by_ssh... In-Reply-To: <20040514135341.15648.qmail@minnow.softflare.net> References: <200405131600.41528.flakmagnet@tabletop-battlezone.com> <200405140816.15775.flakmagnet@tabletop-battlezone.com> <20040514135341.15648.qmail@minnow.softflare.net> Message-ID: <200405141031.25240.flakmagnet@tabletop-battlezone.com> On Friday 14 May 2004 09:53 am, Paul L. Allen wrote: > Flak Magnet writes: > > Yes, from what I've seen primarily because a vulnerability on one machine > > becomes a vulnerability on all pk authenticated machines. > > Not quite. If your monitoring machine is vulnerable to external attack > X but your monitored machines are not (things are usually the other > way around with monitored machines running additional services to the > ones run on the monitoring machine), and external attack X allows the > attacker to become the Nagios user then he can use the PK vulnerability > to get onto other machines as the Nagios user. Exactly what I meant, though not what I said. So much for cliff's notes on this list. *grin* +++SNIPPED the rest, but thanks for the overview...+++ -- -- Tim "Flak Magnet" http://geocities.com/flakmagnet72/ Never explain --- your friends do not need it and your enemies will not believe you anyway. ? Elbert Hubbard ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nick.Platt at myflorida.com Fri May 14 17:03:57 2004 From: Nick.Platt at myflorida.com (Platt, Nicholas) Date: Fri, 14 May 2004 11:03:57 -0400 Subject: Nagios passive check not changing alert condit ion Message-ID: <2FDA6C38B2BFD4119D2400D0B784BE6F0746BB7F@stoexchange.state.fl.us> Ludo, That worked! Service name was not unique. Thanks for pointing that out. Take care and thank you again. -----Original Message----- From: Ludo Bosmans [mailto:ludo.bosmans at xtenso.be] Sent: Wednesday, May 12, 2004 11:09 AM To: 'Platt, Nicholas'; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Nagios passive check not changing alert condit ion Nicholas, Try manually: # ./submit_check_result TestRouter "SNMP-TRAP" 1 "Ethernet down test" hostname and service description form a uniq key, if nagios can find them back ..... regards, ludo -----Original Message----- From: Platt, Nicholas [mailto:Nick.Platt at myflorida.com] Sent: woensdag 12 mei 2004 16:55 To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Nagios passive check not changing alert condit ion Everyone: Haven't received any responses so far :-( If anyone can help me, please respond. You're help is greatly appreciated. Thanks :-) -----Original Message----- From: Platt, Nicholas [mailto:Nick.Platt at myflorida.com] Sent: Tuesday, May 11, 2004 11:56 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Nagios passive check not changing alert condition Hellow everyone: I've been able to get SNMPTT to accept a trap and pass it to "submit_check_result" script but Nagios is not changing the passive service object to warning condition. I've executed the "submit_check_result" manually and could not get Nagios to change the service object from Okay to Warning: [root at nagios eventhandlers]# ./submit_check_result TestRouter TRAP 1 "Ethernet down test" Can someone look at my service object and see if I have anything mis-configured? I am able to perform all external commands but I just can't get nagios.cmd to execute and cause a passive check to change from green to yellow. I was able to output the results of the "submit_check_results" and found that it was spitting out the right output. See blow for script. Any help will be greatly appreciated **************************SERVICE*********************** define service{ use generic-service host_name TestRouter service_description SNMP-TRAP is_volatile 1 passive_checks_enabled 1 check_period none max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 contact_groups network-admins notification_interval 31536000 notifications_enabled 1 notification_period 24x7 notification_options w,c,u,r check_command check-host-alive } *************HOST************** define host{ use generic-host ; Name of host template to use host_name TestRouter alias LAB Cisco 800 address 192.168.1.1 parents M1 check_command check-host-alive max_check_attempts 3 low_flap_threshold 25 high_flap_threshold 50 flap_detection_enabled 1 notification_interval 60 notification_period 24x7 notification_options d,u,r } ************************submit_check_results************************* #!/bin/sh # SUBMIT_CHECK_RESULT # Written by Ethan Galstad (nagios at nagios.org) # Last Modified: 02-18-2002 # # This script will write a command to the Nagios command # file to cause Nagios to process a passive service check # result. Note: This script is intended to be run on the # same host that is running Nagios. If you want to # submit passive check results from a remote machine, look # at using the nsca addon. # # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = return_code (An integer that determines the state # of the service check, 0=OK, 1=WARNING, 2=CRITICAL, # 3=UNKNOWN). # $4 = plugin_output (A text string that should be used # as the plugin output for the service check) # echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` `$echocmd $cmdline >> /backup/snmp-trap-test.log` -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Fri May 14 17:10:19 2004 From: jhmartin at toger.us (jhmartin at toger.us) Date: Fri, 14 May 2004 08:10:19 -0700 (PDT) Subject: Tool for centralised deployment of NRPE configs In-Reply-To: <0664215B8E934141AF548BBF680B77AE4D1F84@exch.edu2000.com> References: <0664215B8E934141AF548BBF680B77AE4D1F84@exch.edu2000.com> Message-ID: <16936.12.18.184.2.1084547419.squirrel@sqmail.toger.us> CFEngine (www.cfengine.org) is a very handy tool for managing config files across large sets of servers. -Jason Martin >> Morning all, >> >> Is anyone aware of a solution to the problem of managing multiple > config >> files across an NRPE monitored network? The number of devices >> we support is growing rapidly and it would be most beneficial to have > an >> 'Enterprise'style config management tool kit to push configs and > config >> updates to the remote devices. With out this solution large network > config >> changes are certainly going to become something of a time drain + the > current >> requirement to login, edit, and restart the daemon is very clunky . >> >> I have been considering this for some time, and wondered if this > already >> exits in some form, or how others get around this issue? Otherwise I > intend >> to look at developing such a tool kit. > > We tend to break down the architecture into different config files based > on the client name; and as we have 2 nagios servers, we have a script > that when run does a reload on the "master" server, and if it restarts > sucessfully, scp's the config files to the other server. Not quite > "Enterprise Management", but for us it's the next best thing and works > well. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri May 14 17:58:33 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 14 May 2004 17:58:33 +0200 Subject: Is bogus packet-loss really a problem? In-Reply-To: References: Message-ID: <40A4ECA9.9060203@op5.se> Keith Weinberg wrote: > A previous poster asked: > >>1) Am I right in thinking that the check_ping "bogus" packet loss issue is > > a valid and somewhat common (perhaps inly certain environments)? > > I never saw a reply that answered this question directly. > > I'd like to know the answer to this too. . . Do people agree that: > 1) this is a problem with "bogus" packet loss AND > b) check_fping fixes it? > The bogus packet loss is encountered when threshold values are set higher than per-packet timeout values (the plugin stops listening after a timeout, so packets received after that are considered erroneous). I wrote a replacement some time ago which addresses this and various other issues. Browse the archives, and you'll find it there (check_fping replacement blahblah), or wait until it's included in the default plugin package (as check_icmp I believe). > Thanks, You're welcome. > Keith Weinberg -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 14 18:06:34 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 14 May 2004 11:06:34 -0500 Subject: revised nagios rc script to fix multiple instance problem Message-ID: <1084550794.32292.40.camel@localhost> With the constant problem with people having multiple running nagios instances (which has also caught me more than a few times), I hacked some logic into the rc script to wait for processes to die. This should, in theory, stop that from happening (I've yet to see a recurrence, myself). Notably, if you do a quick stop/start, there's no guarantees (though it's easy to add the logic to the stop case). I just don't like to have to wait for a stop, because if I'm stopping, it's for a while (so all nagios processes will have time to die). Let me know what you think. BTW, I know I should edit the daemon-init.in in the source, but I'd only done this for myself originally, so I've not done that part. If the devel team wants it for the source, I can, though. Just ask. -- jeff vier TT -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.init Type: application/x-shellscript Size: 4298 bytes Desc: not available URL: From flakmagnet at tabletop-battlezone.com Fri May 14 18:44:03 2004 From: flakmagnet at tabletop-battlezone.com (Flak Magnet) Date: Fri, 14 May 2004 12:44:03 -0400 Subject: Non-Email notifications... Message-ID: <200405141244.03570.flakmagnet@tabletop-battlezone.com> What are some of the setups that are in use for off-site notification in the event that the mail-server goes down? Currently I we'll have the nagios process email things directly to our phones, but if the email server or gateway goes down we'll never hear about it. There's probably a plethora of ways to skin this feline, I'm interested in hearing some of the options. TIA. -- -- Tim "Flak Magnet" http://geocities.com/flakmagnet72/ Never explain --- your friends do not need it and your enemies will not believe you anyway. ? Elbert Hubbard ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Fri May 14 19:15:55 2004 From: benny at bennyvision.com (C. Bensend) Date: Fri, 14 May 2004 12:15:55 -0500 (CDT) Subject: Non-Email notifications... In-Reply-To: <200405141244.03570.flakmagnet@tabletop-battlezone.com> References: <200405141244.03570.flakmagnet@tabletop-battlezone.com> Message-ID: <1190.134.244.168.130.1084554977.squirrel@webmail.stinkweasel.net> > What are some of the setups that are in use for off-site notification in > the > event that the mail-server goes down? > > Currently I we'll have the nagios process email things directly to our > phones, > but if the email server or gateway goes down we'll never hear about it. > > There's probably a plethora of ways to skin this feline, I'm interested in > hearing some of the options. I use qpage (http://www.qpage.org/) and external modems to page our teams using TAP. I don't have to worry if the networks or the mailservers go away - the page goes out regardless (except in case of POTS line failure, but we don't need to go there). Benny -- "Oh, the Jedis are going to feel this one!" -- Professor Farnsworth, "Futurama" ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Billt at Mahagonny.com Fri May 14 19:39:25 2004 From: Billt at Mahagonny.com (Bill Thompson) Date: Fri, 14 May 2004 10:39:25 -0700 Subject: libraries for debian woody 3.0r1 installation In-Reply-To: <1084520720.2501.3.camel@blindzero> References: <1084446088.3936.7.camel@blindzero> <1084448102.4041.37.camel@munter> <1084450000.3936.12.camel@blindzero> <20040513103940.15e5276c@BeBop> <1084520720.2501.3.camel@blindzero> Message-ID: <20040514103925.6d84261f@BeBop> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 14 May 2004 09:45:20 +0200 Matthias Eichler wrote: > > > Thanks for the info, but precompiled, not official debian packages > > > are not allowed due to our security policy. So I have to compile > > > nagios for what I need these library-infos. > > What is the error you are getting from the configure script? That > > should point to the specific library you are having problems with. > > checking for gdImagePng in -lgd (order 1)... (cached) no > checking for gdImagePng in -lgd (order 2)... (cached) no > checking for gdImagePng in -lgd (order 3)... (cached) no > > After this there comes this info message box that configure wasn't > able to locate the GD, PNG and/or JPEG libraries. > > So it seems to be the libgd?! That is what it looks like to me. Looking at the list from your first message, you appear to have the libgd-dev package installed so the files should be there. Maybe the configure script is looking for the libraries in the wrong place? That would be my only guess. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFApQRNuLPldPuWZnARAiqAAJ9rUSEIhVs7lqyXnD54FyX09u8nSQCg4y7B lFaUwFEkTlY4ePP1/kn6h94= =OtyY -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 14 19:56:43 2004 From: misaochankun at speakeasy.net (Misao) Date: Fri, 14 May 2004 12:56:43 -0500 Subject: Nagios with high server count, how to organize In-Reply-To: References: Message-ID: This question is more directed to those with 50+ servers to even 1000+ servers. After a point, the service detail page, and even the status map, get a little overwhelmed with all the servers on the list. Is there a way to organize the server list in a more manageable manner? Can I show just a certain list of servers I choose, or organize them by area/os/etc? I plan on have a few hundred servers on Nagios, and I would prefer not having to create a new Nagios instance for each department. Also, this setup would be useful so that I can make sure that department 1 only sees their servers, and department 2 sees another group of servers, but department 3 might need to see multiple groups, etc. I haven't found an easy way to do this yet. Also, on dependencies. Can I set up Nagios in a manner that if router 4 is down, that Nagios won't bother telling me that all the servers behind router 4 are down? I currently have a setup where these servers are told what their parent is, but it still tells me that every server is unreachable when the router is down. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From KMueller at netsuite.com Fri May 14 20:11:31 2004 From: KMueller at netsuite.com (Mueller, Karl) Date: Fri, 14 May 2004 11:11:31 -0700 Subject: Nagios with high server count, how to organize Message-ID: <3A83D9BECDDF58468F068F6CA1C36AB957C403@corpmail.corp.netledger.com> Misao, Service detail has much too much information to be useful. We usually just watch the "Service Problems" page. If you need to be able to browse hosts, I would create arbitrary (logical) hostgroups and browse them with Hostgroup Overview and Hostgroup Summary. If you are running 2.0, you can also use Service Groups. The way you can split it up by departments is to create hostgroups and make them contacts for their own hostgroups but not others. Alternately, you just have hostgroups that they can click through (if being able to see other hostgroups is not a security issue) Check out the notification options for hosts to remove the "unreachable" messages. In the host objects, you want: notification_options [d,u,r,f] remove the "u". (we use D & R in our setup) Karl -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Misao Sent: Friday, May 14, 2004 10:57 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios with high server count, how to organize This question is more directed to those with 50+ servers to even 1000+ servers. After a point, the service detail page, and even the status map, get a little overwhelmed with all the servers on the list. Is there a way to organize the server list in a more manageable manner? Can I show just a certain list of servers I choose, or organize them by area/os/etc? I plan on have a few hundred servers on Nagios, and I would prefer not having to create a new Nagios instance for each department. Also, this setup would be useful so that I can make sure that department 1 only sees their servers, and department 2 sees another group of servers, but department 3 might need to see multiple groups, etc. I haven't found an easy way to do this yet. Also, on dependencies. Can I set up Nagios in a manner that if router 4 is down, that Nagios won't bother telling me that all the servers behind router 4 are down? I currently have a setup where these servers are told what their parent is, but it still tells me that every server is unreachable when the router is down. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 14 20:15:46 2004 From: marc at ena.com (Marc Powell) Date: Fri, 14 May 2004 13:15:46 -0500 Subject: Non-Email notifications... Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6317@mismail2.ena.com> Flak Magnet wrote: > What are some of the setups that are in use for off-site notification > in the event that the mail-server goes down? > > Currently I we'll have the nagios process email things directly to > our phones, but if the email server or gateway goes down we'll never > hear about it. > > There's probably a plethora of ways to skin this feline, I'm > interested in hearing some of the options. > Pager, AIM, Yahoo, Jabber, SMS, WinPopup... http://nagios.org/faqs/index.php?section_id=7&expand=false&showdesc=fals e -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 14 20:19:21 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 14 May 2004 13:19:21 -0500 Subject: Nagios with high server count, how to organize In-Reply-To: References: Message-ID: <1084558760.32292.54.camel@localhost> there's a patch on the apan site to show groups on the left menu. it's VERY nice. What version of nagios are you running? If it's 2.x you'll need a newer patch (I can send you mine, if you want). it's easy. On Fri, 2004-05-14 at 12:56 -0500, Misao wrote: > This question is more directed to those with 50+ servers to even 1000+ > servers. After a point, the service detail page, and even the status map, > get a little overwhelmed with all the servers on the list. Is there a way to > organize the server list in a more manageable manner? Can I show just a > certain list of servers I choose, or organize them by area/os/etc? I plan on > have a few hundred servers on Nagios, and I would prefer not having to > create a new Nagios instance for each department. > Also, this setup would be useful so that I can make sure that department 1 > only sees their servers, and department 2 sees another group of servers, but > department 3 might need to see multiple groups, etc. I haven't found an easy > way to do this yet. > > Also, on dependencies. Can I set up Nagios in a manner that if router 4 is > down, that Nagios won't bother telling me that all the servers behind router > 4 are down? I currently have a setup where these servers are told what their > parent is, but it still tells me that every server is unreachable when the > router is down. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- jeff vier TT ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 14 20:30:54 2004 From: marc at ena.com (Marc Powell) Date: Fri, 14 May 2004 13:30:54 -0500 Subject: Nagios with high server count, how to organize Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6318@mismail2.ena.com> Misao wrote: > This question is more directed to those with 50+ servers to even > 1000+ servers. After a point, the service detail page, and even the > status map, get a little overwhelmed with all the servers on the > list. Is there a way to organize the server list in a more manageable > manner? Can I show just a certain list of servers I choose, or > organize them by area/os/etc? I plan on have a few hundred servers on Use hostgroups to create views. A host can be in more than one hostgroup so you could have overlap if you need it. You'll be able to create servicegroups in 2.0 I believe. > Nagios, and I would prefer not having to create a new Nagios instance > for each department. Also, this setup would be useful so that I can > make sure that department 1 only sees their servers, and department 2 > sees another group of servers, but department 3 might need to see > multiple groups, etc. I haven't found an easy way to do this yet. Nagios does this by default with authentication enabled. Users are only able to see hosts and services that they are authorized contacts for. It's well documented. http://nagios.sourceforge.net/docs/1_0/cgiauth.html > Also, on dependencies. Can I set up Nagios in a manner that if router > 4 is down, that Nagios won't bother telling me that all the servers > behind router 4 are down? I currently have a setup where these > servers are told what their parent is, but it still tells me that > every server is unreachable when the router is down. Remove the 'u' (unreachable) directive from your notification_options in your host definitions. http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host -- notifications_options: This directive is used to determine when notifications for the host should be sent out. Valid options are a combination of one or more of the following: d = send notifications on a DOWN state, u = send notifications on an UNREACHABLE state, and r = send notifications on recoveries (OK state). If you specify n (none) as an option, no host notifications will be sent out. Example: If you specify d,r in this field, notifications will only be sent out when the host goes DOWN and when it recovers from a DOWN state. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 14 20:59:29 2004 From: misaochankun at speakeasy.net (Misao) Date: Fri, 14 May 2004 13:59:29 -0500 Subject: Nagios with high server count, how to organize In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F1B6318@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F1B6318@mismail2.ena.com> Message-ID: All very useful, thanks for the info. I had always thought that 'u' was unknown state, and was useful for when a plug-in errored, but I see that was wrong. That will most likely fix a lot of problems for me in reporting. I haven't really had a chance to play with auth in Nagios just yet, as all I have is the Nagios login and a guest login for people to see what I have been up to. If I can control what is viewable by username, then that will be great. Grouping by hostgroup I have not done yet, and I will see if I can do as you suggested. I only use service detail as a base because it seems to give a lot of good info at once, and for some reason my Nagios made that the default page. I am currently using a standard Nagios 1.2, and I have no idea what NagMIN is. I have only seen it mentioned on the mailing list, but not on any websites. I guess I should do some digging. Thanks for the info again. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From KMueller at netsuite.com Fri May 14 21:43:01 2004 From: KMueller at netsuite.com (Mueller, Karl) Date: Fri, 14 May 2004 12:43:01 -0700 Subject: Nagios with high server count, how to organize Message-ID: <3A83D9BECDDF58468F068F6CA1C36AB957C404@corpmail.corp.netledger.com> 'u' is indeed the unknown state, but only for services. For hosts, it is the unreachable state. (There is no 'unknown' state for hosts) -Karl -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Misao Sent: Friday, May 14, 2004 11:59 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios with high server count, how to organize All very useful, thanks for the info. I had always thought that 'u' was unknown state, and was useful for when a plug-in errored, but I see that was wrong. That will most likely fix a lot of problems for me in reporting. I haven't really had a chance to play with auth in Nagios just yet, as all I have is the Nagios login and a guest login for people to see what I have been up to. If I can control what is viewable by username, then that will be great. Grouping by hostgroup I have not done yet, and I will see if I can do as you suggested. I only use service detail as a base because it seems to give a lot of good info at once, and for some reason my Nagios made that the default page. I am currently using a standard Nagios 1.2, and I have no idea what NagMIN is. I have only seen it mentioned on the mailing list, but not on any websites. I guess I should do some digging. Thanks for the info again. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 fastmail.fm Fri May 14 22:09:09 2004 From: nagios at fastmail.fm (Joe) Date: Fri, 14 May 2004 15:09:09 -0500 Subject: check dns problem In-Reply-To: <6.0.0.22.2.20040512162647.033d2080@pop.mts.net> References: <6.0.0.22.2.20040512162647.033d2080@pop.mts.net> Message-ID: <6.0.0.22.2.20040514150801.026d81a0@mail.messagingengine.com> At 04:30 PM 5/12/2004, Joe wrote: >I am using the current version of Nagios on a system to check a remote >system. However when the system goes down the Nagios status page still >shows a green status for the DNS servers > >$USER1$/check_dns -H www.winnipeg.ca -s $HOSTADDRESS$ -t 60 -a 198.163.51.161 > >Am using this command for the check_dns and passing as a parameter the >canonical name for the IP address via $HOSTADDRESS$. When the system goes >down Nagios shows "address is null". > >Any suggestion on how to have the program show a RED status for the DNS >server? I haven't seen any suggestions regarding this problem. Is it a known one? ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at bravenet.com Fri May 14 22:43:57 2004 From: matt at bravenet.com (Matthew Kent) Date: Fri, 14 May 2004 13:43:57 -0700 Subject: check dns problem Message-ID: <0A9D1D7BB96F364D83A342871CF25FF9D1E0@bdc-pv1.pv.bravenet.com> > I haven't seen any suggestions regarding this problem. Is it a known > one? Looking at the commit logs for check_dns.c, I see -- Sat May 31 14:04:05 2003 UTC (11 months, 2 weeks ago) by kdebisschop Branch: r1_3_0 Changes since 1.8: +9 -7 lines Diff to previous 1.8 trap null or empty returns from nslookup -- So you might want to try compiling a newer version of the plugins. - Matthew ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh at serverlabor.net Sat May 15 15:49:07 2004 From: mh at serverlabor.net (Markus Hackethal) Date: Sat, 15 May 2004 15:49:07 +0200 Subject: configure nagios with mysql Message-ID: <200405151549070187.00C93769@smtp.shellprovider.net> Hello list, i am just new to the list and got some trouble to install nagios 1.2 + mysql on redhat 9.0 with mysql-3.23.58-1.9 ( devel also installed ) I browsed through the ML but couldnt find anything that would help me. I configured nagios with these options: ./configure --prefix=/var/www/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios --with-mysql-xdata \ --with-mysql-status --with-mysql-comments --with-mysql-extinfo --with-mysql-retention --with-mysql-downtime \ --with-mysql-lib=/usr/lib/mysql/ --with-mysql-inc=/usr/include/mysql/ my ld.so.conf: /usr/lib/mysql /usr/include/mysql The problem is that the configure scripts always says lmysqlclient not installed. checking for main in -lmysqlclient... (cached) no *** MySQL library could not be located... ************************** You chose to compile Nagios with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib and --with-mysql-inc arguments to specify the locations of the MySQL library and include files. Well i read in ML that the script requires mysql.h [root at server3 SOURCES]# find /usr/include/mysql/ -name mysql.h /usr/include/mysql/mysql.h my /usr/lib/mysql directory includes these files: [root at server3 mysql]# pwd /usr/lib/mysql [root at server3 mysql]# ls libdbug.a libmysqlclient_r.a libmysqlclient.so.10.0.0 libheap.a libmysqlclient_r.so libmystrings.a libmerge.a libmysqlclient_r.so.10 libmysys.a libmyisam.a libmysqlclient_r.so.10.0.0 libnisam.a libmyisammrg.a libmysqlclient.so libmysqlclient.a libmysqlclient.so.10 therfor i think that all requirements are available. Maybe anyone can help me solving this problem. Or is there something that is missing? Friendly regards, Markus Hackethal ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat May 15 16:22:40 2004 From: ae at op5.se (Andreas Ericsson) Date: Sat, 15 May 2004 16:22:40 +0200 Subject: configure nagios with mysql In-Reply-To: <200405151549070187.00C93769@smtp.shellprovider.net> References: <200405151549070187.00C93769@smtp.shellprovider.net> Message-ID: <40A627B0.60502@op5.se> Markus Hackethal wrote: > Hello list, > i am just new to the list and got some trouble > to install nagios 1.2 + mysql on redhat 9.0 > with mysql-3.23.58-1.9 ( devel also installed ) You need mysql-shared as well (at least for MySQL 4.x). RH has a funny way of packaging stuff... > I browsed through the ML but couldnt find > anything that would help me. > > I configured nagios with these options: > > ./configure --prefix=/var/www/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios --with-mysql-xdata \ > --with-mysql-status --with-mysql-comments --with-mysql-extinfo --with-mysql-retention --with-mysql-downtime \ > --with-mysql-lib=/usr/lib/mysql/ --with-mysql-inc=/usr/include/mysql/ > > my ld.so.conf: > > /usr/lib/mysql > /usr/include/mysql > > The problem is that the configure scripts always says lmysqlclient not installed. > > > checking for main in -lmysqlclient... (cached) no > > > *** MySQL library could not be located... ************************** > > You chose to compile Nagios with MySQL support, but I was unable to > locate the MySQL library on your system. If the library is > installed, use the --with-mysql-lib and --with-mysql-inc arguments > to specify the locations of the MySQL library and include files. > > > Well i read in ML that the script requires mysql.h > [root at server3 SOURCES]# find /usr/include/mysql/ -name mysql.h > /usr/include/mysql/mysql.h > > my /usr/lib/mysql directory includes these files: > [root at server3 mysql]# pwd > /usr/lib/mysql > [root at server3 mysql]# ls > libdbug.a libmysqlclient_r.a libmysqlclient.so.10.0.0 > libheap.a libmysqlclient_r.so libmystrings.a > libmerge.a libmysqlclient_r.so.10 libmysys.a > libmyisam.a libmysqlclient_r.so.10.0.0 libnisam.a > libmyisammrg.a libmysqlclient.so > libmysqlclient.a libmysqlclient.so.10 > > therfor i think that all requirements are available. > > Maybe anyone can help me solving this problem. > Or is there something that is missing? > > Friendly regards, > > Markus Hackethal > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh at serverlabor.net Sat May 15 16:56:55 2004 From: mh at serverlabor.net (Markus Hackethal) Date: Sat, 15 May 2004 16:56:55 +0200 Subject: configure nagios with mysql In-Reply-To: <40A627B0.60502@op5.se> References: <200405151549070187.00C93769@smtp.shellprovider.net> <40A627B0.60502@op5.se> Message-ID: <200405151656550093.010749AC@smtp.shellprovider.net> Hi , *********** REPLY SEPARATOR *********** On 15.05.2004 at 16:22 Andreas Ericsson wrote: >Markus Hackethal wrote: >> Hello list, >> i am just new to the list and got some trouble >> to install nagios 1.2 + mysql on redhat 9.0 >> with mysql-3.23.58-1.9 ( devel also installed ) > >You need mysql-shared as well (at least for MySQL 4.x). >RH has a funny way of packaging stuff... I installed mysql-shared 4.1.1 which works with mysql 3.23.58 but always get same error that lmysqlclient could not be located on the system. I get a little bit confused about that. Maybe somebody has another idea or hint? Markus Hackethal ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh at serverlabor.net Sat May 15 19:43:52 2004 From: mh at serverlabor.net (Markus Hackethal) Date: Sat, 15 May 2004 19:43:52 +0200 Subject: configure nagios with mysql In-Reply-To: <200405151656550093.010749AC@smtp.shellprovider.net> References: <200405151549070187.00C93769@smtp.shellprovider.net> <40A627B0.60502@op5.se> <200405151656550093.010749AC@smtp.shellprovider.net> Message-ID: <200405151943520250.01A02330@smtp.shellprovider.net> Hi list , its me again. The configure script of nagios check for mysqlclient not for lmysqlclient so on my Redhat system it wasnt found. Maybe a redhat only issue. I changed it only for testing and now it works for me. Now the script find the lmysqlclient and compiling was also sucessfull. Because i am new to the list here i am not sure if it is allowed to append .diff files to e-mails so i put it here: --- nagios-1.2-orig/configure 2004-02-03 05:45:08.000000000 +0100 +++ nagios-1.2/configure 2004-05-15 19:35:12.000000000 +0200 @@ -2452,7 +2452,7 @@ echo $ac_n "checking for main in -lmysqlclient""... $ac_c" 1>&6 echo "configure:2455: checking for main in -lmysqlclient" >&5 -ac_lib_var=`echo mysqlclient'_'main | sed 'y%./+-%__p_%'` +ac_lib_var=`echo lmysqlclient'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2481,7 +2481,7 @@ fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo mysqlclient | sed -e 's/[^a-zA-Z0-9_]/_/g' \ + ac_tr_lib=HAVE_LIB`echo lmysqlclient | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h < References: Message-ID: <15513F67-A7BD-11D8-9F50-000A9582EEFA@staff.netspace.net.au> I actually came across this on a fresh install a few weeks ago, I could not fathom why my install would always look in the /nagios/ dir for the stylesheet. to put it simply I corrected this by adding this nasty entry in my virtual host entry --> Alias /nagios/ /export/home/nagios/share/ --< Options None AllowOverride AuthConfig Order allow,deny Allow from all I realise this probably looks nasty and I presume this isn't the norm for this fix but hey.. if it works.. good on it :) Its strange because this is not the first installation of nagios I have done but it is the first on the show this symptom. Good luck --- Scott Horsley Netspace Online Systems On 13/05/2004, at 10:40 PM, christian.michlbauer at degussa.com wrote: > > > > > Hi, > > I have a running Nagios installation, i currently monitor some > webservers > with the check_wget script and some other servers by ping and ftp and > so > on, this is working fine. > But i have an strange problem with the Webfrontend. I see on the left > site > the Output from the side.html, but on the right side i have only the > raw > output without any gifs png`s and now background. > > For Example: > > When I click on the Tactical Overview Button i see the following error > messages in my /var/log/apache2/access.log: > 194.127.243.14 - nagios [13/May/2004:14:17:41 +0200] "GET > /nagios/cgi-bin/tac.cgi HTTP/1.1" 200 10631 "http://10.60.64.101 > /nagios/side.html" "Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.5) > Gecko/20031007 Firebird/0.7" ==> THE CGI is still OK !!! > ------ > 194.127.243.14 - - [13/May/2004:14:17:42 +0200] "GET > /nagios/cgi-bin/nagios/stylesheets/tac.css HTTP/1.1" 404 1327 > "http://10.60.64.101/nagios/cgi-bin/tac.cgi" "Mozilla/5.0 (X11; U; > Linux > i686; de-DE; rv:1.5) Gecko/20031007 Firebird/0.7" > > I think the problem must come with the Alias and ScriptAlias > configuration > in my httpd.conf > Because the stylesheets are in the directory > /usr/local/nagios/share/stylesheets and not in > /usr/local/nagios/sbin/nagios/stylesheets where i was pointed to. > I have tried almost everything but i don`t know how to get this > running. > > Here`s my httpd.conf > # NAGIOS > ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ > > AllowOverride Authconfig > Options ExecCGI > Order allow,deny > Allow from all > > > Alias /nagios/ /usr/local/nagios/share/ > > AllowOverride AuthConfig > order allow,deny > allow from all > > > I have testet this with old apache 1.3 and with apache 2, but always > the > same problem. > > My installation looks like the following: > > SuSE 9.0, SuSE Kernel 2.4.21-215-default with apache2, nagios-1.2 and > nagios-plugins-1.3.1 > > I have configured Nagios in the following way: > nagios-1.2 > 1. ./configure --prefix=/usr/local/nagios --with-gd-lib=/usr/lib > --with-gd-inc=/usr/include --with-cgiurl=/nagios/cgi-bin > --with-htmurl=/nagios > --with-nagios-user=nagios --with-nagios-grp=nagios > --with-template-objects > 2. make all > 3. make install > > *** Configuration summary for nagios 1.2 02-02-2004 ***: > > General Options: > ------------------------- > Nagios executable: nagios > Nagios user/group: nagios,nagios > Command user/group: nagios,nagios > Embedded Perl: no > Install ${prefix}: /usr/local/nagios > Lock file: ${prefix}/var/nagios.lock > Init directory: /etc/rc.d > > Web Interface Options: > ------------------------ > HTML URL: http://localhost/nagios/ > CGI URL: http://localhost/nagios/cgi-bin/ > Traceroute (used by WAP): /usr/sbin/traceroute > > External Data Routines: > ------------------------ > Status data: Default (text file) > Object data: Template-based (text file) > Comment data: Default (text file) > Downtime data: Default (text file) > Retention data: Default (text file) > Peformance data: Default (external commands) > Extended info data: Template-based (text file) > > nagios-plugins-1.3.1 > 1. ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios > --with-nagios-group=nagios --with-cgiurl=/nagios/cgi-bin > 2. make all > 3. make install > > I hope there is someone out who can help with this propably silly > problem. > > Thanks in advance > > Chris > > > > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amk_dude at yahoo.com Mon May 17 08:31:02 2004 From: amk_dude at yahoo.com (anil kamath) Date: Sun, 16 May 2004 23:31:02 -0700 (PDT) Subject: AW: AW: configuration help on remote hosts In-Reply-To: References: Message-ID: <20040517063102.71912.qmail@web14525.mail.yahoo.com> Hi, When i run nrpe daemon with the -i options it shows the daemon pid when i run ps -ef |grep nrpe. but when i run in standalone daemon mode with the -d option ./nrpe -c -d when i check the log it states "Network Bind failure :98 Address already in use How do i rectify it.. Regards, anil --- "Lammersdorf, Lorenz" wrote: > hi anil, > > youhave to tell your servive which partition it has > to supervise: > > define service{ > use > generic-service ; Name of > service template to use > > host_name bla > service_description /dev/hda2 > Free Space > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command > check_nrpe!check_disk1 > } > > regards > lorenz > > -----Urspr?ngliche Nachricht----- > Von: anil kamath [mailto:amk_dude at yahoo.com] > Gesendet: Freitag, 14. Mai 2004 11:28 > An: Schaffranneck, Sven (K-DOI-5/4) > Cc: nagios-users at lists.sourceforge.net > Betreff: Re: AW: [Nagios-users] configuration help > on remote hosts > > > Hi, > > i am unable to get the remote disk check on a remote > host it gives incorrect command line arguments > found. > define service{ > use > generic-service > host_name rakeshlnx > service_description check space > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 120 > notification_period 24x7 > notification_options c,r > check_command > check_nrpe!check_disk > } > > > > please help its very urgent.. > > regards, > anil > > > --- "Schaffranneck, Sven (K-DOI-5/4)" > wrote: > > Hello, > > > > > My question is do i have to run the daemon on > all > > the > > > remote hosts that i need to monitor!! > > > > If use want to use nrpe -> Yes. > > You even have the possibility to use send_nsca > > (passive-check) and > > check_by_ssh (active-check, but high load on > > nagios-server and you must have > > a sshd running on remote host) > > > > > > > how do i pass > > > parameters to check_nrpe to check the diskspace > > and > > > processes on the remote system. Please help me > its > > > very Urgent. o i have to make any changes in the > > local > > > configuration file and what changes do i have to > > make > > > in the nrpe.cfg. is it safe to run the nrpe > daemon > > as > > > an xinetd service????. > > > > you have to compile your nrpe and check_nrpe with > > "--enable-command-args". > > In the nrpe.cfg you have to set: > > "dont_blame_nrpe=1". Now you can pass your > > paramaters via check_nrpe to the daemon. > > > > -------------------------- > > define command { > > command_name check_nrpe_ssl_args > > command_line $USER1$/check_nrpe_ssl -t > > 120 -H $HOSTADDRESS$ -c > > $ARG1$ -a $ARG2$ > > } > > --------------------------- > > define service { > > name nrpe_ssl_swap > > use generic-unix > > register 0 > > service_description NRPE_Swap > > check_command > > check_nrpe_ssl_args!check_swap!25% 10% > > } > > -------------------------- > > > > > > Mit freundlichen Gr?ssen, > > Sven Schaffranneck > > K-DOI-5/4 > > > > Volkswagen AG > > Brieffach 1883 > > 38436 Wolfsburg > > > > Telefon: +49 (5361) 9-3 88 58 > > http://www.volkswagen.de > > > > > > > please reply !!! > > > > > > Regards, > > > Anil > > > > > > > > > > > > > > > __________________________________ > > > Do you Yahoo!? > > > Win a $20,000 Career Makeover at Yahoo! HotJobs > > > > > > > http://hotjobs.sweepstakes.yahoo.com/careermakeover > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: Oracle 10g > > > Get certified on the hottest thing ever to hit > the > > market... > > > Oracle 10g. > > > Take an Oracle 10g class now, and we'll give you > > the exam FREE. > > > > > > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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: Oracle 10g > > Get certified on the hottest thing ever to hit the > > market... Oracle 10g. > > Take an Oracle 10g class now, and we'll give you > the > > exam FREE. > > http://ads.osdn.com/?ad_id149&alloc_id?66&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 truncated === __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amk_dude at yahoo.com Mon May 17 11:44:41 2004 From: amk_dude at yahoo.com (anil kamath) Date: Mon, 17 May 2004 02:44:41 -0700 (PDT) Subject: Help on status map . Message-ID: <20040517094441.27264.qmail@web14522.mail.yahoo.com> Hi I got the check_nrpe working at last.. the daemon is running on remote hosts and fro the nagios host i am using check_nrpe with proper arguments to get disk space utilization, users logged in, load, total procs. I need to get the status map to work. please help me since there is a problem with the libraries. probably conflicting. i have installed the logos in the correct path. please help me!! its very urgent.. Regards, anil __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.michlbauer at degussa.com Mon May 17 12:15:33 2004 From: christian.michlbauer at degussa.com (christian.michlbauer at degussa.com) Date: Mon, 17 May 2004 12:15:33 +0200 Subject: Antwort: Re: [Nagios-users] Problems with the script alias, no access to gifs png`s and css because always pointing my browser to non existing for example /nagios/cgi-bin/nagios/images/tacenabled.png =?ISO-8859-1?Q?=A0__?= In-Reply-To: <15513F67-A7BD-11D8-9F50-000A9582EEFA@staff.netspace.net.au> References: <15513F67-A7BD-11D8-9F50-000A9582EEFA@staff.netspace.net.au> Message-ID: ok, thanx but i have no vhost configured, and i have the scriptalias and after that the alias configured as described in the documentation, and will always pointet to /usr/local/nagios/cgi-bin/nagios/... which must be /usr/local/nagios/share... . Is there a possibility to restrict the scriptalias section to only rewrite access to /usr/local/nagios/cgi-bin (which is /usr/local/nagios/sbin) Here`s my apache2 config: ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all mit freundlichen Gr??en / with best regards Christian Michlbauer its.on Global Network Services Security Management Phone: ?+49.(0)8621.86 2887 Fax:??? ?? ?+49.(0)8621.86 50 2887 E-Mail: ??? ??? ??? ? ? ? ?christian.michlbauer at degussa.com E-Mail to Group:? security at degussa.com Scott Kopie: Nagios-users at lists.sourceforge.net Gesendet von: Thema: [Nagios-users] Re: [Nagios-users] Problems with the script alias, no access nagios-users-admin at lists.sour to gifs png`s and css because always pointing my browser to non existing for example ceforge.net /nagios/cgi-bin/nagios/images/tacenabled.png 05/17/04 06:45 AM I actually came across this on a fresh install a few weeks ago, I could not fathom why my install would always look in the /nagios/ dir for the stylesheet. to put it simply I corrected this by adding this nasty entry in my virtual host entry --> Alias /nagios/ /export/home/nagios/share/ --< Options None AllowOverride AuthConfig Order allow,deny Allow from all I realise this probably looks nasty and I presume this isn't the norm for this fix but hey.. if it works.. good on it :) Its strange because this is not the first installation of nagios I have done but it is the first on the show this symptom. Good luck --- Scott Horsley Netspace Online Systems On 13/05/2004, at 10:40 PM, christian.michlbauer at degussa.com wrote: > > > > > Hi, > > I have a running Nagios installation, i currently monitor some > webservers > with the check_wget script and some other servers by ping and ftp and > so > on, this is working fine. > But i have an strange problem with the Webfrontend. I see on the left > site > the Output from the side.html, but on the right side i have only the > raw > output without any gifs png`s and now background. > > For Example: > > When I click on the Tactical Overview Button i see the following error > messages in my /var/log/apache2/access.log: > 194.127.243.14 - nagios [13/May/2004:14:17:41 +0200] "GET > /nagios/cgi-bin/tac.cgi HTTP/1.1" 200 10631 "http://10.60.64.101 > /nagios/side.html" "Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.5) > Gecko/20031007 Firebird/0.7" ==> THE CGI is still OK !!! > ------ > 194.127.243.14 - - [13/May/2004:14:17:42 +0200] "GET > /nagios/cgi-bin/nagios/stylesheets/tac.css HTTP/1.1" 404 1327 > "http://10.60.64.101/nagios/cgi-bin/tac.cgi" "Mozilla/5.0 (X11; U; > Linux > i686; de-DE; rv:1.5) Gecko/20031007 Firebird/0.7" > > I think the problem must come with the Alias and ScriptAlias > configuration > in my httpd.conf > Because the stylesheets are in the directory > /usr/local/nagios/share/stylesheets and not in > /usr/local/nagios/sbin/nagios/stylesheets where i was pointed to. > I have tried almost everything but i don`t know how to get this > running. > > Here`s my httpd.conf > # NAGIOS > ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ > > AllowOverride Authconfig > Options ExecCGI > Order allow,deny > Allow from all > > > Alias /nagios/ /usr/local/nagios/share/ > > AllowOverride AuthConfig > order allow,deny > allow from all > > > I have testet this with old apache 1.3 and with apache 2, but always > the > same problem. > > My installation looks like the following: > > SuSE 9.0, SuSE Kernel 2.4.21-215-default with apache2, nagios-1.2 and > nagios-plugins-1.3.1 > > I have configured Nagios in the following way: > nagios-1.2 > 1. ./configure --prefix=/usr/local/nagios --with-gd-lib=/usr/lib > --with-gd-inc=/usr/include --with-cgiurl=/nagios/cgi-bin > --with-htmurl=/nagios > --with-nagios-user=nagios --with-nagios-grp=nagios > --with-template-objects > 2. make all > 3. make install > > *** Configuration summary for nagios 1.2 02-02-2004 ***: > > General Options: > ------------------------- > Nagios executable: nagios > Nagios user/group: nagios,nagios > Command user/group: nagios,nagios > Embedded Perl: no > Install ${prefix}: /usr/local/nagios > Lock file: ${prefix}/var/nagios.lock > Init directory: /etc/rc.d > > Web Interface Options: > ------------------------ > HTML URL: http://localhost/nagios/ > CGI URL: http://localhost/nagios/cgi-bin/ > Traceroute (used by WAP): /usr/sbin/traceroute > > External Data Routines: > ------------------------ > Status data: Default (text file) > Object data: Template-based (text file) > Comment data: Default (text file) > Downtime data: Default (text file) > Retention data: Default (text file) > Peformance data: Default (external commands) > Extended info data: Template-based (text file) > > nagios-plugins-1.3.1 > 1. ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios > --with-nagios-group=nagios --with-cgiurl=/nagios/cgi-bin > 2. make all > 3. make install > > I hope there is someone out who can help with this propably silly > problem. > > Thanks in advance > > Chris > > > > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tothb1 at freemail.hu Mon May 17 12:30:47 2004 From: tothb1 at freemail.hu (=?ISO-8859-2?Q?T=F3th_B=E9la?=) Date: Mon, 17 May 2004 12:30:47 +0200 (CEST) Subject: nagios errors (fwd) Message-ID: Sorry! I can't read my nagios mails, and don't find answer in arhives (where is the new mail archives?). Adding some information to my last mail: In this system:Nagios version 1.0, and nrpe 1.8 Thanks! Toti Date: Wed, 12 May 2004 08:20:35 +0200 (CEST) Sender: T?th B?la Address: nagios-users at lists.sourceforge.net Body: nagios errors Hi! Where can I find nagios error messages explanations? For example: Return code of 116 is out of bounds and other error messages explanations by error code number. Thanks! Toti ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swati220781 at hotmail.com Mon May 17 12:59:34 2004 From: swati220781 at hotmail.com (Swati Srivastava) Date: Mon, 17 May 2004 16:29:34 +0530 Subject: nagios does not siplays all hosts Message-ID: I have configured Nagios and its functioning with zero errors and warnings.But there is this display of Nagios that i'm not able. Initially i configured it to monitor 2 ftp servers. That woked fine. Then i configured it for one more ftp server and one Imap server. Now Nagios does not show the details of these two hosts and services all the time. Its after some regular intervals that i get to see the details of these two hosts and services. Kindly help, Thanks in advance, Swati _________________________________________________________________ Get Best prices on your products. http://go.msnserver.com/IN/48714.asp Register for Free on baazee.com. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swati220781 at hotmail.com Mon May 17 14:57:21 2004 From: swati220781 at hotmail.com (Swati Srivastava) Date: Mon, 17 May 2004 18:27:21 +0530 Subject: problem in configuring check_procs Message-ID: Hi! i'm trying to configure the command check_procs.the confg file i've written is: define command{ command_name check_procs command line /usr/local/nagios/libexec/check_procs -w 3:5 -c 0:3 -p 2711 } upon verifying the configuration files by /usr/local/nagios/bin -v /usr/local/nagios/etc/ngios.cfg i get the error - could not add object property in the file '/usr/local/nagios/etc/checkcommands.cfg' Please help, Thanks in advance, Swati _________________________________________________________________ Easiest Money Transfer to India. Send Money To 6000 Indian Towns. http://go.msnserver.com/IN/48198.asp Easiest Way To Send Money Home! ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 17 16:24:50 2004 From: marc at ena.com (Marc Powell) Date: Mon, 17 May 2004 09:24:50 -0500 Subject: =?iso-8859-1?Q?RE=3A_=5BNagios-users=5D_Re=3A_=5BNagios-users=5D_Prob?= =?iso-8859-1?Q?lems_with_the_script_alias=2C_no_access_to_gifs_png=60s_an?= =?iso-8859-1?Q?d_css_because_always_pointing_my_browser_to_non_existing_f?= =?iso-8859-1?Q?or_example__/nagios/cgi-bin/nagios/images/tacenabled=2Ep?= =?iso-8859-1?Q?ng_=A0__?= Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B631D@mismail2.ena.com> Scott wrote: > I actually came across this on a fresh install a few weeks ago, I > could not fathom why my install would always look in the /nagios/ dir > for the stylesheet. > > to put it simply I corrected this by adding this nasty entry in my > virtual host entry > > --> Alias /nagios/ /export/home/nagios/share/ --< > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > I realise this probably looks nasty and I presume this isn't the norm > for this fix but hey.. if it works.. good on it :) > > Its strange because this is not the first installation of nagios I > have done but it is the first on the show this symptom. That's actually exactly as is documented at http://nagios.sourceforge.net/docs/1_0/installweb.html (except for your special share directory path of course). -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 17 16:21:49 2004 From: h.januschka at krone.at (Helmut Januschka) Date: Mon, 17 May 2004 16:21:49 +0200 Subject: AW: Non-Email notifications... Message-ID: <481EAEA6BAED9A4EAF26BA149197AA3E87F725@office1.online.krone.at> we have currently set up a licq running in an screen nagios will send emails and also pipe the notification into the licq built-in fifo well whats in case licq and email gateway isnt running?!?!? well poor mans solution's are the web CGI's or the CMD client (NSC) regards helmut januschka -----Urspr?ngliche Nachricht----- Von: Flak Magnet [mailto:flakmagnet at tabletop-battlezone.com] Gesendet: Freitag, 14. Mai 2004 18:44 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Non-Email notifications... What are some of the setups that are in use for off-site notification in the event that the mail-server goes down? Currently I we'll have the nagios process email things directly to our phones, but if the email server or gateway goes down we'll never hear about it. There's probably a plethora of ways to skin this feline, I'm interested in hearing some of the options. TIA. -- -- Tim "Flak Magnet" http://geocities.com/flakmagnet72/ Never explain --- your friends do not need it and your enemies will not believe you anyway. - Elbert Hubbard ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 17 16:26:54 2004 From: marc at ena.com (Marc Powell) Date: Mon, 17 May 2004 09:26:54 -0500 Subject: nagios does not siplays all hosts Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B631E@mismail2.ena.com> Swati Srivastava wrote: > I have configured Nagios and its functioning with zero errors and > warnings.But there is this display of Nagios that i'm not able. > Initially i configured it to monitor 2 ftp servers. That woked fine. > Then i configured it for one more ftp server and one Imap server. Now > Nagios does not show the details of these two hosts and services all > the time. Its after some regular intervals that i get to see the > details of these two hosts and services. Kindly help, http://www.nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=f alse -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtxmatrix at hotmail.com Mon May 17 17:20:55 2004 From: mtxmatrix at hotmail.com (Francesco De Santolo) Date: Mon, 17 May 2004 15:20:55 +0000 Subject: 100% Undetermined time Message-ID: Hello, I finally got nagios running, but I'm having an issue with Availability and treds.cgi, it seems like even if I create 24 Hour reports it says that the host is down (Undetermined)... I already taked a peek at the FAQ and it didn't helped. Maybe someone can point me into the right direction of what do I have to check (Config, server). You can take a peek at my nagios on http://66.197.216.85/nagios/ Thanks in Advance. Francisco _________________________________________________________________ Charla con tus amigos en l?nea mediante MSN Messenger: http://messenger.latam.msn.com/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dchemko at smgtec.com Mon May 17 18:02:36 2004 From: dchemko at smgtec.com (Daniel Chemko) Date: Mon, 17 May 2004 09:02:36 -0700 Subject: 100% Undetermined time Message-ID: <7C9884991ADAE0479C14F10C858BCDF5679344@alderaan.smgtec.com> Francesco De Santolo wrote: > Hello, > > I finally got nagios running, but I'm having an issue with > Availability and > treds.cgi, it seems like even if I create 24 Hour reports it says > that the > host is down (Undetermined)... I already taked a peek at the FAQ and > it > didn't helped. Maybe someone can point me into the right direction of > what > do I have to check (Config, server). > > You can take a peek at my nagios on http://66.197.216.85/nagios/ > > Thanks in Advance. > Francisco I don't know the specifics of what would cause it, but it seems that the logs that keep track of host/service events don't get saved or they can't be read by the apache user. Look into that in the filesystem level. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtxmatrix at hotmail.com Mon May 17 18:06:09 2004 From: mtxmatrix at hotmail.com (Francesco De Santolo) Date: Mon, 17 May 2004 16:06:09 +0000 Subject: 100% Undetermined time Message-ID: Ok, could you tell me where are the paths of the logs used and the permissions they should have? Nagios user= nagios Nagios Group=nagios. My nagios install is on /usr/local/nagios Thanks >From: "Daniel Chemko" >To: "Francesco De Santolo" >, >Subject: RE: [Nagios-users] 100% Undetermined time >Date: Mon, 17 May 2004 09:02:36 -0700 > >Francesco De Santolo wrote: > > Hello, > > > > I finally got nagios running, but I'm having an issue with > > Availability and > > treds.cgi, it seems like even if I create 24 Hour reports it says > > that the > > host is down (Undetermined)... I already taked a peek at the FAQ and > > it > > didn't helped. Maybe someone can point me into the right direction of > > what > > do I have to check (Config, server). > > > > You can take a peek at my nagios on http://66.197.216.85/nagios/ > > > > Thanks in Advance. > > Francisco > >I don't know the specifics of what would cause it, but it seems that the >logs that keep track of host/service events don't get saved or they >can't be read by the apache user. Look into that in the filesystem >level. > > >------------------------------------------------------- >This SF.Net email is sponsored by: SourceForge.net Broadband >Sign-up now for SourceForge Broadband and get the fastest >6.0/768 connection for only $19.95/mo for the first 3 months! >http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ MSN Amor: busca tu ? naranja http://latam.msn.com/amor/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon May 17 18:40:52 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 17 May 2004 18:40:52 +0200 Subject: 100% Undetermined time In-Reply-To: References: Message-ID: <40A8EB14.5000202@op5.se> Francesco De Santolo wrote: > Ok, could you tell me where are the paths of the logs used and the > permissions they should have? Nagios user= nagios Nagios Group=nagios. > My nagios install is on /usr/local/nagios > chown nagios.nagios -R /usr/local/nagios/{var,share} chmod 644 -R /usr/local/nagios/{var,share} chmod 755 `find /usr/local/nagios -type d` should take care of it for you. > Thanks > > > >> From: "Daniel Chemko" >> To: "Francesco De Santolo" >> , >> Subject: RE: [Nagios-users] 100% Undetermined time >> Date: Mon, 17 May 2004 09:02:36 -0700 >> >> Francesco De Santolo wrote: >> > Hello, >> > >> > I finally got nagios running, but I'm having an issue with >> > Availability and >> > treds.cgi, it seems like even if I create 24 Hour reports it says >> > that the >> > host is down (Undetermined)... I already taked a peek at the FAQ and >> > it >> > didn't helped. Maybe someone can point me into the right direction of >> > what >> > do I have to check (Config, server). >> > >> > You can take a peek at my nagios on http://66.197.216.85/nagios/ >> > >> > Thanks in Advance. >> > Francisco >> >> I don't know the specifics of what would cause it, but it seems that the >> logs that keep track of host/service events don't get saved or they >> can't be read by the apache user. Look into that in the filesystem >> level. >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: SourceForge.net Broadband >> Sign-up now for SourceForge Broadband and get the fastest >> 6.0/768 connection for only $19.95/mo for the first 3 months! >> http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > _________________________________________________________________ > MSN Amor: busca tu ? naranja http://latam.msn.com/amor/ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Mvh Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 17 18:43:25 2004 From: marc at ena.com (Marc Powell) Date: Mon, 17 May 2004 11:43:25 -0500 Subject: 100% Undetermined time Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6325@mismail2.ena.com> Francesco De Santolo wrote: > Ok, could you tell me where are the paths of the logs used and the > permissions they should have? Nagios user= nagios Nagios > Group=nagios. My nagios install is on /usr/local/nagios /usr/local/nagios/var/nagios.log and /usr/local/nagios/var/archive/*. Permissions should be 664 or some other machination that allows your web server user to access them. BTW: Did you see this FAQ entry? -- http://www.nagios.org/faqs/viewfaq.php?faq_id=136 -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 17 19:41:07 2004 From: misaochankun at speakeasy.net (Misao) Date: Mon, 17 May 2004 12:41:07 -0500 Subject: Help on status map . In-Reply-To: <20040517094441.27264.qmail@web14522.mail.yahoo.com> References: <20040517094441.27264.qmail@web14522.mail.yahoo.com> Message-ID: This problem is most likely fixed by following what the user in the following email did. This also fixed the problem I had with status map on RedHat Fedora Core 1. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Dan Newcombe Sent: Thursday, May 13, 2004 4:22 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: hostextinfo being ignored *snip* While the debian build files claim it's built with --with-template-extinfo, this is not true. The build is actually missing that. Rebuilding using the configure line it says it uses cleared it right up. *snip* -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of anil kamath Sent: Monday, May 17, 2004 4:45 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help on status map . Hi I got the check_nrpe working at last.. the daemon is running on remote hosts and fro the nagios host i am using check_nrpe with proper arguments to get disk space utilization, users logged in, load, total procs. I need to get the status map to work. please help me since there is a problem with the libraries. probably conflicting. i have installed the logos in the correct path. please help me!! its very urgent.. Regards, anil __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mramos at co.sapo.pt Mon May 17 20:13:24 2004 From: mramos at co.sapo.pt (Marco Ramos) Date: Mon, 17 May 2004 19:13:24 +0100 Subject: 100% Undetermined time In-Reply-To: References: Message-ID: <1084817604.2787.97.camel@supernova> Hi, I think the answer to your problem is here: http://www.nagios.org/faqs/viewfaq.php?faq_id=136 HTH, mramos On Mon, 2004-05-17 at 16:20, Francesco De Santolo wrote: > Hello, > > I finally got nagios running, but I'm having an issue with Availability and > treds.cgi, it seems like even if I create 24 Hour reports it says that the > host is down (Undetermined)... I already taked a peek at the FAQ and it > didn't helped. Maybe someone can point me into the right direction of what > do I have to check (Config, server). > > You can take a peek at my nagios on http://66.197.216.85/nagios/ > > Thanks in Advance. > Francisco > > _________________________________________________________________ > Charla con tus amigos en l?nea mediante MSN Messenger: > http://messenger.latam.msn.com/ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtxmatrix at hotmail.com Mon May 17 20:49:16 2004 From: mtxmatrix at hotmail.com (Francesco De Santolo) Date: Mon, 17 May 2004 18:49:16 +0000 Subject: 100% Undetermined time Message-ID: Done, Should I restart Nagios? >From: Andreas Ericsson >To: Francesco De Santolo >CC: dchemko at smgtec.com, nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] 100% Undetermined time >Date: Mon, 17 May 2004 18:40:52 +0200 > >Francesco De Santolo wrote: >>Ok, could you tell me where are the paths of the logs used and the >>permissions they should have? Nagios user= nagios Nagios Group=nagios. My >>nagios install is on /usr/local/nagios >> > >chown nagios.nagios -R /usr/local/nagios/{var,share} >chmod 644 -R /usr/local/nagios/{var,share} >chmod 755 `find /usr/local/nagios -type d` >should take care of it for you. > >>Thanks >> >> >> >>>From: "Daniel Chemko" >>>To: "Francesco De Santolo" >>>, >>>Subject: RE: [Nagios-users] 100% Undetermined time >>>Date: Mon, 17 May 2004 09:02:36 -0700 >>> >>>Francesco De Santolo wrote: >>> > Hello, >>> > >>> > I finally got nagios running, but I'm having an issue with >>> > Availability and >>> > treds.cgi, it seems like even if I create 24 Hour reports it says >>> > that the >>> > host is down (Undetermined)... I already taked a peek at the FAQ and >>> > it >>> > didn't helped. Maybe someone can point me into the right direction of >>> > what >>> > do I have to check (Config, server). >>> > >>> > You can take a peek at my nagios on http://66.197.216.85/nagios/ >>> > >>> > Thanks in Advance. >>> > Francisco >>> >>>I don't know the specifics of what would cause it, but it seems that the >>>logs that keep track of host/service events don't get saved or they >>>can't be read by the apache user. Look into that in the filesystem >>>level. >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by: SourceForge.net Broadband >>>Sign-up now for SourceForge Broadband and get the fastest >>>6.0/768 connection for only $19.95/mo for the first 3 months! >>>http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and OS when >>>reporting any issue. >>>::: Messages without supporting info will risk being sent to /dev/null >> >> >>_________________________________________________________________ >>MSN Amor: busca tu ? naranja http://latam.msn.com/amor/ >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: SourceForge.net Broadband >>Sign-up now for SourceForge Broadband and get the fastest >>6.0/768 connection for only $19.95/mo for the first 3 months! >>http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >>reporting any issue. ::: Messages without supporting info will risk being >>sent to /dev/null >> > >-- >Mvh >Andreas Ericsson >OP5 AB >+46 (0)733 709032 >andreas.ericsson at op5.se > > >------------------------------------------------------- >This SF.Net email is sponsored by: SourceForge.net Broadband >Sign-up now for SourceForge Broadband and get the fastest >6.0/768 connection for only $19.95/mo for the first 3 months! >http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. ::: Messages without supporting info will risk being >sent to /dev/null _________________________________________________________________ Charla con tus amigos en l?nea mediante MSN Messenger: http://messenger.latam.msn.com/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtxmatrix at hotmail.com Mon May 17 20:52:46 2004 From: mtxmatrix at hotmail.com (Francesco De Santolo) Date: Mon, 17 May 2004 18:52:46 +0000 Subject: 100% Undetermined time Message-ID: Hi, [root at supr root]# cd /usr/local/nagios/var/archive/ -bash: cd: /usr/local/nagios/var/archive/: No such file or directory [root at supr root]# It seems like it isn't created, what should I do? Is this why I'm getting 100% Undetermined? BTW; Yes I did read that. Thanks >From: "Marc Powell" >To: "Francesco De Santolo" , >CC: >Subject: RE: [Nagios-users] 100% Undetermined time >Date: Mon, 17 May 2004 11:43:25 -0500 > >Francesco De Santolo wrote: > > Ok, could you tell me where are the paths of the logs used and the > > permissions they should have? Nagios user= nagios Nagios > > Group=nagios. My nagios install is on /usr/local/nagios > > >/usr/local/nagios/var/nagios.log and /usr/local/nagios/var/archive/*. >Permissions should be 664 or some other machination that allows your web >server user to access them. > >BTW: Did you see this FAQ entry? -- >http://www.nagios.org/faqs/viewfaq.php?faq_id=136 > >-- >Marc > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: SourceForge.net Broadband >Sign-up now for SourceForge Broadband and get the fastest >6.0/768 connection for only $19.95/mo for the first 3 months! >http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ Charla con tus amigos en l?nea mediante MSN Messenger: http://messenger.latam.msn.com/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 17 21:22:00 2004 From: marc at ena.com (Marc Powell) Date: Mon, 17 May 2004 14:22:00 -0500 Subject: 100% Undetermined time Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6329@mismail2.ena.com> Francesco De Santolo wrote: > Hi, > > [root at supr root]# cd /usr/local/nagios/var/archive/ > -bash: cd: /usr/local/nagios/var/archive/: No such file or directory > [root at supr root]# > > It seems like it isn't created, what should I do? Is this why I'm > getting 100% Undetermined? > > BTW; Yes I did read that. I made the assumption that it was a default install. Is that the path you have specified in nagios.cfg? -- log_archive_path=/usr/local/nagios/var/archives -- Marc > > From: "Marc Powell" > > To: "Francesco De Santolo" > > , CC: > > > > Subject: RE: [Nagios-users] 100% Undetermined time > > Date: Mon, 17 May 2004 11:43:25 -0500 > > > > Francesco De Santolo wrote: > > > Ok, could you tell me where are the paths of the logs used and the > > > permissions they should have? Nagios user= nagios Nagios > > > Group=nagios. My nagios install is on /usr/local/nagios > > > > > > /usr/local/nagios/var/nagios.log and > > /usr/local/nagios/var/archive/*. Permissions should be 664 or some > > other machination that allows your web server user to access them. > > > > BTW: Did you see this FAQ entry? -- > > http://www.nagios.org/faqs/viewfaq.php?faq_id=136 ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtxmatrix at hotmail.com Mon May 17 21:23:40 2004 From: mtxmatrix at hotmail.com (Francesco De Santolo) Date: Mon, 17 May 2004 19:23:40 +0000 Subject: 100% Undetermined time Message-ID: Yes it is :) >From: "Marc Powell" >To: "Francesco De Santolo" >CC: >Subject: RE: [Nagios-users] 100% Undetermined time >Date: Mon, 17 May 2004 14:22:00 -0500 > >Francesco De Santolo wrote: > > Hi, > > > > [root at supr root]# cd /usr/local/nagios/var/archive/ > > -bash: cd: /usr/local/nagios/var/archive/: No such file or directory > > [root at supr root]# > > > > It seems like it isn't created, what should I do? Is this why I'm > > getting 100% Undetermined? > > > > BTW; Yes I did read that. > >I made the assumption that it was a default install. Is that the path >you have specified in nagios.cfg? -- > >log_archive_path=/usr/local/nagios/var/archives > >-- >Marc > > > > From: "Marc Powell" > > > To: "Francesco De Santolo" > > > , CC: > > > > > > Subject: RE: [Nagios-users] 100% Undetermined time > > > Date: Mon, 17 May 2004 11:43:25 -0500 > > > > > > Francesco De Santolo wrote: > > > > Ok, could you tell me where are the paths of the logs used and the > > > > permissions they should have? Nagios user= nagios Nagios > > > > Group=nagios. My nagios install is on /usr/local/nagios > > > > > > > > > /usr/local/nagios/var/nagios.log and > > > /usr/local/nagios/var/archive/*. Permissions should be 664 or some > > > other machination that allows your web server user to access them. > > > > > > BTW: Did you see this FAQ entry? -- > > > http://www.nagios.org/faqs/viewfaq.php?faq_id=136 > > _________________________________________________________________ Charla con tus amigos en l?nea mediante MSN Messenger: http://messenger.latam.msn.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.cfg Type: application/octet-stream Size: 22008 bytes Desc: not available URL: From bcotta at unimedbh.com.br Mon May 17 23:11:52 2004 From: bcotta at unimedbh.com.br (bcotta at unimedbh.com.br) Date: Mon, 17 May 2004 18:11:52 -0300 Subject: Check_oracle db and tns Message-ID: <50323A86875DE74F9153476BF39E451A02923005@UNISERVER01> Hi all, I would like to know what can I do to check_oracle db and tns? I add the config below in the specific files. Follow config files: -checkcommands.cfg define command{ command_name check_oradb command_line $USER1$/check_oracle -H $HOSTADDRESS$ $ARG$ - services.cfg ..... check_command check_oracle! --db test Error message: Service test - Cannot determine ORACLE_HOME for sid Which more I have to do? Thanks, -- Breno Andrade Cotta bcotta at unimedbh.com.br ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Newcombe at mordor.clayton.edu Tue May 18 03:31:13 2004 From: Newcombe at mordor.clayton.edu (Dan Newcombe) Date: Mon, 17 May 2004 21:31:13 -0400 (EDT) Subject: Check_oracle db and tns In-Reply-To: <50323A86875DE74F9153476BF39E451A02923005@UNISERVER01> References: <50323A86875DE74F9153476BF39E451A02923005@UNISERVER01> Message-ID: On Mon, 17 May 2004 bcotta at unimedbh.com.br wrote: check_command check_oracle!TNS.name I have this in my check oracle (well, with my tns name there instead of that). I'm only checking one oracle service so I just have it hard coded. > Error message: > Service test - Cannot determine ORACLE_HOME for sid What I had to do is make sure that my oracle environment was setup before nagios ran. I have export ORAENV_ASK=NO export ORACLE_SID=oracle . /usr/local/bin/oraenv in my nagios startup script, so it is all good to go. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jfountain at rbinc.com Tue May 18 03:46:05 2004 From: jfountain at rbinc.com (Jennifer Fountain) Date: Mon, 17 May 2004 21:46:05 -0400 Subject: check_by_ssh and banner Message-ID: <263BA4045D3FA84D9C1B09F5F959B9B6023E000C@picasso.rb.net> > Thank you very much. This patch works perfectly for my > situation. I briefly tried hacking something like this myself > before posting to the list, but your solution is significantly better. > > Andrew Hoying I am faced with the same situation. Where can I find this patch? Thanks Jenn ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtxmatrix at hotmail.com Tue May 18 04:09:00 2004 From: mtxmatrix at hotmail.com (Francesco De Santolo) Date: Tue, 18 May 2004 02:09:00 +0000 Subject: 100% Undetermined time Message-ID: Thanks man! I created /usr/local/nagios/var/archive/ and chown it to nagios and it worked :) Now, I have a problem on http://monitor.navigatoris.us/nagios/ Just check it out, it gives some UNKNOWN things... Thanks :) Francisco >From: "Marc Powell" >To: "Francesco De Santolo" >CC: >Subject: RE: [Nagios-users] 100% Undetermined time >Date: Mon, 17 May 2004 14:22:00 -0500 > >Francesco De Santolo wrote: > > Hi, > > > > [root at supr root]# cd /usr/local/nagios/var/archive/ > > -bash: cd: /usr/local/nagios/var/archive/: No such file or directory > > [root at supr root]# > > > > It seems like it isn't created, what should I do? Is this why I'm > > getting 100% Undetermined? > > > > BTW; Yes I did read that. > >I made the assumption that it was a default install. Is that the path >you have specified in nagios.cfg? -- > >log_archive_path=/usr/local/nagios/var/archives > >-- >Marc > > > > From: "Marc Powell" > > > To: "Francesco De Santolo" > > > , CC: > > > > > > Subject: RE: [Nagios-users] 100% Undetermined time > > > Date: Mon, 17 May 2004 11:43:25 -0500 > > > > > > Francesco De Santolo wrote: > > > > Ok, could you tell me where are the paths of the logs used and the > > > > permissions they should have? Nagios user= nagios Nagios > > > > Group=nagios. My nagios install is on /usr/local/nagios > > > > > > > > > /usr/local/nagios/var/nagios.log and > > > /usr/local/nagios/var/archive/*. Permissions should be 664 or some > > > other machination that allows your web server user to access them. > > > > > > BTW: Did you see this FAQ entry? -- > > > http://www.nagios.org/faqs/viewfaq.php?faq_id=136 > > _________________________________________________________________ Charla con tus amigos en l?nea mediante MSN Messenger: http://messenger.latam.msn.com/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.baddeley at vpc.co.nz Tue May 18 04:59:24 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Tue, 18 May 2004 14:59:24 +1200 Subject: send_nsca binding to a defined host address. Message-ID: <1084849163.31153.66.camel@titan.fx.net.nz> Hi, I'm using send_nsca on a host that has multiple ip addresses (that are on the same physical interface) - including a Vtun tunnel. Hm, fun'n'games.com. Anyway, send_nsca is binding to a locally significant but not routable RFC1918 address (i.e. the tunnel address). I would like it to bind it to one of the public addresses that I have defined on the (eth) interface (and not the tun interface). I note that nsca has this facility, but send_nsca does not. Is there a patch floating around for this? ...Or am I going to have to do ugly evil horrible smelly things with NAT? TIA, jamie -- ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nikita at kraft-s.ru Tue May 18 05:54:29 2004 From: nikita at kraft-s.ru (nikita) Date: Tue, 18 May 2004 03:54:29 +0000 (UTC) Subject: NRPE problems Message-ID: I use NRPE for ping local-hosts with private addresses. After the host where is started a demon has visited in down and again up, service using check-nrpe by the central machine too becomes down and up, but the host for which it is verifying of the arisen condition down does not leave any more. In nagios.log there are such lines: [1084832453] HOST ALERT: adsl01;DOWN;HARD;10;(No output returned from host check) [1084832453] SERVICE ALERT: adsl01;local_ping;CRITICAL;HARD;1;Connection refused by host [1084833073] SERVICE ALERT: adsl01;local_ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 6.63 ms The first SERVICE ALERT does not grow out real check! I do not understand whence this line undertakes. The status of a host remains red and varies on green only after restart nagios. If someone met such problem, help me please! ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.baddeley at vpc.co.nz Tue May 18 06:16:56 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Tue, 18 May 2004 16:16:56 +1200 Subject: send_nsca binding to a defined host address. In-Reply-To: <00eb01c43c8b$62232e50$b004d882@itss.auckland.ac.nz> References: <00eb01c43c8b$62232e50$b004d882@itss.auckland.ac.nz> Message-ID: <1084853815.31021.92.camel@titan.fx.net.nz> Hey, Yes, but the nsca host is at the other end of the tunnel. I've done that to make the tunnel work for other hosts anyway. Thanks for the help. It turns out that I'd clutzed ncsa.cfg, and I now appear to have it working. Yay for me. Developers, FWIW, I think this would be a really good feature addition (address binding) to add to send_nsca... jamie On Tue, 2004-05-18 at 15:51, Steve Shipway wrote: > See if I can help a fellow New Zealander :) > > Can you force this by setting up an appropriate local route to the ncsa > host? I guess it is binding to the (wrong) address because it thinks it can > route this way, but set up a local route (via the correct interface) to the > ncsa host, and you should be OK. > > HTH > > 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. ** > > >-----Original Message----- > >From: nagios-users-admin at lists.sourceforge.net > >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > >Jamie Baddeley > >Sent: Tuesday, 18 May 2004 2:59 p.m. > >To: nagios-users > >Subject: [Nagios-users] send_nsca binding to a defined host address. > > > > > >Hi, > > > >I'm using send_nsca on a host that has multiple ip addresses > >(that are on the same physical interface) - including a Vtun > >tunnel. Hm, fun'n'games.com. > > > >Anyway, send_nsca is binding to a locally significant but not > >routable RFC1918 address (i.e. the tunnel address). I would > >like it to bind it to one of the public addresses that I have > >defined on the (eth) interface (and not the tun interface). > > > >I note that nsca has this facility, but send_nsca does not. Is > >there a patch floating around for this? > > > >...Or am I going to have to do ugly evil horrible smelly > >things with NAT? > > > >TIA, > > > >jamie > > > >-- > > > > > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: SourceForge.net Broadband > >Sign-up now for SourceForge Broadband and get the fastest > >6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sunilshriram.borkhedkar at wipro.com Tue May 18 07:39:25 2004 From: sunilshriram.borkhedkar at wipro.com (sunilshriram.borkhedkar at wipro.com) Date: Tue, 18 May 2004 11:09:25 +0530 Subject: NS Client issue Message-ID: Hi everybody, I m using nagios monitoring tool on production level. nagios queris nsclient for status data.Does it have any configuration so that i can bind that agent to a particular IP addres to which it has to return the status.I am having two servers running nagios server. If i install nsclient on a NT server.Both the nagios server are capable of polling information from the ns cliant.I want to make it such that it will respond to a particular nagios server only. Sunil -------------- next part -------------- An HTML attachment was scrubbed... URL: From THIERRY.MISSIMILLY at BULL.NET Tue May 18 09:16:07 2004 From: THIERRY.MISSIMILLY at BULL.NET (Thierry Missimilly) Date: Tue, 18 May 2004 09:16:07 +0200 Subject: Check_oracle db and tns References: <50323A86875DE74F9153476BF39E451A02923005@UNISERVER01> Message-ID: <40A9B837.B1F9F139@BULL.NET> You have to export ORACLE_HOME in your nagios home dir .bash_profile or whatever and restart Nagios. Thierry bcotta at unimedbh.com.br wrote: > Hi all, > > I would like to know what can I do to check_oracle db and tns? > I add the config below in the specific files. > > Follow config files: > -checkcommands.cfg > define command{ > command_name check_oradb > command_line $USER1$/check_oracle -H > $HOSTADDRESS$ $ARG$ > > - services.cfg > ..... > check_command check_oracle! --db test > > Error message: > Service test - Cannot determine ORACLE_HOME for sid > > Which more I have to do? > > Thanks, > -- > Breno Andrade Cotta > bcotta at unimedbh.com.br > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: THIERRY.MISSIMILLY.vcf Type: text/x-vcard Size: 359 bytes Desc: Card for Thierry Missimilly URL: From amk_dude at yahoo.com Tue May 18 09:19:16 2004 From: amk_dude at yahoo.com (anil kamath) Date: Tue, 18 May 2004 00:19:16 -0700 (PDT) Subject: STATUS MAP URGENT!!!! Message-ID: <20040518071916.78152.qmail@web14522.mail.yahoo.com> Hi daniel, and everyone how do i get my status map running i have configured and it works fine even on remote linux hosts. but the moment i click on status map. it gives Object not found. please help its very urgent. I saw the link to your nag server and your status map seems to work fine. regards, anil __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swati220781 at hotmail.com Tue May 18 09:22:29 2004 From: swati220781 at hotmail.com (Swati Srivastava) Date: Tue, 18 May 2004 12:52:29 +0530 Subject: check_procs not functioning well Message-ID: 1) I have configured nagios check_procs command to check Nagios process by supplying the process id with which it is running.Only when i see the host details, i get the status information as OK-1 processes running...whereas, on all the other options (eg.service detail, status overview, etc.), it shows a warning for the corresponding entry. In service detail, it states WARNING-0 processes running with ppid-15904. 2) Also, I have configured check_procs to monitor a process on some other host by supplying the process id. That host is Up. But it always shows this WARNING-0 processes running with PPID=2177. I want to monitor a particular process on this host,like, how many child processes it spawns,etc.This host is in our LAN. Kindly help, Thanks in advance, Swati _________________________________________________________________ Best of Indian handicrafts. http://www.fabmall.com/affiliatehtml/redir/nl8.asp At MSN Shopping. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 18 09:44:30 2004 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Tue, 18 May 2004 09:44:30 +0200 Subject: CentOS Message-ID: <40A9BEDE.8090304@dhl.com> Aloha, Until today all Nagios installations I did were done on RedHat Linux. Now that RedHat wants to make some bucks as well, I started to look for alternatives for the -quite expensive- RHEL. I'm happy to say that CentOS (http://www.centos.org) hasn't failed me so far. A perfect clone with quick updates available and an active community. Anyway, enough advertising. I'm about to start a migration of our current nagios setup (1.0 on RH 7.3). Has anyone got any experiences they want to share regarding Nagios on CentOS? And what do former RedHat users use now for their Nagios implementations? Thanks, Tom ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 18 09:52:38 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Tue, 18 May 2004 03:52:38 -0400 Subject: Plugin for automatic Status-Map location Message-ID: Some time ago, someone announced a plugin that would show an icon which, when clicked, would take you to the status map with the specified host at the center of it. Anyone remember the name of this plugin and where I can download it? Also, what happened to the search button on sourceforge's list archives? Coulda sworn there was one in the past, but the page looks to be missing now. Thanks! Rob Nelson rnelson at windchannel.com ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amk_dude at yahoo.com Tue May 18 12:39:49 2004 From: amk_dude at yahoo.com (anil kamath) Date: Tue, 18 May 2004 03:39:49 -0700 (PDT) Subject: check_procs not functioning well In-Reply-To: References: Message-ID: <20040518103949.3569.qmail@web14521.mail.yahoo.com> hi swati, firstly you need to configure nrpe daemon on the remote host to check_procs. else it will monitor the prrocs on the localhost only. if you want to monitor procs you need to compile nrpe on the remote host and install the nrpe daemon as a standalone or an xinetd service later from the nagios host you throw commands using check_nrpe to the nrpe daemon which will give you the procs running on the remote host. do you need the syntax for check_procs ????? or is it okay with the config.. reply anil --- Swati Srivastava wrote: > 1) I have configured nagios check_procs command to > check Nagios process by > supplying the process id with which it is > running.Only when i see the host > details, i get the status information as OK-1 > processes running...whereas, > on all the other options (eg.service detail, status > overview, etc.), it > shows a warning for the corresponding entry. In > service detail, it states > WARNING-0 processes running with ppid-15904. > > 2) Also, I have configured check_procs to monitor a > process on some other > host by supplying the process id. That host is Up. > But it always shows this > WARNING-0 processes running with PPID=2177. > I want to monitor a particular process on this > host,like, how many child > processes it spawns,etc.This host is in our LAN. > > Kindly help, > Thanks in advance, > Swati > > _________________________________________________________________ > Best of Indian handicrafts. > http://www.fabmall.com/affiliatehtml/redir/nl8.asp > At MSN Shopping. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net > Broadband > Sign-up now for SourceForge Broadband and get the > fastest > 6.0/768 connection for only $19.95/mo for the first > 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 netservers.co.uk Tue May 18 12:58:40 2004 From: chris at netservers.co.uk (Chris Wilson) Date: Tue, 18 May 2004 11:58:40 +0100 (BST) Subject: CentOS In-Reply-To: <40A9BEDE.8090304@dhl.com> References: <40A9BEDE.8090304@dhl.com> Message-ID: Hi Tom, > Anyway, enough advertising. I'm about to start a migration of our > current nagios setup (1.0 on RH 7.3). Has anyone got any experiences > they want to share regarding Nagios on CentOS? And what do former RedHat > users use now for their Nagios implementations? We're migrating around 30 servers from Red Hat to Fedora, it's going pretty well so far. Upgrading with Apt seems smooth, Fedora feels just like RH, and the range of packaged software available is excellent. Cheers, Chris. -- _ __ __ _ / __/ / ,__(_)_ | Chris Wilson -- UNIX Firewall Lead Developer | / (_ ,\/ _/ /_ \ | NetServers.co.uk http://www.netservers.co.uk | \__/_/_/_//_/___/ | 21 Signet Court, Cambridge, UK. 01223 576516 | ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue May 18 16:13:30 2004 From: m.borsani at it.net (Marco Borsani) Date: Tue, 18 May 2004 16:13:30 +0200 Subject: check_udp Message-ID: Hi all. Had anyone got any problems regarding check_udp plugin? I hava nagios 1.1, plugins 1.3.1 compiled on HP-UX 11.00. None hosts answer to my check_udp questions! I receive 2 differents "answer": 1) No data was recieved from host! No response from host on port 111 2) No response from host on port 111 Any idea? Thanks Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue May 18 16:31:25 2004 From: marc at ena.com (Marc Powell) Date: Tue, 18 May 2004 09:31:25 -0500 Subject: 100% Undetermined time Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B632E@mismail2.ena.com> Francesco De Santolo wrote: > Thanks man! > > I created /usr/local/nagios/var/archive/ and chown it to nagios and > it worked :) > > Now, I have a problem on http://monitor.navigatoris.us/nagios/ Just > check it out, it gives some UNKNOWN things... "check_ping: %s: Warning threshold must be integer or percentage! "... This means that you don't have the arguments to check_ping specified correctly in your command definition. Run 'check_ping --help' for specifics on what it expects. I use -- $USER1$/check_ping $HOSTADDRESS$ -w 500,30% -c 1000,60% -p 10 -t 30 -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 18 16:35:10 2004 From: marc at ena.com (Marc Powell) Date: Tue, 18 May 2004 09:35:10 -0500 Subject: STATUS MAP URGENT!!!! Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B632F@mismail2.ena.com> anil kamath wrote: > Hi daniel, and everyone > > how do i get my status map running i have configured and it works > fine even on remote linux hosts. but the moment i click on status > map. it gives Object not found. please help its very urgent. > I saw the link to your nag server and your status map seems to work > fine. Search for 'statusmap' in the FAQ. One of the results is very likely your answer. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason-sourceforge at microlnk.net Tue May 18 16:52:18 2004 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Tue, 18 May 2004 09:52:18 -0500 Subject: Nagiosmap.pl Issues In-Reply-To: References: Message-ID: <40AA2322.8000903@microlnk.net> After thorough Google research, I found evidence that there were minor problems with the Perl TK package. There was someone who had fixed the code themselves, and created an RPM package for Fedora (Core 1). The person in question has also already submitted the patch to the Perl TK maintainers. Using that RPM fixed my problem. It's called perl-Tk-804.027-1bw.i386.rpm and it's located on this page: http://bitwalk-hp.hp.infoseek.co.jp/ Flex Rajan wrote: > */I saw your posting realted to the nagiosmap .filedialog problem. > Wondering whether you were able to fix this. Since I also facing the > same problem it will be a great deal of help if you could let me know > any solutions/workarounds that you may have for this already with you./* -- Jason Byrns System Administrator, MicroLnk ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kerry.cox at ksl.com Tue May 18 17:11:23 2004 From: kerry.cox at ksl.com (Kerry Cox) Date: Tue, 18 May 2004 09:11:23 -0600 Subject: switched rack PDU and SNMP monitoring Message-ID: <1084893083.19501.30.camel@quasi.ksl.com> Just wondering if anyone has come up with any scripts to allow monitoring of manageable power strips. We just got in a 7900 power strip that allows us to control power to each outlet. We'd like to be able to graph that information using Nagios and see over time the amount of amps being pulled by each strip and each plug. If anyone has anything that integrates well into Nagios, I'd be much obliged. Thanks. KJ -- /------------------------------------\__/-------------------------\ | Kerry J. Cox, Ph.D. __ kerry.cox at ksl.com | | KSL System Administrator | | p: 801.575.7771 | \------------------------------------/ \-------------------------/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kerry.cox at ksl.com Tue May 18 17:26:47 2004 From: kerry.cox at ksl.com (Kerry Cox) Date: Tue, 18 May 2004 09:26:47 -0600 Subject: switched rack PDU and SNMP monitoring In-Reply-To: References: <1084893083.19501.30.camel@quasi.ksl.com> Message-ID: <1084894006.19501.39.camel@quasi.ksl.com> Right, I was already planning on incorporating it into our current MRTG setup. Still looking for some plugins for MRTG and instructions on how best to do this. Any suggestions for setting it up with cricket? I haven't tried cricket yet and would be willing to do so. But management has been so taken with our Nagios install, they asked if anything could be done to incorporate these strips into the current Nagios setup. Just an example of Nagios being too successful and management expecting more from it. Thanks. KJ On Tue, 2004-05-18 at 09:21, Dan Newcombe wrote: > On Tue, 18 May 2004, Kerry Cox wrote: > > We'd like to be able to graph that information using Nagios and see over > > time the amount of amps being pulled by each strip and each plug. > > If anyone has anything that integrates well into Nagios, I'd be much > > Well, I don't think our APC's give that much info, but this sounds like > something more suited for cricket (cricket.sourceforge.net) as it's > design is to show data over time. Nagios is more for letting you know > when something goes into a state it shouldn't be in. > > Cricket has the ability to fire off notifications if something goes > outside a range. I haven't done it yet, but will be setting up our > temperature monitor in cricket to let nagios know via a passive service > check. Though I may just have nagios run an external command > and directly monitor the temperature...haven't fully decided yet. -- /------------------------------------\__/-------------------------\ | Kerry J. Cox, Ph.D. __ kerry.cox at ksl.com | | KSL System Administrator | | p: 801.575.7771 | \------------------------------------/ \-------------------------/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Newcombe at mordor.clayton.edu Tue May 18 17:21:44 2004 From: Newcombe at mordor.clayton.edu (Dan Newcombe) Date: Tue, 18 May 2004 11:21:44 -0400 (EDT) Subject: switched rack PDU and SNMP monitoring In-Reply-To: <1084893083.19501.30.camel@quasi.ksl.com> References: <1084893083.19501.30.camel@quasi.ksl.com> Message-ID: On Tue, 18 May 2004, Kerry Cox wrote: > We'd like to be able to graph that information using Nagios and see over > time the amount of amps being pulled by each strip and each plug. > If anyone has anything that integrates well into Nagios, I'd be much Well, I don't think our APC's give that much info, but this sounds like something more suited for cricket (cricket.sourceforge.net) as it's design is to show data over time. Nagios is more for letting you know when something goes into a state it shouldn't be in. Cricket has the ability to fire off notifications if something goes outside a range. I haven't done it yet, but will be setting up our temperature monitor in cricket to let nagios know via a passive service check. Though I may just have nagios run an external command and directly monitor the temperature...haven't fully decided yet. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 18 17:35:56 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Tue, 18 May 2004 10:35:56 -0500 (CDT) Subject: CentOS In-Reply-To: <40A9BEDE.8090304@dhl.com> References: <40A9BEDE.8090304@dhl.com> Message-ID: On Tue, 18 May 2004, Tom DE BLENDE (GCC) wrote: > Anyway, enough advertising. I'm about to start a migration of our > current nagios setup (1.0 on RH 7.3). Has anyone got any experiences > they want to share regarding Nagios on CentOS? And what do former RedHat > users use now for their Nagios implementations? We were a RH 7.1 shop when management decided to migrate to Whitebox linux http://whiteboxlinux.org. We run about a dozen Nagios 1.0 - 1.2 installations in a central/distributed configuration. I'm still a bit leery about the loss of up2date from the switch as well as the security implications from introducing a (one-man?) dependency in the timeline from security bug to patch. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DCooley at nuvox.com Tue May 18 17:36:03 2004 From: DCooley at nuvox.com (Cooley, David) Date: Tue, 18 May 2004 11:36:03 -0400 Subject: NRPE on Solaris 7 Message-ID: Hey all, new here... Have a few servers I am monitoring succesfully with Nagios... SUN and Linux... However, I have one server that will not cooperate... It's a sun box running Solaris 7... I have 2 other solaris 7 boxes running, same patch levels, same versions of openssl, openssh etc... NRPE compiled fine, installed fine, runs fine, yet when the nagios host calls the check_nrpe for that server, I get "Unable to complete SSL handshake"... Authentication in the nrpe.cfg file is fine, I can ssh, rsh etc between the nagios host and this box and back with no issues etc... any suggestions appreciated! -------------- next part -------------- An HTML attachment was scrubbed... URL: From Newcombe at mordor.clayton.edu Tue May 18 17:53:30 2004 From: Newcombe at mordor.clayton.edu (Dan Newcombe) Date: Tue, 18 May 2004 11:53:30 -0400 (EDT) Subject: switched rack PDU and SNMP monitoring In-Reply-To: <1084894006.19501.39.camel@quasi.ksl.com> References: <1084893083.19501.30.camel@quasi.ksl.com> <1084894006.19501.39.camel@quasi.ksl.com> Message-ID: On Tue, 18 May 2004, Kerry Cox wrote: > Right, I was already planning on incorporating it into our current MRTG > setup. Still looking for some plugins for MRTG and instructions on how > best to do this. Any suggestions for setting it up with cricket? I Cricket is very similar to MRTG - I just find it easier to work with so I use it. MRTG may have a similiar feature for this. In cricket, this doc explains the monitor thresholds http://cricket.sourceforge.net/support/doc/monitor-thresholds.html I'd just use the EXEC action and have it create a passive service check as described here http://nagios.sourceforge.net/docs/1_0/passivechecks.html > But management has been so taken with our Nagios install, they asked if > anything could be done to incorporate these strips into the current > Nagios setup. Just setup a link in nagios to your mtrg/cricket monitor...that way the info is there and a little more flexiable. You could try to do it with the historgram's in Nagios, but that is just a big overview of was it in a good or bad state. By tying it into a rrdtool based system, you get the ability to see that for 3 days before it went into the bad state, port 7 started to have a climb in it's amp draw or something like that. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From slade at cryptoflow.net Tue May 18 18:14:51 2004 From: slade at cryptoflow.net (Slade Edmonds) Date: Tue, 18 May 2004 09:14:51 -0700 Subject: NRPE on Solaris 7 In-Reply-To: References: Message-ID: <40AA367B.9080003@cryptoflow.net> Cooley, David wrote: > Hey all, new here... > Have a few servers I am monitoring succesfully with Nagios... SUN and > Linux... > However, I have one server that will not cooperate... It's a sun box > running Solaris 7... > I have 2 other solaris 7 boxes running, same patch levels, same > versions of openssl, openssh etc... > NRPE compiled fine, installed fine, runs fine, yet when the nagios > host calls the check_nrpe for that server, I get "Unable to complete > SSL handshake"... Authentication in the nrpe.cfg file is fine, I can > ssh, rsh etc between the nagios host and this box and back with no > issues etc... any suggestions appreciated! > Hi, see http://www.nagios.org/faqs/viewfaq.php?faq_id=191 Slade ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Newcombe at mordor.clayton.edu Tue May 18 18:26:49 2004 From: Newcombe at mordor.clayton.edu (Dan Newcombe) Date: Tue, 18 May 2004 12:26:49 -0400 (EDT) Subject: monitor a hostless service Message-ID: I think I know the answer to this, but.... Is it possible to monitor a service that doesn't have a host (without defining a dummy host - may have to use loopback as a host definition!)??? ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From KMueller at netsuite.com Tue May 18 19:36:07 2004 From: KMueller at netsuite.com (Mueller, Karl) Date: Tue, 18 May 2004 10:36:07 -0700 Subject: monitor a hostless service Message-ID: <3A83D9BECDDF58468F068F6CA1C36AB957C420@corpmail.corp.netledger.com> If you use a dummy host, yes. Define a host object, but give it, for example, the localhost IP. Then create the service check which doesn't use $HOSTNAME$ or $HOSTADDRESS$ macros - it'll work. -Karl -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Dan Newcombe Sent: Tuesday, May 18, 2004 9:27 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] monitor a hostless service I think I know the answer to this, but.... Is it possible to monitor a service that doesn't have a host (without defining a dummy host - may have to use loopback as a host definition!)??? ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtxmatrix at hotmail.com Tue May 18 20:42:35 2004 From: mtxmatrix at hotmail.com (Francesco De Santolo) Date: Tue, 18 May 2004 18:42:35 +0000 Subject: 100% Undetermined time Message-ID: Thanks Marc, Now on the load error thing?, # 'check_local_load' command definition define command{ command_name check_local_load command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ } Thanks :-) >From: "Marc Powell" >To: "Francesco De Santolo" >CC: >Subject: RE: [Nagios-users] 100% Undetermined time >Date: Tue, 18 May 2004 09:31:25 -0500 > >Francesco De Santolo wrote: > > Thanks man! > > > > I created /usr/local/nagios/var/archive/ and chown it to nagios and > > it worked :) > > > > Now, I have a problem on http://monitor.navigatoris.us/nagios/ Just > > check it out, it gives some UNKNOWN things... > > >"check_ping: %s: Warning threshold must be integer or percentage! "... >This means that you don't have the arguments to check_ping specified >correctly in your command definition. Run 'check_ping --help' for >specifics on what it expects. I use -- > >$USER1$/check_ping $HOSTADDRESS$ -w 500,30% -c 1000,60% -p 10 -t 30 > >-- >Marc > _________________________________________________________________ MSN Amor: busca tu ? naranja http://latam.msn.com/amor/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DCooley at nuvox.com Tue May 18 21:59:46 2004 From: DCooley at nuvox.com (Cooley, David) Date: Tue, 18 May 2004 15:59:46 -0400 Subject: NRPE on Solaris 7 Message-ID: Well, Removed SSL, SSH, my compiler and all libs, re-installed all, removed the directories with the NRPE source and recompiled/reinstalled, even COPIED the binaries off another Solaris 7 server (that works) and used them, and same problem... Fortunately ijn the next month or so we will be rebuilding that server with Solaris 9, and it's been fairly trouble free for the last 2 years, so it will have to wait. -----Original Message----- Cooley, David wrote: > Hey all, new here... > Have a few servers I am monitoring succesfully with Nagios... SUN and > Linux... > However, I have one server that will not cooperate... It's a sun box > running Solaris 7... > I have 2 other solaris 7 boxes running, same patch levels, same > versions of openssl, openssh etc... > NRPE compiled fine, installed fine, runs fine, yet when the nagios > host calls the check_nrpe for that server, I get "Unable to complete > SSL handshake"... Authentication in the nrpe.cfg file is fine, I can > ssh, rsh etc between the nagios host and this box and back with no > issues etc... any suggestions appreciated! > Hi, see http://www.nagios.org/faqs/viewfaq.php?faq_id=191 Slade -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Tue May 18 22:56:35 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 18 May 2004 22:56:35 +0200 Subject: NRPE on Solaris 7 In-Reply-To: References: Message-ID: <40AA7883.4050503@op5.se> Cooley, David wrote: > Well, > Removed SSL, SSH, my compiler and all libs, re-installed all, removed the > directories with the NRPE source and recompiled/reinstalled, even COPIED the > binaries off another Solaris 7 server (that works) and used them, and same > problem... Fortunately ijn the next month or so we will be rebuilding that > server with Solaris 9, and it's been fairly trouble free for the last 2 > years, so it will have to wait. > Run check_nrpe with the -n switch, or try this backwards ssl/non-ssl compatible version I wrote some time ago (posted earlier, but not to this list). Note thought that it's the plugin (check_nrpe) that's 'all-flavour' compatible. It wouldn't make much sense to make the daemon (nrpe) abide to the wims of the client, so that'll probably never happen. For complete compatibility it requires that openssl 0.9.6 or later is installed on your nagios server, where it should be compiled. > > -----Original Message----- > > > > Cooley, David wrote: > > >>Hey all, new here... >>Have a few servers I am monitoring succesfully with Nagios... SUN and >>Linux... >>However, I have one server that will not cooperate... It's a sun box >>running Solaris 7... >>I have 2 other solaris 7 boxes running, same patch levels, same >>versions of openssl, openssh etc... >>NRPE compiled fine, installed fine, runs fine, yet when the nagios >>host calls the check_nrpe for that server, I get "Unable to complete >>SSL handshake"... Authentication in the nrpe.cfg file is fine, I can >>ssh, rsh etc between the nagios host and this box and back with no >>issues etc... any suggestions appreciated! >> > > > Hi, see http://www.nagios.org/faqs/viewfaq.php?faq_id=191 > > Slade > -- Mvh Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se -------------- next part -------------- A non-text attachment was scrubbed... Name: nrpe-2.0_allflavourcompat.tar.gz Type: application/gzip Size: 53440 bytes Desc: not available URL: From jared at wordzoo.com Tue May 18 23:44:05 2004 From: jared at wordzoo.com (Jared Rhine) Date: Tue, 18 May 2004 14:44:05 -0700 Subject: monitor a hostless service In-Reply-To: References: Message-ID: <87fz9xtnq2.wl@badger.wordzoo.com> [Dan == Newcombe at mordor.clayton.edu on Tue, 18 May 2004 12:26:49 -0400 (EDT)] Dan> I think I know the answer to this, but.... Is it possible to Dan> monitor a service that doesn't have a host (without defining a Dan> dummy host - may have to use loopback as a host definition!)??? I define a normal-looking host, with a check_command of 'host_always_up', defined thusly: define command{ command_name host_always_up command_line /bin/true } There are many different approaches to the same idea. But definitely, 100%, every service needs a host object to associate with. -- jared at wordzoo.com http://www.geekcode.com/geek.html -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCM/CS/B d s:++>+ a- C++(++++)$ ULBSH++++ P+++ L+++ E++(+++) W++++ N- !o !K w !O M V PS+++(-) PE++(--) Y+ PGP>++ t@ 5 X+ R>+ tv++>-- b>++ DI+ D- G e++ h- r++>+++ y+++ ------END GEEK CODE BLOCK------ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gaubrig at yahoo.com Wed May 19 00:06:44 2004 From: gaubrig at yahoo.com (Gaurang Pandya) Date: Tue, 18 May 2004 15:06:44 -0700 (PDT) Subject: Bang :( Message-ID: <20040518220644.529.qmail@web50407.mail.yahoo.com> Hi, One of our device's community string has a bang(!) on it. How do I check snmp with it now. I check FAQ it says only about checking webpages. I used same thing even here ofcourse without luck. So is there any way of getting it work. Gaurang. __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 19 01:46:04 2004 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 18 May 2004 16:46:04 -0700 (PDT) Subject: Bang :( In-Reply-To: <20040518220644.529.qmail@web50407.mail.yahoo.com> References: <20040518220644.529.qmail@web50407.mail.yahoo.com> Message-ID: <20040518234604.41972.qmail@web60805.mail.yahoo.com> Just create a new checkcommand.cfg ... # 'debug_check_ifstatus' command definition define command{ command_name check_ifstatus_custom command_line $USER1$/check_ifstatus -H $HOSTADDRESS$ -C e3!m4Vac } Gaurang Pandya wrote: Hi, One of our device's community string has a bang(!) on it. How do I check snmp with it now. I check FAQ it says only about checking webpages. I used same thing even here ofcourse without luck. So is there any way of getting it work. Gaurang. __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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!? SBC Yahoo! - Internet access at a great low price. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed May 19 01:57:29 2004 From: marc at ena.com (Marc Powell) Date: Tue, 18 May 2004 18:57:29 -0500 Subject: monitor a hostless service Message-ID: <370ACCFA5BB3B346A31222E5559BF91F01428D@mismail2.ena.com> You can also leave out command_line entirely for a host definition. -- Marc -----Original Message----- From: Jared Rhine To: nagios-users at lists.sourceforge.net Sent: Tue May 18 16:44:05 2004 Subject: [Nagios-users] monitor a hostless service [Dan == Newcombe at mordor.clayton.edu on Tue, 18 May 2004 12:26:49 -0400 (EDT)] Dan> I think I know the answer to this, but.... Is it possible to Dan> monitor a service that doesn't have a host (without defining a Dan> dummy host - may have to use loopback as a host definition!)??? I define a normal-looking host, with a check_command of 'host_always_up', defined thusly: define command{ command_name host_always_up command_line /bin/true } There are many different approaches to the same idea. But definitely, 100%, every service needs a host object to associate with. -- jared at wordzoo.com http://www.geekcode.com/geek.html -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCM/CS/B d s:++>+ a- C++(++++)$ ULBSH++++ P+++ L+++ E++(+++) W++++ N- !o !K w !O M V PS+++(-) PE++(--) Y+ PGP>++ t@ 5 X+ R>+ tv++>-- b>++ DI+ D- G e++ h- r++>+++ y+++ ------END GEEK CODE BLOCK------ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 s.shipway at auckland.ac.nz Wed May 19 02:50:21 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 19 May 2004 12:50:21 +1200 Subject: Multiple host parents? In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F01428D@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F01428D@mismail2.ena.com> Message-ID: <013d01c43d3b$437c7050$b004d882@itss.auckland.ac.nz> Hi - a question that some people out there may be able to help me with. I can't find this detail in the docco. If you define a host, and give it two parent hosts, are these tested using AND or OR? In other words, if you define host C as having A and B as parents, and A goes down while B stays up, will C still be checked (since at lest one parent is alive) or will C be ignored (since at least one parent is dead)? The reason I am asking, is that we have multiple routes between our switches -- and if one route goes down, we dont want monitoring of the things behind to stop. However, if both go down, then we do. Finally, the network diagrams will show the correct linkages if defined with multiple parents. Does anyone know the answer without my running some tests? 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 -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From jfountain at rbinc.com Wed May 19 03:07:34 2004 From: jfountain at rbinc.com (Jennifer Fountain) Date: Tue, 18 May 2004 21:07:34 -0400 Subject: Calculating Bandwidth with snmp on cisco router Message-ID: <263BA4045D3FA84D9C1B09F5F959B9B6023E053D@picasso.rb.net> Does anyone here monitor bandwidth on a cisco router? If so, how did you do it and how do you display your results? I am looking to monitor when our wan networks max out their bandwidth or approach maxing their bandwidth. Thanks for any info. Kind Regards, Jennifer Fountain R&B Inc 3400 E Walnut Street Colmar, PA 18915 ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.horsley at staff.netspace.net.au Wed May 19 03:56:32 2004 From: scott.horsley at staff.netspace.net.au (Scott) Date: Wed, 19 May 2004 11:56:32 +1000 Subject: =?iso-8859-1?Q?Re:_=5BNagios-users=5D_Re:_=5BNagios-users=5D_Problems_wit?= =?iso-8859-1?Q?h_the_script_alias=2C_no_access_to_gifs_png`s_and_css_beca?= =?iso-8859-1?Q?use_always_pointing_my_browser_to_non_existing_for_example?= =?iso-8859-1?Q?__/nagios/cgi-bin/nagios/images/tacenabled.png_=A0__?= In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F1B631D@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F1B631D@mismail2.ena.com> Message-ID: I probably should have elaborated on this some more.. My DocumentRoot is actually /export/home/nagios/share/ hence the alias which makes apache think that /export/home/nagios/share/nagios is actually located at /export/home/nagios/share/ Hope this makes sense. Scott On 18/05/2004, at 12:24 AM, Marc Powell wrote: > Scott wrote: >> I actually came across this on a fresh install a few weeks ago, I >> could not fathom why my install would always look in the /nagios/ dir >> for the stylesheet. >> >> to put it simply I corrected this by adding this nasty entry in my >> virtual host entry >> >> --> Alias /nagios/ /export/home/nagios/share/ --< >> >> Options None >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> >> >> I realise this probably looks nasty and I presume this isn't the norm >> for this fix but hey.. if it works.. good on it :) >> >> Its strange because this is not the first installation of nagios I >> have done but it is the first on the show this symptom. > > > That's actually exactly as is documented at > http://nagios.sourceforge.net/docs/1_0/installweb.html (except for > your special share directory path of course). > > -- > Marc > This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the organisation. Finally, the recipient should check this email and any attachments for the presence of viruses. The organisation accepts no liability for any damage caused by any virus transmitted by this email. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hoyosa at msoe.edu Wed May 19 03:54:45 2004 From: hoyosa at msoe.edu (Andrew J. Hoyos) Date: Tue, 18 May 2004 20:54:45 -0500 Subject: OT: Re: Calculating Bandwidth with snmp on cisco router] Message-ID: <20040519015445.GA11762@aurora.hoyos.org> Instead of doing it via SNMP, cisco routers and the like usually have a 'netflow' feature. There are many tools that can use this information. The best, IMHO, is flowscan (http://net.doit.wisc.edu/~plonka/flowscan/). There is a good HOWTO on setting this up located at: http://netflowguide.com/?page=guide&guidepage=1 We use this to graph campus bandwidth, and I know there is also a module called 'flowmonitor' that can do ISP style bandwidth watching. If you don't want to go down that route, cricket (cricket.sf.net) can do monitoring of bw, I think it also has features for notifications. While nagios could probably also do this, via some SNMP plugin, doesn't really give you any quantative history of the data. -- Andrew J. Hoyos Asst. Unix Administrator Milwaukee School of Engineering 1025 N. Broadway, Milwaukee, Wisconsin 53202 +1(414)277-2414 email: hoyosa at msoe.edu On 05/18/04 21:07, Jennifer Fountain wrote: > Does anyone here monitor bandwidth on a cisco router? If so, how did you > do it and how do you display your results? I am looking to monitor when > our wan networks max out their bandwidth or approach maxing their > bandwidth. Thanks for any info. > > > > Kind Regards, > > Jennifer Fountain > R&B Inc > 3400 E Walnut Street > Colmar, PA 18915 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.horsley at staff.netspace.net.au Wed May 19 04:02:15 2004 From: scott.horsley at staff.netspace.net.au (Scott) Date: Wed, 19 May 2004 12:02:15 +1000 Subject: Parent looping Message-ID: <8D2006DA-A938-11D8-8962-000A9582EEFA@staff.netspace.net.au> Hi guys, Interesting question (maybe not so :) ) I have a circular reduntant system set up A -> B -> C -> A Setting up parents for this reduntant system is a nightmare as nagios will not allow B -> C as well as C-> B because it thinks that is a loop. which it is but it the correct path for the network though. Wondering if anybody else has run across this and if there was a simple (Some silly person overlooked it) solution out there for it. Thanks in advance people Scott This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the organisation. Finally, the recipient should check this email and any attachments for the presence of viruses. The organisation accepts no liability for any damage caused by any virus transmitted by this email. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Wed May 19 04:21:47 2004 From: noah at mac.com (Noah Leaman) Date: Tue, 18 May 2004 19:21:47 -0700 Subject: check_ping packet loss issue, Andreas Ericsson's replacement In-Reply-To: <40A31F8E.4090707@op5.se> References: <40A31F8E.4090707@op5.se> Message-ID: <4797E858-A93B-11D8-876C-000393ACBF0C@mac.com> Andreas, I was wondering where I could get the latest changed version of your fping so I can have the error free compilation? -- Noah PS. hmm... re-reading my original post I realized I said "changed-ash" ... I meant "chained-hash" ... I was tired ") On Thursday, May 13, 2004, at 12:11 AM, Andreas Ericsson wrote: > Noah Leaman wrote: >> I am trying to solve the issue of the check_ping plugin generally >> reporting packet loss when that doesn't seem to really be the case. >> it seems this is a common problem. I am using nagios 1.3 with the >> changed-ash patch and plugins 1.3.1. >> 1) Am I right in thinking that the check_ping "bogus" packet loss >> issue is a valid and somewhat common (perhaps inly certain >> environments)? >> 2) I am also using Mac OS X (Panther), and it seems the check_fping >> didn't compile or install. Not 100% sure why. i just compiled Andreas >> Ericsson's replacement but got these errors when compiling: >> $ make >> rm -f *.o a.out core check_fping >> gcc -O2 -funroll-loops -fomit-frame-pointer -g -ggdb -W -Wunused >> -Wall -Wstrict-prototypes -c -o check_fping.o check_fping.c >> check_fping.c: In function `main': >> check_fping.c:406: warning: unsigned int format, long unsigned int >> arg (arg 4) >> gcc check_fping.o -o check_fping >> Am I safe still using it? Seems to work with what I've tested. Or is >> there any changes I could make to have it compile without any >> warnings? > Yes, you're safe. It's just a printf() format line with an error > message, and it does in no way affect logic or normal operation (it > doesn't affect the error message either, afaik, but I'll have it fixed > anyways). > > Btw. Nice to see it in use. :-) > > -- > Mvh > Andreas Ericsson > OP5 AB > +46 (0)733 709032 > andreas.ericsson at op5.se > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2444 bytes Desc: not available URL: From slade at cryptoflow.net Wed May 19 06:52:25 2004 From: slade at cryptoflow.net (Slade Edmonds) Date: Tue, 18 May 2004 21:52:25 -0700 Subject: Calculating Bandwidth with snmp on cisco router In-Reply-To: <263BA4045D3FA84D9C1B09F5F959B9B6023E053D@picasso.rb.net> References: <263BA4045D3FA84D9C1B09F5F959B9B6023E053D@picasso.rb.net> Message-ID: <40AAE809.1010208@cryptoflow.net> Jennifer Fountain wrote: >Does anyone here monitor bandwidth on a cisco router? If so, how did you >do it and how do you display your results? I am looking to monitor when >our wan networks max out their bandwidth or approach maxing their >bandwidth. Thanks for any info. > > > >Kind Regards, > >Jennifer Fountain >R&B Inc >3400 E Walnut Street >Colmar, PA 18915 > > > >------------------------------------------------------- >This SF.Net email is sponsored by: SourceForge.net Broadband >Sign-up now for SourceForge Broadband and get the fastest >6.0/768 connection for only $19.95/mo for the first 3 months! >http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > I still use MRTG. Check http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ for more info. MRTG takes snmp queries, logs them, and then builds graphs that you can access with a web browser. Great for monitoring trends in network utilization, and tons of other stuff too. I keep meaning to check out rrdtool, but for the time being I have no need to use anything else. You might want to have a read about it at http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/. Slade ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.michlbauer at degussa.com Wed May 19 07:10:19 2004 From: christian.michlbauer at degussa.com (christian.michlbauer at degussa.com) Date: Wed, 19 May 2004 07:10:19 +0200 Subject: Antwort: Re: Re: [Nagios-users] Problems with the script alias, no access to gifs png`s and css because always pointing my browser to non existing for example /nagios/cgi-bin/nagios/images/tacenabled.png =?ISO-8859-1?Q?=A0__?= In-Reply-To: References: Message-ID: I have found the problem, In my cgi.cfg was the following line physical_html_path=/usr/local/nagios/share/ after deleting the last / all works fine now. thankx for the answers Chris Scott ace.net.au> Kopie: , Thema: Re: [Nagios-users] Re: [Nagios-users] Problems with the script alias, no 05/19/04 03:56 AM access to gifs png`s and css because always pointing my browser to non existing for example /nagios/cgi-bin/nagios/images/tacenabled.png I probably should have elaborated on this some more.. My DocumentRoot is actually /export/home/nagios/share/ hence the alias which makes apache think that /export/home/nagios/share/nagios is actually located at /export/home/nagios/share/ Hope this makes sense. Scott On 18/05/2004, at 12:24 AM, Marc Powell wrote: > Scott wrote: >> I actually came across this on a fresh install a few weeks ago, I >> could not fathom why my install would always look in the /nagios/ dir >> for the stylesheet. >> >> to put it simply I corrected this by adding this nasty entry in my >> virtual host entry >> >> --> Alias /nagios/ /export/home/nagios/share/ --< >> >> Options None >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> >> >> I realise this probably looks nasty and I presume this isn't the norm >> for this fix but hey.. if it works.. good on it :) >> >> Its strange because this is not the first installation of nagios I >> have done but it is the first on the show this symptom. > > > That's actually exactly as is documented at > http://nagios.sourceforge.net/docs/1_0/installweb.html (except for > your special share directory path of course). > > -- > Marc > This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the organisation. Finally, the recipient should check this email and any attachments for the presence of viruses. The organisation accepts no liability for any damage caused by any virus transmitted by this email. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco at sd.com Wed May 19 08:30:33 2004 From: marco at sd.com (Marco Supino) Date: Wed, 19 May 2004 09:30:33 +0300 Subject: extended service info Message-ID: <40AAFF09.3000706@sd.com> Hi, I am tring to configure the extended service info, but for some reason, nagios will only add the link and gif to the two first hosts in the "host_name" directive, all the others are ignored. Any solution/reason/fix ? Marco. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed May 19 08:49:03 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 19 May 2004 08:49:03 +0200 Subject: Multiple host parents? In-Reply-To: <013d01c43d3b$437c7050$b004d882@itss.auckland.ac.nz> References: <013d01c43d3b$437c7050$b004d882@itss.auckland.ac.nz> Message-ID: <40AB035F.6000303@op5.se> Steve Shipway wrote: > In other words, if you define host C as having A and B as parents, and A > goes down while B stays up, will C still be checked (since at lest one > parent is alive) or will C be ignored (since at least one parent is dead)? > C will be checked if any of its parents are up. Each parent provides a route to the target host, and one is all nagios needs to check that it's alive. > The reason I am asking, is that we have multiple routes between our switches > -- and if one route goes down, we dont want monitoring of the things behind > to stop. However, if both go down, then we do. Finally, the network > diagrams will show the correct linkages if defined with multiple parents. > Just make sure you get the routing done properly. > Does anyone know the answer without my running some tests? > Yes. > 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. ** > > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed May 19 09:05:40 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 19 May 2004 09:05:40 +0200 Subject: check_ping packet loss issue, Andreas Ericsson's replacement In-Reply-To: <4797E858-A93B-11D8-876C-000393ACBF0C@mac.com> References: <4797E858-A93B-11D8-876C-000393ACBF0C@mac.com> Message-ID: <40AB0744.4080508@op5.se> Noah Leaman wrote: > Andreas, I was wondering where I could get the latest changed version of > your fping so I can have the error free compilation? > It's available from ftp.se.openwall.com/pub/Nagios/plugins (anonymous ftp access). I'll put some other stuff there too when I have the time. Btw. I think the plugin-devel guys will want to include it as check_icmp, so you might want to call it that to save yourself from naming problems later on. > -- > > Noah > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.baddeley at vpc.co.nz Wed May 19 10:09:40 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Wed, 19 May 2004 20:09:40 +1200 Subject: monitor a hostless service In-Reply-To: <3A83D9BECDDF58468F068F6CA1C36AB957C420@corpmail.corp.netledger.com> References: <3A83D9BECDDF58468F068F6CA1C36AB957C420@corpmail.corp.netledger.com> Message-ID: <1084954180.1452.2.camel@munter> you could use localhost or the check_dummy plugin. see cvs. jamie On Wed, 2004-05-19 at 05:36, Mueller, Karl wrote: > If you use a dummy host, yes. > > Define a host object, but give it, for example, the localhost IP. Then > create the service check which doesn't use $HOSTNAME$ or $HOSTADDRESS$ > macros - it'll work. > > -Karl > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Dan > Newcombe > Sent: Tuesday, May 18, 2004 9:27 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] monitor a hostless service > > I think I know the answer to this, but.... > > Is it possible to monitor a service that doesn't have a host (without > defining a dummy host - may have to use loopback as a host > definition!)??? > ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amk_dude at yahoo.com Wed May 19 11:01:39 2004 From: amk_dude at yahoo.com (anil kamath) Date: Wed, 19 May 2004 02:01:39 -0700 (PDT) Subject: check_procs not functioning well In-Reply-To: References: Message-ID: <20040519090139.65518.qmail@web14523.mail.yahoo.com> Hi swati, seen your contents, as i had mentioned earlier that even if the check procs points at a remote host it hasnt got the rights to check procs unless you do check_by_ssh or run a nrpe daemon on remote host and make check_nrpe check the proc status. the proc status is okay b'coz it checks the local procs and not the procs running on the remote host. A simple example is try creating the proc check for another host and u will get the same result. I have configured check_procs to monitor procs on a remote host and it works fine. U need to install the nrpe daemon on the remote host and also the plugins. you need to configure nrpe.cfg and also start the daemon as an xinetd service. check_command check_nrpe!check_total_procs!150!200 } this is from services.cfg. define command{ command_name check_local_procs command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ } this is for checking local procs even if it points to a emote host. define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } this entry is for checking procs and other services on a remote host. reply back if it works fine Regards, anil --- Swati Srivastava wrote: > Hi Anil! > Thanks a lot for your help. > I have configured check_procs and it is showing me > the results now. > But since you said that i need to install nrpe on > the remote host, is it a > possibility that the results i'm getting are not > correct? I mean, how come > Nagios shows OK status for check_procs? > Also, regarding the syntax of check_procs, i have > got this link which helped > me: > http://www.totkat.org/pages/nconf_commands.shtml > But I'm not very clear with the -s,-a and -C > options.It will be very helpful > if you can elaborate them. > Thanks. > Swati > > >From: anil kamath > >To: Swati Srivastava > >CC: nagios-users at lists.sourceforge.net > >Subject: Re: [Nagios-users] check_procs not > functioning well > >Date: Tue, 18 May 2004 03:39:49 -0700 (PDT) > > > >hi swati, > > > >firstly you need to configure nrpe daemon on the > >remote host to check_procs. else it will monitor > the > >prrocs on the localhost only. if you want to > monitor > >procs you need to compile nrpe on the remote host > and > >install the nrpe daemon as a standalone or an > xinetd > >service later from the nagios host you throw > commands > >using check_nrpe to the nrpe daemon which will give > >you the procs running on the remote host. > >do you need the syntax for check_procs ????? > >or is it okay with the config.. > > > >reply > >anil > >--- Swati Srivastava > wrote: > > > 1) I have configured nagios check_procs command > to > > > check Nagios process by > > > supplying the process id with which it is > > > running.Only when i see the host > > > details, i get the status information as OK-1 > > > processes running...whereas, > > > on all the other options (eg.service detail, > status > > > overview, etc.), it > > > shows a warning for the corresponding entry. In > > > service detail, it states > > > WARNING-0 processes running with ppid-15904. > > > > > > 2) Also, I have configured check_procs to > monitor a > > > process on some other > > > host by supplying the process id. That host is > Up. > > > But it always shows this > > > WARNING-0 processes running with PPID=2177. > > > I want to monitor a particular process on this > > > host,like, how many child > > > processes it spawns,etc.This host is in our LAN. > > > > > > Kindly help, > > > Thanks in advance, > > > Swati > > > > > > > >_________________________________________________________________ > > > Best of Indian handicrafts. > > > > http://www.fabmall.com/affiliatehtml/redir/nl8.asp > > > At MSN Shopping. > > > > > > > > > > > > > >------------------------------------------------------- > > > This SF.Net email is sponsored by: > SourceForge.net > > > Broadband > > > Sign-up now for SourceForge Broadband and get > the > > > fastest > > > 6.0/768 connection for only $19.95/mo for the > first > > > 3 months! > > > > >http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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!? > >SBC Yahoo! - Internet access at a great low price. > >http://promo.yahoo.com/sbc/ > > _________________________________________________________________ > Best of Indian handicrafts. > http://www.fabmall.com/affiliatehtml/redir/nl8.asp > At MSN Shopping. > __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Onsite.DeTeWe at firstgroup.com Wed May 19 11:33:50 2004 From: Onsite.DeTeWe at firstgroup.com (Onsite DeTeWe) Date: Wed, 19 May 2004 10:33:50 +0100 Subject: SMS notifications Message-ID: Hi All, I have just setup a mobile gateway on our nagios box (6310i with serial lead ;-). Got all the SMS stuff working using gnokii which works a treat. Recommend it to anyone. However, when I try and get nagios to use a new notify routine it fails to send the text. Debug so far. Got gnokii to send SMS direct. Added notify-by-sms to misccommands.cfg. I know the above works as I then cut the command from the .cfg and run it from the command line direct and it works. Could this be a permissions thing associated with the nagios user??? When I force a host down and look in the syslog the notification does try and send via the correct command, it seems like just the command from within nagios is not working. Hope someone can help. Regards Jason This is the command line. /usr/bin/printf "%b" "**Nagios**\nType: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\nDate/Time: $DATETIME$\n" | /usr/local/bin/gnokii --sendsms $CONTACTPAGERS$ ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. http://www.firstgroup.com ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From ludo.bosmans at xtenso.be Wed May 19 12:06:44 2004 From: ludo.bosmans at xtenso.be (Ludo Bosmans) Date: Wed, 19 May 2004 12:06:44 +0200 Subject: SMS notifications Message-ID: <518772850433D4119AAA00105AC460987B290F@mail.tpb.be> Hi Jason, I use also gnokii to send sms's. I don't know your set-up, do you have a Nokia connected to a serial port ? Imy configuration i have a modem connected to the serial port and i establish a call to a local provider smc center. So i am able to drop more then 1 sms at the time in one connection. Only the call to the smc center is charged. No charge for the sms's itself. So i can not really simulate, but it seems for me that the $CONTACTPAGERS$ macro is wrong, it must be $CONTACTPAGER$. kind regards, ludo -----Original Message----- From: Onsite DeTeWe [mailto:Onsite.DeTeWe at firstgroup.com] Sent: woensdag 19 mei 2004 11:34 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMS notifications Hi All, I have just setup a mobile gateway on our nagios box (6310i with serial lead ;-). Got all the SMS stuff working using gnokii which works a treat. Recommend it to anyone. However, when I try and get nagios to use a new notify routine it fails to send the text. Debug so far. Got gnokii to send SMS direct. Added notify-by-sms to misccommands.cfg. I know the above works as I then cut the command from the .cfg and run it from the command line direct and it works. Could this be a permissions thing associated with the nagios user??? When I force a host down and look in the syslog the notification does try and send via the correct command, it seems like just the command from within nagios is not working. Hope someone can help. Regards Jason This is the command line. /usr/bin/printf "%b" "**Nagios**\nType: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\nDate/Time: $DATETIME$\n" | /usr/local/bin/gnokii --sendsms $CONTACTPAGERS$ ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. http://www.firstgroup.com ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From james.mohr at elaxy.com Wed May 19 12:25:18 2004 From: james.mohr at elaxy.com (Mohr James) Date: Wed, 19 May 2004 12:25:18 +0200 Subject: Nagios Messages Message-ID: <369E6D11A6CCA64BB73C1D1EFDB0D2C1291A5A@srv-cob-00-0014.elaxy.org> Hi All! We are in the processes of deciding whether we can replace HP OpenView with Nagios. One question that has popped up is how much information we can provide in messages sent to the server. I know that there is a history of messages that changed the state of a particular service. However, I cannot find details on how much information we can pass. For example, with openview when an event occurs that sends a message to the server we can automatically start an application the output of which is then included in the message send to the server. In some cases, this can be a couple of K. Is there a limit to how much we can send? I am also curious as to what search capabilities there are for Nagios messages. With OpenView, I can search on all sorts of criterial, like node, date-time, message contents, and so on. Is something like this possible with Nagios? Regards, jimmo ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 19 12:28:27 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Wed, 19 May 2004 06:28:27 -0400 Subject: check_by_ssh and banner In-Reply-To: <263BA4045D3FA84D9C1B09F5F959B9B6023E000C@picasso.rb.net> References: <263BA4045D3FA84D9C1B09F5F959B9B6023E000C@picasso.rb.net> Message-ID: <20040519062827.65b2b033.karl@debisschop.net> On Mon, 17 May 2004 21:46:05 -0400 "Jennifer Fountain" wrote: > > > Thank you very much. This patch works perfectly for my > > situation. I briefly tried hacking something like this myself > > before posting to the list, but your solution is significantly > > better. > > > > Andrew Hoying > > > I am faced with the same situation. Where can I find this patch? CVS head -- Karl ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Onsite.DeTeWe at firstgroup.com Wed May 19 12:21:47 2004 From: Onsite.DeTeWe at firstgroup.com (Onsite DeTeWe) Date: Wed, 19 May 2004 11:21:47 +0100 Subject: SMS notifications In-Reply-To: <518772850433D4119AAA00105AC460987B290F@mail.tpb.be> References: <518772850433D4119AAA00105AC460987B290F@mail.tpb.be> Message-ID: Thanks for your reply, I do have a nokia connected to the serial port, but I am using the phone to send the texts. Regarding the macro, I have also tried just using the mobile number for a test. This still does not work. Here is a syslog message when a host does down. May 19 11:11:48 SNMPServer nagios: HOST NOTIFICATION: server;fiplog01;UP; host-notify-by-sms;PING OK - Packet loss = 0%, RTA = 58.53 ms As you can see the trigger is being used, just nothing more happening. Jason Ludo Bosmans 19/05/2004 11:06 To: 'Onsite DeTeWe' , nagios-users at lists.sourceforge.net cc: Subject: RE: [Nagios-users] SMS notifications Hi Jason, I use also gnokii to send sms's. I don't know your set-up, do you have a Nokia connected to a serial port ? Imy configuration i have a modem connected to the serial port and i establish a call to a local provider smc center. So i am able to drop more then 1 sms at the time in one connection. Only the call to the smc center is charged. No charge for the sms's itself. So i can not really simulate, but it seems for me that the $CONTACTPAGERS$ macro is wrong, it must be $CONTACTPAGER$. kind regards, ludo -----Original Message----- From: Onsite DeTeWe [mailto:Onsite.DeTeWe at firstgroup.com] Sent: woensdag 19 mei 2004 11:34 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMS notifications Hi All, I have just setup a mobile gateway on our nagios box (6310i with serial lead ;-). Got all the SMS stuff working using gnokii which works a treat. Recommend it to anyone. However, when I try and get nagios to use a new notify routine it fails to send the text. Debug so far. Got gnokii to send SMS direct. Added notify-by-sms to misccommands.cfg. I know the above works as I then cut the command from the .cfg and run it from the command line direct and it works. Could this be a permissions thing associated with the nagios user??? When I force a host down and look in the syslog the notification does try and send via the correct command, it seems like just the command from within nagios is not working. Hope someone can help. Regards Jason This is the command line. /usr/bin/printf "%b" "**Nagios**\nType: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\nDate/Time: $DATETIME$\n" | /usr/local/bin/gnokii --sendsms $CONTACTPAGERS$ ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. http://www.firstgroup.com ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From ludo.bosmans at xtenso.be Wed May 19 12:59:08 2004 From: ludo.bosmans at xtenso.be (Ludo Bosmans) Date: Wed, 19 May 2004 12:59:08 +0200 Subject: SMS notifications Message-ID: <518772850433D4119AAA00105AC460987B2910@mail.tpb.be> Jason, I suppose that the manual test is ok ? Of course replace the macros with the corresponding values. /usr/bin/printf "%b" "**Nagios**\nType: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\nDate/Time: $DATETIME$\n" | /usr/local/bin/gnokii --sendsms $CONTACTPAGER$ In the checkcommands you have a "notify-by-sms", but in the syslog there is "host-notify-by-sms", so you need to check the syntax of that config entry and try manually to execute the command to see if it works. kind regards, ludo -----Original Message----- From: Onsite DeTeWe [mailto:Onsite.DeTeWe at firstgroup.com] Sent: woensdag 19 mei 2004 12:22 To: Ludo Bosmans; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] SMS notifications Thanks for your reply, I do have a nokia connected to the serial port, but I am using the phone to send the texts. Regarding the macro, I have also tried just using the mobile number for a test. This still does not work. Here is a syslog message when a host does down. May 19 11:11:48 SNMPServer nagios: HOST NOTIFICATION: server;fiplog01;UP;host-notify-by-sms;PING OK - Packet loss = 0%, RTA = 58.53 ms As you can see the trigger is being used, just nothing more happening. Jason Ludo Bosmans 19/05/2004 11:06 To: 'Onsite DeTeWe' , nagios-users at lists.sourceforge.net cc: Subject: RE: [Nagios-users] SMS notifications Hi Jason, I use also gnokii to send sms's. I don't know your set-up, do you have a Nokia connected to a serial port ? Imy configuration i have a modem connected to the serial port and i establish a call to a local provider smc center. So i am able to drop more then 1 sms at the time in one connection. Only the call to the smc center is charged. No charge for the sms's itself. So i can not really simulate, but it seems for me that the $CONTACTPAGERS$ macro is wrong, it must be $CONTACTPAGER$. kind regards, ludo -----Original Message----- From: Onsite DeTeWe [mailto:Onsite.DeTeWe at firstgroup.com] Sent: woensdag 19 mei 2004 11:34 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMS notifications Hi All, I have just setup a mobile gateway on our nagios box (6310i with serial lead ;-). Got all the SMS stuff working using gnokii which works a treat. Recommend it to anyone. However, when I try and get nagios to use a new notify routine it fails to send the text. Debug so far. Got gnokii to send SMS direct. Added notify-by-sms to misccommands.cfg. I know the above works as I then cut the command from the .cfg and run it from the command line direct and it works. Could this be a permissions thing associated with the nagios user??? When I force a host down and look in the syslog the notification does try and send via the correct command, it seems like just the command from within nagios is not working. Hope someone can help. Regards Jason This is the command line. /usr/bin/printf "%b" "**Nagios**\nType: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\nDate/Time: $DATETIME$\n" | /usr/local/bin/gnokii --sendsms $CONTACTPAGERS$ ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. http://www.firstgroup.com ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Onsite.DeTeWe at firstgroup.com Wed May 19 14:01:34 2004 From: Onsite.DeTeWe at firstgroup.com (Onsite DeTeWe) Date: Wed, 19 May 2004 13:01:34 +0100 Subject: SMS notifications In-Reply-To: <518772850433D4119AAA00105AC460987B2910@mail.tpb.be> References: <518772850433D4119AAA00105AC460987B2910@mail.tpb.be> Message-ID: Hiya, Yeah sorry.. Should have explained in full. I have a host-notify-by-sms and notify-by-sms in the .cfg. One for service and one for host. The snippet I sent was for a host down. Really puzzling as the other commands in the .cfg for host-notify-by-email and notify-by-email work fine. All I did was replace them. J Ludo Bosmans 19/05/2004 11:59 To: 'Onsite DeTeWe' , Ludo Bosmans , nagios-users at lists.sourceforge.net cc: Subject: RE: [Nagios-users] SMS notifications Jason, I suppose that the manual test is ok ? Of course replace the macros with the corresponding values. /usr/bin/printf "%b" "**Nagios**\nType: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\nDate/Time: $DATETIME$\n" | /usr/local/bin/gnokii --sendsms $CONTACTPAGER$ In the checkcommands you have a "notify-by-sms", but in the syslog there is "host-notify-by-sms", so you need to check the syntax of that config entry and try manually to execute the command to see if it works. kind regards, ludo -----Original Message----- From: Onsite DeTeWe [mailto:Onsite.DeTeWe at firstgroup.com] Sent: woensdag 19 mei 2004 12:22 To: Ludo Bosmans; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] SMS notifications Thanks for your reply, I do have a nokia connected to the serial port, but I am using the phone to send the texts. Regarding the macro, I have also tried just using the mobile number for a test. This still does not work. Here is a syslog message when a host does down. May 19 11:11:48 SNMPServer nagios: HOST NOTIFICATION: server;fiplog01;UP; host-notify-by-sms;PING OK - Packet loss = 0%, RTA = 58.53 ms As you can see the trigger is being used, just nothing more happening. Jason Ludo Bosmans 19/05/2004 11:06 To: 'Onsite DeTeWe' , nagios-users at lists.sourceforge.net cc: Subject: RE: [Nagios-users] SMS notifications Hi Jason, I use also gnokii to send sms's. I don't know your set-up, do you have a Nokia connected to a serial port ? Imy configuration i have a modem connected to the serial port and i establish a call to a local provider smc center. So i am able to drop more then 1 sms at the time in one connection. Only the call to the smc center is charged. No charge for the sms's itself. So i can not really simulate, but it seems for me that the $CONTACTPAGERS$ macro is wrong, it must be $CONTACTPAGER$. kind regards, ludo -----Original Message----- From: Onsite DeTeWe [mailto:Onsite.DeTeWe at firstgroup.com] Sent: woensdag 19 mei 2004 11:34 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMS notifications Hi All, I have just setup a mobile gateway on our nagios box (6310i with serial lead ;-). Got all the SMS stuff working using gnokii which works a treat. Recommend it to anyone. However, when I try and get nagios to use a new notify routine it fails to send the text. Debug so far. Got gnokii to send SMS direct. Added notify-by-sms to misccommands.cfg. I know the above works as I then cut the command from the .cfg and run it from the command line direct and it works. Could this be a permissions thing associated with the nagios user??? When I force a host down and look in the syslog the notification does try and send via the correct command, it seems like just the command from within nagios is not working. Hope someone can help. Regards Jason This is the command line. /usr/bin/printf "%b" "**Nagios**\nType: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\nDate/Time: $DATETIME$\n" | /usr/local/bin/gnokii --sendsms $CONTACTPAGERS$ ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. http://www.firstgroup.com ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed May 19 14:21:33 2004 From: marc at ena.com (Marc Powell) Date: Wed, 19 May 2004 07:21:33 -0500 Subject: SMS notifications Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B633A@mismail2.ena.com> ________________________________ From: Onsite DeTeWe [mailto:Onsite.DeTeWe at firstgroup.com] Sent: Wednesday, May 19, 2004 4:34 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMS notifications Hi All, I have just setup a mobile gateway on our nagios box (6310i with serial lead ;-). Got all the SMS stuff working using gnokii which works a treat. Recommend it to anyone. However, when I try and get nagios to use a new notify routine it fails to send the text. Debug so far. Got gnokii to send SMS direct. Added notify-by-sms to misccommands.cfg. I know the above works as I then cut the command from the .cfg and run it from the command line direct and it works. Could this be a permissions thing associated with the nagios user??? -- Yes certainly (and most likely the problem). Did you run your test as root or the nagios user? You must be su'd to nagios to truly test it in the way that nagios would send the notification. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Onsite.DeTeWe at firstgroup.com Wed May 19 14:30:22 2004 From: Onsite.DeTeWe at firstgroup.com (Onsite DeTeWe) Date: Wed, 19 May 2004 13:30:22 +0100 Subject: SMS notifications In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F1B633A@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F1B633A@mismail2.ena.com> Message-ID: When I su to nagios I get an error but the sms still sends.... The error is fopen : Pemission denied, sending logs to stderr. thats all. Had the initial problem of the nagios user not having access to the comm ports, but fixed that at least in the test. I have not got a clue about the fopen thing and I don't have an fopen command on the box. J "Marc Powell" 19/05/2004 13:21 To: "Onsite DeTeWe" , cc: Subject: RE: [Nagios-users] SMS notifications ________________________________ From: Onsite DeTeWe [mailto:Onsite.DeTeWe at firstgroup.com] Sent: Wednesday, May 19, 2004 4:34 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMS notifications Hi All, I have just setup a mobile gateway on our nagios box (6310i with serial lead ;-). Got all the SMS stuff working using gnokii which works a treat. Recommend it to anyone. However, when I try and get nagios to use a new notify routine it fails to send the text. Debug so far. Got gnokii to send SMS direct. Added notify-by-sms to misccommands.cfg. I know the above works as I then cut the command from the .cfg and run it from the command line direct and it works. Could this be a permissions thing associated with the nagios user??? -- Yes certainly (and most likely the problem). Did you run your test as root or the nagios user? You must be su'd to nagios to truly test it in the way that nagios would send the notification. -- Marc ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. http://www.firstgroup.com ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Wed May 19 14:52:20 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 19 May 2004 14:52:20 +0200 Subject: SMS notifications In-Reply-To: References: Message-ID: <40AB5884.2090801@op5.se> Onsite DeTeWe wrote: > When I su to nagios I get an error but the sms still sends.... The error > is fopen : Pemission denied, sending logs to stderr. thats all. > > Had the initial problem of the nagios user not having access to the comm > ports, but fixed that at least in the test. > > I have not got a clue about the fopen thing and I don't have an fopen > command on the box. > Run strace 2>&1 on it and pipe it through your favorite pager. That way you'll see all system calls and their return values. > J > > > > > > "Marc Powell" > 19/05/2004 13:21 > > To: "Onsite DeTeWe" , > > cc: > Subject: RE: [Nagios-users] SMS notifications > > > > > ________________________________ > > From: Onsite DeTeWe [mailto:Onsite.DeTeWe at firstgroup.com] > Sent: Wednesday, May 19, 2004 4:34 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SMS notifications > > > > Hi All, > > I have just setup a mobile gateway on our nagios box (6310i with serial > lead ;-). Got all the SMS stuff working using gnokii which works a > treat. Recommend it to anyone. However, when I try and get nagios to > use a new notify routine it fails to send the text. > > Debug so far. > > Got gnokii to send SMS direct. > Added notify-by-sms to misccommands.cfg. > I know the above works as I then cut the command from the .cfg > and run it from the command line direct and it works. > > Could this be a permissions thing associated with the nagios user??? > > -- Yes certainly (and most likely the problem). Did you run your > test as root or the nagios user? You must be su'd to nagios to truly > test it in the way that nagios would send the notification. > > -- > Marc > > > > > ********************************************************************** > This message is confidential. It may not be disclosed to, or used by, > anyone other than the addressee. If you receive this message in > error, please advise us immediately. > > Internet email is not necessarily secure. First does not accept > responsibility for changes to any email which occur after the email > has been sent. Attachments to this email could contain software > viruses which could damage your system. First have checked the > attachments for viruses before sending, but you should virus-check > them before opening. > > http://www.firstgroup.com > ********************************************************************** > > -- Mvh Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peter.gutmann at db.com Wed May 19 15:51:18 2004 From: peter.gutmann at db.com (Peter Gutmann) Date: Wed, 19 May 2004 09:51:18 -0400 Subject: Bang :( Message-ID: If that doesn't work, try escaping the bang(!). For example you might try... command_line $USER1$/check_ifstatus -H $HOSTADDRESS$ -C e3\!m4Vac ---- Peter Gutmann Peter.Gutmann at db.com Jon Lyons Sent by: nagios-users-admin at lists.sourceforge.net 05/18/2004 07:46 PM To: Gaurang Pandya , nagios-users at lists.sourceforge.net cc: Subject: Re: [Nagios-users] Bang :( Just create a new checkcommand.cfg ... # 'debug_check_ifstatus' command definition define command{ command_name check_ifstatus_custom command_line $USER1$/check_ifstatus -H $HOSTADDRESS$ -C e3!m4Vac } Gaurang Pandya wrote: Hi, One of our device's community string has a bang(!) on it. How do I check snmp with it now. I check FAQ it says only about checking webpages. I used same thing even here ofcourse without luck. So is there any way of getting it work. Gaurang. __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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!? SBC Yahoo! - Internet access at a great low price. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ludo.bosmans at xtenso.be Wed May 19 15:57:47 2004 From: ludo.bosmans at xtenso.be (Ludo Bosmans) Date: Wed, 19 May 2004 15:57:47 +0200 Subject: SMS notifications Message-ID: <518772850433D4119AAA00105AC460987B2912@mail.tpb.be> Jason, To avoid lots of replies, work step by step and try to document symptoms in detail.. 1. Do the command work manually as root ? 2. Do a su - nagios and try the command again. If it doesn't work. What is the error message ? 3. Do you have read and write permissions on the serial port specified in the gnokiirc file as the nagios user ? 4. correct is necessary. 5. Is there a getty process on it ? Disable it in /etc/inittab and do "init q", check if process is not respawned anymore. 6. Check access rights again from serial device. 7. Try to set the suid flag as root, just to see if this fix the problem. kind regards, ludo -----Original Message----- From: Onsite DeTeWe [mailto:Onsite.DeTeWe at firstgroup.com] Sent: woensdag 19 mei 2004 14:02 To: Ludo Bosmans; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] SMS notifications Hiya, Yeah sorry.. Should have explained in full. I have a host-notify-by-sms and notify-by-sms in the .cfg. One for service and one for host. The snippet I sent was for a host down. Really puzzling as the other commands in the .cfg for host-notify-by-email and notify-by-email work fine. All I did was replace them. J Ludo Bosmans 19/05/2004 11:59 To: 'Onsite DeTeWe' , Ludo Bosmans , nagios-users at lists.sourceforge.net cc: Subject: RE: [Nagios-users] SMS notifications Jason, I suppose that the manual test is ok ? Of course replace the macros with the corresponding values. /usr/bin/printf "%b" "**Nagios**\nType: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\nDate/Time: $DATETIME$\n" | /usr/local/bin/gnokii --sendsms $CONTACTPAGER$ In the checkcommands you have a "notify-by-sms", but in the syslog there is "host-notify-by-sms", so you need to check the syntax of that config entry and try manually to execute the command to see if it works. kind regards, ludo -----Original Message----- From: Onsite DeTeWe [mailto:Onsite.DeTeWe at firstgroup.com] Sent: woensdag 19 mei 2004 12:22 To: Ludo Bosmans; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] SMS notifications Thanks for your reply, I do have a nokia connected to the serial port, but I am using the phone to send the texts. Regarding the macro, I have also tried just using the mobile number for a test. This still does not work. Here is a syslog message when a host does down. May 19 11:11:48 SNMPServer nagios: HOST NOTIFICATION: server;fiplog01;UP;host-notify-by-sms;PING OK - Packet loss = 0%, RTA = 58.53 ms As you can see the trigger is being used, just nothing more happening. Jason Ludo Bosmans 19/05/2004 11:06 To: 'Onsite DeTeWe' , nagios-users at lists.sourceforge.net cc: Subject: RE: [Nagios-users] SMS notifications Hi Jason, I use also gnokii to send sms's. I don't know your set-up, do you have a Nokia connected to a serial port ? Imy configuration i have a modem connected to the serial port and i establish a call to a local provider smc center. So i am able to drop more then 1 sms at the time in one connection. Only the call to the smc center is charged. No charge for the sms's itself. So i can not really simulate, but it seems for me that the $CONTACTPAGERS$ macro is wrong, it must be $CONTACTPAGER$. kind regards, ludo -----Original Message----- From: Onsite DeTeWe [mailto:Onsite.DeTeWe at firstgroup.com] Sent: woensdag 19 mei 2004 11:34 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMS notifications Hi All, I have just setup a mobile gateway on our nagios box (6310i with serial lead ;-). Got all the SMS stuff working using gnokii which works a treat. Recommend it to anyone. However, when I try and get nagios to use a new notify routine it fails to send the text. Debug so far. Got gnokii to send SMS direct. Added notify-by-sms to misccommands.cfg. I know the above works as I then cut the command from the .cfg and run it from the command line direct and it works. Could this be a permissions thing associated with the nagios user??? When I force a host down and look in the syslog the notification does try and send via the correct command, it seems like just the command from within nagios is not working. Hope someone can help. Regards Jason This is the command line. /usr/bin/printf "%b" "**Nagios**\nType: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\nDate/Time: $DATETIME$\n" | /usr/local/bin/gnokii --sendsms $CONTACTPAGERS$ ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. http://www.firstgroup.com ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From gemeosdf at yahoo.com.br Wed May 19 16:16:23 2004 From: gemeosdf at yahoo.com.br (=?iso-8859-1?q?Marcos=20&=20Marcelo?=) Date: Wed, 19 May 2004 11:16:23 -0300 (ART) Subject: Nagios MRTG Mysql database Message-ID: <20040519141623.62507.qmail@web12907.mail.yahoo.com> Hi Folks, I would like to know if I can use MRTG to get the information from MySql database in order to make graphs. I'm asking this because Nagios doesn't use MySql database in order to make graphs. Thanks, Marcelo --------------------------------- Yahoo! Messenger - Fale com seus amigos online. Instale agora! -------------- next part -------------- An HTML attachment was scrubbed... URL: From prandal at herefordshire.gov.uk Wed May 19 16:59:16 2004 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Wed, 19 May 2004 15:59:16 +0100 Subject: Nagios MRTG Mysql database Message-ID: <801403078973F243A6A74322E134AF500F1814@mail.herefordshire.gov.uk> Take a look at NagMin (http://nagmin.sf.net ) Cheers, Phil ---- Phil Randal Network Engineer Herefordshire Council Hereford, UK _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marcos & Marcelo Sent: 19 May 2004 15:16 To: nagios_list Subject: [Nagios-users] Nagios MRTG Mysql database Hi Folks, I would like to know if I can use MRTG to get the information from MySql database in order to make graphs. I'm asking this because Nagios doesn't use MySql database in order to make graphs. Thanks, Marcelo _____ Yahoo! Messenger - Fale com seus amigos online. Instale agora! -------------- next part -------------- An HTML attachment was scrubbed... URL: From Onsite.DeTeWe at firstgroup.com Wed May 19 17:05:57 2004 From: Onsite.DeTeWe at firstgroup.com (Onsite DeTeWe) Date: Wed, 19 May 2004 16:05:57 +0100 Subject: SMS notifications In-Reply-To: <518772850433D4119AAA00105AC460987B2912@mail.tpb.be> References: <518772850433D4119AAA00105AC460987B2912@mail.tpb.be> Message-ID: Ludo Bosmans 19/05/2004 14:57 To: 'Onsite DeTeWe' , nagios-users at lists.sourceforge.net cc: Subject: RE: [Nagios-users] SMS notifications Jason, To avoid lots of replies, work step by step and try to document symptoms in detail.. 1. Do the command work manually as root ? Yes 2. Do a su - nagios and try the command again. If it doesn't work. What is the error message ? Yes with following. [nagios at SNMPServer etc]$ /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $OUTPUT$\nDate: $DATETIME$" | /usr/local/bin/gnokii --sendsms 07901854342 fopen: Permission denied WARNING: cannot open logfile, logs will be directed to stderr GNOKII Version 0.6.1 write: [ATZ] read : [ATZOK] write: [ATE1] read : [ATE1OK] write: [AT+CGMM] read : [AT+CGMMNokia 6310iOK] write: [AT+CGMI] read : [AT+CGMINokiaOK] write: [AT+CSCS?] read : [AT+CSCS?+CSCS: "PCCP437"OK] write: [AT+CSCA?] read : [AT+CSCA?+CSCA: "+44780200xxxx",145OK] write: [AT+CMGF=0] read : [AT+CMGF=0OK] write: [AT+CMGS=70] read : [AT+CMGS=70> ] write: [079144872000302311000B817009814543F20000AA40D3B2DC9E1E9775208102F99ED375A0A9B3099D96E5F6B25CA00892C9F2F27CAE030914537A985ED681048AA4DBFCD681040A62985ED68104^Z] read : [079144872000302311000B817009814543F20000AA40D3B2DC9E1E9775208102F99ED375A0A9B3099D96E5F6B25CA00892C9F2F27CAE030914537A985ED681048AA4DBFCD681040A62985ED68104^Z+CMGS: 37OK] Send succeeded! 3. Do you have read and write permissions on the serial port specified in the gnokiirc file as the nagios user ? Yes 4. correct is necessary. 5. Is there a getty process on it ? Disable it in /etc/inittab and do "init q", check if process is not respawned anymore. No 6. Check access rights again from serial device. Works from command line, just not from within nagios. Extract from syslog May 19 15:53:48 SNMPServer nagios: HOST ALERT: sw6-1;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 34.49 ms May 19 15:53:48 SNMPServer nagios: HOST NOTIFICATION: network;sw6-1;UP; host-notify-by-sms;PING OK - Packet loss = 0%, RTA = 34.49 ms 7. Try to set the suid flag as root, just to see if this fix the problem. No effect. snippet from the misccommands.cfg file showing sms trigger # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotificatio n Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOST ADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail -s "Host $HOSTS TATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } # 'host-notify-by-sms' command definition define command{ command_name host-notify-by-sms command_line /usr/bin/printf "%b" "**Nagios**\nType: $NOTIFICATIONTYP E$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$ \nDate/Time: $DATETIME$\n" | /usr/local/bin/gnokii --sendsms 07901845342 kind regards, Jason -----Original Message----- From: Onsite DeTeWe [mailto:Onsite.DeTeWe at firstgroup.com] Sent: woensdag 19 mei 2004 14:02 To: Ludo Bosmans; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] SMS notifications Hiya, Yeah sorry.. Should have explained in full. I have a host-notify-by-sms and notify-by-sms in the .cfg. One for service and one for host. The snippet I sent was for a host down. Really puzzling as the other commands in the .cfg for host-notify-by-email and notify-by-email work fine. All I did was replace them. J Ludo Bosmans 19/05/2004 11:59 To: 'Onsite DeTeWe' , Ludo Bosmans , nagios-users at lists.sourceforge.net cc: Subject: RE: [Nagios-users] SMS notifications Jason, I suppose that the manual test is ok ? Of course replace the macros with the corresponding values. /usr/bin/printf "%b" "**Nagios**\nType: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\nDate/Time: $DATETIME$\n" | /usr/local/bin/gnokii --sendsms $CONTACTPAGER$ In the checkcommands you have a "notify-by-sms", but in the syslog there is "host-notify-by-sms", so you need to check the syntax of that config entry and try manually to execute the command to see if it works. kind regards, ludo -----Original Message----- From: Onsite DeTeWe [mailto:Onsite.DeTeWe at firstgroup.com] Sent: woensdag 19 mei 2004 12:22 To: Ludo Bosmans; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] SMS notifications Thanks for your reply, I do have a nokia connected to the serial port, but I am using the phone to send the texts. Regarding the macro, I have also tried just using the mobile number for a test. This still does not work. Here is a syslog message when a host does down. May 19 11:11:48 SNMPServer nagios: HOST NOTIFICATION: server;fiplog01;UP;host-notify-by-sms;PING OK - Packet loss = 0%, RTA = 58.53 ms As you can see the trigger is being used, just nothing more happening. Jason Ludo Bosmans 19/05/2004 11:06 To: 'Onsite DeTeWe' , nagios-users at lists.sourceforge.net cc: Subject: RE: [Nagios-users] SMS notifications Hi Jason, I use also gnokii to send sms's. I don't know your set-up, do you have a Nokia connected to a serial port ? Imy configuration i have a modem connected to the serial port and i establish a call to a local provider smc center. So i am able to drop more then 1 sms at the time in one connection. Only the call to the smc center is charged. No charge for the sms's itself. So i can not really simulate, but it seems for me that the $CONTACTPAGERS$ macro is wrong, it must be $CONTACTPAGER$. kind regards, ludo -----Original Message----- From: Onsite DeTeWe [mailto:Onsite.DeTeWe at firstgroup.com] Sent: woensdag 19 mei 2004 11:34 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMS notifications Hi All, I have just setup a mobile gateway on our nagios box (6310i with serial lead ;-). Got all the SMS stuff working using gnokii which works a treat. Recommend it to anyone. However, when I try and get nagios to use a new notify routine it fails to send the text. Debug so far. Got gnokii to send SMS direct. Added notify-by-sms to misccommands.cfg. I know the above works as I then cut the command from the .cfg and run it from the command line direct and it works. Could this be a permissions thing associated with the nagios user??? When I force a host down and look in the syslog the notification does try and send via the correct command, it seems like just the command from within nagios is not working. Hope someone can help. Regards Jason This is the command line. /usr/bin/printf "%b" "**Nagios**\nType: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\nDate/Time: $DATETIME$\n" | /usr/local/bin/gnokii --sendsms $CONTACTPAGERS$ ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. http://www.firstgroup.com ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From GWCOOK at mactec.com Wed May 19 17:12:29 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 19 May 2004 09:12:29 -0600 Subject: Calculating Bandwidth with snmp on cisco router Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E90A3@golden-m.mactec.com> > Jennifer Fountain wrote: > >> Does anyone here monitor bandwidth on a cisco router? If so, how did >> you do it and how do you display your results? I am looking to >> monitor when our wan networks max out their bandwidth or approach >> maxing their bandwidth. Thanks for any info. >> >> >> >> Kind Regards, >> >> Jennifer Fountain >> R&B Inc >> 3400 E Walnut Street >> Colmar, PA 18915 >> > I still use MRTG. Check > http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ for more info. MRTG > takes snmp queries, logs them, and then builds graphs that you can > access with a web browser. Great for monitoring trends in network > utilization, and tons of other stuff too. I keep meaning to > check out > rrdtool, but for the time being I have no need to use anything else. > You might want to have a read about it at > http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/. > > Slade I also use MRTG, although my implementation uses RRDTool as the backend. I then wrote a shell script plugin for Nagios to check the RRD files and notify on bandwidth spikes. I haven't contributed this yet, as I have not had time to clean it up and make it more efficient. If interested, let me know and I'll post it. 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: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manfred.steinbacher at scheucher.at Wed May 19 17:17:18 2004 From: manfred.steinbacher at scheucher.at (Steinbacher Manfred) Date: Wed, 19 May 2004 17:17:18 +0200 Subject: Network-Tools Message-ID: <3705031E1454D7119E740002B32AED3632BCF7@ntsv01.scheucher.at> Hello I have installed Nagios and it works great. But I need some other information about the network. We have a LAN with Cisco-Switches and some Cisco-Routers (WAN-and Partnerconnections). We have two connections to the Internet about to routers. I need a tool where I can so how many traffice (who , what traffice and so one) goes about these both connections. And I must save this information for history and I also need a report system where I can generate customized reports about these stored information. Another issue is what MAC-Addresses are active in the LAN. (We have some VLANs) I know arpwatch but how can I solve the problems with VLAN?s. Have anyone an idea who can I do this? Many Thanks Manfred -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthewwilson at dsl.pipex.com Wed May 19 17:23:14 2004 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: Wed, 19 May 2004 16:23:14 +0100 Subject: Calculating Bandwidth with snmp on cisco router References: <41FD7929498A174DAB86C45F28E0EC0D6E90A3@golden-m.mactec.com> Message-ID: <005f01c43db5$3507e020$0800a8c0@optiplex> I would be very interested to see this please... ----- Original Message ----- From: "Cook, Garry" To: "Slade Edmonds" ; "Jennifer Fountain" Cc: Sent: Wednesday, May 19, 2004 4:12 PM Subject: RE: [Nagios-users] Calculating Bandwidth with snmp on cisco router I then wrote a shell script plugin for Nagios to check the RRD files and notify on bandwidth spikes. I haven't contributed this yet, as I have not had time to clean it up and make it more efficient. If interested, let me know and I'll post it. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ben at clewett.org.uk Wed May 19 17:26:20 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Wed, 19 May 2004 16:26:20 +0100 Subject: Nagios MRTG Mysql database In-Reply-To: <20040519141623.62507.qmail@web12907.mail.yahoo.com> References: <20040519141623.62507.qmail@web12907.mail.yahoo.com> Message-ID: <40AB7C9C.10301@clewett.org.uk> You may want to try my own program: http://perfparse.sourceforge.net/ This makes use of the recently available performance data produced by most new plugins. Stores data in MySQL, current and historical. Then draws graph of it. Disk space, CPU temperature, http access times, CPU load etc... I store about 1,000,000 record a week, which MySQL returns at about the rate of 1 seconds per days data. But it's very new. More of a kit at the moment. Please let me know if you have any luck with it! Ben. Marcos & Marcelo wrote: > Hi Folks, > > I would like to know if I can use MRTG to get the information from MySql > database in order to make graphs. I'm asking this because Nagios doesn't > use MySql database in order to make graphs. > > Thanks, > Marcelo > > > ------------------------------------------------------------------------ > *Yahoo! Messenger* > > - Fale com seus amigos online. Instale agora! > ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 19 17:43:04 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 19 May 2004 09:43:04 -0600 Subject: Calculating Bandwidth with snmp on cisco router Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E90A5@golden-m.mactec.com> Matthew Wilson wrote: > I would be very interested to see this please... > > > ----- Original Message ----- > From: "Cook, Garry" > To: "Slade Edmonds" ; "Jennifer Fountain" > Cc: > Sent: Wednesday, May 19, 2004 4:12 PM > Subject: RE: [Nagios-users] Calculating Bandwidth with snmp > on cisco router > I then wrote a shell script plugin for Nagios to check the RRD files > and notify on bandwidth spikes. I haven't contributed this yet, as I > have not had time to clean it up and make it more efficient. If > interested, let me know and I'll post it. OK, I've attached it. Please keep in mind a few things: 1) There is already a check_rrd plugin in the plugins distro. I don't remember if this is a standard plugin or part of the contrib directory, but I believe it is the former. This one did not do exactly what I wanted, which is why I wrote my own which ONLY checks bandwidth rrds. However, the original may work just fine for you. 2) I haven't touched this code in a few months, so I'm a little foggy about what issues still need to be worked out. However, I have been using it in a production environment and it has been working well. When I finished coding and put it into production, I still didn't feel that it was ready to be contributed to the distro. 3) I'm sure that there are others out there who can script much better than myself. I welcome any suggestions. If someone wants to clean it up and contribute it, please feel free, otherwise I will most likely get back to it sometime before year-end. 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_rrd_bw.sh Type: application/octet-stream Size: 3703 bytes Desc: check_rrd_bw.sh URL: From slade at cryptoflow.net Wed May 19 18:32:23 2004 From: slade at cryptoflow.net (Slade Edmonds) Date: Wed, 19 May 2004 09:32:23 -0700 Subject: OT Network-Tools In-Reply-To: <3705031E1454D7119E740002B32AED3632BCF7@ntsv01.scheucher.at> References: <3705031E1454D7119E740002B32AED3632BCF7@ntsv01.scheucher.at> Message-ID: <40AB8C17.4030207@cryptoflow.net> Steinbacher Manfred wrote: > Hello > > > > I have installed Nagios and it works great. But I need some other > information about the network. > Excellent. > > > We have a LAN with Cisco-Switches and some Cisco-Routers (WAN-and > Partnerconnections). > > We have two connections to the Internet about to routers. I need a > tool where I can so how many traffice (who , what traffice and so one) > goes about these both connections. And I must save this information > for history and I also need a report system where I can generate > customized reports about these stored information. > I am not sure if you are asking if Nagios is capable of this, but the answer is that it isn't. I do this with http://www.ntop.org/ntop.html. There are other several commercial software available. > > > > > Another issue is what MAC-Addresses are active in the LAN. (We have > some VLANs) I know arpwatch but how can I solve the problems with VLAN?s. > See http://cede.psu.edu/~tkeiser/howtos/arpwatch/ > > > > > > > Have anyone an idea who can I do this? > > > > > > Many Thanks > > Manfred > > > ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 19 18:49:56 2004 From: misaochankun at speakeasy.net (Misao) Date: Wed, 19 May 2004 11:49:56 -0500 Subject: Nagmin, converting nagios systems/services from file to database In-Reply-To: <801403078973F243A6A74322E134AF500F1814@mail.herefordshire.gov.uk> References: <801403078973F243A6A74322E134AF500F1814@mail.herefordshire.gov.uk> Message-ID: In trying to get Nagmin working, I noticed that there wasn't a function to convert all my file based services and hosts to database format, which I assume Nagmin wants before it starts. I am trying to get Nagmin to the point where I can see how the RRD tool integration works. Is there a way to convert from file to database? -------------- next part -------------- An HTML attachment was scrubbed... URL: From gaubrig at yahoo.com Wed May 19 19:11:20 2004 From: gaubrig at yahoo.com (Gaurang Pandya) Date: Wed, 19 May 2004 10:11:20 -0700 (PDT) Subject: Bang :( In-Reply-To: References: Message-ID: <20040519171120.48437.qmail@web50401.mail.yahoo.com> Thanks for the reply. But I had alread tried it before posting it to this list (I could have mentioned it). But I think I will go with Jon Lyons's idea. Thanks Again for your time. Gaurang. --- Peter Gutmann wrote: > If that doesn't work, try escaping the bang(!). For > example you might > try... > > command_line $USER1$/check_ifstatus -H > $HOSTADDRESS$ -C e3\!m4Vac > > ---- > Peter Gutmann > Peter.Gutmann at db.com > > > > > > Jon Lyons > Sent by: nagios-users-admin at lists.sourceforge.net > 05/18/2004 07:46 PM > > > To: Gaurang Pandya , > nagios-users at lists.sourceforge.net > cc: > Subject: Re: [Nagios-users] Bang :( > > > Just create a new checkcommand.cfg ... > > > # 'debug_check_ifstatus' command definition > define command{ > command_name check_ifstatus_custom > command_line $USER1$/check_ifstatus -H > $HOSTADDRESS$ -C > e3!m4Vac > } > > Gaurang Pandya wrote: > Hi, > > One of our device's community string has a bang(!) > on > it. How do I check snmp with it now. I check FAQ it > says only about checking webpages. I used same thing > even here ofcourse without luck. > > So is there any way of getting it work. > > Gaurang. > > > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! - Internet access at a great low price. > http://promo.yahoo.com/sbc/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net > Broadband > Sign-up now for SourceForge Broadband and get the > fastest > 6.0/768 connection for only $19.95/mo for the first > 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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!? > SBC Yahoo! - Internet access at a great low price. > > __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gaubrig at yahoo.com Wed May 19 19:10:05 2004 From: gaubrig at yahoo.com (Gaurang Pandya) Date: Wed, 19 May 2004 10:10:05 -0700 (PDT) Subject: Bang :( In-Reply-To: <20040518234604.41972.qmail@web60805.mail.yahoo.com> References: <20040518234604.41972.qmail@web60805.mail.yahoo.com> Message-ID: <20040519171005.22221.qmail@web50406.mail.yahoo.com> wow thats cool idea!!! just wondering why didn't I think like this? Thanks a lot. Gaurang. --- Jon Lyons wrote: > Just create a new checkcommand.cfg ... > > > # 'debug_check_ifstatus' command definition > define command{ > command_name check_ifstatus_custom > command_line $USER1$/check_ifstatus -H > $HOSTADDRESS$ -C e3!m4Vac > } > > Gaurang Pandya wrote: > Hi, > > One of our device's community string has a bang(!) > on > it. How do I check snmp with it now. I check FAQ it > says only about checking webpages. I used same thing > even here ofcourse without luck. > > So is there any way of getting it work. > > Gaurang. > > > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! - Internet access at a great low price. > http://promo.yahoo.com/sbc/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net > Broadband > Sign-up now for SourceForge Broadband and get the > fastest > 6.0/768 connection for only $19.95/mo for the first > 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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!? > SBC Yahoo! - Internet access at a great low price. __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 19 19:46:31 2004 From: luke at madstop.com (Luke A. Kanies) Date: Wed, 19 May 2004 12:46:31 -0500 (CDT) Subject: Nagmin, converting nagios systems/services from file to database In-Reply-To: References: Message-ID: On Wed, 19 May 2004, Misao wrote: > In trying to get Nagmin working, I noticed that there wasn't a function to > convert all my file based services and hosts to database format, which I > assume Nagmin wants before it starts. > > I am trying to get Nagmin to the point where I can see how the RRD tool > integration works. > > Is there a way to convert from file to database? I don't have the database part, but I've got a parser written in Ruby which can parse Nagios config files. I haven't published it yet, because I haven't found a clear use for it -- if I move to storing configs in LDAP I'd use this to do the initial conversion. I'm willing to make it available if you're interested, but you'd have to write the routine to do the database portion. It should be pretty easy, though. If you really need this and do not think you can do the coding, and you ask very nicely, I could maybe do the coding. I'm not using MySQL for any nagios stuff right now, so I don't really have a use for it, but at the very least it would probably actually be pretty darn trivial to convert from the ruby objects to SQL statements. Luke -- You only have to be open minded if you're wrong. --------------------------------------------------------------------- Luke Kanies | http://abstractive.org | http://reductiveconsulting.com ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tor-arne.rysstad at skatteetaten.no Wed May 19 21:20:34 2004 From: tor-arne.rysstad at skatteetaten.no (Rysstad - Tor Arne) Date: Wed, 19 May 2004 21:20:34 +0200 Subject: Trouble installing WEBMIN Message-ID: <35B982F250F8D411849600D0B7E033B602FEB34D@z00v004.skatteetaten.no> Hei guys! I give up... :-) I am trying to install Nagios 1.2 and Nagmin 2.2.0 on Redhat 8.0. I have edited nagios.cfg and cgi.cfg, and have added some hosts, groups etc. to webmin. When I try to verify the config, I get the errormessage below.. My HostGroup.cfg follow under the errormessage.. Thank you all VERY MUCH for any help/hints that can get me over this one.. :-) Regards from Oslo, Norway, Tor Arne Errormessage: Verify Nagios Configuration Synchronizing logo directories... Creating dynamic Port Scan services... Creating dynamic SNMP Interface services... Creating PING services for interfaces... Creating dynamic Service Group services... Creating Parent Dependencies... /usr/local/nagios/bin/nagios -v -c /usr/local/nagmin/nagios/verify.cfg Verification Failed!! Nagios 1.2 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 02-02-2004 License: GPL Reading configuration data... Error: Could not add object property in file '/usr/local/nagmin/nagios/HostGroup.cfg' on line 9. ***> The name of the main configuration file looks suspicious... Make sure you are specifying the name of the MAIN configuration file on the command line and not the name of the host configuration file. The main configuration file is typically '/usr/local/nagios/etc/nagios.cfg' ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. HostGroup.cfg: ## NagMIN Configuration File (/usr/local/nagmin/nagios/HostGroup.cfg) for HostGroup ## Generated Wed May 19 21:12:26 2004 define hostgroup { hostgroup_name skarp_servere_win alias skarp_servere_win contact_groups admins members xp1nt03 # comment win-serv } rtt_day all rtt_week all rtt_month all rtt_year all sla_day all sla_week all sla_month all sla_year all } ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 19 21:43:52 2004 From: MG at ev3.net (Wheeler, MG) Date: Wed, 19 May 2004 14:43:52 -0500 Subject: Calculating Bandwidth with snmp on cisco router Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D01030BDF@mail.ev3.net> Check_Traffic available on the Nagios Web site. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jennifer Fountain Sent: Tuesday, May 18, 2004 8:08 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Calculating Bandwidth with snmp on cisco router Sensitivity: Private Does anyone here monitor bandwidth on a cisco router? If so, how did you do it and how do you display your results? I am looking to monitor when our wan networks max out their bandwidth or approach maxing their bandwidth. Thanks for any info. Kind Regards, Jennifer Fountain R&B Inc 3400 E Walnut Street Colmar, PA 18915 ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op?ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From slade at cryptoflow.net Wed May 19 22:22:58 2004 From: slade at cryptoflow.net (Slade Edmonds) Date: Wed, 19 May 2004 13:22:58 -0700 Subject: Trouble installing WEBMIN In-Reply-To: <35B982F250F8D411849600D0B7E033B602FEB34D@z00v004.skatteetaten.no> References: <35B982F250F8D411849600D0B7E033B602FEB34D@z00v004.skatteetaten.no> Message-ID: <40ABC222.9040104@cryptoflow.net> Rysstad - Tor Arne wrote: >Hei guys! > >I give up... :-) > >I am trying to install Nagios 1.2 and Nagmin 2.2.0 on Redhat 8.0. > >I have edited nagios.cfg and cgi.cfg, and have added some hosts, groups etc. >to webmin. > >When I try to verify the config, I get the errormessage below.. My >HostGroup.cfg follow under the errormessage.. > >Thank you all VERY MUCH for any help/hints that can get me over this one.. >:-) > >Regards from Oslo, Norway, >Tor Arne > >Errormessage: > >Verify Nagios Configuration >Synchronizing logo directories... >Creating dynamic Port Scan services... >Creating dynamic SNMP Interface services... >Creating PING services for interfaces... >Creating dynamic Service Group services... >Creating Parent Dependencies... >/usr/local/nagios/bin/nagios -v -c /usr/local/nagmin/nagios/verify.cfg >Verification Failed!! >Nagios 1.2 >Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) >Last Modified: 02-02-2004 >License: GPL > >Reading configuration data... > >Error: Could not add object property in file >'/usr/local/nagmin/nagios/HostGroup.cfg' on line 9. > > >***> The name of the main configuration file looks suspicious... > > Make sure you are specifying the name of the MAIN configuration file on > the command line and not the name of the host configuration file. The > main configuration file is typically '/usr/local/nagios/etc/nagios.cfg' > >***> One or more problems was encountered while processing the config >files... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation on the main and host config files, as well as >the > 'Whats New' section to find out what has changed. > > > >HostGroup.cfg: > >## NagMIN Configuration File (/usr/local/nagmin/nagios/HostGroup.cfg) for >HostGroup >## Generated Wed May 19 21:12:26 2004 >define hostgroup { > hostgroup_name skarp_servere_win > alias skarp_servere_win > contact_groups admins > members xp1nt03 ># comment win-serv } > rtt_day all > rtt_week all > rtt_month all > rtt_year all > sla_day all > sla_week all > sla_month all > sla_year all >} > > > If line 9 in this snip of your config is the same line 9 as the your actual config, then it has a problem with # comment win-serv ). Errors may follow after that too. I've never seen any hostgroup config file like that. Try something like this: # 'some-hosts' host group definition define hostgroup{ hostgroup_name some-hosts alias Some Hosts Described contact_groups admins members username } Slade ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.murphy at gmx.net Wed May 19 22:43:41 2004 From: brian.murphy at gmx.net (Brian Murphy) Date: Wed, 19 May 2004 22:43:41 +0200 (MEST) Subject: SMS Notifications Message-ID: <31130.1084999421@www57.gmx.net> I have a nokia 6210 on a serial port and am using gnokii to send sms messages. I am running Suse and I have put the nagios user in the dialout and uucp groups and have no problems. Brian -- "Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen! Jetzt aktivieren unter http://www.gmx.net/info ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From support at eus-llc.net Wed May 19 17:48:04 2004 From: support at eus-llc.net (support at eus-llc.net) Date: Wed, 19 May 2004 11:48:04 -0400 Subject: quick question about check_nt plugin Message-ID: <1084981684.40ab81b4145a2@webmail.eus-llc.net> Installed nagios recently. I saw check_nt plugin in in the plugins folder with the rest of the plugins. I've been reading through the docs and I'm a little confused. In addition to check_nt do I need to install nsclient on the local windows hosts?? or can check_nt use snmp??? ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 20 00:04:24 2004 From: misaochankun at speakeasy.net (Misao) Date: Wed, 19 May 2004 17:04:24 -0500 Subject: quick question about check_nt plugin In-Reply-To: <1084981684.40ab81b4145a2@webmail.eus-llc.net> References: <1084981684.40ab81b4145a2@webmail.eus-llc.net> Message-ID: I believe this is all done through the nsclient. It is a very easy to install service. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of support at eus-llc.net Sent: Wednesday, May 19, 2004 10:48 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] quick question about check_nt plugin Installed nagios recently. I saw check_nt plugin in in the plugins folder with the rest of the plugins. I've been reading through the docs and I'm a little confused. In addition to check_nt do I need to install nsclient on the local windows hosts?? or can check_nt use snmp??? ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 20 00:20:39 2004 From: MG at ev3.net (Wheeler, MG) Date: Wed, 19 May 2004 17:20:39 -0500 Subject: quick question about check_nt plugin Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D01030BE9@mail.ev3.net> Yes, you will need to install the client on the NT side. Its small and easy to do. We use it on over 15 of our windows boxes that we monitor. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of support at eus-llc.net Sent: Wednesday, May 19, 2004 10:48 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] quick question about check_nt plugin Installed nagios recently. I saw check_nt plugin in in the plugins folder with the rest of the plugins. I've been reading through the docs and I'm a little confused. In addition to check_nt do I need to install nsclient on the local windows hosts?? or can check_nt use snmp??? ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu May 20 00:28:07 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 20 May 2004 00:28:07 +0200 Subject: Network-Tools In-Reply-To: <3705031E1454D7119E740002B32AED3632BCF7@ntsv01.scheucher.at> References: <3705031E1454D7119E740002B32AED3632BCF7@ntsv01.scheucher.at> Message-ID: <40ABDF77.9010301@op5.se> Steinbacher Manfred wrote: > We have a LAN with Cisco-Switches and some Cisco-Routers (WAN-and > Partnerconnections). > > We have two connections to the Internet about to routers. I need a tool > where I can so how many traffice (who , what traffice and so one) goes about > these both connections. And I must save this information for history and I > also need a report system where I can generate customized reports about > these stored information. > You want snort and acid for that. Nagios is more of a problem locator than a statistics harvester. > > Another issue is what MAC-Addresses are active in the LAN. (We have some > VLANs) I know arpwatch but how can I solve the problems with VLAN?s. > > > Have anyone an idea who can I do this? > That depends on the type of hardware you're using. Most modern switches can have one or more interfaces set to 'hub mode' (so that all traffic coming in to the switch is sent to that interface regardless of whether it's is target or not). Place your snort/acid server on one of those interfaces and make sure the traffic you want to monitor passes through that switch. > Many Thanks > > Manfred -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu May 20 00:34:49 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 20 May 2004 00:34:49 +0200 Subject: quick question about check_nt plugin In-Reply-To: <1084981684.40ab81b4145a2@webmail.eus-llc.net> References: <1084981684.40ab81b4145a2@webmail.eus-llc.net> Message-ID: <40ABE109.5050309@op5.se> support at eus-llc.net wrote: > > Installed nagios recently. I saw check_nt plugin in in the plugins folder with > the rest of the plugins. I've been reading through the docs and I'm a little > confused. In addition to check_nt do I need to install nsclient on the local > windows hosts?? or can check_nt use snmp??? > 'check_nt --help' could have told you that "The NSClient service should be running on the server to get any information (http://nsclient.ready2run.nl)" I'm working on a sort of generic solution to monitor more things via SNMP in a more clever manner than check_snmp does (which is so versatile that it doesn't always give very meaningful output), but it's not even halfway done yet, so I don't intend to make it public in at least another month or so. -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu May 20 00:54:43 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 20 May 2004 00:54:43 +0200 Subject: Trouble installing WEBMIN In-Reply-To: <40ABC222.9040104@cryptoflow.net> References: <35B982F250F8D411849600D0B7E033B602FEB34D@z00v004.skatteetaten.no> <40ABC222.9040104@cryptoflow.net> Message-ID: <40ABE5B3.6000806@op5.se> Slade Edmonds wrote: > Rysstad - Tor Arne wrote: > >> Hei guys! >> >> I give up... :-) >> >> I am trying to install Nagios 1.2 and Nagmin 2.2.0 on Redhat 8.0. >> >> I have edited nagios.cfg and cgi.cfg, and have added some hosts, >> groups etc. >> to webmin. >> When I try to verify the config, I get the errormessage below.. My >> HostGroup.cfg follow under the errormessage.. >> >> Thank you all VERY MUCH for any help/hints that can get me over this >> one.. >> :-) >> >> Regards from Oslo, Norway, >> Tor Arne >> >> Errormessage: >> >> Verify Nagios Configuration >> Synchronizing logo directories... Creating dynamic Port Scan services... >> Creating dynamic SNMP Interface services... >> Creating PING services for interfaces... >> Creating dynamic Service Group services... >> Creating Parent Dependencies... >> /usr/local/nagios/bin/nagios -v -c /usr/local/nagmin/nagios/verify.cfg >> Verification Failed!! >> Nagios 1.2 >> Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) >> Last Modified: 02-02-2004 >> License: GPL >> >> Reading configuration data... >> >> Error: Could not add object property in file >> '/usr/local/nagmin/nagios/HostGroup.cfg' on line 9. >> >> >> ***> The name of the main configuration file looks suspicious... >> >> Make sure you are specifying the name of the MAIN configuration >> file on >> the command line and not the name of the host configuration file. >> The >> main configuration file is typically >> '/usr/local/nagios/etc/nagios.cfg' >> >> ***> One or more problems was encountered while processing the config >> files... >> >> Check your configuration file(s) to ensure that they contain valid >> directives and data defintions. If you are upgrading from a previous >> version of Nagios, you should be aware that some >> variables/definitions >> may have been removed or modified in this version. Make sure to read >> the HTML documentation on the main and host config files, as well as >> the >> 'Whats New' section to find out what has changed. >> >> >> >> HostGroup.cfg: >> >> ## NagMIN Configuration File (/usr/local/nagmin/nagios/HostGroup.cfg) for >> HostGroup >> ## Generated Wed May 19 21:12:26 2004 >> define hostgroup { >> hostgroup_name skarp_servere_win >> alias skarp_servere_win >> contact_groups admins >> members xp1nt03 >> # comment win-serv } >> rtt_day all >> rtt_week all >> rtt_month all >> rtt_year all >> sla_day all >> sla_week all >> sla_month all >> sla_year all >> } >> >> >> > If line 9 in this snip of your config is the same line 9 as the your > actual config, then it has a problem with # comment win-serv ). Errors > may follow after that too. I've never seen any hostgroup config file > like that. Neither have I, but it seems that's some sort of internal format that nagmin saves it in, considering the comments at the top of the file. > Try something like this: > > # 'some-hosts' host group definition > define hostgroup{ > hostgroup_name some-hosts > alias Some Hosts Described > contact_groups admins > members username > } > ... except that 'members' ofcourse should be followed by a bunch of host_name's instead. Check out the template-based configuration syntax in the documentation att www.nagios.org, fire up your favorite editor and start hacking away at it. > Slade > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtxmatrix at hotmail.com Thu May 20 01:14:59 2004 From: mtxmatrix at hotmail.com (Francesco De Santolo) Date: Wed, 19 May 2004 23:14:59 +0000 Subject: Server load problem Message-ID: I get some unknown errors on http://monitor.navigatoris.us/nagios/ Can someone tell me if I have configured nagios with a bad configuration? Thanks, Francisco _________________________________________________________________ Charla con tus amigos en l?nea mediante MSN Messenger: http://messenger.latam.msn.com/ ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From slade at cryptoflow.net Thu May 20 01:32:44 2004 From: slade at cryptoflow.net (Slade Edmonds) Date: Wed, 19 May 2004 16:32:44 -0700 Subject: Network-Tools In-Reply-To: <40ABDF77.9010301@op5.se> References: <3705031E1454D7119E740002B32AED3632BCF7@ntsv01.scheucher.at> <40ABDF77.9010301@op5.se> Message-ID: <40ABEE9C.1070808@cryptoflow.net> Andreas Ericsson wrote: > Steinbacher Manfred wrote: > >> We have a LAN with Cisco-Switches and some Cisco-Routers (WAN-and >> Partnerconnections). >> >> We have two connections to the Internet about to routers. I need a tool >> where I can so how many traffice (who , what traffice and so one) >> goes about >> these both connections. And I must save this information for history >> and I >> also need a report system where I can generate customized reports about >> these stored information. >> > You want snort and acid for that. Nagios is more of a problem locator > than a statistics harvester. Snort is for intrusion detection. ACID is a web-based front-end for managing the alerts Snort generates. You could call it a statistics harvester I suppose, but 'malicious' statistics harvesting would better describe its function. If you are looking to detect intrusions, Snort is perfect. If you want to harvest network statistics in the form of non-instrusive data flows, you are much better off with ntop. > >> >> Another issue is what MAC-Addresses are active in the LAN. (We have some >> VLANs) I know arpwatch but how can I solve the problems with VLAN?s. >> >> >> Have anyone an idea who can I do this? >> > > That depends on the type of hardware you're using. Most modern > switches can have one or more interfaces set to 'hub mode' (so that > all traffic coming in to the switch is sent to that interface > regardless of whether it's is target or not). Place your snort/acid > server on one of those interfaces and make sure the traffic you want > to monitor passes through that switch. If you are looking only to monitor active mac addresses (VLANs included), and you aren't concerned at all about the the actual traffic patterns (sniffing) etc, again Snort is probably not the best choice. If you simply want to know what mac addresses are active, arpwatch will do it. > >> Many Thanks >> >> Manfred > > ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From slade at cryptoflow.net Thu May 20 01:35:22 2004 From: slade at cryptoflow.net (Slade Edmonds) Date: Wed, 19 May 2004 16:35:22 -0700 Subject: Trouble installing WEBMIN In-Reply-To: <40ABE5B3.6000806@op5.se> References: <35B982F250F8D411849600D0B7E033B602FEB34D@z00v004.skatteetaten.no> <40ABC222.9040104@cryptoflow.net> <40ABE5B3.6000806@op5.se> Message-ID: <40ABEF3A.6020309@cryptoflow.net> Andreas Ericsson wrote: > Slade Edmonds wrote: > >> Rysstad - Tor Arne wrote: >> >>> Hei guys! >>> >>> I give up... :-) >>> >>> I am trying to install Nagios 1.2 and Nagmin 2.2.0 on Redhat 8.0. >>> >>> I have edited nagios.cfg and cgi.cfg, and have added some hosts, >>> groups etc. >>> to webmin. >>> When I try to verify the config, I get the errormessage below.. My >>> HostGroup.cfg follow under the errormessage.. >>> >>> Thank you all VERY MUCH for any help/hints that can get me over this >>> one.. >>> :-) >>> >>> Regards from Oslo, Norway, >>> Tor Arne >>> >>> Errormessage: >>> >>> Verify Nagios Configuration >>> Synchronizing logo directories... Creating dynamic Port Scan >>> services... >>> Creating dynamic SNMP Interface services... >>> Creating PING services for interfaces... >>> Creating dynamic Service Group services... >>> Creating Parent Dependencies... >>> /usr/local/nagios/bin/nagios -v -c >>> /usr/local/nagmin/nagios/verify.cfg Verification Failed!! >>> Nagios 1.2 >>> Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) >>> Last Modified: 02-02-2004 >>> License: GPL >>> >>> Reading configuration data... >>> >>> Error: Could not add object property in file >>> '/usr/local/nagmin/nagios/HostGroup.cfg' on line 9. >>> >>> >>> ***> The name of the main configuration file looks suspicious... >>> >>> Make sure you are specifying the name of the MAIN configuration >>> file on >>> the command line and not the name of the host configuration >>> file. The >>> main configuration file is typically >>> '/usr/local/nagios/etc/nagios.cfg' >>> >>> ***> One or more problems was encountered while processing the config >>> files... >>> >>> Check your configuration file(s) to ensure that they contain valid >>> directives and data defintions. If you are upgrading from a >>> previous >>> version of Nagios, you should be aware that some >>> variables/definitions >>> may have been removed or modified in this version. Make sure to >>> read >>> the HTML documentation on the main and host config files, as >>> well as >>> the >>> 'Whats New' section to find out what has changed. >>> >>> >>> >>> HostGroup.cfg: >>> >>> ## NagMIN Configuration File >>> (/usr/local/nagmin/nagios/HostGroup.cfg) for >>> HostGroup >>> ## Generated Wed May 19 21:12:26 2004 >>> define hostgroup { >>> hostgroup_name skarp_servere_win >>> alias skarp_servere_win >>> contact_groups admins >>> members xp1nt03 >>> # comment win-serv } >>> rtt_day all >>> rtt_week all >>> rtt_month all >>> rtt_year all >>> sla_day all >>> sla_week all >>> sla_month all >>> sla_year all >>> } >>> >>> >>> >> If line 9 in this snip of your config is the same line 9 as the your >> actual config, then it has a problem with # comment win-serv ). >> Errors may follow after that too. I've never seen any hostgroup >> config file like that. > > > Neither have I, but it seems that's some sort of internal format that > nagmin saves it in, considering the comments at the top of the file. > >> Try something like this: >> >> # 'some-hosts' host group definition >> define hostgroup{ >> hostgroup_name some-hosts >> alias Some Hosts Described >> contact_groups admins >> members username >> } >> > ... except that 'members' ofcourse should be followed by a bunch of > host_name's instead. > Check out the template-based configuration syntax in the documentation > att www.nagios.org, fire up your favorite editor and start hacking > away at it. Oops, yes. Sorry about that. You will want your hostnames there :) Slade ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pauls at sellingsource.com Thu May 20 05:31:13 2004 From: pauls at sellingsource.com (Paul Strange) Date: Wed, 19 May 2004 20:31:13 -0700 Subject: MySQL and Nagios (Newbie Here) Message-ID: <200405192031.13356.pauls@sellingsource.com> List: I have having a problem with MySQL and Nagios. I have successfully installed Nagios with MySQL support: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: yes, with caching Install ${prefix}: /usr/nagios Lock file: /var/nagios/nagios.lock Init directory: /etc/init.d Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): External Data Routines: ------------------------ Status data: Database (MySQL) Object data: Template-based (text file) Comment data: Database (MySQL) Downtime data: Database (MySQL) Retention data: Database (MySQL) Peformance data: Default (external commands) Extended info data: Database (MySQL) I have mysql fully functional: # mysql -h localhost -u nagios -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 43308 to server version: 4.0.18 Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> I have modified both the cgi.cfg and the resources.cfg file to contain the mysql data: (sample below is representative of all) xcddb_host=localhost xcddb_port=3306 xcddb_database=nagios xcddb_username=nagios xcddb_password=XXXXX However, when I try to start nagios, I get the following set of errors: Nagios 1.1 starting... (PID=11005) Warning: Contact group 'dbadmins' is not used in any hostgroup/service definitions or host/hostgroup/service escalations! Finished daemonizing... (New PID=11006) Error: Could not connect to MySQL database '' on host '' using username '' and password ''. Status data will not be saved! Error: Could not connect to MySQL database '' on host '' using username '' and password ''. Retention data will not be processed or saved! Error: Could not re-connect to database server on host '' for status data. I'll keep trying every 60 seconds... Error: Could not connect to MySQL database '' on host '' using username '' and password '' for comment data! Error: Could not connect to MySQL database '' on host '' using username '' and password '' for downtime data! It looks to me that the data in the config files is not being read by Nagios. I have scoured the archives for this problem and cannot find it. (Found several examples of mysql and nagios not liking to compile on rh9, that was about it) The documents are not clear on which file should be modified to handle the db connection information. I have tried changing localhost to IP address and FQDN in config file to no avail. I am desperate to get monitoring up and functional. Any help you could provide would be greatly appreciated. Thank You. -- Paul Strange ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lizst at va.com.au Thu May 20 06:17:44 2004 From: lizst at va.com.au (Jesse Reynolds) Date: Thu, 20 May 2004 14:17:44 +1000 Subject: building solaris package using mkpackage Message-ID: Hi I see that in nagios 1.2 there is a script "mkpackage" which you can run with the option "solaris" to build a solaris package of nagios. Neat! However this looks like it's basically all working, except that it complains about VERSION not being set. Below is the tail end of the output of mkpackage: pkgmk -o -r / -f Prototype -d /usr/local/sources/inst/nagios-1.2/pkg nagios ## Building pkgmap from package prototype file. ## Processing pkginfo file. WARNING: missing directory entry for WARNING: missing directory entry for WARNING: missing directory entry for pkgmk: ERROR: parameter cannot be null ## Packaging was not successful. make: *** [pkg/nagios/pkgmap] Error 1 I've worked out that if you then edit the pkginfo file to give it a version, and then again run the pkgmk command given above, it'll happily build a package for you. Regards Jesse -- ::: Jesse Reynolds +61 (0)414 669 790 ::: AIM - jessedreynolds ::: ::: Virtual Artists Pty Ltd, Adelaide ::: http://www.va.com.au ::: ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.horsley at staff.netspace.net.au Thu May 20 07:23:04 2004 From: scott.horsley at staff.netspace.net.au (Scott) Date: Thu, 20 May 2004 15:23:04 +1000 Subject: Server load problem In-Reply-To: References: Message-ID: Looks like its all working to me... Other than your load misconfig. :) On 20/05/2004, at 9:14 AM, Francesco De Santolo wrote: > I get some unknown errors on http://monitor.navigatoris.us/nagios/ > > Can someone tell me if I have configured nagios with a bad > configuration? > > Thanks, > Francisco > > _________________________________________________________________ > Charla con tus amigos en l?nea mediante MSN Messenger: > http://messenger.latam.msn.com/ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle > 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the organisation. Finally, the recipient should check this email and any attachments for the presence of viruses. The organisation accepts no liability for any damage caused by any virus transmitted by this email. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 20 09:15:56 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 20 May 2004 17:15:56 +1000 Subject: OT: How to reduce the chance of getting a question answered from Nag users .. In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Wed, May 19, 2004 at 07:04:02AM -0700 References: Message-ID: <20040520171555.B73738@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, On Wed, May 19, 2004 at 07:04:02AM -0700, nagios-users-request at lists.sourceforge.net wrote: .. snip .. > > --=_alternative 0034894880256E99_= > Content-Type: text/html; charset="US-ASCII" > > >
Hi All, >
>
I have just setup a mobile gateway on > our nagios box (6310i with serial lead ;-).  Got all the SMS stuff > working using gnokii which works a treat.  Recommend it to anyone. >  However, when I try and get nagios to use a new notify routine it > fails to send the text. >
.. snip .. >
Hope someone can help. >
>
Regards >
> $CONTACTPAGERS$
>
.. snip .. Although _you_ may not see this, those who get the list in Digest form do. Pretty ugly eh ? In fact, it is so hard to read a Digest with a significant amount of this, it gets deleted unread. You can increase the likelihood of a reply to your question from me, and perhaps from Nagios users by 1 Posting in text only. Most mailers have I believe options that suppress sending HTML or multipart. There are even mailers that do _not_ send such things (other than as attachments). While I don't know of any for MS Windows examples (apart from Mozilla mail), mutt and pine are two easy to live with Linux/FreeBSD mailers as is Evolution (even endorsed by Perl Jam, 'Do the evolution Baby'). While Multipart is better than HTML only, it is still way too much noise. Base64 is not for polite company, unless you hang out with MUAs. 2 Posting only a small part of the letter you reply to. Hopefully only the part that means something to a complete stranger such as me. 3 Providing the evidence of what you have done to solve this problem. Saying 'I read the archives or searched Nag users at Gmane' is good. If you did so, even better. 4 Keep it short, less than 20 lines in the body (add notes at the bottom, refer to other letters, URLs etc) - this is way too long OTOH, I may not be able to help you even if I could read your question. I'll submerge now. ------------------------------------------------------------------------ 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: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From diego at topgraf.it Thu May 20 09:27:10 2004 From: diego at topgraf.it (Diego Tironi) Date: Thu, 20 May 2004 09:27:10 +0200 Subject: Delayed notifications Message-ID: <00ae01c43e3b$dcf9fda0$6300a8c0@raptor> Is it possible to delay some notifications by an arbitrary amount of time? I ask this because I don't want to send an expensive SMS message for every short outages on my network. It could be better if this type of notification stay in a queue for a short (arbitrary?) amount of time and deleted if the service/host resume its normal operations. Can Nagios do that? Thanks in advance for your answers. Diego ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 proy.org Thu May 20 10:47:50 2004 From: nagios at proy.org (Patrick Proy) Date: Thu, 20 May 2004 10:47:50 +0200 Subject: Delayed notifications In-Reply-To: <00ae01c43e3b$dcf9fda0$6300a8c0@raptor> References: <00ae01c43e3b$dcf9fda0$6300a8c0@raptor> Message-ID: <20040520084750.37E7AABBBA@www.manubulon.com> You can use the escalation feature of nagios. http://nagios.sourceforge.net/docs/1_0/escalations.html Patrick -----Message d'origine----- De : nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Diego Tironi Envoy? : jeudi 20 mai 2004 09:27 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] Delayed notifications Is it possible to delay some notifications by an arbitrary amount of time? I ask this because I don't want to send an expensive SMS message for every short outages on my network. It could be better if this type of notification stay in a queue for a short (arbitrary?) amount of time and deleted if the service/host resume its normal operations. Can Nagios do that? Thanks in advance for your answers. Diego ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu May 20 11:09:16 2004 From: m.borsani at it.net (Marco Borsani) Date: Thu, 20 May 2004 11:09:16 +0200 Subject: Scheduing Downtime Message-ID: Hi folks! I shouldn't check (and notify) events about 2 host all the night from monday to friday from 00:00 to 01:00. I'd like to use the "downtime" but I have not understood how can I configured it, without using the extinfo CGI (because the external command are forbidden at all). I can't configure a special timeperiod due to our security policies. Any ideas? Thanks. Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: From mramos at co.sapo.pt Thu May 20 12:56:28 2004 From: mramos at co.sapo.pt (Marco Ramos) Date: Thu, 20 May 2004 11:56:28 +0100 Subject: Delayed notifications In-Reply-To: <00ae01c43e3b$dcf9fda0$6300a8c0@raptor> References: <00ae01c43e3b$dcf9fda0$6300a8c0@raptor> Message-ID: <1085050587.2780.13.camel@supernova> Hi, Yes, you can do this with max_check_attempts and retry_check_interval for the services you want. HTH, mramos On Thu, 2004-05-20 at 08:27, Diego Tironi wrote: > Is it possible to delay some notifications by an arbitrary amount of > time? > I ask this because I don't want to send an expensive SMS message > for every short outages on my network. It could be better if this type > of notification stay in a queue for a short (arbitrary?) amount of time > and deleted if the service/host resume its normal operations. > Can Nagios do that? > Thanks in advance for your answers. > Diego > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From milindyn at rolta.com Thu May 20 13:15:13 2004 From: milindyn at rolta.com (Milind Nanal) Date: Thu, 20 May 2004 16:45:13 +0530 Subject: Minimum arguments not supplied! problem Message-ID: List, I have configured Netsaint & getting following error while checking system process through check_named_proc.pl :- Minimum arguments not supplied! Need your help on this Regards, Milind -------------- next part -------------- An HTML attachment was scrubbed... URL: From swati220781 at hotmail.com Thu May 20 14:01:55 2004 From: swati220781 at hotmail.com (Swati Srivastava) Date: Thu, 20 May 2004 17:31:55 +0530 Subject: plugin installation on remote host Message-ID: Hi!! I tried to install Nagios plugins on the remote host. But since i didnt do nagios installation there, I got error while doing make install saying that user nagios does not exist. 1)is it not possible to install the plugins without installing nagios first, or 2)is it not possible to install plugins by any other name? If Nagios user is necessary to exist, can i simply create a user named nagios and proceed? The remote machine is a live gateway, and i'm a newbie, so i have to be extra catious. Kindly help, Thanks in advance, Swati _________________________________________________________________ Apply to 50,000 jobs now. http://go.msnserver.com/IN/48710.asp Post your CV on naukri.com today. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 20 14:22:32 2004 From: marc at ena.com (Marc Powell) Date: Thu, 20 May 2004 07:22:32 -0500 Subject: plugin installation on remote host Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6358@mismail2.ena.com> Swati Srivastava wrote: > Hi!! > I tried to install Nagios plugins on the remote host. But since i > didnt do nagios installation there, I got error while doing make > install saying that user nagios does not exist. > > 1)is it not possible to install the plugins without installing nagios > first, Yes certainly, either create a nagios user by hand using useradd/adduser or specify an alternate user while running configure. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 20 16:47:14 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 20 May 2004 09:47:14 -0500 Subject: Minimum arguments not supplied! problem In-Reply-To: References: Message-ID: <1085064434.4573.9.camel@localhost> On Thu, 2004-05-20 at 16:45 +0530, Milind Nanal wrote: > I have configured Netsaint & getting following error while checking > system process through check_named_proc.pl :- > Minimum arguments not supplied! Why are you running ancient software? Netsaint is long gone. (which is why, notably, this is the *Nagios* mailing list). -- jeff vier TT ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nick.peters at candoltd.com Thu May 20 17:49:42 2004 From: nick.peters at candoltd.com (Nick Peters) Date: Thu, 20 May 2004 10:49:42 -0500 Subject: Install Help - Invaild User??? Message-ID: <000501c43e82$116c0920$0900a8c0@nick> Hey, I have been trying to install nagois on slackware 9.1 for the last few days. I have been able to get it to configure fine and I can do the make all with no errors. But when I try to do the make install, it errors out with this error: nagois at Server:~/nagios-1.2$ make install cd ./base && make install make[1]: Entering directory `/home/nagois/nagios-1.2/base' /usr/bin/ginstall -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin /usr/bin/ginstall: invalid user `nagios' make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/nagois/nagios-1.2/base' make: *** [install] Error 2 Anyways, I have the nagois user made and the nagois group made, but as you can see it doesn't work. I've tried using the -with-nagois-user= option and the -with-nagois-grp= option, with the nagois user and the nagois group and even tried it with just another user. I've read the docs and I have found nothing on this problem. I searched the net with no avail. Can somebody help me fix this problem?? Thanks for the help in advance. -Nick -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5340 bytes Desc: not available URL: From slade at cryptoflow.net Thu May 20 17:55:22 2004 From: slade at cryptoflow.net (Slade Edmonds) Date: Thu, 20 May 2004 08:55:22 -0700 Subject: plugin installation on remote host In-Reply-To: References: Message-ID: <40ACD4EA.4090909@cryptoflow.net> Swati Srivastava wrote: > Hi!! > I tried to install Nagios plugins on the remote host. But since i > didnt do nagios installation there, I got error while doing make > install saying that user nagios does not exist. > > 1)is it not possible to install the plugins without installing nagios > first, You can install the plugins without installing Nagios. > > or > > 2)is it not possible to install plugins by any other name? If Nagios > user is necessary to exist, can i simply create a user named nagios > and proceed? ./configure --help yields: --with-nagios-user= sets user name to run nagios --with-nagios-group= sets group name to run nagios > > The remote machine is a live gateway, and i'm a newbie, so i have to > be extra catious. > Kindly help, > Thanks in advance, > Swati Slade ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Thu May 20 17:58:25 2004 From: benny at bennyvision.com (C. Bensend) Date: Thu, 20 May 2004 10:58:25 -0500 (CDT) Subject: Install Help - Invaild User??? In-Reply-To: <000501c43e82$116c0920$0900a8c0@nick> References: <000501c43e82$116c0920$0900a8c0@nick> Message-ID: <1037.134.244.169.17.1085068727.squirrel@webmail.stinkweasel.net> > nagois at Server:~/nagios-1.2$ make install > cd ./base && make install > make[1]: Entering directory `/home/nagois/nagios-1.2/base' > /usr/bin/ginstall > -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin > /usr/bin/ginstall: invalid user `nagios' > make[1]: *** [install] Error 1 > make[1]: Leaving directory `/home/nagois/nagios-1.2/base' > make: *** [install] Error 2 > > Anyways, I have the nagois user made and the nagois group made, but as you > can see it doesn't work. I've tried using the -with-nagois-user= option > and > the -with-nagois-grp= option, with the nagois user and the nagois group > and > even tried it with just another user. I've read the docs and I have found > nothing on this problem. I searched the net with no avail. Can somebody > help > me fix this problem?? Thanks for the help in advance. nagois != nagios :) -- "Oh, the Jedis are going to feel this one!" -- Professor Farnsworth, "Futurama" ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flakmagnet at tabletop-battlezone.com Thu May 20 18:00:40 2004 From: flakmagnet at tabletop-battlezone.com (Flak Magnet) Date: Thu, 20 May 2004 12:00:40 -0400 Subject: Install Help - Invaild User??? In-Reply-To: <000501c43e82$116c0920$0900a8c0@nick> References: <000501c43e82$116c0920$0900a8c0@nick> Message-ID: <200405201200.40871.flakmagnet@tabletop-battlezone.com> Try running "make install" as root. The installation is likely (almost certainly) trying to create directorys and create files in paths that the nagios user can't, nor should that user be able to. The "--with-nagios-group/user" options tells configure what user needs permission to the files that are installed as well as what user the process should run as, but root still needs to do the installation of the files. --Tim On Thursday 20 May 2004 11:49 am, Nick Peters wrote: > Hey, > > I have been trying to install nagois on slackware 9.1 for the last few > days. I have been able to get it to configure fine and I can do the make > all with no errors. But when I try to do the make install, it errors out > with this error: > > nagois at Server:~/nagios-1.2$ make install > cd ./base && make install > make[1]: Entering directory `/home/nagois/nagios-1.2/base' > /usr/bin/ginstall -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin > /usr/bin/ginstall: invalid user `nagios' > make[1]: *** [install] Error 1 > make[1]: Leaving directory `/home/nagois/nagios-1.2/base' > make: *** [install] Error 2 > > Anyways, I have the nagois user made and the nagois group made, but as you > can see it doesn't work. I've tried using the -with-nagois-user= option and > the -with-nagois-grp= option, with the nagois user and the nagois group and > even tried it with just another user. I've read the docs and I have found > nothing on this problem. I searched the net with no avail. Can somebody > help me fix this problem?? Thanks for the help in advance. > > -Nick -- -- Tim "Flak Magnet" http://geocities.com/flakmagnet72/ Never explain --- your friends do not need it and your enemies will not believe you anyway. ??? Elbert Hubbard ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at cjp.us Thu May 20 18:35:38 2004 From: lists at cjp.us (Chris Purcell) Date: Thu, 20 May 2004 12:35:38 -0400 (EDT) Subject: checking services with check_nt Message-ID: <30934.12.30.234.211.1085070938.squirrel@mail.cjp.us> Nagios 1.1 Red Hat Linux 9.0 I'm having a problem with the check_nt plugin. It only works for one or two services and the rest return "ServiceName: Unknown". This example doesn't work, I wonder if its because of the spaces in the name... root at reaction etc# /usr/local/nagios/libexec/check_nt -H 192.0.1.60 -v SERVICESTATE -l 'NetSaint NT Agent' NetSaint NT Agent: Unknown This one works... root at reaction etc# /usr/local/nagios/libexec/check_nt -H 192.0.1.60 -v SERVICESTATE -l 'Alerter' Alerter: Stopped This two don't work for some reason... root at reaction etc# /usr/local/nagios/libexec/check_nt -H 192.0.1.60 -v SERVICESTATE -l 'ClipBook' ClipBook: Unknown root at reaction etc# /usr/local/nagios/libexec/check_nt -H 192.0.1.60 -v SERVICESTATE -l 'Telnet' Telnet: Unknown Am I doing something wrong here? Do I have to specify a password with '-s password'? I tried that but it doesn't work. Is it possible to specify a username to log in with as well? Thanks, Chris ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu May 20 18:44:53 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 20 May 2004 18:44:53 +0200 Subject: Network-Tools In-Reply-To: <40ABEE9C.1070808@cryptoflow.net> References: <3705031E1454D7119E740002B32AED3632BCF7@ntsv01.scheucher.at> <40ABDF77.9010301@op5.se> <40ABEE9C.1070808@cryptoflow.net> Message-ID: <40ACE085.1010800@op5.se> Slade Edmonds wrote: > Andreas Ericsson wrote: > >> Steinbacher Manfred wrote: >> >>> We have a LAN with Cisco-Switches and some Cisco-Routers (WAN-and >>> Partnerconnections). >>> >>> We have two connections to the Internet about to routers. I need a tool >>> where I can so how many traffice (who , what traffice and so one) >>> goes about >>> these both connections. And I must save this information for history >>> and I >>> also need a report system where I can generate customized reports about >>> these stored information. >>> >> You want snort and acid for that. Nagios is more of a problem locator >> than a statistics harvester. > > > Snort is for intrusion detection. ACID is a web-based front-end for > managing the alerts Snort generates. You could call it a statistics > harvester I suppose, but 'malicious' statistics harvesting would better > describe its function. If you are looking to detect intrusions, Snort > is perfect. If you want to harvest network statistics in the form of > non-instrusive data flows, you are much better off with ntop. > My bad. I keep confusing snort and ntop (although snort can monitor all traffic as easily as just some of it). >> >>> >>> Another issue is what MAC-Addresses are active in the LAN. (We have some >>> VLANs) I know arpwatch but how can I solve the problems with VLAN?s. >>> >>> >>> Have anyone an idea who can I do this? >>> >> >> That depends on the type of hardware you're using. Most modern >> switches can have one or more interfaces set to 'hub mode' (so that >> all traffic coming in to the switch is sent to that interface >> regardless of whether it's is target or not). Place your snort/acid >> server on one of those interfaces and make sure the traffic you want >> to monitor passes through that switch. > > > If you are looking only to monitor active mac addresses (VLANs > included), and you aren't concerned at all about the the actual traffic > patterns (sniffing) etc, again Snort is probably not the best choice. > If you simply want to know what mac addresses are active, arpwatch will > do it. > >> >>> Many Thanks >>> >>> Manfred >> >> >> > > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pauls at sellingsource.com Thu May 20 18:44:58 2004 From: pauls at sellingsource.com (Paul Strange) Date: Thu, 20 May 2004 09:44:58 -0700 Subject: MySQL and Nagios (Newbie Here) In-Reply-To: <200405192031.13356.pauls@sellingsource.com> References: <200405192031.13356.pauls@sellingsource.com> Message-ID: <200405200944.58868.pauls@sellingsource.com> After further research, I have found the solution to my own problem. The cfg files were not owned/grouped to nagios. Thus, nagios could not write to the file and was appearently not accepting the config values for the database. Once I set nagios to own the files, worked like a charm. Hope this helps someone else. On Wednesday 19 May 2004 20:31, Paul Strange wrote: > List: > I have having a problem with MySQL and Nagios. I have successfully > installed Nagios with MySQL support: > > General Options: > ------------------------- > Nagios executable: nagios > Nagios user/group: nagios,nagios > Command user/group: nagios,nagios > Embedded Perl: yes, with caching > Install ${prefix}: /usr/nagios > Lock file: /var/nagios/nagios.lock > Init directory: /etc/init.d > > Web Interface Options: > ------------------------ > HTML URL: http://localhost/nagios/ > CGI URL: http://localhost/nagios/cgi-bin/ > Traceroute (used by WAP): > > External Data Routines: > ------------------------ > Status data: Database (MySQL) > Object data: Template-based (text file) > Comment data: Database (MySQL) > Downtime data: Database (MySQL) > Retention data: Database (MySQL) > Peformance data: Default (external commands) > Extended info data: Database (MySQL) > > I have mysql fully functional: > # mysql -h localhost -u nagios -p > Enter password: > Welcome to the MySQL monitor. Commands end with ; or \g. > Your MySQL connection id is 43308 to server version: 4.0.18 > > Type 'help;' or '\h' for help. Type '\c' to clear the buffer. > > mysql> > > I have modified both the cgi.cfg and the resources.cfg file to contain the > mysql data: (sample below is representative of all) > xcddb_host=localhost > xcddb_port=3306 > xcddb_database=nagios > xcddb_username=nagios > xcddb_password=XXXXX > > However, when I try to start nagios, I get the following set of errors: > Nagios 1.1 starting... (PID=11005) > Warning: Contact group 'dbadmins' is not used in any hostgroup/service > definitions or host/hostgroup/service escalations! > Finished daemonizing... (New PID=11006) > Error: Could not connect to MySQL database '' on host '' using username '' > and password ''. Status data will not be saved! > Error: Could not connect to MySQL database '' on host '' using username '' > and password ''. Retention data will not be processed or saved! > Error: Could not re-connect to database server on host '' for status data. > I'll keep trying every 60 seconds... > Error: Could not connect to MySQL database '' on host '' using username '' > and password '' for comment data! > Error: Could not connect to MySQL database '' on host '' using username '' > and password '' for downtime data! > > > It looks to me that the data in the config files is not being read by > Nagios. I have scoured the archives for this problem and cannot find it. > (Found several examples of mysql and nagios not liking to compile on rh9, > that was about it) The documents are not clear on which file should be > modified to handle the db connection information. I have tried changing > localhost to IP address and FQDN in config file to no avail. > > I am desperate to get monitoring up and functional. Any help you could > provide would be greatly appreciated. > > Thank You. -- --- Paul Strange ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gaubrig at yahoo.com Thu May 20 19:26:56 2004 From: gaubrig at yahoo.com (Gaurang Pandya) Date: Thu, 20 May 2004 10:26:56 -0700 (PDT) Subject: checking services with check_nt In-Reply-To: <30934.12.30.234.211.1085070938.squirrel@mail.cjp.us> References: <30934.12.30.234.211.1085070938.squirrel@mail.cjp.us> Message-ID: <20040520172656.88051.qmail@web50410.mail.yahoo.com> The name of service has to be specified as given in Windows Registry. Its under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services for example to monitor RPC Service you have to use string "RpcSs" I think it case sensitive. I use it and am successfully able to monitor so many services. for your info here are few of the names that you are looking for ClipBook: ClipSrv Nagios Agent: NSClient Telnet : TlntSvr. the best way (i think) to find this is goto that key and press F3 and find for your service type its name this should help you. Gaurang. --- Chris Purcell wrote: > Nagios 1.1 > Red Hat Linux 9.0 > > I'm having a problem with the check_nt plugin. It > only works for one or > two services and the rest return "ServiceName: > Unknown". > > This example doesn't work, I wonder if its because > of the spaces in the > name... > > root at reaction etc# > /usr/local/nagios/libexec/check_nt -H 192.0.1.60 -v > SERVICESTATE -l 'NetSaint NT Agent' > NetSaint NT Agent: Unknown > > This one works... > > root at reaction etc# > /usr/local/nagios/libexec/check_nt -H 192.0.1.60 -v > SERVICESTATE -l 'Alerter' > Alerter: Stopped > > This two don't work for some reason... > root at reaction etc# > /usr/local/nagios/libexec/check_nt -H 192.0.1.60 -v > SERVICESTATE -l 'ClipBook' > ClipBook: Unknown > root at reaction etc# > /usr/local/nagios/libexec/check_nt -H 192.0.1.60 -v > SERVICESTATE -l 'Telnet' > Telnet: Unknown > > Am I doing something wrong here? Do I have to > specify a password with > '-s password'? I tried that but it doesn't work. > Is it possible to > specify a username to log in with as well? > > Thanks, > Chris > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the > market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the > exam FREE. > http://ads.osdn.com/?ad_id149&alloc_id?66&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/nulld OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null __________________________________ Do you Yahoo!? Yahoo! Domains ? Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ed.StJohn at wic-us.com Thu May 20 19:58:53 2004 From: Ed.StJohn at wic-us.com (Ed.StJohn at wic-us.com) Date: Thu, 20 May 2004 13:58:53 -0400 Subject: Nagios installation Message-ID: Hello, I am new to Nagios. I have read the installation docs thoroughly but perhaps I am over looking something here. I have installed Nagios version 1.2 and the plugins but I do not see a /usr/local/nagios/etc directory. The installation left the /etc directory out. How do I correct this? I tried a re-install twice now and no luck. Thank you for your help. Ed St.John Ed.stjohn at wic-us.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From lzhang at lbl.gov Thu May 20 20:04:27 2004 From: lzhang at lbl.gov (ling Zhang) Date: Thu, 20 May 2004 11:04:27 -0700 Subject: False positives after the Parent host recovered Message-ID: <000901c43e94$e7592ec0$361b80c6@linglaptop> Hi, I hope to get your input on a frustrating problem. Right after a "parent" host goes down and recovers, I receive a burst of notifications indicating that downstream "children" have gone down & recovered, even though that's not the case. Although this behavior doesn't happen every time a "parent" node goes down, my impression is that the odds are greater than 30%. For example, suppose this my network: Nagios--------Bridge------Parent Switch--------Child switch1 | | Child Switch2--------Child switch3 The series of events go like this: 1. Disconnect link between "Bridge" and "parent switch". 2. Nagios reports and only reports "parent switch" down. (good) 3. Re-connect link between "Bridge" and "parent switch". 4. Nagios reports "parent switch" recovered. (very good) 5. Nagios reports "child switch1" and "child switch2" down right after "parent switch" recovered. (what the?) 6. Nagios reports "child switch1" and "child switch2" recovered shortly. (????????) Now, My nagios host configuration for the testing network looks like this: define host{ name generic-Bridge notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 0 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 retain_nonstatus_information 1 check_command check-host-alive max_check_attempts 3 notification_interval 0 notification_period 24x7 notification_options d,r register 0 } define host{ name generic-switch ; notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 0 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 retain_nonstatus_information 1 check_command check-host-alive max_check_attempts 3 notification_interval 0 notification_period 24x7 notification_options d,r register 0 } define host { use generic-bridge host_name Bridge address 1.1.1.1 } define host { use generic-switch host_name parent-switch address 1.1.1.10 parents Bridge } define host { use generic-switch host_name child-switch1 address 1.1.1.11 parents parent-switch } define host { use generic-switch host_name child-switch2 address 1.1.1.12 parents parent-switch } define host { use generic-switch host_name child-switch3 address 1.1.1.13 parents child-switch2 } So, any idea on this? Thanks. Ling -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmourati at cm.math.uiuc.edu Thu May 20 20:22:34 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Thu, 20 May 2004 13:22:34 -0500 (CDT) Subject: Nagios installation In-Reply-To: References: Message-ID: On Thu, 20 May 2004 Ed.StJohn at wic-us.com wrote: > Hello, > > > > I am new to Nagios. I have read the installation docs thoroughly but perhaps > I am over looking something here. I have installed Nagios version 1.2 and > the plugins but I do not see a /usr/local/nagios/etc directory. The > installation left the /etc directory out. Take a look at the following: http://www.nagios.org/faqs/viewfaq.php?faq_id=49&expand=false&showdesc=false You need to run a make install-config and then modify the configuration files to suit your local environment. Hint, read the docs very carefully and start small. Good luck. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 20 20:30:34 2004 From: marc at ena.com (Marc Powell) Date: Thu, 20 May 2004 13:30:34 -0500 Subject: Nagios installation Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B635F@mismail2.ena.com> At the end of the nagios compile you would have seen the following -- *** Compile finished *** If the main program and CGIs compiled without any errors, you can continue with installing Nagios as follows (type 'make' without any arguments for a list of all possible options): make install - This installs the main program, CGIs, and HTML files make install-init - This installs the init script in /etc/rc.d/init.d make install-commandmode - This installs and configures permissions on the directory for holding the external command file make install-config - This installs *SAMPLE* config files in /usr/local/nagios/etc 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! -- Marc ________________________________ From: Ed.StJohn at wic-us.com [mailto:Ed.StJohn at wic-us.com] Sent: Thursday, May 20, 2004 12:59 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios installation Hello, I am new to Nagios. I have read the installation docs thoroughly but perhaps I am over looking something here. I have installed Nagios version 1.2 and the plugins but I do not see a /usr/local/nagios/etc directory. The installation left the /etc directory out. How do I correct this? I tried a re-install twice now and no luck. Thank you for your help. Ed St.John Ed.stjohn at wic-us.com ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at cjp.us Thu May 20 20:24:28 2004 From: lists at cjp.us (Chris Purcell) Date: Thu, 20 May 2004 14:24:28 -0400 (EDT) Subject: checking services with check_nt In-Reply-To: <20040520172656.88051.qmail@web50410.mail.yahoo.com> References: <30934.12.30.234.211.1085070938.squirrel@mail.cjp.us> <20040520172656.88051.qmail@web50410.mail.yahoo.com> Message-ID: <31914.12.30.234.211.1085077468.squirrel@mail.cjp.us> Thanks Gaurang, that was it:) Chris > The name of service has to be specified as given in > Windows Registry. Its under > > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services > > for example to monitor RPC Service you have to use > string "RpcSs" I think it case sensitive. I use it and > am successfully able to monitor so many services. > > for your info here are few of the names that you are > looking for > > ClipBook: ClipSrv > > Nagios Agent: NSClient > > Telnet : TlntSvr. > > the best way (i think) to find this is goto that key > and press F3 and find for your service type its name > this should help you. > > Gaurang. > > > --- Chris Purcell wrote: >> Nagios 1.1 >> Red Hat Linux 9.0 >> >> I'm having a problem with the check_nt plugin. It >> only works for one or >> two services and the rest return "ServiceName: >> Unknown". >> >> This example doesn't work, I wonder if its because >> of the spaces in the >> name... >> >> root at reaction etc# >> /usr/local/nagios/libexec/check_nt -H 192.0.1.60 -v >> SERVICESTATE -l 'NetSaint NT Agent' >> NetSaint NT Agent: Unknown >> >> This one works... >> >> root at reaction etc# >> /usr/local/nagios/libexec/check_nt -H 192.0.1.60 -v >> SERVICESTATE -l 'Alerter' >> Alerter: Stopped >> >> This two don't work for some reason... >> root at reaction etc# >> /usr/local/nagios/libexec/check_nt -H 192.0.1.60 -v >> SERVICESTATE -l 'ClipBook' >> ClipBook: Unknown >> root at reaction etc# >> /usr/local/nagios/libexec/check_nt -H 192.0.1.60 -v >> SERVICESTATE -l 'Telnet' >> Telnet: Unknown >> >> Am I doing something wrong here? Do I have to >> specify a password with >> '-s password'? I tried that but it doesn't work. >> Is it possible to >> specify a username to log in with as well? >> >> Thanks, >> Chris >> >> >> >> >> >> > ------------------------------------------------------- >> This SF.Net email is sponsored by: Oracle 10g >> Get certified on the hottest thing ever to hit the >> market... Oracle 10g. >> Take an Oracle 10g class now, and we'll give you the >> exam FREE. >> http://ads.osdn.com/?ad_id149&alloc_id?66&op=click >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version >> (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being >> sent to /dev/nulld OS when reporting any issue. >> ::: Messages without supporting info will risk being >> sent to /dev/null > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Domains ? Claim yours for only $14.70/year > http://smallbusiness.promotions.yahoo.com/offer > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 20 20:36:48 2004 From: MG at ev3.net (Wheeler, MG) Date: Thu, 20 May 2004 13:36:48 -0500 Subject: False positives after the Parent host recovered Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D01030BFA@mail.ev3.net> It was my finding (and I have been wrong before) that the children "Services" won't report being down but the children "Hosts" will. That is why we don't do any notifications on just Hosts at all. We are only using notifications for services on the various hosts. We make sure we have at least one Service per host to validate that the host itself is working. We use the same check_ping that the Host Check does but we do it as a service so when a blocking host goes down we don't get any children notifications. I could be wrong and if someone knows of a better way without entering every single host in the dependencies.cfg that would be great to hear about it. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of ling Zhang Sent: Thursday, May 20, 2004 1:04 PM To: nagios-users at lists.sourceforge.net Cc: 'Gregory Bell'; harper.mann at comcast.com; CHui Subject: [Nagios-users] False positives after the Parent host recovered Hi, I hope to get your input on a frustrating problem. Right after a "parent" host goes down and recovers, I receive a burst of notifications indicating that downstream "children" have gone down & recovered, even though that's not the case. Although this behavior doesn't happen every time a "parent" node goes down, my impression is that the odds are greater than 30%. For example, suppose this my network: Nagios--------Bridge------Parent Switch--------Child switch1 | | Child Switch2--------Child switch3 The series of events go like this: 1. Disconnect link between "Bridge" and "parent switch". 2. Nagios reports and only reports "parent switch" down. (good) 3. Re-connect link between "Bridge" and "parent switch". 4. Nagios reports "parent switch" recovered. (very good) 5. Nagios reports "child switch1" and "child switch2" down right after "parent switch" recovered. (what the?) 6. Nagios reports "child switch1" and "child switch2" recovered shortly. (????????) Now, My nagios host configuration for the testing network looks like this: define host{ name generic-Bridge notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 0 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 retain_nonstatus_information 1 check_command check-host-alive max_check_attempts 3 notification_interval 0 notification_period 24x7 notification_options d,r register 0 } define host{ name generic-switch ; notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 0 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 retain_nonstatus_information 1 check_command check-host-alive max_check_attempts 3 notification_interval 0 notification_period 24x7 notification_options d,r register 0 } define host { use generic-bridge host_name Bridge address 1.1.1.1 } define host { use generic-switch host_name parent-switch address 1.1.1.10 parents Bridge } define host { use generic-switch host_name child-switch1 address 1.1.1.11 parents parent-switch } define host { use generic-switch host_name child-switch2 address 1.1.1.12 parents parent-switch } define host { use generic-switch host_name child-switch3 address 1.1.1.13 parents child-switch2 } So, any idea on this? Thanks. Ling _____________________________________________________________________ Message scanned for viruses _____________________________________________________________________ This message has been checked for all known viruses -------------- next part -------------- An HTML attachment was scrubbed... URL: From nick.peters at candoltd.com Thu May 20 21:23:53 2004 From: nick.peters at candoltd.com (Nick Peters) Date: Thu, 20 May 2004 14:23:53 -0500 Subject: Install Help - Invaild User??? In-Reply-To: <1037.134.244.169.17.1085068727.squirrel@webmail.stinkweasel.net> References: <1037.134.244.169.17.1085068727.squirrel@webmail.stinkweasel.net> Message-ID: <000001c43e9f$fcce30b0$0900a8c0@nick> Thanks for the help, the user name was the problem. I guess it goes to show, you should check the simple things first... -Nick -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of C. Bensend Sent: Thursday, May 20, 2004 10:58 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Install Help - Invaild User??? > nagois at Server:~/nagios-1.2$ make install > cd ./base && make install > make[1]: Entering directory `/home/nagois/nagios-1.2/base' > /usr/bin/ginstall > -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin > /usr/bin/ginstall: invalid user `nagios' > make[1]: *** [install] Error 1 > make[1]: Leaving directory `/home/nagois/nagios-1.2/base' > make: *** [install] Error 2 > > Anyways, I have the nagois user made and the nagois group made, but as you > can see it doesn't work. I've tried using the -with-nagois-user= option > and > the -with-nagois-grp= option, with the nagois user and the nagois group > and > even tried it with just another user. I've read the docs and I have found > nothing on this problem. I searched the net with no avail. Can somebody > help > me fix this problem?? Thanks for the help in advance. nagois != nagios :) -- "Oh, the Jedis are going to feel this one!" -- Professor Farnsworth, "Futurama" ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 20 23:03:46 2004 From: luke at madstop.com (Luke A. Kanies) Date: Thu, 20 May 2004 16:03:46 -0500 (CDT) Subject: configuring nsca Message-ID: Hi all, I am interested in using nsca for transferring monitoring information from each of my hosts to a central host, e.g., procs and load information. This seems to be what nsca was designed for, but I haven't seen any examples using nsca except for distributed monitoring. This is kind of distributed monitoring, but it's more just having each host do a portion and having the central host do a portion. I like the idea of using nsca instead of nrpe because it makes each host a bit more autonomous, and I plan on autogenerating each host's configuration on the host itself. Is everyone instead using nrpe for this? I know one of the problems with trying to use nsca for this is that I have to configure the client to perform the checks and transfer the information, and then I have to configure the server to do the passive checks. If I want to use nsca instead of nrpe on each host, then I assume that means I also need to run a nagios daemon on each host? I know that I could also just run the checks manually, but I'd find myself recreating all of the scheduling and such that nagios already has built-in, so it would be a bit silly. Pointers would be greatly appreciated, Luke -- One of the Ten Commandments for Technicians (7) Work thou not on energized equipment, for if thou dost, thy fellow workers will surely buy beers for thy widow and console her in other ways. --------------------------------------------------------------------- Luke Kanies | http://abstractive.org | http://reductiveconsulting.com ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 20 23:19:46 2004 From: jhmartin at toger.us (Jason Martin) Date: Thu, 20 May 2004 14:19:46 -0700 (PDT) Subject: configuring nsca In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Keep in mind that the central nagios daemon will need to know about all the things you are monitoring, or else it will ignore nsca messages regarding those services. - -Jason Martin On Thu, 20 May 2004, Luke A. Kanies wrote: > Hi all, > > I am interested in using nsca for transferring monitoring information from > each of my hosts to a central host, e.g., procs and load information. > This seems to be what nsca was designed for, but I haven't seen any > examples using nsca except for distributed monitoring. This is kind of > distributed monitoring, but it's more just having each host do a portion > and having the central host do a portion. I like the idea of using nsca > instead of nrpe because it makes each host a bit more autonomous, and I > plan on autogenerating each host's configuration on the host itself. > > Is everyone instead using nrpe for this? I know one of the problems with > trying to use nsca for this is that I have to configure the client to > perform the checks and transfer the information, and then I have to > configure the server to do the passive checks. > > If I want to use nsca instead of nrpe on each host, then I assume that > means I also need to run a nagios daemon on each host? I know that I > could also just run the checks manually, but I'd find myself recreating > all of the scheduling and such that nagios already has built-in, so it > would be a bit silly. > > Pointers would be greatly appreciated, > Luke > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.5 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFArSD2l2ODWuqVSBMRApkoAJ0XMeym/s4BuvyiRpFRw1A+PZAvrwCdEvtw KA8IKYXXO6hKKWi9uFo3NgE= =2sRZ -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 20 23:26:36 2004 From: luke at madstop.com (Luke A. Kanies) Date: Thu, 20 May 2004 16:26:36 -0500 (CDT) Subject: configuring nsca In-Reply-To: References: Message-ID: On Thu, 20 May 2004, Jason Martin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Keep in mind that the central nagios daemon will need to