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 know about all > the things you are monitoring, or else it will ignore nsca messages > regarding those services. Yeah, I expect to use something like cfengine to pull updated configurations from each client to the central server. -- "When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute, and it's longer than any hour. That's relativity." --Albert Einstein --------------------------------------------------------------------- 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 gaubrig at yahoo.com Fri May 21 01:42:55 2004 From: gaubrig at yahoo.com (Gaurang Pandya) Date: Thu, 20 May 2004 16:42:55 -0700 (PDT) Subject: False positives after the Parent host recovered In-Reply-To: <000901c43e94$e7592ec0$361b80c6@linglaptop> References: <000901c43e94$e7592ec0$361b80c6@linglaptop> Message-ID: <20040520234255.41859.qmail@web50408.mail.yahoo.com> > notification_interval > 0 I guess its notification_interval thats problem. It should be something more than that. Gaurang. __________________________________ 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 jhennessy at mitchamcouncil.sa.gov.au Fri May 21 04:56:26 2004 From: jhennessy at mitchamcouncil.sa.gov.au (Justin Hennessy) Date: Fri, 21 May 2004 12:26:26 +0930 Subject: Statusmap Message-ID: Apologies for the huge delay on this message but ... I am still having the same issue. I have read EVERY post in the archieve and I have also done the make devclean, make distclean, make clean etc. Also I added the directories that were needed for the libraries to /etc/ld.so.conf and ran ldconfig (this is what the configure script told me to do). I am not really fussed about the statusmap but I am about the trending as I need to see if it gives me the info that I am after. If there is anything else I can add that would help please let me know. Thanks, Justin >>> Jason Martin 19/03/2004 9:17:07 am >>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If you've installed those libraries after you attempted the first configure() you may want to perform a "make distclean" and rerun the configure; the cached values might cause a problem. - -Jason Martin On Fri, 19 Mar 2004, Justin Hennessy wrote: > Ok here we go. > > I am running Nagios 1.2 on a Red Hat 9, 2.4 kernel (fairly new one). > > This is the error from the configure script: > ---------------------------------------------------------------------------------------------------------------------------------------- > checking for main in -liconv... (cached) no > 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 > > > *** GD, PNG, and/or JPEG libraries could not be located... ********* > > Boutell's GD library is required to compile the statusmap, trends > and histogram CGIs. Get it from http://www.boutell.com/gd/, compile > it, and use the --with-gd-lib and --with-gd-inc arguments to specify > the locations of the GD library and include files. > > NOTE: In addition to the gd-devel library, you'll also need to make > sure you have the png-devel and jpeg-devel libraries installed > on your system. > > NOTE: After you install the necessary libraries on your system: > 1. Make sure /etc/ld.so.conf has an entry for the directory in > which the GD, PNG, and JPEG libraries are installed. > 2. Run 'ldconfig' to update the run-time linker options. > 3. Run 'make clean' in the Nagios distribution to clean out > any old references to your previous compile. > 4. Rerun the configure script. > > NOTE: If you can't get the configure script to recognize the GD libs > on your system, get over it and move on to other things. The > CGIs that use the GD libs are just a small part of the entire > Nagios package. Get everything else working first and then > revisit the problem. Make sure to check the nagios-users > mailing list archives for possible solutions to GD library > problems when you resume your troubleshooting. > > --------------------------------------------------------------------------------------------------------------------------------------- > > I have gone thorough and installed all of the modules that the FAQ said > to (http://www.nagios.org/faqs/viewfaq.php?faq_id=55). > Here are the versions of these packages: > > libgd-1.3-4 > libgd-devel-1.3-4 > libpng-1.2.2-16 > libpng10-1.0.13-8 > libpng-devel-1.2.2-16 > libjpeg-6b-26 > libjpeg-devel-6b-26 > zlib-1.1.4-8 > zlib-devel-1.1.4-8 > > When doing the configure script I have also used the --with-gd-lib and > --with-gd-inc switches to tell it where they live. > > GD lib lives here: /usr/lib/ > > When I run the make all process again I only get this (with just some > comments at the end about using make install etc): > > cd ./base && make > make[1]: Entering directory `/root/nagios-1.2/base' > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE nagios.c checks.o config.o > commands.o flapping.o logging.o notifications.o sehandlers.o utils.o > sretention.o ../xdata/xrddefault.c ../common/comments.c > ../xdata/xcddefault.c ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c perfdata.o > ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddefault.c -lm > -o nagios > make[1]: Leaving directory `/root/nagios-1.2/base' > cd ./cgi && make > make[1]: Entering directory `/root/nagios-1.2/cgi' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/root/nagios-1.2/cgi' > cd ./html && make > make[1]: Entering directory `/root/nagios-1.2/html' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/root/nagios-1.2/html' > > Hopefully this is all that you need, if not just email me. > > Thanks, > > Justin > > > > >>> "Marc Powell" 19/03/2004 12:40:50 am >>> > Something is complaining somewhere during the configure or compile > process. You'll need to watch those two carefully and send to the list > any errors that are output (or the entire output of ./configure and > possibly 'make all' if you see none). We'll also need to know more > about > your environment: what OS/version, what version of Nagios, what > version > of GD, where GD is installed, etc... > > -- > Marc > > Justin Hennessy wrote: > > I have done ALL of this and this problem still remains. Where do I > go > > next? > > > >>>> "Marc Powell" 18/03/2004 5:27:50 am >>> > > http://www.nagios.org/faqs/viewfaq.php?faq_id=55 > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 PGP SIGNATURE----- Version: GnuPG v1.3.5 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAWib0l2ODWuqVSBMRAp72AJ4xkaPaQAxXs+m1yz61Y+VqhibH9wCfcKA1 SxhOKRx7EMJNijzpkL5gB8U= =XxO+ -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Stanley.Hopcroft at IPAustralia.Gov.AU Fri May 21 06:19:00 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 21 May 2004 14:19:00 +1000 Subject: Gd problems .... In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Thu, May 20, 2004 at 08:12:32PM -0700 References: Message-ID: <20040521141859.A76524@IPAustralia.Gov.AU> On Thu, May 20, 2004 at 08:12:32PM -0700, nagios-users-request at lists.sourceforge.net wrote: .. several megabytes of multi-part snipped ... > > Message: 10 > Date: Fri, 21 May 2004 12:26:26 +0930 > From: "Justin Hennessy" > Subject: RE: [Nagios-users] Statusmap > > I am still having the same issue. I have read EVERY post in the > archieve and I have also done the make devclean, make distclean, make > clean etc. > .. snip > > I am running Nagios 1.2 on a Red Hat 9, 2.4 kernel (fairly new > one). > > > > This is the error from the configure script: > > > ----------------------------------------------------------------------------------------------------------------------------------------- > > checking for main in -liconv... (cached) no > > 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 > > > > configure is a shell script that builds a Makefile for make to compile and link Nagios. It does this by compiling programs like tsitc> cat x.c char gdImagePng(); int main() { gdImagePng() ; return 0; } (which you can find in configure by searching for gd) with the options from the same place LIBS="-lgd $ICONV -lz -lm -lpng -ljpeg $LIBS" assuming these libs are in the standard places for your system eg tsitc> gcc -o x x.c -lz -lm -lpng -lgd /usr/libexec/elf/ld: cannot find -lpng .. so it needs to be told where libpng is found. Configure tries to suss this out using what you have told it and what it knows about common distros. tsitc> gcc -o x x.c -lz -lm -lpng -lgd -L /usr/local/lib so that it can supply the Makefile with values for the -I and -l -L options; these last - library names and paths (if in non-standard paths) are what your compilation lacks (apart from the math lib -lm). > > cd ./base && make > > make[1]: Entering directory `/root/nagios-1.2/base' > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE nagios.c checks.o config.o > > commands.o flapping.o logging.o notifications.o sehandlers.o utils.o > > sretention.o ../xdata/xrddefault.c ../common/comments.c > > ../xdata/xcddefault.c ../common/objects.c ../xdata/xodtemplate.c > > ../common/statusdata.c ../xdata/xsddefault.c perfdata.o > > ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddefault.c > -lm > > -o nagios Here's what a good one looks like tsitc> make gcc -g -O2 -I/usr/local/include/gd -I/usr/libdata/perl/5.00503/mach/CORE -DHAVE_CONFIG_H -DNSCORE `glib-config --cflags` -L/usr/local/lib `glib-config --libs` nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddefault.c ../common/comments.c ../xdata/xcddefault.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddefault.c -Wl,-R/usr/lib -Wl,-E -lperl -lm /usr/libdata/perl/5.00503/mach/auto/DynaLoader/DynaLoader.a -L/usr/libdata/perl/5.00503/mach/CORE -lperl -lm -lc -lcrypt -lperl -lm -lm -o nagios (this is for a glib chained hash patch embedded Perl so there is more junk than you need). You need to 1 Find the path of the gd library. It is called libgd.* Find the path of the gh headers. It is called gd.h. Common places are I believe /usr/lib and /usr/local/lib for the libraries; /usr/include and /usr/local/include for the headers. 2 Check if the missing symbol is in libgd pc09011> nm /usr/local/lib/libgd.a | grep gdImagePng U gdImagePngCtx 00000000 T gdImagePngToSink 0000082c T gdImagePng 000008b0 T gdImagePngCtx 00000864 T gdImagePngPtr pc09011> nm /usr/local/lib/libgd.so | grep gdImagePng 00009c4c T gdImagePng 00009ce8 T gdImagePngCtx 00009c90 T gdImagePngPtr 00009138 T gdImagePngToSink pc09011> 3 If yes ? ==> 4 : your library is toast. Ask again, quoting the nm result 4 make clean (ensure that config.cache is gone) 5 ./configure --other-nag-switches --with-gd-lib=PATH-containing-lib-gd --with-gd-inc=PATH-containing-gd.h Same message about not finding libgd ? Ask again quoting result : ==> 6 6 make all Finally you can always do what I have shown you here: try and build the test program yourself. If you can't build it by hand, configure won't be clever enough. 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: 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 fabrice.correard at egger.com Fri May 21 08:09:11 2004 From: fabrice.correard at egger.com (Fabrice) Date: Fri, 21 May 2004 06:09:11 +0000 (UTC) Subject: Premature end script header. Message-ID: Hello everyone, I use actualy, Nagios 1.0B4 on a Mandrake 9.0 with Apache 1.3.20 and all work fine. I want to migrate NAgios (same version) on a Red Hat Entreprise Linux 3.0 with apache 2.0.49. With this version of linux, Nagios itself work fine and genrate notification when necessary. But the web interface can't show mee any informations, I just have this message : "The server encountered an internal error or misconfiguration and was unable to complete your request" ... In the apache log, I have lines with this : "Premature end script header ..." I can't find the problem, could you help me please ? !! ------------------------------------------------------- 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 swati220781 at hotmail.com Fri May 21 10:50:21 2004 From: swati220781 at hotmail.com (Swati Srivastava) Date: Fri, 21 May 2004 14:20:21 +0530 Subject: how to use check_by_ssh Message-ID: Hi! I have installed the plugins at the remote host and i'm trying to monitor a process by check_by_ssh..but i;m not really clear with how to use check_by_ssh properly. here's a copy of what i've written : in checkcommands: command_name check_by_ssh command_line /usr/local/nagios/libexec/check_by_ssh -H 10.0.0.7 -f -C='check_procs' and i defined check_by_ssh in services.cfg as well. I'm not able to understand that how would check_by_ssh run check_procs on 10.0.0.7 for a particular process id?? How do i specify that?? ALso, i'm getting this warning right now, "host key verification failed". Kindly help, Thanks, Swati _________________________________________________________________ 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: 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 schimpke at lenze.de Fri May 21 11:23:28 2004 From: schimpke at lenze.de (Thomas Schimpke) Date: Fri, 21 May 2004 11:23:28 +0200 Subject: CVS access Message-ID: <1085131408.3951.5.camel@apollo.antares.org> Hi, I've tried to access the nagios 2.0 CVS archive using the (usual) command(s) cvs -d:pserver:anonymous at cvs.nagios.sourceforge.net:/cvsroot/nagios login and cvs-z3 -d:pserver:anonymous at cvs.nagios.sourceforge.net: /cvsroot/nagios co nagios but I always get the error connect to cvs.nagios.sourceforge.net(66.35.250.209):2401 failed: Connection timed out What' s wrong here ? Has the server changed ? CU, Thomas ------------------------------------------------------- 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 jamie.baddeley at vpc.co.nz Fri May 21 12:34:06 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Fri, 21 May 2004 22:34:06 +1200 Subject: weird problem with check_ifstatus (and check_ifoperstatus) Message-ID: <1085135645.19507.17.camel@munter> Hi, I've been having problems making check_ifstatus go. It's been complaining: Undefined subroutine &utils::is_hostname called at ./check_ifstatus line 383. when I run it from cli. I just hacked out the offending if statement around line 383 (and it now works), but I'm fairly sure this is not advisable. Has anyone else seen this before? fyi: check_ifstatus v1.8 fresh net::snmp from cpan. jamie ------------------------------------------------------- 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 Onsite.DeTeWe at firstgroup.com Fri May 21 12:38:56 2004 From: Onsite.DeTeWe at firstgroup.com (Onsite DeTeWe) Date: Fri, 21 May 2004 11:38:56 +0100 Subject: SMS notifications In-Reply-To: <518772850433D4119AAA00105AC460987B2915@mail.tpb.be> References: <518772850433D4119AAA00105AC460987B2915@mail.tpb.be> Message-ID: Hiya, Sticky bit has solved the problem. I also retyped the whole command, from within the console. I have found the putty, using ssh is not that good at leaving files just how you think they are. Found out that there was a space at the end of the command line within the .cfg file. It must also be passed and makes gnokii a bit confused. Worth noting I suppose. Thank you for all your help over the past couple of days. Really glad that this is all sorted, it was starting to get to me... Kind regards Jason Ludo Bosmans 21/05/2004 08:25 To: 'Onsite DeTeWe' cc: Subject: RE: [Nagios-users] SMS notifications Jason, Sorry for my late response, but yesterday it was an official holliday in belgium, so i didn't follow-up. 1. If you su - nagios and send an sms manually, you get an additional error message ( fopen ... ) but the sms is send ? 2. If you do "chmod 4755 /usr/local/bin/gnokii" and owner is root "chown root /usr/local/bin/gnokii", then retry as nagios user manually, you should have the same output as root user. I mean without the additional error message. Correct ? 3. It is possible that the logoutput, info aswell the error msg are giving problems when it is started from nagios, try to redirect the output to a file. /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $OUTPUT$\nDate: $DATETIME$" | /usr/local/bin/gnokii --sendsms 07901854342 > /tmp/gnokii.log 2>&1 Use >> /tmp/gnokii.log 2>&1 to append. Try it manually as nagios user, then adapt the command in the nagios config file and restart nagios. 4. See if the file is writable by the nagios user. 5. Check messages in file, if this works, use /dev/null instead of /tmp/gnokii.log 6. Screw the rights from the gnokii executable back to normal ( remove suid flag ) and retry test. kind regards, ludo -----Original Message----- From: Onsite DeTeWe [mailto:Onsite.DeTeWe at firstgroup.com] Sent: donderdag 20 mei 2004 16:58 To: Ludo Bosmans Subject: RE: [Nagios-users] SMS notifications ludo Thanks for all your help... ;-) Ludo Bosmans 19/05/2004 16:45 To: 'Onsite DeTeWe' cc: Subject: RE: [Nagios-users] SMS notifications Jason, 1. If you execute it as root, what is the output at that time. 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: "+447802000xxx",145OK] write: [AT+CMGF=0] read : [AT+CMGF=0OK] write: [AT+CMGS=82] read : [AT+CMGS=82> ] write: [079144872000302311000B817009815443F20000AA4D2A95337C4EBFE72A95829A879775208102F99ED375A0A9B3099D96E5F6B25CA098D2C3F4B20E245004C96479793ED781048AA4DBFCD681040A62985E7E51D3EDB20E2400^Z] read : [079144872000302311000B817009815443F20000AA4D2A95337C4EBFE72A95829A879775208102F99ED375A0A9B3099D96E5F6B25CA098D2C3F4B20E245004C96479793ED781048AA4DBFCD681040A62985E7E51D3EDB20E2400^Z+CMGS: 49OK] Send succeeded! 2. Do you have specified somewere a logfile, f.e. for the smsd and are the rights correct ? logging and debugging is off. !? 3. Debug settings in gnokiirc ( /etc/gnokiirc ) See above. kind regards, ludo -----Original Message----- From: Onsite DeTeWe [mailto:Onsite.DeTeWe at firstgroup.com] Sent: woensdag 19 mei 2004 17:06 To: Ludo Bosmans; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] SMS notifications 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 Onsite.DeTeWe at firstgroup.com Fri May 21 13:28:34 2004 From: Onsite.DeTeWe at firstgroup.com (Onsite DeTeWe) Date: Fri, 21 May 2004 12:28:34 +0100 Subject: passing macro variables to shell script Message-ID: Hi all, In an attempt to SMS to a number of recipients using a serial connected mobile phone and gnokii I have run into a slight snag. The only way you can get gnokii to send to multiple destinations is to set up a script like this for x in 040404040 1414141 do echo 'Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $OUTPUT$\nDate: $DATETIME$' | /usr/local/bin/gnokii --sendsms $x sleep 60 (if you need this?) done And run this script from the misccommands.cfg file when the trigger is activated. Of course it would be nice to have the macro $xxx$ values sent as well but this does not happen in the above example. Does anyone have any idea if it is possibe to parse variables from nagios to an external shell script. Kind reards Jason ********************************************************************** 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 Fri May 21 14:00:15 2004 From: ludo.bosmans at xtenso.be (Ludo Bosmans) Date: Fri, 21 May 2004 14:00:15 +0200 Subject: passing macro variables to shell script Message-ID: <518772850433D4119AAA00105AC460987B2917@mail.tpb.be> Jason, As i understood, gnokii is working and nagios can send sms's, but in case more sms's need to be send to several people, the first gnokii process is occupying the serial com port and additional sms's or lost. Check next site: Gnokii-smstools provides a way to spool short messages (SMS) using a Nokia cellphone. It takes advantage of both the Nokia phone driver from gnokii and the queueing code from SMS-Tools. http://juraj.bednar.sk/work/software/smstools/gnokii-smstools/ kind regards, ludo -----Original Message----- From: Onsite DeTeWe [mailto:Onsite.DeTeWe at firstgroup.com] Sent: vrijdag 21 mei 2004 13:29 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] passing macro variables to shell script Hi all, In an attempt to SMS to a number of recipients using a serial connected mobile phone and gnokii I have run into a slight snag. The only way you can get gnokii to send to multiple destinations is to set up a script like this for x in 040404040 1414141 do echo 'Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $OUTPUT$\nDate: $DATETIME$' | /usr/local/bin/gnokii --sendsms $x sleep 60 (if you need this?) done And run this script from the misccommands.cfg file when the trigger is activated. Of course it would be nice to have the macro $xxx$ values sent as well but this does not happen in the above example. Does anyone have any idea if it is possibe to parse variables from nagios to an external shell script. Kind reards Jason ********************************************************************** 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 Fri May 21 14:14:03 2004 From: marc at ena.com (Marc Powell) Date: Fri, 21 May 2004 07:14:03 -0500 Subject: how to use check_by_ssh Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6365@mismail2.ena.com> Swati Srivastava wrote: > Hi! > I have installed the plugins at the remote host and i'm trying to > monitor a process by check_by_ssh..but i;m not really clear with how > to use check_by_ssh properly. > > here's a copy of what i've written : > in checkcommands: > > command_name check_by_ssh > command_line /usr/local/nagios/libexec/check_by_ssh -H 10.0.0.7 > -f -C='check_procs' > > and i defined check_by_ssh in services.cfg as well. > > I'm not able to understand that how would check_by_ssh run > check_procs on > 10.0.0.7 for a particular process id?? How do i specify that?? Here's an example -- bash-2.05a$ ./check_by_ssh -H dc1 -C '/usr/local/nagios/libexec/check_procs -w 12: -c :20 -C httpd' WARNING - 10 processes running with command name httpd > ALso, i'm getting this warning right now, "host key verification > failed". It's probably because you have an incorrect host key in ~nagios/ssh/known_hosts. Have you tried just ssh'ing over to 10.0.0.7 from your nagios machine as the nagios user? You'll probably get more descriptive output. -- 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 Fri May 21 14:18:43 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 21 May 2004 14:18:43 +0200 Subject: passing macro variables to shell script In-Reply-To: References: Message-ID: <40ADF3A3.9060506@op5.se> Onsite DeTeWe wrote: > Hi all, > > In an attempt to SMS to a number of recipients using a serial connected > mobile phone and gnokii I have run into a slight snag. > > The only way you can get gnokii to send to multiple destinations is to set > up a script like this > > for x in 040404040 1414141 > do > echo 'Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: > $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $OUTPUT$\nDate: $DATETIME$' | > /usr/local/bin/gnokii --sendsms $x > sleep 60 (if you need this?) > done > > And run this script from the misccommands.cfg file when the trigger is > activated. Of course it would be nice to have the macro $xxx$ values sent > as well but this does not happen in the above example. > > Does anyone have any idea if it is possibe to parse variables from nagios > to an external shell script. > Ofcourse it is. Just pass the macros as arguments. For the above-statement you'd want something like this; # in misccommands.cfg: define command{ command_name service-notify_by_sms-spam command_line /path/to/thescript.sh $HOSTNAME$ $HOSTADDRESS$ \ "$SERVICEDESC$" $SERVICESTATE$ "$OUTPUT$" "$DATETIME$" } #!/bin/sh # the shell-script for num in 040404040 1414141; do cat << END_OF_MESSAGE | /usr/local/bin/gnokii --sendsms $num Host: $1 ($2) Service: $3 ($4) Output: $5 Date: $6 END_OF_MESSAGE # other commands (like sleep) go here done > Kind reards > > Jason -- 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 Onsite.DeTeWe at firstgroup.com Fri May 21 15:25:22 2004 From: Onsite.DeTeWe at firstgroup.com (Onsite DeTeWe) Date: Fri, 21 May 2004 14:25:22 +0100 Subject: passing macro variables to shell script In-Reply-To: <40ADF3A3.9060506@op5.se> References: <40ADF3A3.9060506@op5.se> Message-ID: Hi Andreas Now why didn't I think of that... What a star you are. Still a bit new to all this linux stuff, although a friend of mine keeps telling me that I have graduated beyond novice just on the basis that nagios is working at all ;-) Thank you, everyone for all your help. Kind regards Jason Andreas Ericsson Sent by: nagios-users-admin at lists.sourceforge.net 21/05/2004 13:18 To: nagios-users at lists.sourceforge.net cc: Subject: Re: [Nagios-users] passing macro variables to shell script Onsite DeTeWe wrote: > Hi all, > > In an attempt to SMS to a number of recipients using a serial connected > mobile phone and gnokii I have run into a slight snag. > > The only way you can get gnokii to send to multiple destinations is to set > up a script like this > > for x in 040404040 1414141 > do > echo 'Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: > $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $OUTPUT$\nDate: $DATETIME$' | > /usr/local/bin/gnokii --sendsms $x > sleep 60 (if you need this?) > done > > And run this script from the misccommands.cfg file when the trigger is > activated. Of course it would be nice to have the macro $xxx$ values sent > as well but this does not happen in the above example. > > Does anyone have any idea if it is possibe to parse variables from nagios > to an external shell script. > Ofcourse it is. Just pass the macros as arguments. For the above-statement you'd want something like this; # in misccommands.cfg: define command{ command_name service-notify_by_sms-spam command_line /path/to/thescript.sh $HOSTNAME$ $HOSTADDRESS$ \ "$SERVICEDESC$" $SERVICESTATE$ "$OUTPUT$" "$DATETIME$" } #!/bin/sh # the shell-script for num in 040404040 1414141; do cat << END_OF_MESSAGE | /usr/local/bin/gnokii --sendsms $num Host: $1 ($2) Service: $3 ($4) Output: $5 Date: $6 END_OF_MESSAGE # other commands (like sleep) go here done > Kind reards > > Jason -- 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 ********************************************************************** 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 Ed.StJohn at wic-us.com Fri May 21 16:11:32 2004 From: Ed.StJohn at wic-us.com (Ed.StJohn at wic-us.com) Date: Fri, 21 May 2004 10:11:32 -0400 Subject: hostgroup.cfg file Message-ID: Hello Nagios community, I am stumbling through my first Nagios installation. I am making progress but I am hitting a few road blocks. Please excuse my ignorance as I am new to Nagios and I appreciate all the help I can get with it. I am running the sanity check after installing Nagios. I seem to be stuck on my hostgroups.cfg file. I am getting an error message that says "could not expand member hosts specifed in hostgroup ( config file yada yada yada line 21) My hostgroup.cfg file looks like this.... define hostgroup{ hostgroup_name nt-servers alias NT Servers contact_groups nt-admins members WUSNE227,WUSNE187, etc,etc } I have edited my /etc/hosts file with all of the server names and IP address and I can ping them all by name. What am I missing? Thank you for the help! Regards, Ed St.John -------------- next part -------------- An HTML attachment was scrubbed... URL: From fredrik.wanglund at datavis.se Fri May 21 16:41:26 2004 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 21 May 2004 14:41:26 +0000 (UTC) Subject: hostgroup.cfg file In-Reply-To: References: Message-ID: <4AB63699.6050301@datavis.se> Have you defined the host in Nagios (in hosts.cfg for example)? /FredrikW Ed.StJohn at wic-us.com wrote: > Hello Nagios community, > > > > I am stumbling through my first Nagios installation. I am making > progress but I am hitting a few road blocks. Please excuse my > ignorance as I am new to Nagios and I appreciate all the help I can > get with it. > > > > I am running the sanity check after installing Nagios. I seem to be > stuck on my hostgroups.cfg file. I am getting an error message that > says "could not expand member hosts specifed in hostgroup ( config > file yada yada yada line 21) > > > > My hostgroup.cfg file looks like this.... > > > > define hostgroup{ > > hostgroup_name nt-servers > > alias NT Servers > > contact_groups nt-admins > > members WUSNE227,WUSNE187, etc,etc > > } > > > > I have edited my /etc/hosts file with all of the server names and IP > address and I can ping them all by name. > > > > What am I missing? > > > > Thank you for the help! > > > > Regards, > > > > Ed St.John > > > > > > > > > ------------------------------------------------------- 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 Fri May 21 16:54:07 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 21 May 2004 16:54:07 +0200 Subject: hostgroup.cfg file In-Reply-To: References: Message-ID: <40AE180F.608@op5.se> Ed.StJohn at wic-us.com wrote: > I am running the sanity check after installing Nagios. I seem to be stuck on > my hostgroups.cfg file. I am getting an error message that says "could not > expand member hosts specifed in hostgroup ( config file yada yada yada line > 21) > > My hostgroup.cfg file looks like this.... > > define hostgroup{ > > hostgroup_name nt-servers > > alias NT Servers > > contact_groups nt-admins > > members WUSNE227,WUSNE187, etc,etc > > } > > > > I have edited my /etc/hosts file with all of the server names and IP address > and I can ping them all by name. > > What am I missing? > Probably identical spelling. Check it over a couple of times (or better still, have a script check it for you, so you KNOW it's not because of spelling issues). Try this, for instance (without any linebreaks); for host in `sed 's/^ *//' hostgroups.cfg | grep ^members | gawk '{ print $2 }' | sed 's/,/ /g'` ; do grep hostname hosts.cfg | gawk '{ print $2 }' | grep -q $host || echo "$host not mentioned in hosts.cfg" ; done Two things worth remembering; All variables are case sensitive. Spaces are NOT allowed in commaseparated lists. > > > Thank you for the help! > You're welcome. > > > Regards, > > Ed St.John > -- 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 GWCOOK at mactec.com Fri May 21 17:31:58 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Fri, 21 May 2004 09:31:58 -0600 Subject: Getting Performance Data into the perfdata files Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E90D9@golden-m.mactec.com> I've sent this question to the PerfParse users list, but I don't think that there are too many people on the list yet. Also, while I want to use PerfParse to display my performance data, this is really a Nagios question, as I have not yet reached the PerfParse portion of the setup. I've recompiled Nagios 1.2 with performance data (file-based) enabled, and I then installed the plugins from yesterday's CVS head (which broke check_nagios, had to copy over my old one). I added the necessary directives to the main configuration file, as described in the Nagios Performance Data docs. For some reason, I'm still not getting anything in the perfdata logs. Owner/Group and permissions are correct on the perfdata logs. At least I think that they are, they are the same as all of the other logs in nagios/var. I thought that it could be that I'm just not using any of the plugins that utilize performance data. But since check_load is shown being graphed on the PerfParse webpage, I enabled it, ran it from the command line to verify that it returned perfdata, and then added it to Nagios. Still nothing. Any ideas? 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: 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 Ben at clewett.org.uk Fri May 21 17:48:42 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Fri, 21 May 2004 16:48:42 +0100 Subject: Getting Performance Data into the perfdata files In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D6E90D9@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D6E90D9@golden-m.mactec.com> Message-ID: <40AE24DA.2060101@clewett.org.uk> If you manually enter a check command, does it display the performance data. Eg: /usr/local/nagios/libexec/check_disk -w 10% -c 5% If the performance data is there, you will get something like: DISK OK - free space: / 19458 MB (53%); /boot 35 MB (76%) | /=19457MB;33312;35163;0;37014 /boot=34MB;40;42;0;45 Clearly showing the performance data beyond the '|'. Find one which you know works and ensure Nagios is checking it. Note:- The check_load I used for that web site came from nagios-plugins-HEAD-200403290547.tar.gz, which image are you using? My own nagios.cfg config file shows: process_performance_data=1 xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$ xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t$PERFDATA$ Do you have something similar? Finally, the log file. Please look at the log file (tail -f var/nagios.log) and ensure there are no errors. Ben. Cook, Garry wrote: > I've sent this question to the PerfParse users list, but I don't think > that there are too many people on the list yet. Also, while I want to > use PerfParse to display my performance data, this is really a Nagios > question, as I have not yet reached the PerfParse portion of the setup. > > I've recompiled Nagios 1.2 with performance data (file-based) enabled, > and I then installed the plugins from yesterday's CVS head (which broke > check_nagios, had to copy over my old one). I added the necessary > directives to the main configuration file, as described in the Nagios > Performance Data docs. For some reason, I'm still not getting anything > in the perfdata logs. > > Owner/Group and permissions are correct on the perfdata logs. At least I > think that they are, they are the same as all of the other logs in > nagios/var. > > I thought that it could be that I'm just not using any of the plugins > that utilize performance data. But since check_load is shown being > graphed on the PerfParse webpage, I enabled it, ran it from the command > line to verify that it returned perfdata, and then added it to Nagios. > Still nothing. > > Any ideas? > > 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: 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?k > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 jeff.vier at tradingtechnologies.com Fri May 21 17:20:03 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 21 May 2004 10:20:03 -0500 Subject: CVS access In-Reply-To: <1085131408.3951.5.camel@apollo.antares.org> References: <1085131408.3951.5.camel@apollo.antares.org> Message-ID: <1085152802.4436.7.camel@localhost> On Fri, 2004-05-21 at 11:23 +0200, Thomas Schimpke wrote: > I've tried to access the nagios 2.0 CVS archive using the (usual) > command(s) > but I always get the error > connect to cvs.nagios.sourceforge.net(66.35.250.209):2401 failed: > Connection timed out > What' s wrong here ? Has the server changed ? I thought it was just me :) -- 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 GWCOOK at mactec.com Fri May 21 18:13:15 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Fri, 21 May 2004 10:13:15 -0600 Subject: Getting Performance Data into the perfdata files Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E90DB@golden-m.mactec.com> Ben Clewett wrote: > If you manually enter a check command, does it display the performance > data. Eg: Yes. > Find one which you know works and ensure Nagios is checking > it. Note:- > The check_load I used for that web site came from > nagios-plugins-HEAD-200403290547.tar.gz, which image are you using? I used check_load from nagios-plugins-HEAD-200405201647.tar.gz. It works fine from the command line, performance data after the pipe and all. [garry at netmon1 libexec]$ ./check_load -w 3,3,3 -c 5,5,5 OK - load average: 0.08, 0.83, 1.06|load1=0.080000;3.000000;5.000000;0.000000 load5=0.830000;3.000000;5.000000;0.000000 load15=1.060000;3.000000;5.000000;0.000000 > My own nagios.cfg config file shows: > > process_performance_data=1 > xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log > xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t > $PERFDATA$ > xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log > xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVIC > EDESC$\t$OUTPUT$\t$PERFDATA$ > > Do you have something similar? I have *exactly* the same entries in nagios.cfg. > Finally, the log file. Please look at the log file (tail -f > var/nagios.log) and ensure there are no errors. I tail-followed the nagios.log, and forced a check_load on the box. The only thing that showed up in the log was the forced check, no errors. The forced check returned an OK state to Nagios, but still nothing in the perfdata files. As the tree said to the lumberjack, I'm stumped. > > Cook, Garry wrote: > >> I've sent this question to the PerfParse users list, but I don't >> think that there are too many people on the list yet. Also, while I >> want to use PerfParse to display my performance data, this is really >> a Nagios question, as I have not yet reached the PerfParse portion >> of the setup. >> >> I've recompiled Nagios 1.2 with performance data (file-based) >> enabled, and I then installed the plugins from yesterday's CVS head >> (which broke check_nagios, had to copy over my old one). I added the >> necessary directives to the main configuration file, as described in >> the Nagios Performance Data docs. For some reason, I'm still not >> getting anything in the perfdata logs. >> >> Owner/Group and permissions are correct on the perfdata logs. At >> least I think that they are, they are the same as all of the other >> logs in nagios/var. >> >> I thought that it could be that I'm just not using any of the plugins >> that utilize performance data. But since check_load is shown being >> graphed on the PerfParse webpage, I enabled it, ran it from the >> command line to verify that it returned perfdata, and then added it >> to Nagios. Still nothing. >> >> Any ideas? >> >> 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: 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 at leaplab.com Fri May 21 18:18:07 2004 From: dave at leaplab.com (Dave Barnum) Date: Fri, 21 May 2004 09:18:07 -0700 Subject: Host State Breakdowns Message-ID: <40AE2BBF.3000801@leaplab.com> I was wondering, why sometimes do the hosts listed in the host state breakdowns have 100% undetermined time, sometimes 50/50 undetermined or otherwise, and sometimes 98%uptime, 1% downtime, and 1% unknown? These hosts are set up exactly the same in the config files but i don't understand why i'm seeing such a high amount of undetermined host states in the breakdown. I'm not seeing any other errors elsewhere in nagios besides the normal host up/down statuses. ------------------------------------------------------- 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 Stanley.G.Martin at mail.sprint.com Fri May 21 18:26:19 2004 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [Contractor for Sprint]) Date: Fri, 21 May 2004 11:26:19 -0500 Subject: Contact Information Message-ID: <516DA7BE5D87C8469D89F150CA0B491105F9F04B@PDAWB02C.ad.sprint.com> Kind of a stupid question, but why is there Host and Service notification timeperiods on a Contact when the actual service determines when notifications go out. So if I have my Contact info setup with 24x7 on both, and I setup the service to notify only during normal working hours, I shouldn't be notified outside normal work hours, right? Stanley G. Martin System Administrator Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ben at clewett.org.uk Fri May 21 18:35:39 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Fri, 21 May 2004 17:35:39 +0100 Subject: Getting Performance Data into the perfdata files In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D6E90DB@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D6E90DB@golden-m.mactec.com> Message-ID: <40AE2FDB.8050701@clewett.org.uk> When you configure Nagios, do you get a report like: External Data Routines: ------------------------ Peformance data: File In the Nagios install directory, in ./common, there is a file config.h. Can you confirm it contain the line: #define USE_XPDFILE 1 Can you confirm that you are not yet using 'perfparse'? -- This will truncate the log file to size zero. Permissions again. Always worth checking. My files look like: -rw-rw-r-- 1 nagios nagios 36742 May 21 17:29 hostperf.log -rw-rw-r-- 1 nagios nagios 106238 May 21 17:29 serviceperf.log Apart from that, I'll have to think on it... Ben Cook, Garry wrote: > Ben Clewett wrote: > >>If you manually enter a check command, does it display the performance >>data. Eg: > > > Yes. > > >>Find one which you know works and ensure Nagios is checking >>it. Note:- >>The check_load I used for that web site came from >>nagios-plugins-HEAD-200403290547.tar.gz, which image are you using? > > > I used check_load from nagios-plugins-HEAD-200405201647.tar.gz. It works > fine from the command line, performance data after the pipe and all. > > [garry at netmon1 libexec]$ ./check_load -w 3,3,3 -c 5,5,5 > OK - load average: 0.08, 0.83, > 1.06|load1=0.080000;3.000000;5.000000;0.000000 > load5=0.830000;3.000000;5.000000;0.000000 > load15=1.060000;3.000000;5.000000;0.000000 > > >>My own nagios.cfg config file shows: >> >>process_performance_data=1 >>xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log >>xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t >>$PERFDATA$ >>xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log >>xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVIC >>EDESC$\t$OUTPUT$\t$PERFDATA$ >> >>Do you have something similar? > > > I have *exactly* the same entries in nagios.cfg. > > >>Finally, the log file. Please look at the log file (tail -f >>var/nagios.log) and ensure there are no errors. > > > I tail-followed the nagios.log, and forced a check_load on the box. The > only thing that showed up in the log was the forced check, no errors. > The forced check returned an OK state to Nagios, but still nothing in > the perfdata files. > > As the tree said to the lumberjack, I'm stumped. > > >>Cook, Garry wrote: >> >> >>>I've sent this question to the PerfParse users list, but I don't >>>think that there are too many people on the list yet. Also, while I >>>want to use PerfParse to display my performance data, this is really >>>a Nagios question, as I have not yet reached the PerfParse portion >>>of the setup. >>> >>>I've recompiled Nagios 1.2 with performance data (file-based) >>>enabled, and I then installed the plugins from yesterday's CVS head >>>(which broke check_nagios, had to copy over my old one). I added the >>>necessary directives to the main configuration file, as described in >>>the Nagios Performance Data docs. For some reason, I'm still not >>>getting anything in the perfdata logs. >>> >>>Owner/Group and permissions are correct on the perfdata logs. At >>>least I think that they are, they are the same as all of the other >>>logs in nagios/var. >>> >>>I thought that it could be that I'm just not using any of the plugins >>>that utilize performance data. But since check_load is shown being >>>graphed on the PerfParse webpage, I enabled it, ran it from the >>>command line to verify that it returned perfdata, and then added it >>>to Nagios. Still nothing. >>> >>>Any ideas? >>> >>>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: 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 GWCOOK at mactec.com Fri May 21 19:25:28 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Fri, 21 May 2004 11:25:28 -0600 Subject: Getting Performance Data into the perfdata files Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E90E3@golden-m.mactec.com> Ben Clewett wrote: > When you configure Nagios, do you get a report like: > > External Data Routines: > ------------------------ > Peformance data: File > > In the Nagios install directory, in ./common, there is a file > config.h. Can you confirm it contain the line: > > #define USE_XPDFILE 1 Yes, I remember seeing this in the report when I configured the Nagios binary, and config.status shows that I requested that it be compiled that way: exec ${CONFIG_SHELL-/bin/sh} ./configure --disable-statuswrl --enable-embedded-perl --with-perlcache --with-file-perfdata --no- create --no-recursion ;; Also, in common/config.h, I do indeed have the line that you mentioned above. (Darn, I was hoping that maybe it didn't compile correctly). > Can you confirm that you are not yet using 'perfparse'? -- > This will > truncate the log file to size zero. That's good to know, as I would probably think that I was seeing the same error again if I manage to get past it and install PerfParse. But no, I've not yet gotten that far, haven't even compiled it yet, or setup the mysql db. > Permissions again. Always worth checking. My files look like: > > -rw-rw-r-- 1 nagios nagios 36742 May 21 17:29 hostperf.log > -rw-rw-r-- 1 nagios nagios 106238 May 21 17:29 > serviceperf.log [garry at netmon1 var]$ ll *perf* -rw-rw-r-- 1 nagios nagios 0 May 20 16:02 hostperf.log -rw-rw-r-- 1 nagios nagios 0 May 20 16:02 serviceperf.log Permissions look the same, although the files have not been touched since I created them yesterday afternoon. > Apart from that, I'll have to think on it... > > Ben OK, I'll keep poking and prodding. Anyone know how I would go about seeing if check_load is actually populating the $PERFDATA$ macro when run from Nagios? I've already shown it to work from the command line. I recompiled with DEBUG5 enabled, and then watched the log and forced a check again: [1085160061] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;netmon1;LOAD;1085160058 [1085160070] SERVICE ALERT: netmon1;LOAD;OK;HARD;1;OK - load average: 2.83, 1.71, 1.38 I don't see Performance Data in the log. Should I see it there, or is this proof that $PERFDATA$ is empty? > Cook, Garry wrote: > >> Ben Clewett wrote: >> >>> If you manually enter a check command, does it display the >>> performance data. Eg: >> >> >> Yes. >> >> >>> Find one which you know works and ensure Nagios is checking >>> it. Note:- >>> The check_load I used for that web site came from >>> nagios-plugins-HEAD-200403290547.tar.gz, which image are you using? >> >> >> I used check_load from > nagios-plugins-HEAD-200405201647.tar.gz. It works >> fine from the command line, performance data after the pipe and all. >> >> [garry at netmon1 libexec]$ ./check_load -w 3,3,3 -c 5,5,5 >> OK - load average: 0.08, 0.83, >> 1.06|load1=0.080000;3.000000;5.000000;0.000000 >> load5=0.830000;3.000000;5.000000;0.000000 >> load15=1.060000;3.000000;5.000000;0.000000 >> >> >>> My own nagios.cfg config file shows: >>> >>> process_performance_data=1 >>> xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log >>> xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t >>> $PERFDATA$ >>> xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log >>> xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVIC >>> EDESC$\t$OUTPUT$\t$PERFDATA$ >>> >>> Do you have something similar? >> >> >> I have *exactly* the same entries in nagios.cfg. >> >> >>> Finally, the log file. Please look at the log file (tail -f >>> var/nagios.log) and ensure there are no errors. >> >> >> I tail-followed the nagios.log, and forced a check_load on the box. >> The only thing that showed up in the log was the forced check, no >> errors. The forced check returned an OK state to Nagios, but still >> nothing in the perfdata files. >> >> As the tree said to the lumberjack, I'm stumped. >> >> >>> Cook, Garry wrote: >>> >>> >>>> I've sent this question to the PerfParse users list, but I don't >>>> think that there are too many people on the list yet. Also, while I >>>> want to use PerfParse to display my performance data, this is >>>> really a Nagios question, as I have not yet reached the PerfParse >>>> portion of the setup. >>>> >>>> I've recompiled Nagios 1.2 with performance data (file-based) >>>> enabled, and I then installed the plugins from yesterday's CVS head >>>> (which broke check_nagios, had to copy over my old one). I added >>>> the necessary directives to the main configuration file, as >>>> described in the Nagios Performance Data docs. For some reason, >>>> I'm still not getting anything in the perfdata logs. >>>> >>>> Owner/Group and permissions are correct on the perfdata logs. At >>>> least I think that they are, they are the same as all of the other >>>> logs in nagios/var. >>>> >>>> I thought that it could be that I'm just not using any of the >>>> plugins that utilize performance data. But since check_load is >>>> shown being graphed on the PerfParse webpage, I enabled it, ran it >>>> from the command line to verify that it returned perfdata, and >>>> then added it to Nagios. Still nothing. >>>> >>>> Any ideas? >>>> >>>> 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: 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 GWCOOK at mactec.com Fri May 21 19:30:10 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Fri, 21 May 2004 11:30:10 -0600 Subject: Contact Information Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E90E4@golden-m.mactec.com> Correct. However, if you set service notification to 24X7, and your contact notification to normal working hours, you will see the same thing. If you add a second contact to this service, and that person's contact notification is set to 'off-hours', then YOU will be notified while at work, and THEY will be notified the rest of the time. Read this: http://nagios.sourceforge.net/docs/1_0/timeperiods.html Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Martin, Stanley G [Contractor for Sprint] Sent: Friday, May 21, 2004 10:26 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Contact Information Kind of a stupid question, but why is there Host and Service notification timeperiods on a Contact when the actual service determines when notifications go out. So if I have my Contact info setup with 24x7 on both, and I setup the service to notify only during normal working hours, I shouldn't be notified outside normal work hours, right? Stanley G. Martin System Administrator Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From GWCOOK at mactec.com Fri May 21 19:31:29 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Fri, 21 May 2004 11:31:29 -0600 Subject: Host State Breakdowns Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E90E5@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > I was wondering, why sometimes do the hosts listed in the host state > breakdowns have 100% undetermined time, sometimes 50/50 undetermined > or otherwise, and sometimes 98%uptime, 1% downtime, and 1% > unknown? These > hosts are set up exactly the same in the config files but i don't > understand why i'm seeing such a high amount of undetermined host > states in the breakdown. I'm not seeing any other errors > elsewhere in > nagios besides the normal host up/down statuses. It's in the FAQ. http://www.nagios.org/faqs/viewfaq.php?faq_id=136 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: 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 Paul.Wasik at ipc.com Fri May 21 19:36:00 2004 From: Paul.Wasik at ipc.com (Paul.Wasik at ipc.com) Date: Fri, 21 May 2004 13:36:00 -0400 Subject: SIP Server Monitoring Plugin Message-ID: <1D6EDDB3E43F3B40BC089CCFEE99DB7D089CAD@exnanycmbx1.corp.root.ipc.com> Hi, Has anyone done any work with monitoring SIP telephony servers for availability using Nagios? Something like sending OPTIONs or REGISTER requests to SIP proxies and checking for replies, response times, etc? Thanks, Paul Important Notice ************************************************* This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unintended recipients are prohibited from taking action on the basis of information in this e-mail. E-mail messages may contain computer viruses or other defects, may not be accurately replicated on other systems, or may be intercepted, deleted or interfered with without the knowledge of the sender or the intended recipient. If you are not comfortable with the risks associated with e-mail messages, you may decide not to use e-mail to communicate with IPC. IPC reserves the right, to the extent and under circumstances permitted by applicable law, to retain, monitor and intercept e-mail messages to and from its systems. ------------------------------------------------------- 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 Fri May 21 19:45:55 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Fri, 21 May 2004 13:45:55 -0400 Subject: Contact Information In-Reply-To: <516DA7BE5D87C8469D89F150CA0B491105F9F04B@PDAWB02C.ad.sprint.com> References: <516DA7BE5D87C8469D89F150CA0B491105F9F04B@PDAWB02C.ad.sprint.com> Message-ID: <1085161554.4397.119.camel@pel> On Fri, 2004-05-21 at 12:26, Martin, Stanley G [Contractor for Sprint] wrote: > Kind of a stupid question, but why is there Host and Service > notification timeperiods on a Contact when the actual service > determines when notifications go out. > > So if I have my Contact info setup with 24x7 on both, and I setup the > service to notify only during normal working hours, I shouldn???t be > notified outside normal work hours, right? Nagios can send out notifications for a service being up/warning/critical/unknown, and it can also send notifications for a host being up/down/unknown. These two types of notifications are handled differently by nagios. They have their own notification commands, and own notification time periods. So, if a service is failing, you should only be notified during working hours. If a host goes down, you should be notified any time, day or night. ------------------------------------------------------- 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 marc at ena.com Fri May 21 20:17:32 2004 From: marc at ena.com (Marc Powell) Date: Fri, 21 May 2004 13:17:32 -0500 Subject: Host State Breakdowns Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B637F@mismail2.ena.com> Dave Barnum wrote: > I was wondering, why sometimes do the hosts listed in the host state > breakdowns have 100% undetermined time, sometimes 50/50 undetermined > or otherwise, and sometimes 98%uptime, 1% downtime, and 1% unknown? > These hosts are set up exactly the same in the config files but i > don't understand why i'm seeing such a high amount of undetermined > host states in the breakdown. I'm not seeing any other errors > elsewhere in nagios besides the normal host up/down statuses. http://www.nagios.org/faqs/viewfaq.php?faq_id=136 is usually the answer... -- 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 marc at ena.com Fri May 21 20:19:56 2004 From: marc at ena.com (Marc Powell) Date: Fri, 21 May 2004 13:19:56 -0500 Subject: Contact Information Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6380@mismail2.ena.com> ________________________________ From: Martin, Stanley G [Contractor for Sprint] [mailto:Stanley.G.Martin at mail.sprint.com] Sent: Friday, May 21, 2004 11:26 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Contact Information Kind of a stupid question, but why is there Host and Service notification timeperiods on a Contact when the actual service determines when notifications go out. So if I have my Contact info setup with 24x7 on both, and I setup the service to notify only during normal working hours, I shouldn't be notified outside normal work hours, right? Correct. http://nagios.sourceforge.net/docs/1_0/notifications.html fully details the notification logic and what filters must be passed at each step before a notification is sent. -- 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 RMontemayor-OKltsSzJWkZBDgjK7y7TUQ at public.gmane.org Fri May 21 22:11:07 2004 From: RMontemayor-OKltsSzJWkZBDgjK7y7TUQ at public.gmane.org (Rudy Montemayor) Date: Fri, 21 May 2004 15:11:07 -0500 Subject: nrpe for AIX 5.2 Message-ID: I was wondering if anybody has the pre-compiled/binary for nrpe 1.8 or nrpe 2.0 for AIX 5.2. I downloaded the src for nrpe 2.0 but found that our AIX box does not have gcc and looks like we do not have the disk space to complete the installation of gcc. Any help in getting either nrpe 1.8 or 2.0 for AIX 5.2 would be greatly appreciated. Thanks, Rudy Montemayor Hint Oil Company ------------------------------------------------------- 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 _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RichardL at profero.com Sat May 22 19:48:24 2004 From: RichardL at profero.com (Richard Lefevre) Date: Sat, 22 May 2004 18:48:24 +0100 Subject: Hiding hosts/services from host/service status views. Message-ID: <6DC91C2935EED54B9AB1F722B80993E704C20B@uk-exc-0140.profero.ad> Hi All, I have created a number of 'fake' hosts in order for presentation of the status map - my question, is it possible to remove certain hosts from the table views (Service Detail, Host Detail, etc). It's not detrimental to monitoring, but it just doesn't look nice! I'd really like to avoid having to hack the source and adding a 'active' or something flag. Any help (or advice about a better way to make status map look pretty) would be great Cheers, Richard. From ben at clewett.org.uk Sat May 22 21:07:58 2004 From: ben at clewett.org.uk (Ben Clewett) Date: Sat, 22 May 2004 20:07:58 +0100 Subject: Getting Performance Data into the perfdata files In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D6E90E3@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D6E90E3@golden-m.mactec.com> Message-ID: <40AFA50E.4050301@clewett.org.uk> Garry, The only other thing I can thing of is staining the output from check_load by recompiling with some noticable debug. Then see if it comes up in logs or anything. But I see you have tried this. So it's definitelly running your version with perf data, and this data is definitelly being lost. The only difference I can see is the flags you use to compile nagios. You could try a vanilla build with only the --with-file-perfdata. Bit radical, but all I can thing of. ??? Ben Cook, Garry wrote: > Ben Clewett wrote: > >>When you configure Nagios, do you get a report like: >> >> External Data Routines: >> ------------------------ >> Peformance data: File >> >>In the Nagios install directory, in ./common, there is a file >> config.h. Can you confirm it contain the line: >> >>#define USE_XPDFILE 1 > > > Yes, I remember seeing this in the report when I configured the Nagios > binary, and config.status shows that I requested that it be compiled > that way: > exec ${CONFIG_SHELL-/bin/sh} ./configure --disable-statuswrl > --enable-embedded-perl --with-perlcache --with-file-perfdata --no- > create --no-recursion ;; > > Also, in common/config.h, I do indeed have the line that you mentioned > above. (Darn, I was hoping that maybe it didn't compile correctly). > > >>Can you confirm that you are not yet using 'perfparse'? -- >>This will >>truncate the log file to size zero. > > > That's good to know, as I would probably think that I was seeing the > same error again if I manage to get past it and install PerfParse. But > no, I've not yet gotten that far, haven't even compiled it yet, or setup > the mysql db. > > >>Permissions again. Always worth checking. My files look like: >> >>-rw-rw-r-- 1 nagios nagios 36742 May 21 17:29 hostperf.log >>-rw-rw-r-- 1 nagios nagios 106238 May 21 17:29 >>serviceperf.log > > > [garry at netmon1 var]$ ll *perf* > -rw-rw-r-- 1 nagios nagios 0 May 20 16:02 hostperf.log > -rw-rw-r-- 1 nagios nagios 0 May 20 16:02 serviceperf.log > > Permissions look the same, although the files have not been touched > since I created them yesterday afternoon. > > >>Apart from that, I'll have to think on it... >> >>Ben > > > OK, I'll keep poking and prodding. Anyone know how I would go about > seeing if check_load is actually populating the $PERFDATA$ macro when > run from Nagios? I've already shown it to work from the command line. I > recompiled with DEBUG5 enabled, and then watched the log and forced a > check again: > > [1085160061] EXTERNAL COMMAND: > SCHEDULE_FORCED_SVC_CHECK;netmon1;LOAD;1085160058 > [1085160070] SERVICE ALERT: netmon1;LOAD;OK;HARD;1;OK - load average: > 2.83, 1.71, 1.38 > > I don't see Performance Data in the log. Should I see it there, or is > this proof that $PERFDATA$ is empty? > > >>Cook, Garry wrote: >> >> >>>Ben Clewett wrote: >>> >>> >>>>If you manually enter a check command, does it display the >>>>performance data. Eg: >>> >>> >>>Yes. >>> >>> >>> >>>>Find one which you know works and ensure Nagios is checking >>>>it. Note:- >>>>The check_load I used for that web site came from >>>>nagios-plugins-HEAD-200403290547.tar.gz, which image are you using? >>> >>> >>>I used check_load from >> >>nagios-plugins-HEAD-200405201647.tar.gz. It works >> >>>fine from the command line, performance data after the pipe and all. >>> >>>[garry at netmon1 libexec]$ ./check_load -w 3,3,3 -c 5,5,5 >>>OK - load average: 0.08, 0.83, >>>1.06|load1=0.080000;3.000000;5.000000;0.000000 >>>load5=0.830000;3.000000;5.000000;0.000000 >>>load15=1.060000;3.000000;5.000000;0.000000 >>> >>> >>> >>>>My own nagios.cfg config file shows: >>>> >>>>process_performance_data=1 >>>>xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log >>>>xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t >>>>$PERFDATA$ >>>>xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log >>>>xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVIC >>>>EDESC$\t$OUTPUT$\t$PERFDATA$ >>>> >>>>Do you have something similar? >>> >>> >>>I have *exactly* the same entries in nagios.cfg. >>> >>> >>> >>>>Finally, the log file. Please look at the log file (tail -f >>>>var/nagios.log) and ensure there are no errors. >>> >>> >>>I tail-followed the nagios.log, and forced a check_load on the box. >>>The only thing that showed up in the log was the forced check, no >>>errors. The forced check returned an OK state to Nagios, but still >>>nothing in the perfdata files. >>> >>>As the tree said to the lumberjack, I'm stumped. >>> >>> >>> >>>>Cook, Garry wrote: >>>> >>>> >>>> >>>>>I've sent this question to the PerfParse users list, but I don't >>>>>think that there are too many people on the list yet. Also, while I >>>>>want to use PerfParse to display my performance data, this is >>>>>really a Nagios question, as I have not yet reached the PerfParse >>>>>portion of the setup. >>>>> >>>>>I've recompiled Nagios 1.2 with performance data (file-based) >>>>>enabled, and I then installed the plugins from yesterday's CVS head >>>>>(which broke check_nagios, had to copy over my old one). I added >>>>>the necessary directives to the main configuration file, as >>>>>described in the Nagios Performance Data docs. For some reason, >>>>>I'm still not getting anything in the perfdata logs. >>>>> >>>>>Owner/Group and permissions are correct on the perfdata logs. At >>>>>least I think that they are, they are the same as all of the other >>>>>logs in nagios/var. >>>>> >>>>>I thought that it could be that I'm just not using any of the >>>>>plugins that utilize performance data. But since check_load is >>>>>shown being graphed on the PerfParse webpage, I enabled it, ran it >>>>>from the command line to verify that it returned perfdata, and >>>>>then added it to Nagios. Still nothing. >>>>> >>>>>Any ideas? >>>>> >>>>>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: 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 Sat May 22 21:31:33 2004 From: mtxmatrix at hotmail.com (Francesco De Santolo) Date: Sat, 22 May 2004 19:31:33 +0000 Subject: What I'm I doing wrong here? Message-ID: Hello, Like a week ago I asked for help about the check_load script, and no-one wasn't able to help me... I would like to know if that command uses SNMP (wich I don't have) or something is wrong... Where is the configuration I should modify, etc... Please try to help me this time. # 'check_local_load' command definition define command{ command_name check_local_load command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ } Thank You, Francisco _________________________________________________________________ MSN Amor: busca tu ? naranja http://latam.msn.com/amor/ ------------------------------------------------------- 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 Sat May 22 23:11:40 2004 From: mtxmatrix at hotmail.com (Francesco De Santolo) Date: Sat, 22 May 2004 21:11:40 +0000 Subject: What I'm I doing wrong here? Message-ID: [root at supr libexec]# ./check_load -w 15,25,45 -c 55,75,95 OK - load average: 0.00, 0.01, 0.02 [root at supr libexec]# Nagios 1.2, OS Fedora Core 1. Thanks a lot Mark, Francisco >From: "Mark Grafing" >To: "Francesco De Santolo" >Subject: RE: [Nagios-users] What I'm I doing wrong here? >Date: Sat, 22 May 2004 15:00:05 -0500 > >Try running this from command line in your nagios/libexec directory: > >./check_load -w 15,25,45 -c 55,75,95 > >Let me know what it returns to you. I also need to know what version of >Nagios and what OS you are running. >Thanks, >~MARK~ > >-----Original Message----- >From: Francesco De Santolo [mailto:mtxmatrix at hotmail.com] >Sent: Saturday, May 22, 2004 2:32 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] What I'm I doing wrong here? > > >Hello, > >Like a week ago I asked for help about the check_load script, and no-one >wasn't able to help me... > >I would like to know if that command uses SNMP (wich I don't have) or >something is wrong... Where is the configuration I should modify, etc... > >Please try to help me this time. > ># 'check_local_load' command definition >define command{ > command_name check_local_load > command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ > } > >Thank You, >Francisco > >_________________________________________________________________ >MSN Amor: busca tu ? naranja http://latam.msn.com/amor/ > > > >------------------------------------------------------- >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 _________________________________________________________________ Las mejores tiendas, los precios mas bajos, entregas en todo el mundo, YupiMSN Compras: http://latam.msn.com/compras/ ------------------------------------------------------- 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 nagios.org Sun May 23 00:05:36 2004 From: nagios at nagios.org (Ethan Galstad) Date: Sat, 22 May 2004 17:05:36 -0500 Subject: CVS access In-Reply-To: <1085152802.4436.7.camel@localhost> References: <1085131408.3951.5.camel@apollo.antares.org> Message-ID: <40AF8860.3303.138A76D@localhost> SourceForge recently changed things. The new URL is just: cvs.sourceforge.net/something... I'll update the CVS page on the site to reflect this. On 21 May 2004 at 10:20, jeff vier wrote: > > On Fri, 2004-05-21 at 11:23 +0200, Thomas Schimpke wrote: > > I've tried to access the nagios 2.0 CVS archive using the (usual) > > command(s) > > > but I always get the error > > connect to cvs.nagios.sourceforge.net(66.35.250.209):2401 failed: > > Connection timed out What' s wrong here ? Has the server changed ? > > I thought it was just me :) > > -- > 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 Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- 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 Sat May 22 23:22:47 2004 From: slade at cryptoflow.net (Slade Edmonds) Date: Sat, 22 May 2004 14:22:47 -0700 Subject: What I'm I doing wrong here? In-Reply-To: References: Message-ID: <40AFC4A7.9090902@cryptoflow.net> Francesco De Santolo wrote: > Hello, > > Like a week ago I asked for help about the check_load script, and > no-one wasn't able to help me... > > I would like to know if that command uses SNMP (wich I don't have) or > something is wrong... Where is the configuration I should modify, etc... > > Please try to help me this time. > > # 'check_local_load' command definition > define command{ > command_name check_local_load > command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ > } > > Thank You, > Francisco > The check_load you are referring to does not use snmp. It is a simple script that grabs output from 'uptime' or similar. You need to be a tad more specific of what exactly your problem is (beyond not knowing whether or not the plugin uses snmp). 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 Mark.Duling at biola.edu Sun May 23 05:44:26 2004 From: Mark.Duling at biola.edu (Mark Duling) Date: Sat, 22 May 2004 20:44:26 -0700 Subject: Nagios on OS X? Message-ID: I am new to the list so I'm sorry if this has been covered but Nagios complains that GD isn't installed on OS X even though it is installed and tested just like in the FAQ about Red Hat. http://www.nagios.org/faqs/viewfaq.php?faq_id=194 But where do I get libpng-devel for bsd? I only find RPM's. Thanks. Mark ------------------------------------------------------- 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 Sun May 23 06:40:44 2004 From: nagios at nomoreheroes.org.uk (bob) Date: Sun, 23 May 2004 05:40:44 +0100 Subject: Nagios on OS X? In-Reply-To: References: Message-ID: <1085287244.2539.6.camel@localhost> If you look around then you shall find the libpng files that you need for nagios, os x 10.2 was my testing box for configuring nagios before deploying it on a BSD box. Two seconds of searching found the homepage for libpng: http://www.libpng.org/pub/png/libpng.html Read the instructions carefully in order to install this and GD. I don't know why you are following a redhat guide when installing on mac os x, take time out to read the instructions for installing it on a mac. Mannuals on these things are your friend. I had a bit of trouble until I read the guides for all the things I needed to install, but once I commited myself to reading carefully I found that it compiled without any problems. On Sun, 2004-05-23 at 04:44, Mark Duling wrote: > I am new to the list so I'm sorry if this has been covered but Nagios > complains that GD isn't installed on OS X even though it is installed and > tested just like in the FAQ about Red Hat. > > http://www.nagios.org/faqs/viewfaq.php?faq_id=194 > > But where do I get libpng-devel for bsd? I only find RPM's. Thanks. > > Mark > > > > ------------------------------------------------------- > 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 dpeterson3 at san.rr.com Sun May 23 20:20:05 2004 From: dpeterson3 at san.rr.com (Dixie Peterson) Date: 23 May 2004 11:20:05 -0700 Subject: CGI's Won't Work - Output is garbage Message-ID: <1085336401.8195.27.camel@piglet> Hello! I recently installed Nagios 1.2 on a system running RedHat Linux 9. The installation went fine, but I can't seem to get the CGI's to work. When I try to run them through the web interface all I get for output is gibberish. When I run them on the command line and monitor them with strace, I get errors like this: open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/nagios/share/ssi/avail-footer.ssi", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/nagios/share/ssi/common-footer.ssi", O_RDONLY) = -1 ENOENT (No such file or directory) Did I screw up in installing the cgi's somehow? The /usr/local/nagios/share/ssi directory is present on my system, but it's empty. There are no .ssi files anywhere at all. I'm afraid I don't know what the /etc/ld.so.preload file it's looking for is. Any advice on how to deal with this problem would be most appreciated. Thanks! Dixie Peterson ------------------------------------------------------- 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 Sun May 23 21:34:26 2004 From: marc at ena.com (Marc Powell) Date: Sun, 23 May 2004 14:34:26 -0500 Subject: CGI's Won't Work - Output is garbage Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6384@mismail2.ena.com> Dixie Peterson wrote: > Hello! > > I recently installed Nagios 1.2 on a system running RedHat Linux 9. > The installation went fine, but I can't seem to get the CGI's to > work. When I try to run them through the web interface all I get for > output is gibberish. When I run them on the command line and monitor > them with strace, I get errors like this: > > open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or > directory) > open("/usr/local/nagios/share/ssi/avail-footer.ssi", O_RDONLY) = -1 > ENOENT (No such file or directory) > open("/usr/local/nagios/share/ssi/common-footer.ssi", O_RDONLY) = -1 > ENOENT (No such file or directory) It's more likely that your web server just doesn't know what do to with cgi files and is simply displaying them instead of executing them... Make sure your web server is properly configured to execute cgi files. If you're using apache, you probably need to make sure you have the following -- LoadModule cgi_module modules/mod_cgi.so AddModule mod_cgi.c AddHandler cgi-script .cgi AllowOverride AuthConfig Options FollowSymLinks ExecCGI Satisfy All You'll need to restart apache if you modify httpd.conf of course. -- 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 marino.simons at acerta.be Mon May 24 08:59:08 2004 From: marino.simons at acerta.be (marino.simons at acerta.be) Date: Mon, 24 May 2004 08:59:08 +0200 Subject: High check latency with nagios Message-ID: Hi All, We are setting up nagios to monitor our infrastructure, and we ran into a few problems. Most of them I"ve been able to solve, thanks to reading the mailinglist. But the latest problem is a persistent one. I'm running nagios on Suse Enterprise server 9, with kernel 2.6.5 on a dual 2.4 ghz intel Xeon server with hyperthreading enabled, the system has 2GB ram. We recompiled the kernel with SMP-support, en it detects 4 cpu's.. In nagios we defined 405 servers, and we do 6855 active checks, and 17 passive checks. And we have an extremely bad performance. At the tactical overview I see the following information: check latency: 4468.402 sec. It takes nagios about 1,5 hour to see a status change. Needless to say that this is not acceptable. Anyway I am looking for some hints, does anybode have an idea on what causes this behavior? Thanks in advance!! Marino -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Mon May 24 09:55:28 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 24 May 2004 09:55:28 +0200 Subject: High check latency with nagios In-Reply-To: References: Message-ID: <40B1AA70.3010900@op5.se> If one or more hosts are down, this is more than likely to happpen, as Nagios attempts to establish 'down-ness' of hosts before anything else, and puts off all other checks while hosts go down (this is to determine if service check failures are due to network outages or not). Result; If network is 'flimsy' from time to time, Nagios runs into trouble. I've been meaning to try and work around this, but that requires a slight redesign of checking logic, and I'm not about to undertake that kind of project without knowing it'll be good enough to get into the main source. marino.simons at acerta.be wrote: > Hi All, > > We are setting up nagios to monitor our infrastructure, and we ran into a > few problems. Most of them I"ve been able to solve, thanks to reading > the mailinglist. But the latest problem is a persistent one. > I'm running nagios on Suse Enterprise server 9, with kernel 2.6.5 on a > dual 2.4 ghz intel Xeon server with hyperthreading enabled, the system has > 2GB ram. We recompiled the kernel with SMP-support, en it detects 4 > cpu's.. In nagios we defined 405 servers, and we do 6855 active checks, > and 17 passive checks. And we have an extremely bad performance. > At the tactical overview I see the following information: check latency: > 4468.402 sec. It takes nagios about 1,5 hour to see a status change. > Needless to say that this is not acceptable. > Anyway I am looking for some hints, does anybode have an idea on what > causes this behavior? > > Thanks in advance!! > Marino -- 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 nagios at nomoreheroes.org.uk Mon May 24 11:30:33 2004 From: nagios at nomoreheroes.org.uk (dennis) Date: Mon, 24 May 2004 10:30:33 +0100 Subject: Nagios on OS X? In-Reply-To: <1085287244.2539.6.camel@localhost> References: <1085287244.2539.6.camel@localhost> Message-ID: <40B1C0B9.5080306@nomoreheroes.org.uk> If it helps, I have done searches to see what is on my system that is related to those files, so that you can see if there is any differences or not. I have left out all instances where i have related files that I don't think are relevant: /usr/local/include/libpng /usr/local/include/libpng12 /usr/local/include/libpng12/png.h /usr/local/include/libpng12/pngconf.h /usr/local/lib/libpng.a /usr/local/lib/libpng12.0.1.2.5.dylib /usr/local/lib/libpng12.a /usr/local/lib/libjpeg.62.0.0.dylib /usr/local/lib/libjpeg.62.dylib /usr/local/lib/libjpeg.a /usr/local/lib/libjpeg.dylib /usr/local/lib/libjpeg.la gd is a bit wierd because i seach my harddisk but i don't know what files are relevant because digging up all files with gd in them is a little bit long and i don't know what ones are right. did you compile and install them yourself or did you get them in some sort of package format ? Mark Duling wrote: >>If you look around then you shall find the libpng files that you need >>for nagios, os x 10.2 was my testing box for configuring nagios before >>deploying it on a BSD box. >> >> > > > > >>http://www.libpng.org/pub/png/libpng.html >> >>Read the instructions carefully in order to install this and GD. >> >> > >I'm sorry my question wasn't clear. I have installed GD, libpng, libjpeg >and tested them on OS X. But when I try to install Nagios it complains >that they are not installed. It seems I have the same problem that the >Nagios FAQ says happens with Redhat 9. > >My question is: Is libpng-devel separate and distinct from libpng like the >FAQ seems to imply? Because I can find no reference to libpng-devel on >the libpng site. If this answer can be found by reading the documentation >I will find it, but I haven't yet been able to do so. Thanks. > >http://www.nagios.org/faqs/viewfaq.php?faq_id=194 >--------------------------------------------------------------- >Description: >I have gd, libpng and libjpeg installed on my system, i've used the >--with-gd-inc and --with-gd-lib options, and configure still insists that >the "GD, PNG, and/or JPEG libraries could not be located!" > >Solution: >Redhat 9 doesn't seem to install the libpng-devel or libjpeg-devel >packages by default. Installing these rpms fixes the problem. >---------------------------------------------------------------- > > > > > ------------------------------------------------------- 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 dchemko at smgtec.com Tue May 18 09:04:14 2004 From: dchemko at smgtec.com (Daniel Chemko) Date: Tue, 18 May 2004 00:04:14 -0700 Subject: NS Client issue In-Reply-To: References: Message-ID: <40A9B56E.4030605@smgtec.com> > 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. > Sounds like a job for Windows built-in port filtering. Its bad and simple, but it should work. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dchemko at smgtec.com Tue May 18 06:34:55 2004 From: dchemko at smgtec.com (Daniel Chemko) Date: Mon, 17 May 2004 21:34:55 -0700 Subject: 100% Undetermined time In-Reply-To: References: Message-ID: <40A9926F.5080800@smgtec.com> Your check commands aren't written correctly, or you haven't passed the correct arguments to the check commands. libexec/check_ping: -H, --hostname=HOST host to ping -w, --warning=THRESHOLD warning threshold pair -c, --critical=THRESHOLD critical threshold pair -p, --packets=INTEGER number of ICMP ECHO packets to send (Default: 5) -t, --timeout=INTEGER optional specified timeout in second (Default: 10) -L, --link show HTML in the plugin output (obsoleted by urlize) THRESHOLD is ,% where is the round trip average travel time (ms) which triggers a WARNING or CRITICAL state, and is the percentage of packet loss to trigger an alarm state. Seems to be the same thing for the server load plugin. 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... > > 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 ------------------------------------------------------- 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 Michael.Huettig at Medien-Systempartner.de Mon May 24 12:48:12 2004 From: Michael.Huettig at Medien-Systempartner.de (Michael Huettig) Date: Mon, 24 May 2004 12:48:12 +0200 Subject: freshness check on passive service fails Message-ID: <200405241248.12961.Michael.Huettig@Medien-Systempartner.de> Hi all, i?m using nagios 1.2 with nsca/send-nsca 2.4 to submit passive check-results from some services. Works fine for more than 6 months but last week it starts up making me crazy. nagios doesn?t accept any value on freshness-threshold, it starts every 5 minutes the script, which notifies me. here is my service-config: -- # Service definition define service{ host_name mh2 service_description test-service-passiv use process-template active_checks_enabled 0 passive_checks_enabled 1 check_freshness 1 freshness_threshold 4000 contact_groups test-grp is_volatile 1 check_command check_passiv } define service{ use generic-service ; Name of service template to use name process-template is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 10 notification_period Produktiv-Systeme notification_options w,u,c,r register 0 } on host mh2 run?s an cron-script which submits the passive check-result via send-nsca every hour. So i receive every hour that test-service-passive is o.k. but after 5 Minutes nagios wants to check freshness of this service. Any suggestions, ideas, why nagios doesn?t accept the check-freshness-period of 4000 seconds? Regards, Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.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 Stanley.Hopcroft at IPAustralia.Gov.AU Mon May 24 14:52:15 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 24 May 2004 22:52:15 +1000 Subject: Escalations - getting a different message/notify command for each different escalation level. Message-ID: <20040524225214.A454@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, Is there any way of having escalated notifications send a different alert/notice message for each different escalation level ? A search of the Nag FAQs shows nothing about escalation and the closest Gmanes search facility gets is http://article.gmane.org/gmane.network.nagios.user/12902/match=escalation (3 escalation levels with 3 different contact groups). The application is that at each escalation level . the original contact group is made aware by a different message that escalation has occurred . each escalation level can have a notification reflecting that level (by for example indicating how long the host or service has been down or critical). The problem seems to be that while each escalation level can have its own host group it seems not to be able to have its own 'notify commands'. A possible future solution would be to allow escalation templates to specify the host_notify_command and service_notify_command attributes. Another rather awkward solution is to have an event correlator examine the Nag logs and use the correlators rules and actions to do the escalation. Another cumbersome solution is to define multiple contacts for each entity to be notified and collect these with the different notify commands in the 3 contact groups ... Does anyone else see the need for such a facility or have a config or pointers they would like to share ? Thank you. 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: 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 Mon May 24 15:54:35 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 24 May 2004 15:54:35 +0200 Subject: Escalations - getting a different message/notify command for each different escalation level. In-Reply-To: <20040524225214.A454@IPAustralia.Gov.AU> References: <20040524225214.A454@IPAustralia.Gov.AU> Message-ID: <40B1FE9B.3010109@op5.se> Stanley Hopcroft wrote: > Dear Ladies and Gentlemen, > > Is there any way of having escalated notifications send a different > alert/notice message for each different escalation level ? > Yes. Nagios sports the nifty macro $NOTIFICATIONNUMBER$ (or something) which can be passed to notification-commands. Just write your own and evaluate the $NOTIFICATIONNUMBER$ macro before 'designing' the message. If this macro doesn't work as I expect (it might not, after all), then why not just add another macro ($ESCALATIONLEVEL$ or something). I have a script that could easily be hacked for this lying around somewhere, but I'm not sure where I've put it. I'll let you know if I find it. > A search of the Nag FAQs shows nothing about escalation and the closest > Gmanes search facility gets is > > http://article.gmane.org/gmane.network.nagios.user/12902/match=escalation > > (3 escalation levels with 3 different contact groups). > > The application is that at each escalation level > > . the original contact group is made aware by a different message that > escalation has occurred > > . each escalation level can have a notification reflecting that level > (by for example indicating how long the host or service has been down or > critical). > > The problem seems to be that while each escalation level can have its > own host group it seems not to be able to have its own 'notify > commands'. > > A possible future solution would be to allow escalation templates to > specify the host_notify_command and service_notify_command attributes. > Seems like a bit overkill to me, since it would require more of both nagios and the end user. I'll dig in on finding that notification-script and make it public (maybe even default?) one way or another. > Another rather awkward solution is to have an event correlator examine > the Nag logs and use the correlators rules and actions to do the > escalation. > The notification command I wrote gets name of acknowledging user this way. Depending on the depth of mining you need to do, it's not really all that hard. > Another cumbersome solution is to define multiple contacts for each > entity to be notified and collect these with the different notify > commands in the 3 contact groups ... > > Does anyone else see the need for such a facility or have a config or > pointers they would like to share ? > > Thank you. > You're welcome. > Yours sincerely. > Mine? Oh.. cutie there. ;-) -- 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 rnelson at windchannel.com Mon May 24 19:26:05 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Mon, 24 May 2004 13:26:05 -0400 Subject: Hiding hosts/services from host/service status views. Message-ID: > I have created a number of 'fake' hosts in order for > presentation of the status map - my question, is it possible > to remove certain hosts from the table views (Service Detail, > Host Detail, etc). It's not detrimental to monitoring, but it > just doesn't look nice! I don't know why you'd use the Service Detail or Host Detail links. I'd create hostgroups that contain only the real hosts, or subsets of the real hosts, and use the "grouplist" add-on to only view hosts/services in that group. If need be, the full service/host detail pages are still there. Rob Nelson Network Engineer Windchannel Communications 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 CBallowe at usg.com Mon May 24 21:41:36 2004 From: CBallowe at usg.com (Ballowe, Charles) Date: Mon, 24 May 2004 14:41:36 -0500 Subject: command file problem Message-ID: I've got a little issue -- I'm not sure if it's a bug or if I'm doing something wrong. I'm running nagios 1.2 and the comments in the config file indicate (as I see) that the external command file goes away after it's contents are executed. The cmd.cgi seems to expect it to exist and fails to find it and also doesn't bother to create it. Everything I've found in the FAQs seems to indicate that my permissions are set right -- i've tried having the directory owned by both nagios and nobody - same results. Any thoughts? Is there any more information that would help solve this? ------------------------------------------------------- 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 mshirley at ysi.com Mon May 24 21:41:53 2004 From: mshirley at ysi.com (mshirley at ysi.com) Date: Mon, 24 May 2004 15:41:53 -0400 Subject: High check latency with nagios Message-ID: Sorry but that sounds like an incredibly large number of checks and hosts to be running on a single machine. There's no wonder you're having such problems. Unfortunatly this may be purley design and the reason that clustering is a possiblility now. Perhaps using multiple boxes (even slow ones) spread out with a central server doing data collection would be a better alternative. Also, just because you have 2 processors and smp enabled in the kernel doesn't mean nagios was written with proper threading in mind (which defeats the purpose of dual processors). Mark Shirley IT Helpdesk YSI Incorporated |---------+----------------------------------------> | | marino.simons at acerta.be | | | Sent by: | | | nagios-users-admin at lists.sour| | | ceforge.net | | | | | | | | | 05/24/2004 02:59 AM | | | | |---------+----------------------------------------> >---------------------------------------------------------------------------------------------------------------| | | | To: nagios-users at lists.sourceforge.net | | cc: | | Subject: [Nagios-users] High check latency with nagios | >---------------------------------------------------------------------------------------------------------------| Hi All, We are setting up nagios to monitor our infrastructure, and we ran into a few problems. Most of them I"ve been able to solve, thanks to reading the mailinglist. But the latest problem is a persistent one. I'm running nagios on Suse Enterprise server 9, with kernel 2.6.5 on a dual 2.4 ghz intel Xeon server with hyperthreading enabled, the system has 2GB ram. We recompiled the kernel with SMP-support, en it detects 4 cpu's.. In nagios we defined 405 servers, and we do 6855 active checks, and 17 passive checks. And we have an extremely bad performance. At the tactical overview I see the following information: check latency: 4468.402 sec. It takes nagios about 1,5 hour to see a status change. Needless to say that this is not acceptable. Anyway I am looking for some hints, does anybode have an idea on what causes this behavior? Thanks in advance!! Marino ------------------------------------------------------- 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 b00mer at gmx.net Mon May 24 22:00:12 2004 From: b00mer at gmx.net (Hendrik B) Date: Mon, 24 May 2004 22:00:12 +0200 Subject: command file problem In-Reply-To: References: Message-ID: <61243524.20040524220012@gmx.net> Guten Tag Ballowe, Charles, am Montag, 24. Mai 2004 um 21:41 schrieben Sie: BC> I've got a little issue -- I'm not sure if it's a bug or if I'm doing BC> something wrong. I'm running nagios 1.2 and the comments in the config file BC> indicate (as I see) that the external command file goes away after it's BC> contents are executed. The cmd.cgi seems to expect it to exist and fails to BC> find it and also doesn't bother to create it. BC> Everything I've found in the FAQs seems to indicate that my permissions are BC> set right -- i've tried having the directory owned by both nagios and nobody BC> - same results. Any thoughts? BC> Is there any more information that would help solve this? BC> ------------------------------------------------------- BC> This SF.Net email is sponsored by: Oracle 10g BC> Get certified on the hottest thing ever to hit the market... Oracle 10g. BC> Take an Oracle 10g class now, and we'll give you the exam FREE. BC> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click BC> _______________________________________________ BC> Nagios-users mailing list BC> Nagios-users at lists.sourceforge.net BC> https://lists.sourceforge.net/lists/listinfo/nagios-users BC> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. BC> ::: Messages without supporting info will risk being sent to /dev/null Hi, try to stop your nagios and look for just running nagios processes. I have had this problem a long time ago with a rotating nagios process that just spawned himself and crashes in the next moment. Greetz Hendrik -- Mit freundlichen Gr??en Hendrik B mailto:b00mer at gmx.net ------------------------------------------------------- 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 CBallowe at usg.com Mon May 24 22:06:53 2004 From: CBallowe at usg.com (Ballowe, Charles) Date: Mon, 24 May 2004 15:06:53 -0500 Subject: command file problem Message-ID: > -----Original Message----- > From: Hendrik B [mailto:b00mer at gmx.net] > Sent: Monday, May 24, 2004 3:00 PM > To: Ballowe, Charles > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] command file problem > > Guten Tag Ballowe, Charles, > > am Montag, 24. Mai 2004 um 21:41 schrieben Sie: > > BC> I've got a little issue -- I'm not sure if it's a bug or if I'm > BC> doing something wrong. I'm running nagios 1.2 and the comments in > BC> the config file indicate (as I see) that the external > command file > BC> goes away after it's contents are executed. The cmd.cgi seems to > BC> expect it to exist and fails to find it and also doesn't > bother to create it. > > BC> Everything I've found in the FAQs seems to indicate that my > BC> permissions are set right -- i've tried having the > directory owned > BC> by both nagios and nobody > BC> - same results. Any thoughts? > > BC> Is there any more information that would help solve this? > > Hi, > > try to stop your nagios and look for just running nagios > processes. I have had this problem a long time ago with a > rotating nagios process that just spawned himself and crashes > in the next moment. > > Greetz > Hendrik Thank you for this information -- that did indeed fix the problem. ------------------------------------------------------- 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 jdoyle at lewisgaleclinic.com Mon May 24 22:13:03 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Mon, 24 May 2004 16:13:03 -0400 Subject: Output problems with check_snmp ... Message-ID: I'm new to the snmp stuff... I'm following your lead and trying to get it to do one thing and I get this (when sending to our core cisco switch) [root at redman plugins]# ./check_snmp -H 10.1.1.1 -o system.sysUpTime.0 SNMP problem - No data recieved from host CMD: /usr/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 10.1.1.1:161 system.sysUpTime.0 ----- John N. Doyle, Network+ Certified Professional Systems Operations Specialist Lewis-Gale Clinic Information Systems 540.772.3669 >PGP Key Available: http://68.106.83.67:8082/pgp.txt -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Wednesday, May 12, 2004 4:33 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Output problems with check_snmp ... 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)+centiseco nds 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: 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 24 22:53:42 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 24 May 2004 22:53:42 +0200 Subject: High check latency with nagios In-Reply-To: References: Message-ID: <40B260D6.1080107@op5.se> mshirley at ysi.com wrote: > Also, just because you have 2 processors and smp > enabled in the kernel doesn't mean nagios was written with proper threading > in mind (which defeats the purpose of dual processors). > Not really. Nagios fork()'s. The child processes in turn execute the various plugins, which means that for every check to be run, there is actually always at least 3 threads to execute in parallell (main, child and plugin). Nagios doesn't have to bother with all this (although it could if one were to rewrite large parts of it in assembly), but rather lets the kernel handle it. The kernel is very good at it, so the loss is minimal compared to the developer-unfriendly asm options. Point being; More CPU's (+ SMP support in kernel) = More power, no matter how the program was written or even compiled (although sending it once through strip is not a bad idea). > Mark Shirley > IT Helpdesk > YSI Incorporated -- 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 Jason.Truong at plumtree.com Tue May 25 01:01:42 2004 From: Jason.Truong at plumtree.com (Jason Truong) Date: Mon, 24 May 2004 16:01:42 -0700 Subject: Has anyone looked into the product by www.hyperic.com before? Message-ID: <66EA32F2A81C004AB67268BA33833EA05B3069@corpexch05.plumtree.com> Internally we use Nagios. I have been using for quite some time and love it. Our company is looking into something like Nagios but packaging it into a product to help monitor our product, the Plumtree portal. Has anyone looked into http://www.hyperic.com/ before? The folks in upper management are looking for a company to partner up with. If anyone knows of a better commercial product, can you please give me your suggestions. The portal manager is looking for something like Nagios, network/systems management tool, but with commercial support. I don't think that Plumtree can package Nagios since that would break some of the legal aspects of using opensource. I personally love Nagios and would not want my company to re-package Nagios and try to sell it as a add-on package/service without giving back to Nagios. (sorry I don't understand the licensing all too well) Thank you, Jason Truong Plumtree Software (415) 399-7006 ------------------------------------------------------- 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 Juliet_Tree at cotyinc.com Tue May 25 02:01:18 2004 From: Juliet_Tree at cotyinc.com (Juliet_Tree at cotyinc.com) Date: Tue, 25 May 2004 01:01:18 +0100 Subject: Juliet Tree/ASHFORD/UK/COTY is out of the office. Message-ID: I will be out of the office starting 24/05/2004 and will not return until 26/05/2004. I am away on a Training Course and will not be picking up my email so please contact Paul Seal on 2261 for any urgent issues. Thankyou 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 dmourati at cm.math.uiuc.edu Tue May 25 03:35:32 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Mon, 24 May 2004 20:35:32 -0500 (CDT) Subject: command file problem In-Reply-To: References: Message-ID: On Mon, 24 May 2004, Ballowe, Charles wrote: > I've got a little issue -- I'm not sure if it's a bug or if I'm doing > something wrong. I'm running nagios 1.2 and the comments in the config file > indicate (as I see) that the external command file goes away after it's > contents are executed. The cmd.cgi seems to expect it to exist and fails to > find it and also doesn't bother to create it. I ran into a similar problem because we had external applications posting to cmd.cgi (actually our own hacked up version called alarm.cgi). A race condition exists if you allow cmd.cgi to write to the non-existant named pipe. Think about it like this: 1. Start Apache 2. Start Nagios 3. Stop Nagios 4. Apache writes to nagios.cmd via cmd.cgi 5. Start Nagios fails because nagios.cmd exists Ugh. NSCA solves this problem by providing an alternate dump file: # ALTERNATE DUMP FILE # This is used to specify an alternate file the daemon should # write service check results to in the event the command file # does not exist. It is important to note that the command file # is implemented as a named pipe and only exists when Nagios is # running. You may want to modify the startup script for Nagios # to dump the contents of this file into the command file after # it starts Nagios. Or you may simply choose to ignore any # check results received while Nagios was not running... alternate_dump_file=/opt/nagios/var/rw/nsca.dump I picked the second option and simply chose to ignore and check reults while Nagios is not running by editting alarm.cgi to check the existence of nagios.cmd and exiting if the file doesn't exist. Hope that helps. --------------------------------------------------------------------- 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 graeme at omni.net.au Tue May 25 03:34:15 2004 From: graeme at omni.net.au (Graeme Lee) Date: Tue, 25 May 2004 11:34:15 +1000 Subject: Compiling with gd issues (some hints) Message-ID: <40B2A297.8010802@omni.net.au> Installing nagios on OpenBSD 3.5, came across the usual 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 Which everyone seems to run into. And yes, using --with-gd-inc and --with-gd-lib didn't work. I was using libgd from the ports tree. libpng and libjpeg are installed along with libgd. It all looks good. nm lists the correct symbols. Anyway, compiling a test program (as suggested by a previous user): char gdImagePng(); int main() { gdImagePng(); return 0; } led to discover that libgd was linked with libttf (true type fonts) Adding an environment variable LIBS="-L/usr/local/lib -lz -lgd -ljpeg -lpng -lttf" made everything work as expected Can anyone add further comments to this? ------------------------------------------------------- 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 Tue May 25 03:57:01 2004 From: benny at bennyvision.com (C. Bensend) Date: Mon, 24 May 2004 20:57:01 -0500 (CDT) Subject: Compiling with gd issues (some hints) In-Reply-To: <40B2A297.8010802@omni.net.au> References: <40B2A297.8010802@omni.net.au> Message-ID: <56575.63.227.74.41.1085450243.squirrel@webmail.stinkweasel.net> > led to discover that libgd was linked with libttf (true type fonts) > > Adding an environment variable LIBS="-L/usr/local/lib -lz -lgd -ljpeg > -lpng -lttf" > > made everything work as expected > > Can anyone add further comments to this? If you take a spin through the mailing list archives, you should find several posts with that exact information. At one point I thought the relevant file(s) were going to be modified (Makefile.in?), but perhaps that hasn't happened. Benny -- "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 Stanley.Hopcroft at IPAustralia.Gov.AU Tue May 25 07:50:33 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 25 May 2004 15:50:33 +1000 Subject: Escalations - getting a different message/notify command for each escalation level. In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Mon, May 24, 2004 at 08:18:27PM -0700 References: Message-ID: <20040525155033.B88760@IPAustralia.Gov.AU> On Mon, May 24, 2004 at 08:18:27PM -0700, nagios-users-request at lists.sourceforge.net wrote: > From: Andreas Ericsson > To: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Escalations - getting a different message/notify > command for each different escalation level. > > > Is there any way of having escalated notifications send a different > > alert/notice message for each different escalation level ? > > > Yes. Nagios sports the nifty macro $NOTIFICATIONNUMBER$ (or something) > which can be passed to notification-commands. Just write your own and > evaluate the $NOTIFICATIONNUMBER$ macro before 'designing' the message. > > If this macro doesn't work as I expect (it might not, after all), then > why not just add another macro ($ESCALATIONLEVEL$ or something). > > I have a script that could easily be hacked for this lying around > somewhere, but I'm not sure where I've put it. I'll let you know if I > find it. > > > A possible future solution would be to allow escalation templates to > > specify the host_notify_command and service_notify_command attributes. > > > Seems like a bit overkill to me, since it would require more of both > nagios and the end user. I'll dig in on finding that notification-script > and make it public (maybe even default?) one way or another. > It seems to me that this proposal requires that the custom notification command be used for _all_ notifications (at least those that want a different message for each escalation level). I would prefer that the custom notification command be used by only for escalated notifications. > > Another rather awkward solution is to have an event correlator examine > > the Nag logs and use the correlators rules and actions to do the > > escalation. > > (This was a rediculous proposal of mine since the correlator would have to replicate the Nag configuration for hosts/hostgroups/services/constacts .. to determine who gets notified. Quite doable - epsesh with Nagios::Config but stupid). > The notification command I wrote gets name of acknowledging user this > way. Depending on the depth of mining you need to do, it's not really > all that hard. > Thanks for your comments. Unfortunately, I don't see a way to do what I want at the moment. > Sourcerer / Andreas Ericsson > OP5 AB > +46 (0)733 709032 > andreas.ericsson at op5.se -- ------------------------------------------------------------------------ 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 wdh at belbone.be Tue May 25 09:39:19 2004 From: wdh at belbone.be (Wim) Date: Tue, 25 May 2004 09:39:19 +0200 Subject: NRPE SSL authentication Message-ID: <20040525073919.GA8000@tyr.car.belbone.be> Hi all! I have a problem with NRPE on one of our servers. I compiled NRPE on one of our servers and configured my nagios to check some services on the remote server, but I get following message as the result of my service check: CHECK_NRPE: Error receiving data from daemon. When I look on the server where I installed NRPE on, I see in the /var/log/messages file: May 25 09:08:46 odin nrpe[15635]: Error: Could not complete SSL handshake. 1 Is it because the SSL versions are not matching or am I missing something? Thanx for any help! Wim ------------------------------------------------------------------------------ *** My versions: NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Version: 2.0 Last Modified: 09-08-2003 License: GPL with exemptions (-l for more info) SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required NRPE Plugin for Nagios Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Version: 2.0 Last Modified: 09-08-2003 License: GPL with exemptions (-l for more info) *** My SSL version is 0.9.6b on the NRPE side and 0.9.7a on the check_nrpe side. *** My Nagios serve runs RedHat 8.0: Linux nagios.car.belbone.be 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 i686 i386 GNU/Linux *** My remote server runs RedHat 7.3: Linux odin.car.belbone.be 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown *** My config in Nagios: # 'check-nrpe' command definition define command { command_name check_nrpe command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } *** On the remote server, NRPE is configured to run under xinetd: service nrpe { disable = no flags = REUSE socket_type = stream wait = no user = nagios server = /usr/sbin/nrpe server_args = -c /home/nagios/nrpe.cfg --inetd log_on_failure += USERID only_from = 192.168.xxx.xxx } *** My file permissions on the NRPE server: -rw-r----- 1 nagios nagios 1671 May 25 09:23 nrpe.cfg crw-r--r-- 1 root root 1, 8 Apr 11 2002 /dev/random *** NRPE.cfg: dont_blame_nrpe=0 debug=1 command_timeout=60 command[check_disk]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -m ------------------------------------------------------------------------------ ------------------------------------------------------- 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 Ton.Voon at egg.com Tue May 25 09:23:58 2004 From: Ton.Voon at egg.com (Voon, Ton) Date: Tue, 25 May 2004 08:23:58 +0100 Subject: Has anyone looked into the product by www.hype ric.com before? Message-ID: I don't see why you cannot repackage Nagios and sell the service - in fact, the GNU licence allows you to do that. What you cannot do is remove the GNU licence or the copyrights. Other companies "make money" from opensource software. Apple use a version of FreeBSD as the core of their MacOSX. Red Hat make money from distributing Linux. Webhosting companies use Apache to sell their services. The key, I think, is to be open about it ("Plumtree use Nagios as the core of our monitoring software") and show that you are "being a good citizen" by contributing back changes and generally helping to improve the codebase. I would be happy to credit Plumtree for any patches that you provide to show your participation. As for commercial support, http://nagios.org lists a few companies that will provide you an extra level of support if your customers have problems that you cannot fix internally. I'm sure you could partner with one of them. My point is, I wouldn't rule out Nagios just because it is opensource. If you think it is a good product, then your customers will too. Ton -----Original Message----- From: Jason Truong [mailto:Jason.Truong at plumtree.com] Sent: 25 May 2004 00:02 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Has anyone looked into the product by www.hyperic.com before? Internally we use Nagios. I have been using for quite some time and love it. Our company is looking into something like Nagios but packaging it into a product to help monitor our product, the Plumtree portal. Has anyone looked into http://www.hyperic.com/ before? The folks in upper management are looking for a company to partner up with. If anyone knows of a better commercial product, can you please give me your suggestions. The portal manager is looking for something like Nagios, network/systems management tool, but with commercial support. I don't think that Plumtree can package Nagios since that would break some of the legal aspects of using opensource. I personally love Nagios and would not want my company to re-package Nagios and try to sell it as a add-on package/service without giving back to Nagios. (sorry I don't understand the licensing all too well) Thank you, Jason Truong Plumtree Software (415) 399-7006 This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which is authorised and regulated by the Financial Services Authority. Egg Investments Ltd. is entered in the FSA register under number 190518. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- 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 25 10:19:52 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 25 May 2004 10:19:52 +0200 Subject: Has anyone looked into the product by www.hyperic.com before? In-Reply-To: <66EA32F2A81C004AB67268BA33833EA05B3069@corpexch05.plumtree.com> References: <66EA32F2A81C004AB67268BA33833EA05B3069@corpexch05.plumtree.com> Message-ID: <40B301A8.2080109@op5.se> Jason Truong wrote: > > I personally love Nagios and would not > want my company to re-package Nagios and try to sell it as a add-on > package/service without giving back to Nagios. So package it, sell it, and give back to Nagios and the OSS-community what you can. It's not hard, really. Nor is it immoral or frowned upon by the Nagios community (at least not by Ethan). We do it, and we try to contribute every way we can. Some of the things we write are quite dependant on the type of system configuration we use. Those rarely get uploaded since it's silly to force people to modify it a lot to implement it. Others can be used on a wider variety of systems. I have sent a bunch of plugins to the nagiosplug-devel list, and since a couple of days I maintain NRPE (suits me rather well, since I've been porting it and hacking on it since I started this job). If check_icmp (check_fping but with fping code bundled, sort of) gets included in nagiosplug cvs I'll maintain that as well. I'd have to do it anyways, since my company pays me to, and by making it public I increase the chance of getting someone else to test and bugfix it for me. > (sorry I don't understand the licensing all too well) > It's really quite simple. GPL states that you can do whatever you want with the code released under it, so long as you make the source-code available along with the binaries. In other words, you have to make sure every last one of your customer has access to the source-code of every GPL licensed thing you ship. The simple and proper way to do this is to supply either a public mirror of every project you include (thereby also contributing to the OSS community), or simply set up a closed ftp for your customers, if bandwidth is limited. If you write your own stuff (like a GOOD webconfig interface for Nagios), you don't have to supply the sources or make it publicly available, but it will ofcourse be very much appreciated. If you modify GPL'ed code, you have to make the changes available to all those you supply binaries to. It's not required that you upload your changes to GPL code to the public, but it is sort of frowned upon not to do so. Also, if your improvements are good enough to make it into main project (hacking latest CVS source is a good way to increase possibilities for this), it's stupid not to submit them. The reason for this is that you'd have to back-port every new release to include your enhancements, while the maintainer of the software will incorporate them for you (and code his/hers way around it) while enhancing and bugfixing it if it makes it in. > Thank you, > You're welcome. > Jason Truong > Plumtree Software > (415) 399-7006 > -- 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 Ben at clewett.org.uk Tue May 25 10:38:26 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Tue, 25 May 2004 09:38:26 +0100 Subject: Has anyone looked into the product by www.hype ric.com before? In-Reply-To: References: Message-ID: <40B30602.40106@clewett.org.uk> Ton, Just a comment. I had an argument in some depth with MySQL about why they force people to buy there product. My understanding is, and I hope other people will correct me: You can't sell GPL as-is. You can sell support licenses, installation, the hardware it sits on, configuration, help, the box and CD's it comes in. But not the program. MySQL *claim* you can sell GPL code if a you extend the product and sell the result. Therefore breaking the GPL. You are effectively buy a license which revokes the GPL for your specific case. MySQL further claim than an extension of GPL includes any product which uses any part of theirs, and no other interoperable system. Which includes use of the GPL drivers and other code used within foreign code. Therefore if any other company took Nagios, used any part of it as the basis of another product which they then sold, this is illigal. But you can charge them a wopping great license to revoke the GPL.... This can be changed by adopting the LGPL license, which waves rights on your code used in foreign code. Which is the same as the BSD license used by PostgreSQL. Further information from MySQL. It must be noted that all of this is untested by law, including MySQL's claims that there interperation is correct. Ben Voon, Ton wrote: > I don't see why you cannot repackage Nagios and sell the service - in fact, > the GNU licence allows you to do that. What you cannot do is remove the GNU > licence or the copyrights. > > Other companies "make money" from opensource software. Apple use a version > of FreeBSD as the core of their MacOSX. Red Hat make money from distributing > Linux. Webhosting companies use Apache to sell their services. > > The key, I think, is to be open about it ("Plumtree use Nagios as the core > of our monitoring software") and show that you are "being a good citizen" by > contributing back changes and generally helping to improve the codebase. I > would be happy to credit Plumtree for any patches that you provide to show > your participation. > > As for commercial support, http://nagios.org lists a few companies that will > provide you an extra level of support if your customers have problems that > you cannot fix internally. I'm sure you could partner with one of them. > > My point is, I wouldn't rule out Nagios just because it is opensource. If > you think it is a good product, then your customers will too. > > Ton > > -----Original Message----- > From: Jason Truong [mailto:Jason.Truong at plumtree.com] > Sent: 25 May 2004 00:02 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Has anyone looked into the product by > www.hyperic.com before? > > Internally we use Nagios. I have been using for quite some time and love > it. Our company is looking into something like Nagios but packaging it into > a product to help monitor our product, the Plumtree portal. > > Has anyone looked into http://www.hyperic.com/ before? The folks in upper > management are looking for a company to partner up with. > > If anyone knows of a better commercial product, can you please give me your > suggestions. The portal manager is looking for something like Nagios, > network/systems management tool, but with commercial support. I don't think > that Plumtree can package Nagios since that would break some of the legal > aspects of using opensource. I personally love Nagios and would not want my > company to re-package Nagios and try to sell it as a add-on package/service > without giving back to Nagios. (sorry I don't understand the licensing all > too well) > > Thank you, > > Jason Truong > Plumtree Software > (415) 399-7006 > > > This private and confidential e-mail has been sent to you by Egg. > The Egg group of companies includes Egg Banking plc > (registered no. 2999842), Egg Financial Products Ltd (registered > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > is authorised and regulated by the Financial Services Authority. Egg > Investments Ltd. is entered in the FSA register under number 190518. > > Registered in England and Wales. Registered offices: 1 Waterhouse > Square, 138-142 Holborn, London EC1N 2NA. > > If you are not the intended recipient of this e-mail and have received > it in error, please notify the sender by replying with 'received in > error' as the subject and then delete it from your mailbox. > > > > ------------------------------------------------------- > 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 bernd at firmix.at Tue May 25 11:38:30 2004 From: bernd at firmix.at (Bernd Petrovitsch) Date: Tue, 25 May 2004 11:38:30 +0200 Subject: Has anyone looked into the product by www.hype ric.com before? In-Reply-To: <40B30602.40106@clewett.org.uk> References: <40B30602.40106@clewett.org.uk> Message-ID: <1085477910.19628.106.camel@tara.firmix.at> On Die, 2004-05-25 at 10:38, Ben Clewett wrote: > Just a comment. I had an argument in some depth with MySQL about why > they force people to buy there product. My understanding is, and I hope > other people will correct me: > > You can't sell GPL as-is. Wrong. You are allowed to sell GPL-Software as any price you want (if you find a customer is another question). > You can sell support licenses, installation, the hardware it sits on, > configuration, help, the box and CD's it comes in. But not the program. Yout *can* sell GPL software. Even in the USA. > MySQL *claim* you can sell GPL code if a you extend the product and sell > the result. Therefore breaking the GPL. You are effectively buy a > license which revokes the GPL for your specific case. Yup can sell extended GPL code. Wether your extensions are under the GPL or not, depends on the modifcations. If your extension cannot run (or make sense) without the (imported/downloadet) GPL core, then your extension is clearly under the GPL - with all advantages and disadvantages. And you cannot revoke the GPL with any action you take (except all pwners of the copyright/"Urheberrecht" agree to license the software under a different license) - some people actually do this: They odffer a free version on the web and sell commercial versions with a proprietary license (but you cannot import a GPL'ed patch for the free version into the proprietory version since you would also import the GPL, which you probably do not want in that case). If your action violates the GPL, you are not allowed to do take that action. > MySQL further claim than an extension of GPL includes any product which > uses any part of theirs, and no other interoperable system. Which > includes use of the GPL drivers and other code used within foreign code. > > Therefore if any other company took Nagios, used any part of it as the > basis of another product which they then sold, this is illigal. But > you can charge them a wopping great license to revoke the GPL.... I didn't understand the last paragraphs. > This can be changed by adopting the LGPL license, which waves rights on > your code used in foreign code. Which is the same as the BSD license > used by PostgreSQL. No, BSD-License and LGPL are not quite similar (RMS would probably stated this in stronger words ;-). A LGPL-library can be linked (as in "compile and link") against propriatory code without importing a license. If you link a GPL-library against your proprietory code, your proprietory code is under the GPL. > It must be noted that all of this is untested by law, including MySQL's > claims that there interperation is correct. Actually the GPL itself it untested in court - and as it seems not even SCO (including the anonymous financiers in the back) will get it into court. [Fullquote removed] Bernd -- Firmix Software GmbH http://www.firmix.at/ mobil: +43 664 4416156 fax: +43 1 7890849-55 Embedded Linux Development and Services ------------------------------------------------------- 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 Ton.Voon at egg.com Tue May 25 11:03:15 2004 From: Ton.Voon at egg.com (Voon, Ton) Date: Tue, 25 May 2004 10:03:15 +0100 Subject: Has anyone looked into the product by www.hype ric.com before? Message-ID: Ben, This is a misconception - you can sell GPL code: http://www.gnu.org/licenses/gpl-faq.html#DoesTheGPLAllowMoney The main requirement for publishers of GPL code is that you have to make the source code available. So Plumtree could do this: - Take Nagios as their backend monitoring service - Make whatever modifications to the core Nagios code depending on what their customers want - Charge for the software (and any associated support costs) The GPL insists that changes to that core code must be available to their customers (but any custom software that does not include GPL code can be kept private - cf the open source Darwin of MacOSX and their propritary Quartz rendering engine). These changes do not have to be submitted back to the Nagios community. However, in my view, to be a "good citizen", those modifications should come back to us for inclusion into future versions. In return, we would be happy to publicise their involvement. I think this is a win-win-win situation: we get increased quality in code, Plumtree get to supply monitoring services for a lower startup cost and customers get great software that helps their business. Ton -----Original Message----- From: Ben Clewett [mailto:Ben at clewett.org.uk] Sent: 25 May 2004 09:38 To: Voon, Ton Cc: 'Jason Truong'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Has anyone looked into the product by www.hype ric.com before? Ton, Just a comment. I had an argument in some depth with MySQL about why they force people to buy there product. My understanding is, and I hope other people will correct me: You can't sell GPL as-is. You can sell support licenses, installation, the hardware it sits on, configuration, help, the box and CD's it comes in. But not the program. MySQL *claim* you can sell GPL code if a you extend the product and sell the result. Therefore breaking the GPL. You are effectively buy a license which revokes the GPL for your specific case. MySQL further claim than an extension of GPL includes any product which uses any part of theirs, and no other interoperable system. Which includes use of the GPL drivers and other code used within foreign code. Therefore if any other company took Nagios, used any part of it as the basis of another product which they then sold, this is illigal. But you can charge them a wopping great license to revoke the GPL.... This can be changed by adopting the LGPL license, which waves rights on your code used in foreign code. Which is the same as the BSD license used by PostgreSQL. Further information from MySQL. It must be noted that all of this is untested by law, including MySQL's claims that there interperation is correct. Ben Voon, Ton wrote: > I don't see why you cannot repackage Nagios and sell the service - in > fact, the GNU licence allows you to do that. What you cannot do is > remove the GNU licence or the copyrights. > > Other companies "make money" from opensource software. Apple use a > version of FreeBSD as the core of their MacOSX. Red Hat make money > from distributing Linux. Webhosting companies use Apache to sell their services. > > The key, I think, is to be open about it ("Plumtree use Nagios as the > core of our monitoring software") and show that you are "being a good > citizen" by contributing back changes and generally helping to improve > the codebase. I would be happy to credit Plumtree for any patches that > you provide to show your participation. > > As for commercial support, http://nagios.org lists a few companies > that will provide you an extra level of support if your customers have > problems that you cannot fix internally. I'm sure you could partner with one of them. > > My point is, I wouldn't rule out Nagios just because it is opensource. > If you think it is a good product, then your customers will too. > > Ton > > -----Original Message----- > From: Jason Truong [mailto:Jason.Truong at plumtree.com] > Sent: 25 May 2004 00:02 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Has anyone looked into the product by > www.hyperic.com before? > > Internally we use Nagios. I have been using for quite some time and > love it. Our company is looking into something like Nagios but > packaging it into a product to help monitor our product, the Plumtree portal. > > Has anyone looked into http://www.hyperic.com/ before? The folks in > upper management are looking for a company to partner up with. > > If anyone knows of a better commercial product, can you please give me > your suggestions. The portal manager is looking for something like > Nagios, network/systems management tool, but with commercial support. > I don't think that Plumtree can package Nagios since that would break > some of the legal aspects of using opensource. I personally love > Nagios and would not want my company to re-package Nagios and try to > sell it as a add-on package/service without giving back to Nagios. > (sorry I don't understand the licensing all too well) > > Thank you, > > Jason Truong > Plumtree Software > (415) 399-7006 This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which is authorised and regulated by the Financial Services Authority. Egg Investments Ltd. is entered in the FSA register under number 190518. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- 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 reuben at presence-systems.com Tue May 25 12:05:13 2004 From: reuben at presence-systems.com (Reuben Pearse) Date: Tue, 25 May 2004 11:05:13 +0100 Subject: Hosts disappearing from Host Details screen Message-ID: <40B31A59.5010500@presence-systems.com> Hi all, I have just added a new host group and hosts to Nagios with associated service checks. When looking at the Host Detail and Service Detail page using these new hosts do not always show. If I refresh the browser they sometime appear, although more often than not they are not showing. Has anyone seen this before? Does this point to a configuration file error? I am using Nagios 1.2 -- Reuben Pearse Senior Systems Consultant reuben at presence-systems.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 Ben at clewett.org.uk Tue May 25 12:17:35 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Tue, 25 May 2004 11:17:35 +0100 Subject: Has anyone looked into the product by www.hype ric.com before? In-Reply-To: References: Message-ID: <40B31D3F.3010106@clewett.org.uk> Ton & Others, Sorry, I checked, you are right. You *can* change for GPL software. However the source code must be available, and therefore the product is also free. As Bernd said, 'if you find a customer is another question'. What I really meant therefore was: You can't *force* people to pay for GPL code. Accept for model MySQL have adopted. As you say, if they don't fork the code, this would be great. There must be a large number of corporate companies who would respect Nagios more if a commercial support license and support was available. Ben Voon, Ton wrote: > Ben, > > This is a misconception - you can sell GPL code: > http://www.gnu.org/licenses/gpl-faq.html#DoesTheGPLAllowMoney > > The main requirement for publishers of GPL code is that you have to make the > source code available. So Plumtree could do this: > > - Take Nagios as their backend monitoring service > - Make whatever modifications to the core Nagios code depending on what > their customers want > - Charge for the software (and any associated support costs) > > The GPL insists that changes to that core code must be available to their > customers (but any custom software that does not include GPL code can be > kept private - cf the open source Darwin of MacOSX and their propritary > Quartz rendering engine). > > These changes do not have to be submitted back to the Nagios community. > However, in my view, to be a "good citizen", those modifications should come > back to us for inclusion into future versions. In return, we would be happy > to publicise their involvement. > > I think this is a win-win-win situation: we get increased quality in code, > Plumtree get to supply monitoring services for a lower startup cost and > customers get great software that helps their business. > > Ton > > -----Original Message----- > From: Ben Clewett [mailto:Ben at clewett.org.uk] > Sent: 25 May 2004 09:38 > To: Voon, Ton > Cc: 'Jason Truong'; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Has anyone looked into the product by www.hype > ric.com before? > > Ton, > > Just a comment. I had an argument in some depth with MySQL about why they > force people to buy there product. My understanding is, and I hope other > people will correct me: > > You can't sell GPL as-is. > > You can sell support licenses, installation, the hardware it sits on, > configuration, help, the box and CD's it comes in. But not the program. > > MySQL *claim* you can sell GPL code if a you extend the product and sell the > result. Therefore breaking the GPL. You are effectively buy a license > which revokes the GPL for your specific case. > > MySQL further claim than an extension of GPL includes any product which uses > any part of theirs, and no other interoperable system. Which includes use > of the GPL drivers and other code used within foreign code. > > Therefore if any other company took Nagios, used any part of it as the > basis of another product which they then sold, this is illigal. But > you can charge them a wopping great license to revoke the GPL.... > > This can be changed by adopting the LGPL license, which waves rights on your > code used in foreign code. Which is the same as the BSD license used by > PostgreSQL. > > Further information from MySQL. > > It must be noted that all of this is untested by law, including MySQL's > claims that there interperation is correct. > > Ben > > > Voon, Ton wrote: > >>I don't see why you cannot repackage Nagios and sell the service - in >>fact, the GNU licence allows you to do that. What you cannot do is >>remove the GNU licence or the copyrights. >> >>Other companies "make money" from opensource software. Apple use a >>version of FreeBSD as the core of their MacOSX. Red Hat make money >>from distributing Linux. Webhosting companies use Apache to sell their > > services. > >>The key, I think, is to be open about it ("Plumtree use Nagios as the >>core of our monitoring software") and show that you are "being a good >>citizen" by contributing back changes and generally helping to improve >>the codebase. I would be happy to credit Plumtree for any patches that >>you provide to show your participation. >> >>As for commercial support, http://nagios.org lists a few companies >>that will provide you an extra level of support if your customers have >>problems that you cannot fix internally. I'm sure you could partner with > > one of them. > >>My point is, I wouldn't rule out Nagios just because it is opensource. >>If you think it is a good product, then your customers will too. >> >>Ton >> >>-----Original Message----- >>From: Jason Truong [mailto:Jason.Truong at plumtree.com] >>Sent: 25 May 2004 00:02 >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Has anyone looked into the product by >>www.hyperic.com before? >> >>Internally we use Nagios. I have been using for quite some time and >>love it. Our company is looking into something like Nagios but >>packaging it into a product to help monitor our product, the Plumtree > > portal. > >>Has anyone looked into http://www.hyperic.com/ before? The folks in >>upper management are looking for a company to partner up with. >> >>If anyone knows of a better commercial product, can you please give me >>your suggestions. The portal manager is looking for something like >>Nagios, network/systems management tool, but with commercial support. >>I don't think that Plumtree can package Nagios since that would break >>some of the legal aspects of using opensource. I personally love >>Nagios and would not want my company to re-package Nagios and try to >>sell it as a add-on package/service without giving back to Nagios. >>(sorry I don't understand the licensing all too well) >> >>Thank you, >> >>Jason Truong >>Plumtree Software >>(415) 399-7006 > > > > This private and confidential e-mail has been sent to you by Egg. > The Egg group of companies includes Egg Banking plc > (registered no. 2999842), Egg Financial Products Ltd (registered > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > is authorised and regulated by the Financial Services Authority. Egg > Investments Ltd. is entered in the FSA register under number 190518. > > Registered in England and Wales. Registered offices: 1 Waterhouse > Square, 138-142 Holborn, London EC1N 2NA. > > If you are not the intended recipient of this e-mail and have received > it in error, please notify the sender by replying with 'received in > error' as the subject and then delete it from your mailbox. > > > > ------------------------------------------------------- > 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 Tom.DeBlende at dhl.com Tue May 25 12:32:15 2004 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Tue, 25 May 2004 12:32:15 +0200 Subject: Hosts disappearing from Host Details screen In-Reply-To: <40B31A59.5010500@presence-systems.com> References: <40B31A59.5010500@presence-systems.com> Message-ID: <40B320AF.6060604@dhl.com> FAQ's are for sissies... http://www.nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=false Reuben Pearse wrote: > Hi all, > > I have just added a new host group and hosts to Nagios with associated > service checks. When looking at the Host Detail and Service Detail > page using these new hosts do not always show. If I refresh the > browser they sometime appear, although more often than not they are > not showing. Has anyone seen this before? Does this point to a > configuration file error? I am using Nagios 1.2 > ------------------------------------------------------- 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 andrew.barker at nottingham.ac.uk Tue May 25 12:25:46 2004 From: andrew.barker at nottingham.ac.uk (Andrew Barker) Date: Tue, 25 May 2004 11:25:46 +0100 Subject: Hosts disappearing from Host Details screen In-Reply-To: <40B31A59.5010500@presence-systems.com> References: <40B31A59.5010500@presence-systems.com> Message-ID: <1085480746.14583.49.camel@pccajrb.is> This happened to me when I had more than one nagios process running, i.e. the old one didn't get killed properly. I'd have a look using ps -ef | grep nagios and see if one was started at a time before the configuration change. You could also stop the service and see if any processes remain, then kill those off. Andy Andrew Barker Systems Development Officer University of Nottingham On Tue, 2004-05-25 at 11:05, Reuben Pearse wrote: > Hi all, > > I have just added a new host group and hosts to Nagios with associated > service checks. When looking at the Host Detail and Service Detail page > using these new hosts do not always show. If I refresh the browser they > sometime appear, although more often than not they are not showing. Has > anyone seen this before? Does this point to a configuration file error? > I am using Nagios 1.2 This message has been scanned but we cannot guarantee that it and any attachments are free from viruses or other damaging content: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. ------------------------------------------------------- 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 sven.schaffranneck at volkswagen.de Tue May 25 12:59:55 2004 From: sven.schaffranneck at volkswagen.de (Schaffranneck, Sven (K-DOI-5/4)) Date: Tue, 25 May 2004 12:59:55 +0200 Subject: AW: Hosts disappearing from Host Details screen Message-ID: <09FCA2FF7E92D71186320008C71E91C604C96F69@devwagwodx0029.wob.vw.de> Hi > > I have just added a new host group and hosts to Nagios with > associated > service checks. When looking at the Host Detail and Service > Detail page > using these new hosts do not always show. If I refresh the > browser they have you restarted your nagios? Greets Sven ------------------------------------------------------- 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 pla at softflare.com Tue May 25 13:58:05 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 25 May 2004 12:58:05 +0100 Subject: Has anyone looked into the product by www.hype ric.com before? In-Reply-To: References: Message-ID: <20040525115805.16639.qmail@minnow.softflare.net> Voon, Ton writes: > The GPL insists that changes to that core code must be available to their > customers No, it doesn't. It states that modified source must be available to ALL third parties under the GPL for no more than a reasonable distribution cost (and the FAQ makes it clear that "third parties" means anybody who asks for it). You can charge for the modified program (but must make source available under the GPL). You can charge for installation. You can charge for support. But you MUST make the source available to anyone who asks, even if they have not purchased your program and/or support. > These changes do not have to be submitted back to the Nagios community. My unreliable memory seems to think that previous versions of the GPL stated explicitly that changes should be submitted back, but I could be wrong. Certainly the current license makes it clear that the Nagios community could request the changed source and cannot be refused because anybody can request it and get it for no more than a reasonable copying charge. > However, in my view, to be a "good citizen", those modifications should > come back to us for inclusion into future versions. In return, we would > be happy to publicise their involvement. You don't have to justify it by invoking altruism. It makes economic sense to submit patches rather than having to patch each new release. There is another alternative if Ethan has copyright over all the submissions as well as his own work. The copyright holder is permitted to release the work under non-GPL terms as well as GPL terms. So Ethan could license a propietary version identical to the GPL version that Plumtree could sell under proprietary terms. The only difference would be that Plumtree would not be required to release the source code and Plumtree could insist that their customers not give others copies of the. binaries. Gnu discourage this, but it is permitted. -- 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 ae at op5.se Tue May 25 13:59:11 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 25 May 2004 13:59:11 +0200 Subject: Has anyone looked into the product by www.hype ric.com before? In-Reply-To: <40B31D3F.3010106@clewett.org.uk> References: <40B31D3F.3010106@clewett.org.uk> Message-ID: <40B3350F.2030401@op5.se> Ben Clewett wrote: > Ton & Others, > > Sorry, I checked, you are right. You *can* change for GPL software. > However the source code must be available, and therefore the product is > also free. As Bernd said, 'if you find a customer is another question'. > Finding customers is really, really easy. We've been selling it for about a year and a half, and now we're up to about 35 customers. > What I really meant therefore was: You can't *force* people to pay for > GPL code. Accept for model MySQL have adopted. > No, but you can force them to pay for a packaged *solution* of opensource products. We integrate nagios with cacti and a bunch of other utilities and tools, and customers are delighted that we have taken the month or two to package everything for them. We also have an auto-configuration tool which enables us to set them up and running in absolutely notime. If they were to implement everything themselves, it would take the better time of a year. > As you say, if they don't fork the code, this would be great. There > must be a large number of corporate companies who would respect Nagios > more if a commercial support license and support was available. > That's what you're supposed to sell, and what a number of companies are selling. Check out nagios.org for a list of many of them. > Ben > > Voon, Ton wrote: > >> Ben, >> >> This is a misconception - you can sell GPL code: >> http://www.gnu.org/licenses/gpl-faq.html#DoesTheGPLAllowMoney >> >> The main requirement for publishers of GPL code is that you have to >> make the >> source code available. So Plumtree could do this: >> - Take Nagios as their backend monitoring service >> - Make whatever modifications to the core Nagios code depending on what >> their customers want >> - Charge for the software (and any associated support costs) >> >> The GPL insists that changes to that core code must be available to their >> customers (but any custom software that does not include GPL code can be >> kept private - cf the open source Darwin of MacOSX and their propritary >> Quartz rendering engine). >> These changes do not have to be submitted back to the Nagios community. >> However, in my view, to be a "good citizen", those modifications >> should come >> back to us for inclusion into future versions. In return, we would be >> happy >> to publicise their involvement. >> I think this is a win-win-win situation: we get increased quality in >> code, >> Plumtree get to supply monitoring services for a lower startup cost and >> customers get great software that helps their business. >> >> Ton >> >> -----Original Message----- >> From: Ben Clewett [mailto:Ben at clewett.org.uk] Sent: 25 May 2004 09:38 >> To: Voon, Ton >> Cc: 'Jason Truong'; nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Has anyone looked into the product by >> www.hype >> ric.com before? >> >> Ton, >> >> Just a comment. I had an argument in some depth with MySQL about why >> they >> force people to buy there product. My understanding is, and I hope other >> people will correct me: >> >> You can't sell GPL as-is. >> >> You can sell support licenses, installation, the hardware it sits on, >> configuration, help, the box and CD's it comes in. But not the program. >> >> MySQL *claim* you can sell GPL code if a you extend the product and >> sell the >> result. Therefore breaking the GPL. You are effectively buy a license >> which revokes the GPL for your specific case. >> >> MySQL further claim than an extension of GPL includes any product >> which uses >> any part of theirs, and no other interoperable system. Which includes >> use >> of the GPL drivers and other code used within foreign code. >> >> Therefore if any other company took Nagios, used any part of it as the >> basis of another product which they then sold, this is illigal. But >> you can charge them a wopping great license to revoke the GPL.... >> >> This can be changed by adopting the LGPL license, which waves rights >> on your >> code used in foreign code. Which is the same as the BSD license used by >> PostgreSQL. >> >> Further information from MySQL. >> >> It must be noted that all of this is untested by law, including MySQL's >> claims that there interperation is correct. >> >> Ben >> >> >> Voon, Ton wrote: >> >>> I don't see why you cannot repackage Nagios and sell the service - in >>> fact, the GNU licence allows you to do that. What you cannot do is >>> remove the GNU licence or the copyrights. >>> >>> Other companies "make money" from opensource software. Apple use a >>> version of FreeBSD as the core of their MacOSX. Red Hat make money >>> from distributing Linux. Webhosting companies use Apache to sell their >> >> >> services. >> >>> The key, I think, is to be open about it ("Plumtree use Nagios as the >>> core of our monitoring software") and show that you are "being a good >>> citizen" by contributing back changes and generally helping to >>> improve the codebase. I would be happy to credit Plumtree for any >>> patches that you provide to show your participation. >>> >>> As for commercial support, http://nagios.org lists a few companies >>> that will provide you an extra level of support if your customers >>> have problems that you cannot fix internally. I'm sure you could >>> partner with >> >> >> one of them. >> >>> My point is, I wouldn't rule out Nagios just because it is >>> opensource. If you think it is a good product, then your customers >>> will too. >>> >>> Ton >>> >>> -----Original Message----- >>> From: Jason Truong [mailto:Jason.Truong at plumtree.com] >>> Sent: 25 May 2004 00:02 >>> To: nagios-users at lists.sourceforge.net >>> Subject: [Nagios-users] Has anyone looked into the product by >>> www.hyperic.com before? >>> >>> Internally we use Nagios. I have been using for quite some time and >>> love it. Our company is looking into something like Nagios but >>> packaging it into a product to help monitor our product, the Plumtree >> >> >> portal. >> >>> Has anyone looked into http://www.hyperic.com/ before? The folks in >>> upper management are looking for a company to partner up with. >>> >>> If anyone knows of a better commercial product, can you please give >>> me your suggestions. The portal manager is looking for something >>> like Nagios, network/systems management tool, but with commercial >>> support. I don't think that Plumtree can package Nagios since that >>> would break some of the legal aspects of using opensource. I >>> personally love Nagios and would not want my company to re-package >>> Nagios and try to sell it as a add-on package/service without giving >>> back to Nagios. (sorry I don't understand the licensing all too well) >>> >>> Thank you, >>> >>> Jason Truong >>> Plumtree Software >>> (415) 399-7006 >> >> >> >> >> This private and confidential e-mail has been sent to you by Egg. >> The Egg group of companies includes Egg Banking plc >> (registered no. 2999842), Egg Financial Products Ltd (registered >> no. 3319027) and Egg Investments Ltd (registered no. 3403963) which >> is authorised and regulated by the Financial Services Authority. Egg >> Investments Ltd. is entered in the FSA register under number 190518. >> Registered in England and Wales. Registered offices: 1 Waterhouse >> Square, 138-142 Holborn, London EC1N 2NA. >> >> If you are not the intended recipient of this e-mail and have received >> it in error, please notify the sender by replying with 'received in >> error' as the subject and then delete it from your mailbox. >> >> >> >> ------------------------------------------------------- >> 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 > -- 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 smokey at aquaticum.hu Tue May 25 14:17:15 2004 From: smokey at aquaticum.hu (=?iso-8859-2?Q?L=E1szl=F3_Csaba_Ferenc?=) Date: Tue, 25 May 2004 14:17:15 +0200 Subject: bagios and apache not on the same machine Message-ID: I have a situation: got a linux-box which runs nagios, and another, which has apache working for the internet. i tried to solve this by making a the /usr/local/nagios shared by NFS, and the webserver connects to it. the UIDs and GUIDs are the same, and the users which run apache are the same too. if i connect to the nagios pc's web iface, then everything works fine, if i just watch things on the webservers's nagios interface, it works too, but if i try to issue a command to nagios, the cmd.cgi just hangs up. i mean there's no response (Zero sized reply) it works fine, if i do this on the nagios box's webserver. i just don't have any ideas. do you? SMokey -------------- next part -------------- An HTML attachment was scrubbed... URL: From mshirley at ysi.com Tue May 25 14:32:59 2004 From: mshirley at ysi.com (mshirley at ysi.com) Date: Tue, 25 May 2004 08:32:59 -0400 Subject: Compiling with gd issues (some hints) Message-ID: I had a very similar situation as well. There's obviously lots of people having issues with the ./configure script realizing gd is installed since the script itself says "try this .... if you still can't get it to work then move on to other things". Unfortunately i don't accept answers like that so i decided to get it working. Using debian and apt-get installing libgd-dev, libgd2, etc.. still did not provide a solution. As the other people have mentioned even with the proper libs installed --with-gd-inc and --with-gd-lib don't work either. My final solution although it's not suggested and extremely messy was to modify the configure script where it does the check and insert the proper gdfound=yep. Everything worked find and i received 0 compilation errors. I'm sure the other solutions provided will work just fine but it seems to me there's something wrong with the way nagios does it's configure. Mark Shirley IT Helpdesk YSI Incorporated |---------+----------------------------------------> | | Graeme Lee | | | | | | Sent by: | | | nagios-users-admin at lists.sour| | | ceforge.net | | | | | | | | | 05/24/2004 09:34 PM | | | | |---------+----------------------------------------> >---------------------------------------------------------------------------------------------------------------| | | | To: nagios-users at lists.sourceforge.net | | cc: | | Subject: [Nagios-users] Compiling with gd issues (some hints) | >---------------------------------------------------------------------------------------------------------------| Installing nagios on OpenBSD 3.5, came across the usual 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 Which everyone seems to run into. And yes, using --with-gd-inc and --with-gd-lib didn't work. I was using libgd from the ports tree. libpng and libjpeg are installed along with libgd. It all looks good. nm lists the correct symbols. Anyway, compiling a test program (as suggested by a previous user): char gdImagePng(); int main() { gdImagePng(); return 0; } led to discover that libgd was linked with libttf (true type fonts) Adding an environment variable LIBS="-L/usr/local/lib -lz -lgd -ljpeg -lpng -lttf" made everything work as expected Can anyone add further comments to this? ------------------------------------------------------- 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 flakmagnet at tabletop-battlezone.com Tue May 25 14:51:39 2004 From: flakmagnet at tabletop-battlezone.com (Flak Magnet) Date: Tue, 25 May 2004 08:51:39 -0400 Subject: Has anyone looked into the product by www.hype ric.com before? In-Reply-To: <40B30602.40106@clewett.org.uk> References: <40B30602.40106@clewett.org.uk> Message-ID: <200405250851.39655.flakmagnet@tabletop-battlezone.com> On Tuesday 25 May 2004 04:38 am, Ben Clewett wrote: > Ton, > > Just a comment. I had an argument in some depth with MySQL about why > they force people to buy there product. My understanding is, and I hope > other people will correct me: > > You can't sell GPL as-is. > > You can sell support licenses, installation, the hardware it sits on, > configuration, help, the box and CD's it comes in. But not the program. > > MySQL *claim* you can sell GPL code if a you extend the product and sell > the result. Therefore breaking the GPL. You are effectively buy a > license which revokes the GPL for your specific case. It doesn't revoke the GPL, you can still use the code for MySQL as it is licensed to one-and-all under the GPL. What MySQL is selling, is an additional license, once that gives you the right to modify and sell MySQL code WITHOUT giving your modifications back as is required by the GPL. As I understand it, the is perfectly acceptable according to the terms of the GPL, as the MySQL folks still own their code and can grant anyone they want any license they see fit. What they cannot do, is demand that everyone STOPS using thier code that has been released under the GPL. They could, however, make any future releases closed source so long as any contributors agreed. In a later message it has been written: >What I really meant therefore was: ??You can't *force* people to pay for >GPL code. ??Accept for model MySQL have adopted. And MySQL isn't forcing people to pay for GPL code... They are charging people for the priviledge of using their code, that happens to be GPL'ed, in ways that do not folllow the terms of the GPL. What is being paid for is a license to use the code, a license that is totally independant from the GPL. Completely acceptable, both by the terms of the GPL as well as ethically (IMO). So, we're talking about two different, but peacefully co-existant licenses: 1. The world at large has a license to use the MySQL code according to the terms of the GPL. 2. Whomever pays for it can have a license to use MySQL code according to whatever terms they negotiate with MySQL, which may include modifying the code without giving the modifications back. -- -- 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 dmourati at cm.math.uiuc.edu Tue May 25 16:42:43 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Tue, 25 May 2004 09:42:43 -0500 (CDT) Subject: bagios and apache not on the same machine In-Reply-To: References: Message-ID: On Tue, 25 May 2004, [iso-8859-2] L?szl? Csaba Ferenc wrote: > I have a situation: > got a linux-box which runs nagios, and another, which has apache working for > the internet. > > i tried to solve this by making a the /usr/local/nagios shared by NFS, and > the webserver connects to it. I'm not sure I understand your problem exactly: I have a linux-box that runs Nagios, and serveral others that have apache working for the internet. I suspect many people here do. What you seem to be saying is you installed the Nagios web front end on another internet-facing Apache box, and now you can't issue commands to the Nagios process at the Nagios box(like restarting Nagios or disablingnotifications for example.) You have tried to work around it by installing NFS on your apache front end box and your Nagios box in order to have the two communicate. Please see the documentation for information on how to properly install a distribued Nagios configuration, which I assure you, has nothing to do with NFS: http://nagios.sourceforge.net/docs/1_0/distributed.html If this is not your problem, please provide more details as to what you have running on each box and what you're trying to do. Thanks. --------------------------------------------------------------------- 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_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 russ.hubbard at lsil.com Tue May 25 16:56:29 2004 From: russ.hubbard at lsil.com (Russ Hubbard) Date: Tue, 25 May 2004 08:56:29 -0600 Subject: check-host-alive returns /bin/ping -n -U -c 1 192.168.231.7 Message-ID: <40B35E9D.5090004@lsil.com> Hello, Last night I encountered some check-host-alive commands that are returning some weird information. They return "/bin/ping -n -U -c 1 192.168.231.7" as the output and mark the host as down. I've gone through the list archives and mostly I found that this can be caused by /bin/ping not having permissions of 4755. I have checked this, here is the verification: -rwsr-xr-x 1 root root 28724 Sep 11 2003 /bin/ping I am currently running Nagios 1.2. I have been running nagios for about a year and this is the first occurance of this problem I have had. I have had a few outages in that time and they all return the appropriate status information. Here is an example: PING CRITICAL - Host Unreachable (172.21.35.28) Here is my check-host-alive command from checkcommand.cfg: # 'check-host-alive' command definition define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 } Any help at all in fixing this problem would be great. Thanks, Russ -------------- next part -------------- A non-text attachment was scrubbed... Name: russ.hubbard.vcf Type: text/x-vcard Size: 382 bytes Desc: not available URL: From Marc.Commandeur at chess.nl Tue May 25 16:59:52 2004 From: Marc.Commandeur at chess.nl (Marc Commandeur) Date: Tue, 25 May 2004 16:59:52 +0200 Subject: New hosts and services not visible in web interface - Again? Unfortenately yes Message-ID: Hello, Before I ask my question: I did read http://www.nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=false and I did have a look through the first pages of archive of this list. I added 3 hosts and 3 services but they do not appear in the Service Detail and the Host Detail pages of the web interface. I reloaded the .cfg's and also restarted Nagios but, that did not help. I checked whether there is an other nagios process running but, there is only 1. I noticed this question is asked quite a lot. The standard answer (which is also in the FAQ) doesn't help much. Does anybody have ideas? Thanks, 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_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 andreoni at ksolutions.it Tue May 25 17:02:56 2004 From: andreoni at ksolutions.it (Andreoni Antonella) Date: Tue, 25 May 2004 17:02:56 +0200 Subject: Nagios with MySql Message-ID: <11AD6C34FEBDB34E96622FEB7E6B64C503AAEF5C@kmail.ksolutions.it> Hi all I've just started Nagios with database support but it doesn't work on the web interface I got the following error: Whoops! Error: Could not read host and service status information! And in the log file nagios.log there is the following error message [1085497246] Error: Could not lock status data tables in database 'nagios' Any ideas? thanks in advance Antonella --------------------------------------------- Antonella Andreoni System Engineer KSOLUTIONS S.p.A. Via Lenin, 132/26 56017 San Martino Ulmiano (PI) - Italy Tel. +39 50 898111 Fax +39 50 861200 E-mail: andreoni at ksolutions.it http://www.ksolutions.it --------------------------------------------- ------------------------------------------------------- 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 rnelson at windchannel.com Tue May 25 17:16:55 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Tue, 25 May 2004 11:16:55 -0400 Subject: Hosts disappearing from Host Details screen Message-ID: > > I have just added a new host group and hosts to Nagios with > > associated > > service checks. When looking at the Host Detail and Service > > Detail page > > using these new hosts do not always show. If I refresh the > > browser they > > have you restarted your nagios? I'm just curious, with all the people that have problems with this, the dozens of emails on the subject...would it make sense to have the nagios process scan for other nagios processes on startup and throw an error? Rob Nelson Network Engineer Windchannel Communications 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 Ben at clewett.org.uk Tue May 25 17:31:03 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Tue, 25 May 2004 16:31:03 +0100 Subject: Nagios with MySql In-Reply-To: <11AD6C34FEBDB34E96622FEB7E6B64C503AAEF5C@kmail.ksolutions.it> References: <11AD6C34FEBDB34E96622FEB7E6B64C503AAEF5C@kmail.ksolutions.it> Message-ID: <40B366B7.2020604@clewett.org.uk> Andreoni Antonella wrote: > Hi all > > I've just started Nagios with database support but it doesn't work > > on the web interface I got the following error: > > Whoops! > Error: Could not read host and service status information! > > And in the log file nagios.log there is the following error message > [1085497246] Error: Could not lock status data tables in database 'nagios' Just a pre-check: Did you run the provided script to create the database? Something like: $ cd contrib/database $ cat create_myqsl | mysql -u $USER -p$PASS -D $DATABASE -h $HOST Where $USER $PASS $DATABASE and $HOST have been correctly setup, and are (probably) the same as those used in nagios.cfg? Ben ------------------------------------------------------- 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 corsis_tom at yahoo.com Tue May 25 17:34:42 2004 From: corsis_tom at yahoo.com (Thomas Quinlan) Date: Tue, 25 May 2004 08:34:42 -0700 (PDT) Subject: check-host-alive returns /bin/ping -n -U -c 1 192.168.231.7 In-Reply-To: <52A7BC847A09AD4C81B7C3B87E32127904A091@corsis-xch.corsisny.com> References: <52A7BC847A09AD4C81B7C3B87E32127904A091@corsis-xch.corsisny.com> Message-ID: <20040525153442.12703.qmail@web20721.mail.yahoo.com> I am all of a sudden having the same issue, on two different Nagios boxes. The difference for me is that I am using check_ping instead of check-host-alive. (Some boxes return ok, other boxes return "bin/ping -n -U -c 5 w.x.y.z".) The additional problem I am having with that is that Nagios is actually incorrectly reporting a box as down, when in fact it is up. I can ping it from the box (using "bin/ping -n -U -c 5 w.x.y.123") as both "root" and "nagios", so there's no reason Nagios should see it as not pinging. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net on > behalf of Russ Hubbard > Sent: Tue 5/25/2004 10:56 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check-host-alive returns > /bin/ping -n -U -c 1 192.168.231.7 > > Hello, > Last night I encountered some check-host-alive > commands that are > returning some weird information. They return > "/bin/ping -n -U -c 1 > 192.168.231.7" as the output and mark the host as > down. I've gone > through the list archives and mostly I found that > this can be caused by > /bin/ping not having permissions of 4755. I have > checked this, here is > the verification: > > -rwsr-xr-x 1 root root 28724 Sep 11 > 2003 /bin/ping > > I am currently running Nagios 1.2. I have been > running nagios for about > a year and this is the first occurance of this > problem I have had. I > have had a few outages in that time and they all > return the appropriate > status information. Here is an example: > > PING CRITICAL - Host Unreachable (172.21.35.28) > > Here is my check-host-alive command from > checkcommand.cfg: > > # 'check-host-alive' command definition > define command{ > command_name check-host-alive > command_line $USER1$/check_ping -H > $HOSTADDRESS$ -w > 3000.0,80% -c 5000.0,100% -p 1 > } > > > Any help at all in fixing this problem would be > great. > > Thanks, > > Russ > > > > > > begin:vcard > fn:Russ Hubbard > n:Hubbard;Russ > org:LSI Logic ;Enterprise Operations > adr:AL201;;4420 ArrowsWest Drive;Colorado > Springs;CO;80907;USA > email;internet:russ.hubbard at lsil.com > title:UNIX/Linux System Administrator > tel;work:(719)533-7973 > tel;fax:(719)533-6298 > tel;pager:(800)260-5085 > tel;cell:(719)660-8814 > x-mozilla-html:TRUE > url:http://eops.co.lsil.com > version:2.1 > end:vcard > > __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.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 marc at ena.com Tue May 25 17:39:04 2004 From: marc at ena.com (Marc Powell) Date: Tue, 25 May 2004 10:39:04 -0500 Subject: New hosts and services not visible in web interface - Again? Unfortenately yes Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6398@mismail2.ena.com> Marc Commandeur wrote: > Hello, > > Before I ask my question: I did read > http://www.nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=f alse > and I did have a look through the first pages of archive of this list. > > I added 3 hosts and 3 services but they do not appear in the Service > Detail and the Host Detail pages of the web interface. I reloaded the > .cfg's and also restarted Nagios but, that did not help. I checked > whether there is an other nagios process running but, there is only > 1. > > I noticed this question is asked quite a lot. The standard answer > (which is also in the FAQ) doesn't help much. Does anybody have > ideas? In about 95% of the cases, the cause really is multiple nagios processes running. The remaining 5% are generally misconfiguration of hosts/service/hostgroup definitions. Try running /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg to check for the most common configuration errors. -- 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 marc at ena.com Tue May 25 17:43:33 2004 From: marc at ena.com (Marc Powell) Date: Tue, 25 May 2004 10:43:33 -0500 Subject: Nagios with MySql Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6399@mismail2.ena.com> Andreoni Antonella wrote: > Hi all > > I've just started Nagios with database support but it doesn't work > > on the web interface I got the following error: > > Whoops! > Error: Could not read host and service status information! > > And in the log file nagios.log there is the following error message > [1085497246] Error: Could not lock status data tables in database > 'nagios' Does nagios have ownership of the tables in the database or access rights as detailed in http://nagios.sourceforge.net/docs/1_0/xdata-db.html#table_definitions? If that's not the issue, you should probably post exactly how you've configured nagios including the appropriate config snippets and the steps that you took so we can figure out where you went wrong. -- 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 Tue May 25 17:45:52 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 25 May 2004 17:45:52 +0200 Subject: Hosts disappearing from Host Details screen In-Reply-To: References: Message-ID: <40B36A30.5050206@op5.se> Robert Nelson wrote: >>>I have just added a new host group and hosts to Nagios with >>>associated >>>service checks. When looking at the Host Detail and Service >>>Detail page >>>using these new hosts do not always show. If I refresh the >>>browser they >> >>have you restarted your nagios? > > > I'm just curious, with all the people that have problems with this, the > dozens of emails on the subject...would it make sense to have the nagios > process scan for other nagios processes on startup and throw an error? > Not really, no. What WOULD make sense is to add proper checking to the nagios init script, and perhaps a 'kidlevel' variable to the nagios code (to make it exit if it ever exceeds 1 (or something)). > Rob Nelson > Network Engineer > Windchannel Communications > 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 > -- Mvh 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 russ.hubbard at lsil.com Tue May 25 17:49:21 2004 From: russ.hubbard at lsil.com (Russ Hubbard) Date: Tue, 25 May 2004 09:49:21 -0600 Subject: check-host-alive returns /bin/ping -n -U -c 1 192.168.231.7 In-Reply-To: <20040525153442.12703.qmail@web20721.mail.yahoo.com> References: <20040525153442.12703.qmail@web20721.mail.yahoo.com> Message-ID: <40B36B01.2040009@lsil.com> Th omas, The check-host-alive uses check_ping to do it's check. So it is the same as yours. I am having the same issue with nagios reporting a server down when it is actually up. Russ Thomas Quinlan wrote: >I am all of a sudden having the same issue, on two >different Nagios boxes. The difference for me is that >I am using check_ping instead of check-host-alive. >(Some boxes return ok, other boxes return "bin/ping -n >-U -c 5 w.x.y.z".) > >The additional problem I am having with that is that >Nagios is actually incorrectly reporting a box as >down, when in fact it is up. I can ping it from the >box (using "bin/ping -n -U -c 5 w.x.y.123") as both >"root" and "nagios", so there's no reason Nagios >should see it as not pinging. > > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net on >>behalf of Russ Hubbard >>Sent: Tue 5/25/2004 10:56 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] check-host-alive returns >>/bin/ping -n -U -c 1 192.168.231.7 >> >>Hello, >> Last night I encountered some check-host-alive >>commands that are >>returning some weird information. They return >>"/bin/ping -n -U -c 1 >>192.168.231.7" as the output and mark the host as >>down. I've gone >>through the list archives and mostly I found that >>this can be caused by >>/bin/ping not having permissions of 4755. I have >>checked this, here is >>the verification: >> >>-rwsr-xr-x 1 root root 28724 Sep 11 >>2003 /bin/ping >> >>I am currently running Nagios 1.2. I have been >>running nagios for about >>a year and this is the first occurance of this >>problem I have had. I >>have had a few outages in that time and they all >>return the appropriate >>status information. Here is an example: >> >>PING CRITICAL - Host Unreachable (172.21.35.28) >> >>Here is my check-host-alive command from >>checkcommand.cfg: >> >># 'check-host-alive' command definition >>define command{ >> command_name check-host-alive >> command_line $USER1$/check_ping -H >>$HOSTADDRESS$ -w >>3000.0,80% -c 5000.0,100% -p 1 >> } >> >> >>Any help at all in fixing this problem would be >>great. >> >>Thanks, >> >>Russ >> >> >> >> >> >> >>>begin:vcard >>> >>> >>fn:Russ Hubbard >>n:Hubbard;Russ >>org:LSI Logic ;Enterprise Operations >>adr:AL201;;4420 ArrowsWest Drive;Colorado >>Springs;CO;80907;USA >>email;internet:russ.hubbard at lsil.com >>title:UNIX/Linux System Administrator >>tel;work:(719)533-7973 >>tel;fax:(719)533-6298 >>tel;pager:(800)260-5085 >>tel;cell:(719)660-8814 >>x-mozilla-html:TRUE >>url:http://eops.co.lsil.com >>version:2.1 >>end:vcard >> >> >> >> > > > > > >__________________________________ >Do you Yahoo!? >Friends. Fun. Try the all-new Yahoo! Messenger. >http://messenger.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 > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: russ.hubbard.vcf Type: text/x-vcard Size: 382 bytes Desc: not available URL: From leoh at dcc.ufmg.br Tue May 25 18:39:08 2004 From: leoh at dcc.ufmg.br (Leonardo Henrique Machado) Date: Tue, 25 May 2004 13:39:08 -0300 (BRT) Subject: Loggin Failure: "logged as ?" Message-ID: Hi all, I cannot log with a especific user in Nagios. Apache doesn't ask for a loging/password anymore! "logged as ?" It used to work fine. One day, it stoped. I think that it's a problema with Apache. How can I solve it? It's happening with 2 other friends of mine. Here is my config: ------- cgi.cfg --- use_authentication=0 #default_user_name=nagiosadmin ---- .htacces ---- AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user ---- htpasswd --- leoh:NVIxSzbNNopBLAHw nagiosadmin:dtXzgKyBLAHc/. ---- apache --- #copy/paste from nagios documentation ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios/ ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios/ Options Indexes FollowSymLinks Includes AllowOverride AuthConfig order deny,allow allow from all Options ExecCGI # Where the stylesheets (config files) reside Alias /nagios/stylesheets /etc/nagios/stylesheets/ # Where the HTML pages live(d) Alias /nagios /usr/share/nagios/htdocs/ Options Indexes FollowSymLinks Includes AllowOverride AuthConfig order deny,allow allow from all -- Leonardo Henrique Machado ?ltimo Per?odo em Ci?ncia da Computacao Universidade Federal de Minas Gerais ------------------------------------------------------- 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 corsis_tom at yahoo.com Tue May 25 18:41:30 2004 From: corsis_tom at yahoo.com (Thomas Quinlan) Date: Tue, 25 May 2004 09:41:30 -0700 (PDT) Subject: check-host-alive returns /bin/ping -n -U -c 1 192.168.231.7 In-Reply-To: <40B36B01.2040009@lsil.com> References: <40B36B01.2040009@lsil.com> Message-ID: <20040525164130.3660.qmail@web20729.mail.yahoo.com> Russ, Actually, what I meant to say was that I was using Nagios 1.1, and not Nagios 1.2 (not check-host-alive vs. check_ping) - but of course, I was distracted while writing the email. ;) Tom --- Russ Hubbard wrote: > Th > omas, > The check-host-alive uses check_ping to do it's > check. So it is the same > as yours. I am having the same issue with nagios > reporting a server > down when it is actually up. > > Russ > > > Thomas Quinlan wrote: > > >I am all of a sudden having the same issue, on two > >different Nagios boxes. The difference for me is > that > >I am using check_ping instead of check-host-alive. > >(Some boxes return ok, other boxes return "bin/ping > -n > >-U -c 5 w.x.y.z".) > > > >The additional problem I am having with that is > that > >Nagios is actually incorrectly reporting a box as > >down, when in fact it is up. I can ping it from > the > >box (using "bin/ping -n -U -c 5 w.x.y.123") as both > >"root" and "nagios", so there's no reason Nagios > >should see it as not pinging. > > > > > > > >>-----Original Message----- > >>From: nagios-users-admin at lists.sourceforge.net on > >>behalf of Russ Hubbard > >>Sent: Tue 5/25/2004 10:56 AM > >>To: nagios-users at lists.sourceforge.net > >>Subject: [Nagios-users] check-host-alive returns > >>/bin/ping -n -U -c 1 192.168.231.7 > >> > >>Hello, > >> Last night I encountered some check-host-alive > >>commands that are > >>returning some weird information. They return > >>"/bin/ping -n -U -c 1 > >>192.168.231.7" as the output and mark the host as > >>down. I've gone > >>through the list archives and mostly I found that > >>this can be caused by > >>/bin/ping not having permissions of 4755. I have > >>checked this, here is > >>the verification: > >> > >>-rwsr-xr-x 1 root root 28724 Sep 11 > >>2003 /bin/ping > >> > >>I am currently running Nagios 1.2. I have been > >>running nagios for about > >>a year and this is the first occurance of this > >>problem I have had. I > >>have had a few outages in that time and they all > >>return the appropriate > >>status information. Here is an example: > >> > >>PING CRITICAL - Host Unreachable (172.21.35.28) > >> > >>Here is my check-host-alive command from > >>checkcommand.cfg: > >> > >># 'check-host-alive' command definition > >>define command{ > >> command_name check-host-alive > >> command_line $USER1$/check_ping -H > >>$HOSTADDRESS$ -w > >>3000.0,80% -c 5000.0,100% -p 1 > >> } > >> > >> > >>Any help at all in fixing this problem would be > >>great. > >> > >>Thanks, > >> > >>Russ > >> > >> > >> > >> > >> > >> > >>>begin:vcard > >>> > >>> > >>fn:Russ Hubbard > >>n:Hubbard;Russ > >>org:LSI Logic ;Enterprise Operations > >>adr:AL201;;4420 ArrowsWest Drive;Colorado > >>Springs;CO;80907;USA > >>email;internet:russ.hubbard at lsil.com > >>title:UNIX/Linux System Administrator > >>tel;work:(719)533-7973 > >>tel;fax:(719)533-6298 > >>tel;pager:(800)260-5085 > >>tel;cell:(719)660-8814 > >>x-mozilla-html:TRUE > >>url:http://eops.co.lsil.com > >>version:2.1 > >>end:vcard > >> > >> > >> > >> > > > > > > > > > > > >__________________________________ > >Do you Yahoo!? > >Friends. Fun. Try the all-new Yahoo! Messenger. > >http://messenger.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 > > > > > > > > > begin:vcard > fn:Russ Hubbard > n:Hubbard;Russ > org:LSI Logic ;Enterprise Operations > adr:AL201;;4420 ArrowsWest Drive;Colorado > Springs;CO;80907;USA > email;internet:russ.hubbard at lsil.com > title:UNIX/Linux System Administrator > tel;work:(719)533-7973 > tel;fax:(719)533-6298 > tel;pager:(800)260-5085 > tel;cell:(719)660-8814 > x-mozilla-html:TRUE > url:http://eops.co.lsil.com > version:2.1 > end:vcard > > __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.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 jdoyle at lewisgaleclinic.com Tue May 25 18:41:12 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Tue, 25 May 2004 12:41:12 -0400 Subject: SNMP Message-ID: Question about SNMP... I'm totally new to it. I have the check_snmp plugin, but how would I use it to check a switch, etc? What can I check and how would I go about it? I know this might be a little off-topic... but I appreciate any help. ----- John N. Doyle, Network+ Certified Professional Systems Operations Specialist Lewis-Gale Clinic Information Systems 540.772.3669 >PGP Key Available: http://68.106.83.67:8082/pgp.txt ------------------------------------------------------- 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 jhmartin at toger.us Tue May 25 18:44:53 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 25 May 2004 09:44:53 -0700 (PDT) Subject: Loggin Failure: "logged as ?" In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 .htaccess is misspelled below; that would cause it. - -Jason Martin On Tue, 25 May 2004, Leonardo Henrique Machado wrote: > Hi all, > > I cannot log with a especific user in Nagios. Apache doesn't ask for a > loging/password anymore! > > "logged as ?" > > > It used to work fine. One day, it stoped. I think that it's a problema > with Apache. How can I solve it? It's happening with 2 other friends of > mine. > > > Here is my config: > > ------- cgi.cfg --- > use_authentication=0 > #default_user_name=nagiosadmin > > ---- .htacces ---- > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /etc/nagios/htpasswd.users > require valid-user > > ---- htpasswd --- > leoh:NVIxSzbNNopBLAHw > nagiosadmin:dtXzgKyBLAHc/. > > ---- apache --- > #copy/paste from nagios documentation > > ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios/ > ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios/ > > Options Indexes FollowSymLinks Includes > AllowOverride AuthConfig > order deny,allow > allow from all > Options ExecCGI > > > # Where the stylesheets (config files) reside > Alias /nagios/stylesheets /etc/nagios/stylesheets/ > > # Where the HTML pages live(d) > Alias /nagios /usr/share/nagios/htdocs/ > > Options Indexes FollowSymLinks Includes > AllowOverride AuthConfig > order deny,allow > allow from all > > > > > > > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.5 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAs3gIl2ODWuqVSBMRApsLAJ4+xkQ15++B+1oVd4+k61ZLqg4P9wCggLqU BZtqt1l8zEOlHKZnYWcV2u8= =1UqM -----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 marc at ena.com Tue May 25 18:50:40 2004 From: marc at ena.com (Marc Powell) Date: Tue, 25 May 2004 11:50:40 -0500 Subject: Loggin Failure: "logged as ?" Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B639F@mismail2.ena.com> Leonardo Henrique Machado wrote: > Hi all, > > I cannot log with a especific user in Nagios. Apache doesn't ask for > a loging/password anymore! > > "logged as ?" > > > It used to work fine. One day, it stoped. I think that it's a > problema with Apache. How can I solve it? It's happening with 2 other > friends of mine. > > > Here is my config: Nagios config really doesn't matter at this stage. As you suspect, it's likely an Apache problem, more specifically an htaccess issue. Do you have a properly configured .htaccess file in ~nagios/sbin and an appropriately configured .htpasswd file (as pointed to by .htaccess)? Can apache read those files? If you do, your httpd error_log should indicate in more detail what the problem is. If you do not have a .htaccess file then the documentation at http://nagios.sourceforge.net/docs/1_0/cgiauth.html#config_web_users would be pertinent. -- 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 Tue May 25 19:06:42 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 25 May 2004 12:06:42 -0500 Subject: Hosts disappearing from Host Details screen In-Reply-To: References: Message-ID: <1085504801.4436.19.camel@localhost> My init script does, and I posted it last week. I was getting annoyed, too. On Tue, 2004-05-25 at 11:16 -0400, Robert Nelson wrote: > > > I have just added a new host group and hosts to Nagios with > > > associated > > > service checks. When looking at the Host Detail and Service > > > Detail page > > > using these new hosts do not always show. If I refresh the > > > browser they > > > > have you restarted your nagios? > > I'm just curious, with all the people that have problems with this, the > dozens of emails on the subject...would it make sense to have the nagios > process scan for other nagios processes on startup and throw an error? > > Rob Nelson > Network Engineer > Windchannel Communications > 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_id66&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: 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 25 19:20:29 2004 From: marc at ena.com (Marc Powell) Date: Tue, 25 May 2004 12:20:29 -0500 Subject: Loggin Failure: "logged as ?" Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B63A0@mismail2.ena.com> Jason Martin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > .htaccess is misspelled below; that would cause it. > And I feel like a dork because I didn't even notice he included that information in the original email. That's what I get for trying to answer email while at a conference. -- 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 strombrg at dcs.nac.uci.edu Tue May 25 20:26:56 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Tue, 25 May 2004 11:26:56 -0700 Subject: Has anyone looked into the product by www.hype ric.com before? In-Reply-To: <20040525115805.16639.qmail@minnow.softflare.net> References: <20040525115805.16639.qmail@minnow.softflare.net> Message-ID: <1085509616.11596.15.camel@tesuji.nac.uci.edu> On Tue, 2004-05-25 at 04:58, Paul L. Allen wrote: > Voon, Ton writes: > > > The GPL insists that changes to that core code must be available to their > > customers > > No, it doesn't. It states that modified source must be available to ALL > third parties under the GPL for no more than a reasonable distribution > cost (and the FAQ makes it clear that "third parties" means anybody who > asks for it). You can charge for the modified program (but must make > source available under the GPL). You can charge for installation. You can > charge for support. But you MUST make the source available to anyone who > asks, even if they have not purchased your program and/or support. I've seen companies "get around" (not sure it's really legal) the GPL in two ways. One is to delay the release of the modifications enough to get a first-mover advantage. I haven't studied the GPL, but it sounds like the GPL doesn't specify how soon you have to release your changes. Another is to come up with an arrangement where you "own" the box your modified code is on, so you aren't "redistributing" it (you're only using it "internally"). You can then charge for the service of being able to access the box. There's been discussion of closing this loophole in a future version of the GPL. I'm not advocating either of these, but there are businesses trying them. We have an arrangement with at least one such business using the 2nd method. -- Dan Stromberg DCS/NACS/UCI -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From jhmartin at toger.us Tue May 25 20:41:50 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 25 May 2004 11:41:50 -0700 (PDT) Subject: Has anyone looked into the product by www.hype ric.com before? In-Reply-To: <1085509616.11596.15.camel@tesuji.nac.uci.edu> References: <20040525115805.16639.qmail@minnow.softflare.net> <1085509616.11596.15.camel@tesuji.nac.uci.edu> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > One is to delay the release of the modifications enough to get a > first-mover advantage. I haven't studied the GPL, but it sounds like > the GPL doesn't specify how soon you have to release your changes. I am pretty sure it should be read as 'if the user gets the program, the source must be made available to them at the same time'. - -Jason Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.5 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAs5N0l2ODWuqVSBMRAhqtAJ4leaaeJ3eLByipMHf4GV3d98OumQCfdwOQ KkhRhPLPBFTTq2JPLiCQpW0= =rPjU -----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 Jason.Truong at plumtree.com Tue May 25 21:50:51 2004 From: Jason.Truong at plumtree.com (Jason Truong) Date: Tue, 25 May 2004 12:50:51 -0700 Subject: Has anyone looked into the product by www.hyperic.com before? Message-ID: <66EA32F2A81C004AB67268BA33833EA0E865@corpexch05.plumtree.com> Thank guys for all the support on this question. I'll let the decsion makers know that we can use Nagios granted that we share any new code written that might help out others. Its my understanding that they would like the ability to do the following: - get versioing info for applications installed (aka Tomcat, Weblogic) on a server (windows/solaris) - graphed application response times from a user perspective (probably can use PasTmon pastmon.sourceforge.net) I am not sure if Nagios can do the first task for Windows. It would be nice to have a tool that can grab the version info on major applicatons on windows server. Thanks, Jason T. ------------------------------------------------------- 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 garym at canada.com Tue May 25 21:57:36 2004 From: garym at canada.com (Gary Lawrence Murphy) Date: Tue, 25 May 2004 15:57:36 -0400 Subject: Has anyone looked into the product by www.hype ric.com before? References: <20040525115805.16639.qmail@minnow.softflare.net> <1085509616.11596.15.camel@tesuji.nac.uci.edu> Message-ID: >>>>> "J" == Jason Martin writes: >> One is to delay the release of the modifications enough to get >> a first-mover advantage. I haven't studied the GPL, but it >> sounds like the GPL doesn't specify how soon you have to >> release your changes. J> I am pretty sure it should be read as 'if the user gets the J> program, the source must be made available to them at the same J> time'. The GPL is pretty explicit: When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. If you _distribute_ your changed GPL, you must provide the source code for the software you distribute (could be orig + patches) and not the source code for some /other/ version of the software. Otherwise, what's the point? -- Gary Lawrence Murphy www.teledyn.com/mt - www.teledyn.com - sbp.teledyn.com You don't play what you know; you play what you hear. ------------------------------------------------------- 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 RLAdams at Kelsey-Seybold.com Tue May 25 22:09:10 2004 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Tue, 25 May 2004 15:09:10 -0500 Subject: Has anyone looked into the product by www.hy peric.com before? In-Reply-To: <66EA32F2A81C004AB67268BA33833EA0E865@corpexch05.plumtree.com> References: <66EA32F2A81C004AB67268BA33833EA0E865@corpexch05.plumtree.com> Message-ID: <38318.2704369121$1085516232@news.gmane.org> Add the Windows SNMP Service, and then use net-snmp to walk the HostMIB values for hrSWInstalledTable. Like: $ snmpwalk hostname public hrSWInstalledTable SNMP table: host.hrSWInstalled.hrSWInstalledTable Index Name ID Type Date 4 "Microsoft Internet Explorer 6 SP1" .ccitt.zeroDotZero application 2003-7-16,18:3:24.0 5 "Internet Explorer Q818529" .ccitt.zeroDotZero application 2003-7-21,13:33:52.0 6 "Windows 2000 Hotfix - KB822831" .ccitt.zeroDotZero application 2003-10-3,10:3:48.0 7 "Windows 2000 Hotfix - KB823559" .ccitt.zeroDotZero application 2003-7-16,17:26:26.0 Sorry for the funky wrapping, just trying to illustrate the point. It depends on the software, but the hrSWInstalledName may contain the version number which you could detect via snmp with Nagios. Russell On Tue, May 25, 2004 at 12:50:51PM -0700, Jason Truong wrote: > Thank guys for all the support on this question. I'll let the decsion makers know that we can use Nagios granted that we share any new code written that might help out others. > Its my understanding that they would like the ability to do the following: > > - get versioing info for applications installed (aka Tomcat, Weblogic) on a server (windows/solaris) > - graphed application response times from a user perspective (probably can use PasTmon pastmon.sourceforge.net) > > I am not sure if Nagios can do the first task for Windows. It would be nice to have a tool that can grab the version info on major applicatons on windows server. > > > Thanks, > > Jason T. > > > > ------------------------------------------------------- > 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 ------------------------------------------------------- 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 leoh at dcc.ufmg.br Tue May 25 22:15:07 2004 From: leoh at dcc.ufmg.br (Leonardo Henrique Machado) Date: Tue, 25 May 2004 17:15:07 -0300 (BRT) Subject: Loggin Failure: "logged as ?" In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F1B639F@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F1B639F@mismail2.ena.com> Message-ID: Thank you for helping me Jason Martin and Marc, The .htaccess is mispelled just here. The file and configs are ok. Marc, as you saw, all configs are ok. I did some other tests and found out some interesting things: If I enable authentication and let default_user=guest, then Nagios (apache) asks for the login/password. But, it's obvious, the logged user will always be "guest". So, till now, everything is ok: 1 - The authentication occurs 2 - Nagios identify the user Next, I commented the default_user line. That is what most people do. If I do that, Nagios interface apperas without asking for login!! (I restarted the browser and all that stuff. It's not cache, please). The message that appears is: " Logged as ?" Well, pretty strange! I hope it's not a bug. I dunno if it helps, but I am using Debian and I have installed nagios with apt-get. Nagios-1.2. any idea? On Tue, 25 May 2004, Marc Powell wrote: > Leonardo Henrique Machado wrote: > > Hi all, > > > > I cannot log with a especific user in Nagios. Apache doesn't ask for > > a loging/password anymore! > > > > "logged as ?" > > > > > > It used to work fine. One day, it stoped. I think that it's a > > problema with Apache. How can I solve it? It's happening with 2 other > > friends of mine. > > > > > > Here is my config: > > Nagios config really doesn't matter at this stage. As you suspect, it's > likely an Apache problem, more specifically an htaccess issue. Do you > have a properly configured .htaccess file in ~nagios/sbin and an > appropriately configured .htpasswd file (as pointed to by .htaccess)? > Can apache read those files? If you do, your httpd error_log should > indicate in more detail what the problem is. If you do not have a > .htaccess file then the documentation at > http://nagios.sourceforge.net/docs/1_0/cgiauth.html#config_web_users > would be pertinent. > > -- > Marc > -- Leonardo Henrique Machado ?ltimo Per?odo em Ci?ncia da Computacao Universidade Federal de Minas Gerais ------------------------------------------------------- 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 mshirley at ysi.com Tue May 25 22:37:17 2004 From: mshirley at ysi.com (mshirley at ysi.com) Date: Tue, 25 May 2004 16:37:17 -0400 Subject: Has anyone looked into the product by www.hyperic.com before? Message-ID: This leads into the fun part where you write things yourself. There are tons of applications out there that will query a service and find out what version it is. You may want to look into nmap for such things. Here is an example: (sorry for any lame text formatting this awful client may produce) # nmap -A -T4 -F www.insecure.org Starting nmap 3.40PVT16 ( http://www.insecure.org/nmap/ ) at 2003-09-06 19:49 PDT Interesting ports on www.insecure.org (205.217.153.53): (The 1206 ports scanned but not shown below are in state: filtered) PORT STATE SERVICE VERSION 22/tcp open ssh OpenSSH 3.1p1 (protocol 1.99) 25/tcp open smtp Qmail smtpd 53/tcp open domain ISC Bind 9.2.1 80/tcp open http Apache httpd 2.0.39 ((Unix) mod_perl/1.99_07-dev Perl/v5.6.1) 113/tcp closed auth Device type: general purpose Running: Linux 2.4.X|2.5.X OS details: Linux Kernel 2.4.0 - 2.5.20 Uptime 108.307 days (since Wed May 21 12:27:44 2003) Granted this is showing linux version detection i belive it also works on almost all well known windows/*nix services. Mark Shirley IT Helpdesk YSI Incorporated |---------+----------------------------------------> | | "Jason Truong" | | | | | | Sent by: | | | nagios-users-admin at lists.sour| | | ceforge.net | | | | | | | | | 05/25/2004 03:50 PM | | | | |---------+----------------------------------------> >---------------------------------------------------------------------------------------------------------------| | | | To: | | cc: | | Subject: RE: [Nagios-users] Re: Has anyone looked into the product by www.hyperic.com before? | >---------------------------------------------------------------------------------------------------------------| Thank guys for all the support on this question. I'll let the decsion makers know that we can use Nagios granted that we share any new code written that might help out others. Its my understanding that they would like the ability to do the following: - get versioing info for applications installed (aka Tomcat, Weblogic) on a server (windows/solaris) - graphed application response times from a user perspective (probably can use PasTmon pastmon.sourceforge.net) I am not sure if Nagios can do the first task for Windows. It would be nice to have a tool that can grab the version info on major applicatons on windows server. Thanks, Jason T. ------------------------------------------------------- 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 ------------------------------------------------------- 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 jnichols at pbp.net Wed May 26 00:00:33 2004 From: jnichols at pbp.net (Jonathan Nichols) Date: Tue, 25 May 2004 15:00:33 -0700 Subject: Integrate with trouble ticket system? Message-ID: <40B3C201.7040608@pbp.net> Hey all, Has anyone ever integrated Nagios with their trouble ticket system? Maybe not stuck them into the same system, but how do you have Nagios send trouble tickets, and to what system? Just doing some research... -Jonathan ------------------------------------------------------- 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 grant.adamson at kuehne-nagel.com Wed May 26 00:31:05 2004 From: grant.adamson at kuehne-nagel.com (Grant Adamson / Van CI) Date: Tue, 25 May 2004 15:31:05 -0700 Subject: Integrate with trouble ticket system? In-Reply-To: <40B3C201.7040608@pbp.net> References: <40B3C201.7040608@pbp.net> Message-ID: If you are using something like RT (www.bestpractical.com/rt/), you could just define a new host notification command in nagios and then have email alerts mailed to support at rtbox.com or whatever your trouble ticket box's address is. Closing the ticket automatically when the outage ended would probably be a bit more difficult. Anyone with more RT experience care to comment? Regards, Grant -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jonathan Nichols Sent: Tuesday, May 25, 2004 3:01 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Integrate with trouble ticket system? Hey all, Has anyone ever integrated Nagios with their trouble ticket system? Maybe not stuck them into the same system, but how do you have Nagios send trouble tickets, and to what system? Just doing some research... -Jonathan ------------------------------------------------------- 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 phil.manuel at infostream.com.au Wed May 26 01:15:09 2004 From: phil.manuel at infostream.com.au (Phil Manuel) Date: Wed, 26 May 2004 09:15:09 +1000 Subject: HA Nagios system Message-ID: <200405260915.09034.phil.manuel@infostream.com.au> We have a requirement that our monitoring system has to be 99.995% or greater availability. has anyone run Nagios in this kind of environment? If so what techniques have been used? I was trying to think of using a Linux cluster, that shared a SAN disk array. Am I going down the right lines ? Phil. ------------------------------------------------------- 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 s.shipway at auckland.ac.nz Wed May 26 01:37:56 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 26 May 2004 11:37:56 +1200 Subject: HA Nagios system In-Reply-To: <200405260915.09034.phil.manuel@infostream.com.au> References: <200405260915.09034.phil.manuel@infostream.com.au> Message-ID: <02ec01c442b1$4e4de970$b004d882@itss.auckland.ac.nz> >We have a requirement that our monitoring system has to be >99.995% or greater availability. has anyone run Nagios in >this kind of environment? If so what techniques have been used? > >I was trying to think of using a Linux cluster, that shared a >SAN disk array. Am I going down the right lines ? We have a pair of Linux servers, running Linux-HA as a heartbeat. A virtual IP address is passed between them, and the Apache web server listens on the wildcard interface for https. This takes care of the web interface. The Nagios service is started/stopped by linux-ha when it passes control back and forth. Configuration of nagios is held on the 'master' server, and periodically copied over to the standby. This takes care of config synchronisation, and not running two copies in parallel (which we do for some stuff, but Nagios generates a lot of network queries and alerts, so better to have only one copy running at once). The database currently is not copied automatically, only manually. However, we're looking into having it on SAN (or shared SCSI, or something) so that linux-ha can dismount/remount it between servers as part of the nagios startup. This allows the logs and data to be taken care of. We also run BigBrother and MRTG/routers.cgi on the same server set. 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 nkartsioukas-nagioslist at abetterbeep.com Wed May 26 01:55:11 2004 From: nkartsioukas-nagioslist at abetterbeep.com (nkartsioukas-nagioslist at abetterbeep.com) Date: Tue, 25 May 2004 16:55:11 -0700 Subject: Nagios changing group ownership of /var/log/nagios/rw Message-ID: <20040525165511.B14758@pocsag> I'm using the Nagios 1.2-3.1 Debian (unstable tree) package. Having a weird problem (prior version worked fine)...I've got /var/log/nagios/rw set up as user nagios, group nagiocmd, sticky bit set on group ownership. However, when Nagios is restarted, it changes the group ownership of that directory to nagios and then creates the nagios.cmd named pipe, so nagios.cmd is owned by nagios and has group of nagios. This breaks external commands. Not sure where this needs to be fixed...do I need to change the group that Nagios is running as in nagios.cfg? Why is Nagios "helping" me in this way? Thanks. -- Nick Kartsioukas Assistant Engineer, A Better Beep 3485 Sacramento Drive, Suite F San Luis Obispo, CA 93401 805.545.5416 ------------------------------------------------------- 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 Wed May 26 06:14:57 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 26 May 2004 06:14:57 +0200 Subject: HA Nagios system In-Reply-To: <200405260915.09034.phil.manuel@infostream.com.au> References: <200405260915.09034.phil.manuel@infostream.com.au> Message-ID: <40B419C1.7080802@op5.se> Phil Manuel wrote: > We have a requirement that our monitoring system has to be 99.995% or greater > availability. has anyone run Nagios in this kind of environment? If so what > techniques have been used? > We do that, with fully redundant servers. The only real difference between them is that the slave-server doesn't send notifications (both perform active checks, so everything is always as up-to-date as it could possibly be). The two servers have 2 NIC's, ofcourse, and are interconnected with a crossed CAT5 to keep notifications from going haywire if the switch goes down. For config-synchronization we have a nifty nrpe check. It works in 3 steps which all short-circuit config-update; 1. Is MD5 checksum of config-dir same as last time we checked? 2. Does nagios -v nagios.cfg return OK? 3. scp -r ... ; restart nagios Step 2 above is quite necessary, or we might find ourselves copying a configuration which is in the midst of being altered. This technique is also happily being applied to plugins and so on. If nagios (or one of the servers goes down), the other one automatically kicks in, turns master (and enables notifications if it wasn't master earlier). The event-handler for this also sets a passive service to CRITICAL, so that notifications for the 'other server is down' event are sent out. > I was trying to think of using a Linux cluster, that shared a SAN disk array. > Am I going down the right lines ? > Not necessarily. You might want to think about what happens when the link to the SAN array goes down (nagios cmd-pipe will fail, as will logging and just about everything else). > Phil. > -- 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 Stanley.Hopcroft at IPAustralia.Gov.AU Wed May 26 06:25:29 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 26 May 2004 14:25:29 +1000 Subject: Integrate with trouble ticket system? In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Tue, May 25, 2004 at 08:18:25PM -0700 References: Message-ID: <20040526142528.F91201@IPAustralia.Gov.AU> > To: , > > Subject: RE: [Nagios-users] Integrate with trouble ticket system? > Date: Tue, 25 May 2004 15:31:05 -0700 > > If you are using something like RT (www.bestpractical.com/rt/), you could > just define a new host notification command in nagios and then have email > alerts mailed to support at rtbox.com or whatever your trouble ticket box's > address is. define contact{ use generic-contact contact_name RT alias Request Tracker email Networks at Xena host_notification_commands bit-bucket service_notification_commands notify-request-tracker-by-email } # 'notify-request-tracker-by-email' command definition define command{ command_name notify-request-tracker-by-email command_line /usr/bin/printf "%b" "***** Nagios 1.2 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ $DATETIME$ $USER3$ **" $CONTACTEMAIL$ } # from resource.cfg # Request Tracker open request Ids $USER3$=[IPAustralia #1701] But this only handles one open request I hear you say. Yep. The proper way to do this is to have a notification command that consults a hash of requests keyed by service descriptions/names. The notify command probably should also determine the request queue using similar means. Closing requires an event handler to post a 'request resolved' to the RT web interface. AFAIK (and that's not saying much) this can't be done by email or perhaps it can if the nagios mailer is authorised by Request Tracker as an admin for the relevant request queue. > Closing the ticket automatically when the outage ended would > probably be a bit more difficult. Anyone with more RT experience care to > comment? 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: 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 jamie.baddeley at vpc.co.nz Wed May 26 06:52:42 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Wed, 26 May 2004 16:52:42 +1200 Subject: Integrate with trouble ticket system? In-Reply-To: <20040526142528.F91201@IPAustralia.Gov.AU> References: <20040526142528.F91201@IPAustralia.Gov.AU> Message-ID: <1085547162.25698.26.camel@titan.fx.net.nz> On Wed, 2004-05-26 at 16:25, Stanley Hopcroft wrote: > Closing requires an event handler to post a 'request resolved' to the RT > web interface. AFAIK (and that's not saying much) this can't be done by > email or perhaps it can if the nagios mailer is authorised by Request > Tracker as an admin for the relevant request queue. > > > > Closing the ticket automatically when the outage ended would > > probably be a bit more difficult. Anyone with more RT experience care to > > comment? > That was about the point I got to, and decided that the ability to parse the contents of incoming email in RT would be a really good thing (tm). Not long after this, I discovered: http://download.bestpractical.com/pub/rt/contrib/2.0/rt-addons/enhanced-mailgate.README http://download.bestpractical.com/pub//rt/contrib/2.0/rt-addons/enhanced-mailgate But these are for rt2 - didn't make it to rt3...*shakes fist in the sky* But! There may be hope! http://marc.free.net.ph/message/20030608.164329.5bbd0119.html jamie > Yours sincerely. -- ------------------------------------------------------- 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 Wed May 26 07:00:02 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 26 May 2004 07:00:02 +0200 Subject: Integrate with trouble ticket system? In-Reply-To: <20040526142528.F91201@IPAustralia.Gov.AU> References: <20040526142528.F91201@IPAustralia.Gov.AU> Message-ID: <40B42452.7080106@op5.se> Stanley Hopcroft wrote: >>To: , >> >>Subject: RE: [Nagios-users] Integrate with trouble ticket system? >>Date: Tue, 25 May 2004 15:31:05 -0700 >> >>If you are using something like RT (www.bestpractical.com/rt/), you could >>just define a new host notification command in nagios and then have email >>alerts mailed to support at rtbox.com or whatever your trouble ticket box's >>address is. > > > define contact{ > use generic-contact > > contact_name RT > alias Request Tracker > email Networks at Xena > host_notification_commands bit-bucket > service_notification_commands notify-request-tracker-by-email > } > > # 'notify-request-tracker-by-email' command definition > define command{ > command_name notify-request-tracker-by-email > command_line /usr/bin/printf "%b" "***** Nagios 1.2 > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" > | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - > $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ $DATETIME$ $USER3$ **" > $CONTACTEMAIL$ > } > How on EARTH can you keep track of that? Why not just let it execute a script which does something like; cat << EOF | /usr/bin/sendmail To: $1 From: Nagios Subject $2 alert ... ... EOF I'm sure you get the idea. > # from resource.cfg > > # Request Tracker open request Ids > $USER3$=[IPAustralia #1701] > > But this only handles one open request I hear you say. Yep. The proper > way to do this is to have a notification command that consults a hash of > requests keyed by service descriptions/names. The notify command > probably should also determine the request queue using similar means. > Aye. We've done it a bit differently. The notification script we use check to see if ~/etc/$CONTACTNAME$ exists and is a directory. If so, it rolls over * of the files (that's all 'non-dot' files) and adds a variable with the name of the file. It then greps the file for the hostname and everything beyond a marker (currently \t I think) is the value of the variable (simple, eh? I'll redo this, come to think of it). This way we can add special meaning to certain hosts, and let each have its own ticket-number. Also, the script greps ~/etc/$CONTACTNAME$/.notification_types for $NOTIFICATIONTYPE$. If the file exists, but $NOTIFICATIONTYPE$ isn't in there, we don't send any alerts (this was done to let one of our customers get ACKNOWLEDGEMENT emails only to their support database). Btw. Would anybody be interested in checking this script out? > Closing requires an event handler to post a 'request resolved' to the RT > web interface. AFAIK (and that's not saying much) this can't be done by > email or perhaps it can if the nagios mailer is authorised by Request > Tracker as an admin for the relevant request queue. > > > >>Closing the ticket automatically when the outage ended would >>probably be a bit more difficult. Anyone with more RT experience care to >>comment? > I've conjured up a way of doing this as well, but decided against it (it involved some absurd db-handling and procmail scripts parsing confirmation emails). Most of the problems are worthy of commenting, and the extra effort of clicking 'resolve' is better than having a bunch of tickets resolving themselves before I even have time to check into what caused the problem. Also, 'old' tickets are great for logging 'cause-and-fix' stuff. In time we turn it into a trouble-shooting guide for our network. So far we have one entry; Q: What should I do if the wireless hub goes down? A: If you don't know, it's your turn to buy coffee. The guide isn't really used much. -- 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 Stanley.Hopcroft at IPAustralia.Gov.AU Wed May 26 07:09:26 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 26 May 2004 15:09:26 +1000 Subject: Integrate with trouble ticket system? Message-ID: <20040526150925.G91201@IPAustralia.Gov.AU> Dear Folks, > To: , > > Subject: RE: [Nagios-users] Integrate with trouble ticket system? > Date: Tue, 25 May 2004 15:31:05 -0700 > > If you are using something like RT (www.bestpractical.com/rt/), you could > just define a new host notification command in nagios and then have email > alerts mailed to support at rtbox.com or whatever your trouble ticket box's > address is. A better way of doing this (than with a custom notification command, which however works fine) _may_ be with event correlation software such as SEC, LogSurfer, or Swatch that responds to the HARD messages in the Nag log by updating the 'trouble ticket' system. The potential advantages are . logging (by the EC software) the opening, update and closing of requests/trouble tickets. . complete independence from Nagios - no need to define new notification commands etc - and therefore can be tested and debugged independently. . no impairment of Nag performance (by for example blocking notification while waiting for the custom notification command to restore state and so on). Probably the key thing no matter which thing updates the RT system, there is a self contained program that restores the state of open requests and then determines what to do with this event on that basis ie update existing request, open new one, close (maybe - probably better done by service desk operations) requests. 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: 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 Stanley.Hopcroft at IPAustralia.Gov.AU Wed May 26 07:20:27 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 26 May 2004 15:20:27 +1000 Subject: Integrate with trouble ticket system? In-Reply-To: <1085547162.25698.26.camel@titan.fx.net.nz>; from jamie.baddeley@vpc.co.nz on Wed, May 26, 2004 at 04:52:42PM +1200 References: <20040526142528.F91201@IPAustralia.Gov.AU> <1085547162.25698.26.camel@titan.fx.net.nz> Message-ID: <20040526152026.H91201@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Wed, May 26, 2004 at 04:52:42PM +1200, Jamie Baddeley wrote: > > > > That was about the point I got to, and decided that the ability to parse > the contents of incoming email in RT would be a really good thing (tm). > > Not long after this, I discovered: > http://download.bestpractical.com/pub/rt/contrib/2.0/rt-addons/enhanced-mailgate.README > http://download.bestpractical.com/pub//rt/contrib/2.0/rt-addons/enhanced-mailgate > > But these are for rt2 - didn't make it to rt3...*shakes fist in the sky* > > But! There may be hope! > > http://marc.free.net.ph/message/20030608.164329.5bbd0119.html > that these mailgate programs that update RT tickets based on 'pseudo-headers' in incoming mail sound pretty cool. All that is required is a Nag notify command that adds these lines of text to your outgoing mail from Nagios. That command probably needs to be a stand alone program that works out which extra lines to add on the basis of the Nag macro values. 'Basically, this will make your standard mailgate accept quasi-headers like "Status: resolved" in the top of the body, up to the first blank line. It also has some fairly rudimentary support for named custom fields... Enough for me, but you may wish to extend it somewhat, depending upon your requirements.' Sounds great. Thanks for sharing this. > jamie > 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: 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 me-lists at kernzeit.com Wed May 26 09:53:28 2004 From: me-lists at kernzeit.com (Matthias Eichler) Date: Wed, 26 May 2004 09:53:28 +0200 Subject: Integrate with trouble ticket system? In-Reply-To: <20040526142528.F91201@IPAustralia.Gov.AU> References: <20040526142528.F91201@IPAustralia.Gov.AU> Message-ID: <1085558008.2544.16.camel@blindzero> I am on my way integrating Nagios with our Trouble Ticket System (OTRS - otrs.org) but I think there are pretty much issues that are the same - not depending to the software itself. > > If you are using something like RT (www.bestpractical.com/rt/), you could > > just define a new host notification command in nagios and then have email > > alerts mailed to support at rtbox.com or whatever your trouble ticket box's > > address is. My problem with this is that each email, also when it is a RECOVERY for an existing PROBLEM, creates a new ticket as it is a new mail with no corresponding [Ticket#]-Subject. > # from resource.cfg > # Request Tracker open request Ids > $USER3$=[IPAustralia #1701] > But this only handles one open request I hear you say. Yep. The proper > way to do this is to have a notification command that consults a hash of > requests keyed by service descriptions/names. The notify command > probably should also determine the request queue using similar means. Hmmm...but as every problem is a new ticket, wouldn't it better to write an dynamic notification-command (or wouldn't be a global event handler the better choice?) that resolves the corresponding Ticket# out of the Ticket system. Something like SELECT * FROM ticket WHERE 'status' = 'open' AND 'queue' = 'nagios' AND subject ='hostname' ;-) > Closing requires an event handler to post a 'request resolved' to the RT > web interface. AFAIK (and that's not saying much) this can't be done by > email or perhaps it can if the nagios mailer is authorised by Request > Tracker as an admin for the relevant request queue. Thats a big issue also for me. Has anyone ever closed a ticket in OTRS out of another system? Bye, Matthias -- Matthias Eichler kernzeit AG ------------------------------------------------------- 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 smokey at aquaticum.hu Wed May 26 09:58:21 2004 From: smokey at aquaticum.hu (=?iso-8859-2?Q?L=E1szl=F3_Csaba_Ferenc?=) Date: Wed, 26 May 2004 09:58:21 +0200 Subject: bagios and apache not on the same machine In-Reply-To: References: Message-ID: > Probably not. You need to be able to connect to the Nagios process. > Without any inbound connection to the Nagios box, I don't see how. I see. As far as i understand the problem is that the cmd.cgi cannot write to the nagios.cmd pipe if it's on an NFS share. I don't know C that much to locate more carefully the problem, in the end i will probably be enough crazy and write a PHP script which will work on the webserver, and call cmd.cgi on the nagios-box. If i'll do that i promise to make it available to the open source community, but it will be much later... Thanks for your help. SMokey ------------------------------------------------------- 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 jamie.baddeley at vpc.co.nz Wed May 26 13:08:00 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Wed, 26 May 2004 23:08:00 +1200 Subject: Integrate with trouble ticket system? In-Reply-To: <20040526152026.H91201@IPAustralia.Gov.AU> References: <20040526142528.F91201@IPAustralia.Gov.AU> <1085547162.25698.26.camel@titan.fx.net.nz> <20040526152026.H91201@IPAustralia.Gov.AU> Message-ID: <1085569680.17702.48.camel@munter> Stanley (and list) Upon investigation, alternatively one could take advantage of the cli interface shipped with later versions of rt3. To change a ticket to resolved would only require the command /usr/bin/rt edit ticket/118 set status=resolved to be issued on the rt host, where in this example 118 is the relevant ticket number. So instead of needing to parse incoming email, you could use sh or ssh commands. So now it becomes a question of how to feed the autoreply email into nagios, so nagios gains a sense of the ticket number. (given that event hanlders can easily handle setting of the ticket to resolved) http://naplax.sourceforge.net/REL.html (or something like that) could probably form the basis of how we get data in - but instead of sending it to nagios.cmd, we could send it to comment.log. We could store the ticket number in comment.log - and we grep for it when the service resolves... ..This is starting to feel like an ugly hack, but it is perhaps something to build upon? - the next tricky part is differentiating between services and hosts...but I sense the right info in the subject line is the key. jamie On Wed, 2004-05-26 at 17:20, Stanley Hopcroft wrote: > Dear Sir, > > I am writing to thank you for your letter and say, > > On Wed, May 26, 2004 at 04:52:42PM +1200, Jamie Baddeley wrote: > > > > > > > That was about the point I got to, and decided that the ability to parse > > the contents of incoming email in RT would be a really good thing (tm). > > > > Not long after this, I discovered: > > http://download.bestpractical.com/pub/rt/contrib/2.0/rt-addons/enhanced-mailgate.README > > http://download.bestpractical.com/pub//rt/contrib/2.0/rt-addons/enhanced-mailgate > > > > But these are for rt2 - didn't make it to rt3...*shakes fist in the sky* > > > > But! There may be hope! > > > > http://marc.free.net.ph/message/20030608.164329.5bbd0119.html > > > > that these mailgate programs that update RT tickets based on > 'pseudo-headers' in incoming mail sound pretty cool. > > All that is required is a Nag notify command that adds these lines of > text to your outgoing mail from Nagios. That command probably needs to > be a stand alone program that works out which extra lines to add on the > basis of the Nag macro values. > > 'Basically, this will make your standard mailgate accept quasi-headers > like "Status: resolved" in the top of the body, up to the first blank > line. It also has some fairly rudimentary support for named custom > fields... Enough for me, but you may wish to extend it somewhat, > depending upon your requirements.' > > Sounds great. Thanks for sharing this. > > > jamie > > > > Yours sincerely/ ------------------------------------------------------- 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 martin.mielke at thales-is.com Wed May 26 13:02:53 2004 From: martin.mielke at thales-is.com (Martin Mielke) Date: Wed, 26 May 2004 13:02:53 +0200 Subject: Lotus Domino Message-ID: <40B4795D.1060204@thales-is.com> Hi all, I've been browsing the list archives before subscribing (been subscribed a long time ago, so it's good to be back ;)) searching for a way to monitor a Lotus Domino Server in depth. Checking for the Lotus port is not enough for my deployment... so the obvious question: is there such a plugin to monitor Lotus Domino? I also saw the NXE (Nagios XML Engine) - http://nxe.sourceforge.net/ - On its website (see "About") it's said: --- NXE is designed to address these data integration concerns by allowing Nagios to be fully integrated with any XML capable platform. Many intranet, extranet and web based application platforms (such as Microsoft's IIS/.Net servers, IBM's Domino & Websphere and Apache's SOAP, Xerces & Xalan projects to name a few) use XML as their core data structures and NXE allows Nagios to be integrated with all of them for both reporting and control (via Nagios' external command interface) of multiple Nagios systems. --- If I understand it correctly, through NXE it could be possible to monitor/control Lotus Domino... or am I wrong? Has anyone deployed such a solution? Thanks in advance! Martin ------------------------------------------------------- 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 Wed May 26 14:00:35 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 26 May 2004 14:00:35 +0200 Subject: Integrate with trouble ticket system? In-Reply-To: <1085569680.17702.48.camel@munter> References: <20040526142528.F91201@IPAustralia.Gov.AU> <1085547162.25698.26.camel@titan.fx.net.nz> <20040526152026.H91201@IPAustralia.Gov.AU> <1085569680.17702.48.camel@munter> Message-ID: <40B486E3.40306@op5.se> Jamie Baddeley wrote: > Stanley (and list) > > Upon investigation, alternatively one could take advantage of the cli > interface shipped with later versions of rt3. > > To change a ticket to resolved would only require the command > > /usr/bin/rt edit ticket/118 set status=resolved > Lovely. Didn't know that. > to be issued on the rt host, where in this example 118 is the relevant > ticket number. So instead of needing to parse incoming email, you could > use sh or ssh commands. > > So now it becomes a question of how to feed the autoreply email into > nagios, so nagios gains a sense of the ticket number. (given that event > hanlders can easily handle setting of the ticket to resolved) > Easy. procmail lets you parse incoming email with scripts, so it's rather trivial to fetch host-info and all from it (grep, sed, awk) Here's how it could be done; A webserver breaks down (for instance). Nagios notices this and calls a notification script. The notification script adds a couple of values to an sql-database (mysql batchmode makes this really easy), like service_description and host_name, and sends the notification off to RT. RT gets the notification, makes a ticket of it and sends out an auto-reply. Procmail receives the auto-reply, parses it, finds service_description and host_name in subject-line (or wherever) and sets ticket number. Company webguru notices that things have gone wrong, and checks in an acknowledgement. Notification script checks for entries with current service_description and host_name in sql-db, retrieves the ticket number and sends off a ticket continuation to RT. RT adds the acknowledgement to the ticket in the proper queue, but sends no auto-reply. The broken-down IIS webserver pops back up. Nagios notices this, and once again calls the notification script, so that a RECOVERY notification goes out. Notification script fetches ticket number from db, adds it to the subject line, sends the notification, deletes the ticket number from sql db (it's prudent, but not necessary) and executes the proper remote command by some means thus resolving the ticket. Plain enough? > http://naplax.sourceforge.net/REL.html > > (or something like that) could probably form the basis of how we get > data in - but instead of sending it to nagios.cmd, we could send it to > comment.log. We could store the ticket number in comment.log - and we > grep for it when the service resolves... > Why on earth would you want to add it to a file that nagios keeps open? Think race conditions... > ..This is starting to feel like an ugly hack, but it is perhaps > something to build upon? It is a hack, but that doesn't necessarily mean its a bad thing. > - the next tricky part is differentiating > between services and hosts... Not really. It's actually quite trivial to differ between services and hosts, as you can have two different scripts for the two. > but I sense the right info in the subject > line is the key. > Or anywhere else, as long as it stays in circuit from RT to Nagios. > jamie -- 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 fredrik.wanglund at datavis.se Wed May 26 14:09:03 2004 From: fredrik.wanglund at datavis.se (=?ISO-8859-15?Q?Fredrik_W=E4nglund?=) Date: Wed, 26 May 2004 14:09:03 +0200 Subject: Strange loss of status in reports Message-ID: <40B488DF.6050400@datavis.se> I have a service 'Information srore' on a host. If i look in the archive-files between the 10'th and 19'th of may I find these entries (Human-readable time in the beginning of the lines is calculated from the timestamp): Tue May 11 05:13:12 2004: [1084245192] SERVICE ALERT: sai-adc-001;Information store;CRITICAL;HARD;1;Socket timeout Tue May 11 05:18:21 2004: [1084245501] SERVICE ALERT: sai-adc-001;Information store;OK;HARD;1; MSExchangeIS: Started Wed May 12 09:24:40 2004: [1084346680] SERVICE ALERT: sai-adc-001;Information store;WARNING;SOFT;1; MSExchangeIS: Unknown Wed May 12 09:27:28 2004: [1084346848] SERVICE ALERT: sai-adc-001;Information store;OK;SOFT;2; MSExchangeIS: Started Thu May 13 04:08:55 2004: [1084414135] SERVICE ALERT: sai-adc-001;Information store;CRITICAL;HARD;1;Socket timeout Thu May 13 04:19:58 2004: [1084414798] SERVICE ALERT: sai-adc-001;Information store;CRITICAL;SOFT;1;Connection refused by host Thu May 13 04:22:09 2004: [1084414929] SERVICE ALERT: sai-adc-001;Information store;OK;SOFT;2; MSExchangeIS: Started Mon May 17 09:12:45 2004: [1084777965] SERVICE ALERT: sai-adc-001;Information store;CRITICAL;HARD;1;Socket timeout Mon May 17 09:23:30 2004: [1084778610] SERVICE ALERT: sai-adc-001;Information store;OK;HARD;1; MSExchangeIS: Started Mon May 17 12:32:43 2004: [1084789963] SERVICE ALERT: sai-adc-001;Information store;CRITICAL;SOFT;1; MSExchangeIS: Stopped Mon May 17 12:34:54 2004: [1084790094] SERVICE ALERT: sai-adc-001;Information store;OK;SOFT;2; MSExchangeIS: Started As you can see, the service went OK Thu May 13 04:22:09. But if I generate an trend-graph it looks like the attached file - Its critical from Thu May 13 04:08:55 to Mon May 17 09:12:45. How does this make sense??? /FredrikW -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios2.GIF Type: image/gif Size: 13237 bytes Desc: not available URL: From mshirley at ysi.com Wed May 26 14:26:54 2004 From: mshirley at ysi.com (mshirley at ysi.com) Date: Wed, 26 May 2004 08:26:54 -0400 Subject: Integrate with trouble ticket system? Message-ID: what about check_mailq? This could easily check an auto reply email queue and if an email exists execute a script that parses the data in the email and act accordingly Mark Shirley IT Helpdesk YSI Incorporated |---------+----------------------------------------> | | Jamie Baddeley | | | | | | Sent by: | | | nagios-users-admin at lists.sour| | | ceforge.net | | | | | | | | | 05/26/2004 07:08 AM | | | | |---------+----------------------------------------> >---------------------------------------------------------------------------------------------------------------| | | | To: Stanley Hopcroft | | cc: "nagios-users at lists.sourceforge.net" | | Subject: Re: [Nagios-users] Integrate with trouble ticket system? | >---------------------------------------------------------------------------------------------------------------| Stanley (and list) Upon investigation, alternatively one could take advantage of the cli interface shipped with later versions of rt3. To change a ticket to resolved would only require the command /usr/bin/rt edit ticket/118 set status=resolved to be issued on the rt host, where in this example 118 is the relevant ticket number. So instead of needing to parse incoming email, you could use sh or ssh commands. So now it becomes a question of how to feed the autoreply email into nagios, so nagios gains a sense of the ticket number. (given that event hanlders can easily handle setting of the ticket to resolved) http://naplax.sourceforge.net/REL.html (or something like that) could probably form the basis of how we get data in - but instead of sending it to nagios.cmd, we could send it to comment.log. We could store the ticket number in comment.log - and we grep for it when the service resolves... ..This is starting to feel like an ugly hack, but it is perhaps something to build upon? - the next tricky part is differentiating between services and hosts...but I sense the right info in the subject line is the key. jamie On Wed, 2004-05-26 at 17:20, Stanley Hopcroft wrote: > Dear Sir, > > I am writing to thank you for your letter and say, > > On Wed, May 26, 2004 at 04:52:42PM +1200, Jamie Baddeley wrote: > > > > > > > That was about the point I got to, and decided that the ability to parse > > the contents of incoming email in RT would be a really good thing (tm). > > > > Not long after this, I discovered: > > http://download.bestpractical.com/pub/rt/contrib/2.0/rt-addons/enhanced-mailgate.README > > http://download.bestpractical.com/pub//rt/contrib/2.0/rt-addons/enhanced-mailgate > > > > But these are for rt2 - didn't make it to rt3...*shakes fist in the sky* > > > > But! There may be hope! > > > > http://marc.free.net.ph/message/20030608.164329.5bbd0119.html > > > > that these mailgate programs that update RT tickets based on > 'pseudo-headers' in incoming mail sound pretty cool. > > All that is required is a Nag notify command that adds these lines of > text to your outgoing mail from Nagios. That command probably needs to > be a stand alone program that works out which extra lines to add on the > basis of the Nag macro values. > > 'Basically, this will make your standard mailgate accept quasi-headers > like "Status: resolved" in the top of the body, up to the first blank > line. It also has some fairly rudimentary support for named custom > fields... Enough for me, but you may wish to extend it somewhat, > depending upon your requirements.' > > Sounds great. Thanks for sharing this. > > > jamie > > > > Yours sincerely/ ------------------------------------------------------- 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 tjl at topdanmark.dk Wed May 26 14:40:02 2004 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Wed, 26 May 2004 14:40:02 +0200 Subject: Vedr.: Lotus Domino Message-ID: Hi Martin, We monitor our Domino servers via Nagios. Via TCP port 1352 - Works very well because when domino get a serious error it normaly closes the 1352 port. Via SNMP - here we ask for waiting mails and dead mails. A good indicator if something is wrong in the system. There are other values to ask for but not used. If you get errors here like unknow data - that would also indicate that something is wrong. Anyway thanks for the info NXE Thomas Martin Mielke Til: nagios-users at lists.sourceforge.net Sendt af: cc: nagios-users-admin at lists.sour Vedr.: [Nagios-users] Lotus Domino ceforge.net 26-05-04 13:02 Hi all, I've been browsing the list archives before subscribing (been subscribed a long time ago, so it's good to be back ;)) searching for a way to monitor a Lotus Domino Server in depth. Checking for the Lotus port is not enough for my deployment... so the obvious question: is there such a plugin to monitor Lotus Domino? I also saw the NXE (Nagios XML Engine) - http://nxe.sourceforge.net/ - On its website (see "About") it's said: --- NXE is designed to address these data integration concerns by allowing Nagios to be fully integrated with any XML capable platform. Many intranet, extranet and web based application platforms (such as Microsoft's IIS/.Net servers, IBM's Domino & Websphere and Apache's SOAP, Xerces & Xalan projects to name a few) use XML as their core data structures and NXE allows Nagios to be integrated with all of them for both reporting and control (via Nagios' external command interface) of multiple Nagios systems. --- If I understand it correctly, through NXE it could be possible to monitor/control Lotus Domino... or am I wrong? Has anyone deployed such a solution? Thanks in advance! Martin ------------------------------------------------------- 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 jpm at retail-sc.com Wed May 26 15:00:05 2004 From: jpm at retail-sc.com (Jan-Piet Mens) Date: Wed, 26 May 2004 15:00:05 +0200 Subject: Lotus Domino In-Reply-To: <40B4795D.1060204@thales-is.com> References: <40B4795D.1060204@thales-is.com> Message-ID: <20040526130005.GA5932@m1.intdus.retail-sc.com> On Wed May 26 2004 at 13:02:53 CEST, Martin Mielke wrote: > searching for a way to > monitor a Lotus Domino Server in depth. Checking for the Lotus port is > not enough for my deployment... so the obvious question: is there such a > plugin to monitor Lotus Domino? Not to my knowlege. The reason probably is that there are quite a number of different things which could be checked. So far, I'm checking TCP port 1352 with check_tcp to see if Domino is accepting connections (NRPC) and of course the usual ports for HTTP, SMTP, LDAP (80, 25, 389). As you rightly say, that is not enough for me either. What I'm also doing (our Domino servers run on Win32) is to use nsclient on Win32 and check_nt on the Nagios host to check for running Domino services. Of course that doesn't really do much either. To my mind there are two more steps which could be taken, but I haven't (yet) gone that route: the first is to use the Domino SNMP agent (is somewhere on the distribution CD) and check_snmp to query some variables (no experience with the agent). The second is to write custom apps which perform some Notes function (e.g. check how many documents in the server's outgoing mail.box) and have check_nrpe or perhaps even NSCA use that for alerting... > If I understand it correctly, through NXE it could be possible to > monitor/control Lotus Domino... or am I wrong? I don't see that. NXE is to me a toolset for re-arraning Nagios' data in order to produce reports. I may be wrong though. -JP ------------------------------------------------------- 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 Wed May 26 15:29:08 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 26 May 2004 15:29:08 +0200 Subject: Integrate with trouble ticket system? In-Reply-To: References: Message-ID: <40B49BA4.2060000@op5.se> mshirley at ysi.com wrote: > what about check_mailq? This could easily check an auto reply email queue > and if an email exists execute a script that parses the data in the email > and act accordingly > Why bother more than necessary, and why add the additional delay? Procmail feeds the output of the mail to stdin of a script the instant (more or less) it arrives in the inbox. A check in nagios with an eventhandler connected to it is bound to be slower, more tedious and overall more than just a bit too cumbersome for this task. > Mark Shirley > IT Helpdesk > YSI Incorporated > -- 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 marino.simons at acerta.be Wed May 26 15:59:58 2004 From: marino.simons at acerta.be (marino.simons at acerta.be) Date: Wed, 26 May 2004 13:59:58 +0000 (UTC) Subject: High check latency with nagios References: <40B260D6.1080107@op5.se> Message-ID: In the meantime I discoverd that nagios waits 10 seconds when a check times out (and repeats this 9 times), so now I am looking where to change this. I did find another small error in our config and the number of checks/minute is up from 50 to 280.. But I still find this rather low.. Is there a workaround for the host check timeout? If I understand your first post correctly, nagios won't recover when my network goes down? Thanks, Marino mshirley at ysi.com wrote: > Also, just because you have 2 processors and smp > enabled in the kernel doesn't mean nagios was written with proper threading > in mind (which defeats the purpose of dual processors). > >Not really. Nagios fork()'s. The child processes in turn execute the >various plugins, which means that for every check to be run, there is >actually always at least 3 threads to execute in parallell (main, child >and plugin). Nagios doesn't have to bother with all this (although it >could if one were to rewrite large parts of it in assembly), but rather >lets the kernel handle it. The kernel is very good at it, so the loss is >minimal compared to the developer-unfriendly asm options. >Point being; More CPU's (+ SMP support in kernel) = More power, no >matter how the program was written or even compiled (although sending it >once through strip is not a bad idea). > Mark Shirley > IT Helpdesk > YSI Incorporated -- 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 Wed May 26 16:27:36 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 26 May 2004 16:27:36 +0200 Subject: High check latency with nagios In-Reply-To: References: <40B260D6.1080107@op5.se> Message-ID: <40B4A958.4010201@op5.se> marino.simons at acerta.be wrote: > In the meantime I discoverd that nagios waits 10 seconds when a check > times out (and repeats this 9 times), so now I am looking where to change > this. max_check_attempts in host objects (or their templates). You can safely set this to 5, but not lower than 3 unless you want flaky host-state detection. > I did find another small error in our config and the number of > checks/minute is up from 50 to 280.. But I still find this rather low.. > Is there a workaround for the host check timeout? > If I understand your first post correctly, nagios won't recover when my > network goes down? > Yes it will, but not until it's soundly down and nagios knows it. This is to be 'cleverized', but is not so as of now (I know a good way to do it, but I don't have the time). On the other hand, it's sort of silly to implement a monitoring solution if you know the network is riddled with problems. Nagios does its job best in a network that works, but where some points of it tends to fail or get overloaded from time to time. > Thanks, > Marino > > > > > mshirley at ysi.com wrote: > >>Also, just because you have 2 processors and smp >>enabled in the kernel doesn't mean nagios was written with proper > > threading > >>in mind (which defeats the purpose of dual processors). >> >>Not really. Nagios fork()'s. The child processes in turn execute the >>various plugins, which means that for every check to be run, there is >>actually always at least 3 threads to execute in parallell (main, child >>and plugin). Nagios doesn't have to bother with all this (although it >>could if one were to rewrite large parts of it in assembly), but rather >>lets the kernel handle it. The kernel is very good at it, so the loss is >>minimal compared to the developer-unfriendly asm options. >>Point being; More CPU's (+ SMP support in kernel) = More power, no >>matter how the program was written or even compiled (although sending it >>once through strip is not a bad idea). > > >>Mark Shirley >>IT Helpdesk >>YSI Incorporated > > -- 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 sande06 at emory.edu Wed May 26 17:28:10 2004 From: sande06 at emory.edu (Sheldon Anderson) Date: Wed, 26 May 2004 11:28:10 -0400 Subject: Cannot determine ORACLE_HOME for sid DBName Message-ID: <200405261528.i4QFSAIp013711@pales.cc.emory.edu> Hello, Has anyone seen this error? Cannot determine ORACLE_HOME for sid DBName I have ORACLE_HOME set for the ID that is starting the nagios nrpe daemon Any help would be greatly appreciated. Sheldon Anderson ITD Technical Services 1784 North Decatur Rd. Atlanta, GA 30322 404-727-0723 -------------- next part -------------- An HTML attachment was scrubbed... URL: From reuben at presence-systems.com Wed May 26 17:25:30 2004 From: reuben at presence-systems.com (Reuben Pearse) Date: Wed, 26 May 2004 16:25:30 +0100 Subject: Hosts disappearing from Host Details screen In-Reply-To: <40B320AF.6060604@dhl.com> References: <40B31A59.5010500@presence-systems.com> <40B320AF.6060604@dhl.com> Message-ID: <40B4B6EA.1030609@presence-systems.com> Hmmmm...yes...2 processes of Nagios running. Killed them off and restarted. This seems to have fixed it. It also explains why alerts were being duplicated :-) -- Reuben Pearse Senior Systems Consultant reuben at presence-systems.com Tom DE BLENDE (GCC) wrote: > FAQ's are for sissies... > > http://www.nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=false > > > Reuben Pearse wrote: > >> Hi all, >> >> I have just added a new host group and hosts to Nagios with >> associated service checks. When looking at the Host Detail and >> Service Detail page using these new hosts do not always show. If I >> refresh the browser they sometime appear, although more often than >> not they are not showing. Has anyone seen this before? Does this >> point to a configuration file error? I am using Nagios 1.2 >> ------------------------------------------------------- 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 Wed May 26 18:16:34 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 26 May 2004 09:16:34 -0700 (PDT) Subject: Downtime Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If I have a hostgroup of just 1 host, is scheduling downtime for 'all serices in this hostgroup' from the hostgroup-page the same as scheduling downtime for the host from the host-page? If not, what is the appropriate way to schedule downtime for all services on a host? Thanks, - -Jason Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.5 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAtMLml2ODWuqVSBMRAnyhAJwIJTKJhx1B9o2jXIahJdyX8sE7NACgkR91 WY4HIAI88ZXEY6ZmyaibZRE= =nIJx -----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 martin.mielke at thales-is.com Wed May 26 16:12:26 2004 From: martin.mielke at thales-is.com (Martin Mielke) Date: Wed, 26 May 2004 16:12:26 +0200 Subject: Vedr.: Lotus Domino In-Reply-To: References: Message-ID: <40B4A5CA.2020506@thales-is.com> Hi Thomas and all, Thomas Jens Lauritsen wrote: > >Hi Martin, > >We monitor our Domino servers via Nagios. > > Nice to hear it... :) >Via TCP port 1352 - Works very well because when domino get a serious error >it normaly closes the 1352 port. > > hmmm... interesting. >Via SNMP - here we ask for waiting mails and dead mails. A good indicator >if something is wrong in the system. > > Could you please provide me/us with some examples? Feel free to contact me off the list for this issue. >There are other values to ask for but not used. > > Could you please also list them? I'd like to have as much information as possible, just in case one of my bosses comes in and says "hey, show me how XXXXX is going..."... >If you get errors here like unknow data - that would also indicate that >something is wrong. > > Is there any way to analize the reasons for that unknown data? >Anyway thanks for the info NXE > > You are welcome! :) Martin [ 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 GWCOOK at mactec.com Wed May 26 18:57:41 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 26 May 2004 10:57:41 -0600 Subject: Betr.: RE: High check latency with nagios Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E9151@golden-m.mactec.com> I currently monitor about 200 hosts and 700 services. However, in the past I have monitored 500 hosts and 2500 services with no issues on a PIII 866Mhz box. Changing the number of simultaneous checks as suggested by Nagios is a good start. However, there are several other parameters that you may want to look at, as described in these docs: http://nagios.sourceforge.net/docs/1_0/checkscheduling.html There is probably additional information relevant to your issue in the docs and/or FAQ, do a little digging. You may also want to look into distributed monitoring. When responding, please email the list, and not only to me. I don't have all the answers and there are people out there with more knowledge than I that may be able to offer further assistance. Also, it's a good idea to have these threads in the archives, so that maybe it will help someone else in the future. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) -----Original Message----- From: marino.simons at acerta.be [mailto:marino.simons at acerta.be] Sent: Wednesday, May 26, 2004 1:47 AM To: Cook, Garry Subject: Betr.: RE: [Nagios-users] High check latency with nagios Hi, Thanks for your advice, but I've already tried this, nagios suggests 560 simultanous checks, I changed this value in nagios.cfg, but it doesn't make any difference... For some reason the entire system bogs down. Anyway I am planning to remove 80% of the hosts from nagios, and then I hope to see some improvement.. Just to have an idea about the size of my nagios setup, how many hosts/services do you monitor with nagios? Thanks®ards, Marino Simons Acerta ICT, Network Administrator Tel: 016246776 "Cook, Garry" 24/05/2004 22:12 Aan: cc: Onderwerp: RE: [Nagios-users] High check latency with nagios Run Nagios with the help parameter '-h'. This will give you a description of a few other parameters that can be run. I think the one you will be interested in is '-s', which analyzes your check scheduling information and makes suggestions for improvement. You'll probably need to run the command like so: /path/to/nagios/bin/nagios -s /path/to/nagios/etc/nagios.cfg HTH Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of marino.simons at acerta.be Sent: Monday, May 24, 2004 12:59 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] High check latency with nagios Hi All, We are setting up nagios to monitor our infrastructure, and we ran into a few problems. Most of them I"ve been able to solve, thanks to reading the mailinglist. But the latest problem is a persistent one. I'm running nagios on Suse Enterprise server 9, with kernel 2.6.5 on a dual 2.4 ghz intel Xeon server with hyperthreading enabled, the system has 2GB ram. We recompiled the kernel with SMP-support, en it detects 4 cpu's.. In nagios we defined 405 servers, and we do 6855 active checks, and 17 passive checks. And we have an extremely bad performance. At the tactical overview I see the following information: check latency: 4468.402 sec. It takes nagios about 1,5 hour to see a status change. Needless to say that this is not acceptable. Anyway I am looking for some hints, does anybode have an idea on what causes this behavior? Thanks in advance!! Marino -------------- next part -------------- An HTML attachment was scrubbed... URL: From pla at softflare.com Wed May 26 20:12:31 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 26 May 2004 19:12:31 +0100 Subject: Has anyone looked into the product by www.hype ric.com before? In-Reply-To: References: <20040525115805.16639.qmail@minnow.softflare.net> <1085509616.11596.15.camel@tesuji.nac.uci.edu> Message-ID: <20040526181232.30956.qmail@minnow.softflare.net> Jason Martin writes: > I am pretty sure it should be read as 'if the user gets the program, the > source must be made available to them at the same time'. Not quite. When the user gets the program the user must be informed about how they can get the source for that version of the program or the source must be included with the program. It doesn't have to be available directly, they may have to send money for media/shipping and get a CD in the post. But they DO have to be told that they can have the source if they want it. Not only that, ANYONE can request a copy of the source whether they have purchased the program or not. -- 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 victor at ambra.ro Wed May 26 20:18:51 2004 From: victor at ambra.ro (victor) Date: Wed, 26 May 2004 21:18:51 +0300 Subject: statusmap.cgi Message-ID: <40B4DF8B.2020104@ambra.ro> I installed nagios. Everithing works except the status map( The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server.). Not Found The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server. ------------------------------------------------------------------------ Apache/1.3.29 Server at www.nagios.ambra.ro Port 80 Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mksmith at noanet.net Wed May 26 20:40:20 2004 From: mksmith at noanet.net (Michael Smith) Date: Wed, 26 May 2004 11:40:20 -0700 Subject: Redhat 3.0 Nagios 1.2 check_nagios problem Message-ID: <6B628149FCE1B543A3AB351A29DC7D8E1731D7@basilisk.noanet.lan> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello All: I am running Nagios 1.2 and Nagios Plugins 1.3.1. Everything is working perfectly except for the check_nagios plugin. Every 5 minutes the web interface advises Nagios may not be running and all of my service check options go away. Nagios is running throughout, so I'm not sure why the plugin is thinking it's not. If I killall - - -HUP Nagios it works again for 5 minutes and then dies. This behavior happens whether I run Nagios in daemon mode or not. Any help would be greatly appreciated. # cgi.cfg config nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/nagios.log 5 '/usr/local/nagios/bin/nagios' # ls -al /usr/local/nagios/var/nagios.log - - -rw-r--r-- 1 nagios nagios 11467 May 26 08:49 /usr/local/nagios/var/nagios.log # ps auxw | grep nagios nagios 14510 0.0 0.0 2432 1396 ? S May21 1:23 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg Thanks, Mike - - -- Michael K. Smith NoaNet 206.219.7116 (work) 866.662.6380 (NOC) mksmith at noanet.net http://www.noanet.net -----BEGIN PGP SIGNATURE----- Version: PGP 8.0.3 iQA/AwUBQLTklJzgx7Y34AxGEQL8yACeOBlJd84SnzLlQW1go2xZfEAV7WIAn18o cWfTND3Lb9EU7GeDt+tvVYyY =PYRD -----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_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 strombrg at dcs.nac.uci.edu Wed May 26 21:23:57 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Wed, 26 May 2004 12:23:57 -0700 Subject: Has anyone looked into the product by www.hype ric.com before? In-Reply-To: References: <20040525115805.16639.qmail@minnow.softflare.net> <1085509616.11596.15.camel@tesuji.nac.uci.edu> Message-ID: <1085599436.682.5.camel@tesuji.nac.uci.edu> On Tue, 2004-05-25 at 12:57, Gary Lawrence Murphy wrote: > >>>>> "J" == Jason Martin writes: > > >> One is to delay the release of the modifications enough to get > >> a first-mover advantage. I haven't studied the GPL, but it > >> sounds like the GPL doesn't specify how soon you have to > >> release your changes. > J> I am pretty sure it should be read as 'if the user gets the > J> program, the source must be made available to them at the same > J> time'. > > The GPL is pretty explicit: > > When we speak of free software, we are referring to freedom, not > price. Our General Public Licenses are designed to make sure that > you have the freedom to distribute copies of free software (and > charge for this service if you wish), that you receive source code > or can get it if you want it, that you can change the software or > use pieces of it in new free programs; and that you know you can do > these things. > > If you _distribute_ your changed GPL, you must provide the source code > for the software you distribute (could be orig + patches) and not the > source code for some /other/ version of the software. > > Otherwise, what's the point? Actually, at least in the snippet you've quoted, it doesn't say anything about how soon you have to make the code available. EG, is it OK to have a procedure for shipping a cdrom that takes 2 months? There are companies trying these delays, and I'm not hearing about the FSF getting on their respective cases. -- Dan Stromberg DCS/NACS/UCI -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From GWCOOK at mactec.com Wed May 26 21:49:26 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 26 May 2004 13:49:26 -0600 Subject: Getting Performance Data into the perfdata files Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E9165@golden-m.mactec.com> Ben Clewett wrote: > Garry, > > The only other thing I can thing of is staining the output from > check_load by recompiling with some noticable debug. Then see if it > comes up in logs or anything. But I see you have tried this. So it's > definitelly running your version with perf data, and this data is > definitelly being lost. > > The only difference I can see is the flags you use to compile nagios. > You could try a vanilla build with only the > --with-file-perfdata. Bit > radical, but all I can thing of. > > ??? > > Ben At this point I've tried everything I know to do to troubleshoot this issue. I've even recompiled Nagios with the default Performance Data method and setup commands to append the data to the log files, which produced the same results (or lack of results) as the File Based perfdata method. Let me ask the following of anyone who is currently using Performance Data, be it file based or default method: When you look in the nagios log file, and see the entries pertaining to the checks that would return perfdata, is the pipe and $PERFDATA$ value included in the log entry? I'm not seeing perdata in my nagios.log, I only see an entry such as: [1085599923] SERVICE ALERT: monitor2;System Load Average;OK;HARD;1;OK - load average: 1.09, 1.09, 1.15 Should the perfdata be shown here as well? As I've shown before, it works fine from the command line: /usr/local/nagios/libexec: sudo ./check_load -w 3,3,3 -c 5,5,5 OK - load average: 1.39, 1.10, 1.09|load1=1;3;5;0 load5=1;3;5;0 load15=1;3;5;0 Any help greatly appreciated. I really don't want to give up on this feature. 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: 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 neil-on-nagios at restricted.dyndns.org Wed May 26 22:11:22 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 26 May 2004 15:11:22 -0500 Subject: checking Windows local services Message-ID: <20040526201122.59130.qmail@restricted.dyndns.org> Hey guys, Currently, I am using nagios nrpe to check services on a remote Windows 2k machine. It works but sometimes, very seldom, it times out, then service is reported again OK on the next run. We are using another tool called Servers Alive. To check a service on a remote Win2k, it only needs a username and a password. Can we do the same thing to with Nagios by compiling it with samba support? What's your recommendation? No TCP port checking please. Thanks in advance. Neil ------------------------------------------------------- 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 mshirley at ysi.com Wed May 26 23:16:47 2004 From: mshirley at ysi.com (mshirley at ysi.com) Date: Wed, 26 May 2004 17:16:47 -0400 Subject: statusmap.cgi Message-ID: This happened to me as well the first time i installed nagios. If you don't have the gdlib installed (among a few others) the statusmap.cgi will not be built. When you did your initial ./configure of nagios you probably received a message stating that you didn't have gdlib and it gave you steps to fix it but it continued on normally and built without errors. Mark Shirley IT Helpdesk YSI Incorporated |---------+----------------------------------------> | | victor | | | Sent by: | | | nagios-users-admin at lists.sour| | | ceforge.net | | | | | | | | | 05/26/2004 02:18 PM | | | | |---------+----------------------------------------> >---------------------------------------------------------------------------------------------------------------| | | | To: nagios-users at lists.sourceforge.net | | cc: | | Subject: [Nagios-users] statusmap.cgi | >---------------------------------------------------------------------------------------------------------------| I installed nagios. Everithing works except the status map( The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server.). Not Found The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server. Apache/1.3.29 Server at www.nagios.ambra.ro Port 80 Thank you. ------------------------------------------------------- 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 jasonb at teletouch.net Thu May 27 00:06:02 2004 From: jasonb at teletouch.net (Jason Branscum) Date: Wed, 26 May 2004 17:06:02 -0500 (CDT) Subject: Extended Data problems under MySQL using Nagios 1.2 CGI Interface Message-ID: <4713.208.218.190.48.1085609162.squirrel@mail.teletouch.net> >> Tried to send this message from my exchange mailbox.. of course it got rejected ;) Lets try this again using my normal mailbox. Hey All, Been using Nagios for a while, it sure beats the tail off of WhatsUp.. in fact, I liked it so much that I showed it off to a friend. Within a week he migrated off of his WhatsUp monitoring and went to Nagios, however, he has a cool feature which I lack. On his 2d Status and 3d Status page, he has neat lil icons for each of his hosts; I on the other hand do not other than the defaults. We're both running Version 1.2, however I use the MySQL backend (compiled with -xdata) whereas he uses the file based version. Both my cgi.cfg and resource.cfg have the following: xeddb_host=localhost xeddb_port=3306 xeddb_database=nagios xeddb_username=nagios xeddb_password=heyb00b00 And other MySQL tables have populated rows.. so I know my SQL connection is valid. And for reference, here is a dump of my extended data table in mysql CREATE TABLE `hostextinfo` ( `host_name` varchar(75) NOT NULL default '', `notes_url` varchar(128) NOT NULL default '', `icon_image` varchar(32) NOT NULL default '', `vrml_image` varchar(32) NOT NULL default '', `gd2_icon_image` varchar(32) NOT NULL default '', `icon_image_alt` varchar(128) NOT NULL default '', `x_2d` int(11) NOT NULL default '-1', `y_2d` int(11) NOT NULL default '-1', `x_3d` double(16,4) NOT NULL default '-1.0000', `y_3d` double(16,4) NOT NULL default '-1.0000', `z_3d` double(16,4) NOT NULL default '-1.0000', `have_2d_coords` tinyint(4) NOT NULL default '0', `have_3d_coords` tinyint(4) NOT NULL default '0' ) TYPE=MyISAM; INSERT INTO `hostextinfo` VALUES ('lump', '', 'freebsd40.gif', 'freebsd40.gif', 'freebsd40.gd2', 'FreeBSD', -1, -1, '-1.0000', '-1.0000', '-1.0000', 0, 0); INSERT INTO `hostextinfo` VALUES ('fb1.tylr', '', 'firebox.gif', 'firebox.gif', 'firebox.gd2', 'Watchguard Firebox', -1, -1, '-1.0000', '-1.0000', '-1.0000', 0, 0); And here are the hosts as referred to above: define host{ use notify host_name lump alias Lump (FreeBSD) address 192.168.70.26 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } define host{ use notify host_name fb1.tylr alias Tyler, TX - Firebox parents sw01.tylr address 192.168.70.7 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } I checked, the images referred to above do exist in my logos directory. I've kill -9'ed and restarted every time I've made a change which has not helped either. I'm stumped.. I even tried reverting to a file version for extended host info and restarted Nagios.. no luck.. I think it doesn't work because I compiled using SQL and it won't even try a file. I'm stumped here, read the FAQ and 4 weeks worth of majordomo mailing list archives.. I've got nothing.. Any help would rock the casbah! I think I've been very detailed as to my problem.. if you need any more clues/details, just mail me direct, I'm on the digest version of the mailer. One other thing completely unrelated; is there a way to design these displays with a GUI that will spit out cords so that my maps look pretty? Even my 3d map really only uses a 2d plane, it would be neat to see objects spread out on the third plane. Jason ------------------------------------------------------- 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 lzhang at lbl.gov Thu May 27 00:10:03 2004 From: lzhang at lbl.gov (ling Zhang) Date: Wed, 26 May 2004 15:10:03 -0700 Subject: False positives after the Parent host recovered In-Reply-To: <20040520234255.41859.qmail@web50408.mail.yahoo.com> References: <20040520234255.41859.qmail@web50408.mail.yahoo.com> Message-ID: <007301c4436e$383a87c0$361b80c6@linglaptop> The notification interval was set to 0 to avoid "re-notifying" any outage. Ling -----Original Message----- From: Gaurang Pandya [mailto:gaubrig at yahoo.com] Sent: Thursday, May 20, 2004 4:43 PM To: ling Zhang; nagios-users at lists.sourceforge.net Cc: 'Gregory Bell'; harper.mann at comcast.com; CHui Subject: Re: [Nagios-users] False positives after the Parent host recovered > notification_interval > 0 I guess its notification_interval thats problem. It should be something more than that. Gaurang. __________________________________ 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 misaochankun at speakeasy.net Thu May 27 01:38:27 2004 From: misaochankun at speakeasy.net (Misao) Date: Wed, 26 May 2004 18:38:27 -0500 Subject: Extended Data problems under MySQL using Nagios 1.2 CGI Interface In-Reply-To: <4713.208.218.190.48.1085609162.squirrel@mail.teletouch.net> References: <4713.208.218.190.48.1085609162.squirrel@mail.teletouch.net> Message-ID: This sounds like the problem I had with extended info. Apparently, you have to specifically put a switch for entedned info(whether it be database or file based) in the ./configure itself. This should then let it read your extinfo after you install the new Nagios. Also, I use nagiosmap.pl to set up my 2D map, but I have yet to find a nice program for 3d map. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jason Branscum Sent: Wednesday, May 26, 2004 5:06 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Extended Data problems under MySQL using Nagios 1.2 CGI Interface >> Tried to send this message from my exchange mailbox.. of course it got rejected ;) Lets try this again using my normal mailbox. Hey All, Been using Nagios for a while, it sure beats the tail off of WhatsUp.. in fact, I liked it so much that I showed it off to a friend. Within a week he migrated off of his WhatsUp monitoring and went to Nagios, however, he has a cool feature which I lack. On his 2d Status and 3d Status page, he has neat lil icons for each of his hosts; I on the other hand do not other than the defaults. We're both running Version 1.2, however I use the MySQL backend (compiled with -xdata) whereas he uses the file based version. Both my cgi.cfg and resource.cfg have the following: xeddb_host=localhost xeddb_port=3306 xeddb_database=nagios xeddb_username=nagios xeddb_password=heyb00b00 And other MySQL tables have populated rows.. so I know my SQL connection is valid. And for reference, here is a dump of my extended data table in mysql CREATE TABLE `hostextinfo` ( `host_name` varchar(75) NOT NULL default '', `notes_url` varchar(128) NOT NULL default '', `icon_image` varchar(32) NOT NULL default '', `vrml_image` varchar(32) NOT NULL default '', `gd2_icon_image` varchar(32) NOT NULL default '', `icon_image_alt` varchar(128) NOT NULL default '', `x_2d` int(11) NOT NULL default '-1', `y_2d` int(11) NOT NULL default '-1', `x_3d` double(16,4) NOT NULL default '-1.0000', `y_3d` double(16,4) NOT NULL default '-1.0000', `z_3d` double(16,4) NOT NULL default '-1.0000', `have_2d_coords` tinyint(4) NOT NULL default '0', `have_3d_coords` tinyint(4) NOT NULL default '0' ) TYPE=MyISAM; INSERT INTO `hostextinfo` VALUES ('lump', '', 'freebsd40.gif', 'freebsd40.gif', 'freebsd40.gd2', 'FreeBSD', -1, -1, '-1.0000', '-1.0000', '-1.0000', 0, 0); INSERT INTO `hostextinfo` VALUES ('fb1.tylr', '', 'firebox.gif', 'firebox.gif', 'firebox.gd2', 'Watchguard Firebox', -1, -1, '-1.0000', '-1.0000', '-1.0000', 0, 0); And here are the hosts as referred to above: define host{ use notify host_name lump alias Lump (FreeBSD) address 192.168.70.26 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } define host{ use notify host_name fb1.tylr alias Tyler, TX - Firebox parents sw01.tylr address 192.168.70.7 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } I checked, the images referred to above do exist in my logos directory. I've kill -9'ed and restarted every time I've made a change which has not helped either. I'm stumped.. I even tried reverting to a file version for extended host info and restarted Nagios.. no luck.. I think it doesn't work because I compiled using SQL and it won't even try a file. I'm stumped here, read the FAQ and 4 weeks worth of majordomo mailing list archives.. I've got nothing.. Any help would rock the casbah! I think I've been very detailed as to my problem.. if you need any more clues/details, just mail me direct, I'm on the digest version of the mailer. One other thing completely unrelated; is there a way to design these displays with a GUI that will spit out cords so that my maps look pretty? Even my 3d map really only uses a 2d plane, it would be neat to see objects spread out on the third plane. Jason ------------------------------------------------------- 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 Jon.Quidilla at ayalaport.com Thu May 27 01:56:14 2004 From: Jon.Quidilla at ayalaport.com (APMI QUIDILLA, Antonino P. Jr.) Date: Thu, 27 May 2004 07:56:14 +0800 Subject: Extended Data problems under MySQL using Nagio s 1.2 CGI Interface Message-ID: Have anyone tried to monitor their BGP sessions using nagios? Please help! jon -----Original Message----- From: Misao [mailto:misaochankun at speakeasy.net] Sent: Thursday, May 27, 2004 7:38 AM To: 'Jason Branscum'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Extended Data problems under MySQL using Nagios 1.2 CGI Interface This sounds like the problem I had with extended info. Apparently, you have to specifically put a switch for entedned info(whether it be database or file based) in the ./configure itself. This should then let it read your extinfo after you install the new Nagios. Also, I use nagiosmap.pl to set up my 2D map, but I have yet to find a nice program for 3d map. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jason Branscum Sent: Wednesday, May 26, 2004 5:06 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Extended Data problems under MySQL using Nagios 1.2 CGI Interface >> Tried to send this message from my exchange mailbox.. of course it >> got rejected ;) Lets try this again using my normal mailbox. Hey All, Been using Nagios for a while, it sure beats the tail off of WhatsUp.. in fact, I liked it so much that I showed it off to a friend. Within a week he migrated off of his WhatsUp monitoring and went to Nagios, however, he has a cool feature which I lack. On his 2d Status and 3d Status page, he has neat lil icons for each of his hosts; I on the other hand do not other than the defaults. We're both running Version 1.2, however I use the MySQL backend (compiled with -xdata) whereas he uses the file based version. Both my cgi.cfg and resource.cfg have the following: xeddb_host=localhost xeddb_port=3306 xeddb_database=nagios xeddb_username=nagios xeddb_password=heyb00b00 And other MySQL tables have populated rows.. so I know my SQL connection is valid. And for reference, here is a dump of my extended data table in mysql CREATE TABLE `hostextinfo` ( `host_name` varchar(75) NOT NULL default '', `notes_url` varchar(128) NOT NULL default '', `icon_image` varchar(32) NOT NULL default '', `vrml_image` varchar(32) NOT NULL default '', `gd2_icon_image` varchar(32) NOT NULL default '', `icon_image_alt` varchar(128) NOT NULL default '', `x_2d` int(11) NOT NULL default '-1', `y_2d` int(11) NOT NULL default '-1', `x_3d` double(16,4) NOT NULL default '-1.0000', `y_3d` double(16,4) NOT NULL default '-1.0000', `z_3d` double(16,4) NOT NULL default '-1.0000', `have_2d_coords` tinyint(4) NOT NULL default '0', `have_3d_coords` tinyint(4) NOT NULL default '0' ) TYPE=MyISAM; INSERT INTO `hostextinfo` VALUES ('lump', '', 'freebsd40.gif', 'freebsd40.gif', 'freebsd40.gd2', 'FreeBSD', -1, -1, '-1.0000', '-1.0000', '-1.0000', 0, 0); INSERT INTO `hostextinfo` VALUES ('fb1.tylr', '', 'firebox.gif', 'firebox.gif', 'firebox.gd2', 'Watchguard Firebox', -1, -1, '-1.0000', '-1.0000', '-1.0000', 0, 0); And here are the hosts as referred to above: define host{ use notify host_name lump alias Lump (FreeBSD) address 192.168.70.26 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } define host{ use notify host_name fb1.tylr alias Tyler, TX - Firebox parents sw01.tylr address 192.168.70.7 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } I checked, the images referred to above do exist in my logos directory. I've kill -9'ed and restarted every time I've made a change which has not helped either. I'm stumped.. I even tried reverting to a file version for extended host info and restarted Nagios.. no luck.. I think it doesn't work because I compiled using SQL and it won't even try a file. I'm stumped here, read the FAQ and 4 weeks worth of majordomo mailing list archives.. I've got nothing.. Any help would rock the casbah! I think I've been very detailed as to my problem.. if you need any more clues/details, just mail me direct, I'm on the digest version of the mailer. One other thing completely unrelated; is there a way to design these displays with a GUI that will spit out cords so that my maps look pretty? Even my 3d map really only uses a 2d plane, it would be neat to see objects spread out on the third plane. Jason ------------------------------------------------------- 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 ------------------------------------------------------- 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 Thu May 27 03:01:42 2004 From: lendra at continuumit.com.au (Lendra Tanujaya) Date: Thu, 27 May 2004 11:01:42 +1000 Subject: check_traffic plugins with RRD Tool Message-ID: <784A12BC71EF2C42B996EFB2BC40312098E265@contit-mlb-mx2.continuumit.com.au> Hi there, Has anybody able to get this plugins working, ie: be able to view the graphs of the monitored device bandwidth? Thank you 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 jasonb at teletouch.net Thu May 27 05:19:42 2004 From: jasonb at teletouch.net (Jason Branscum) Date: Wed, 26 May 2004 22:19:42 -0500 (CDT) Subject: Extended Data problems under MySQL using Nagios 1.2 CGI Interface Message-ID: <1172.208.218.190.48.1085627982.squirrel@mail.teletouch.net> Indeed, that was the kicker. It worked like a champ after recompiling with that specific flag enabled. Thanks so much! Jason -----Original Message----- From: misaochankun at speakeasy.net This sounds like the problem I had with extended info. Apparently, you have to specifically put a switch for entedned info(whether it be database or file based) in the ./configure itself. This should then let it read your extinfo after you install the new Nagios. Also, I use nagiosmap.pl to set up my 2D map, but I have yet to find a nice program for 3d map. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jason Branscum Sent: Wednesday, May 26, 2004 5:06 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Extended Data problems under MySQL using Nagios 1.2 CGI Interface >> Tried to send this message from my exchange mailbox.. of course it got rejected ;) Lets try this again using my normal mailbox. Hey All, Been using Nagios for a while, it sure beats the tail off of WhatsUp.. in fact, I liked it so much that I showed it off to a friend. Within a week he migrated off of his WhatsUp monitoring and went to Nagios, however, he has a cool feature which I lack. On his 2d Status and 3d Status page, he has neat lil icons for each of his hosts; I on the other hand do not other than the defaults. We're both running Version 1.2, however I use the MySQL backend (compiled with -xdata) whereas he uses the file based version. Both my cgi.cfg and resource.cfg have the following: xeddb_host=localhost xeddb_port=3306 xeddb_database=nagios xeddb_username=nagios xeddb_password=heyb00b00 And other MySQL tables have populated rows.. so I know my SQL connection is valid. And for reference, here is a dump of my extended data table in mysql CREATE TABLE `hostextinfo` ( `host_name` varchar(75) NOT NULL default '', `notes_url` varchar(128) NOT NULL default '', `icon_image` varchar(32) NOT NULL default '', `vrml_image` varchar(32) NOT NULL default '', `gd2_icon_image` varchar(32) NOT NULL default '', `icon_image_alt` varchar(128) NOT NULL default '', `x_2d` int(11) NOT NULL default '-1', `y_2d` int(11) NOT NULL default '-1', `x_3d` double(16,4) NOT NULL default '-1.0000', `y_3d` double(16,4) NOT NULL default '-1.0000', `z_3d` double(16,4) NOT NULL default '-1.0000', `have_2d_coords` tinyint(4) NOT NULL default '0', `have_3d_coords` tinyint(4) NOT NULL default '0' ) TYPE=MyISAM; INSERT INTO `hostextinfo` VALUES ('lump', '', 'freebsd40.gif', 'freebsd40.gif', 'freebsd40.gd2', 'FreeBSD', -1, -1, '-1.0000', '-1.0000', '-1.0000', 0, 0); INSERT INTO `hostextinfo` VALUES ('fb1.tylr', '', 'firebox.gif', 'firebox.gif', 'firebox.gd2', 'Watchguard Firebox', -1, -1, '-1.0000', '-1.0000', '-1.0000', 0, 0); And here are the hosts as referred to above: define host{ use notify host_name lump alias Lump (FreeBSD) address 192.168.70.26 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } define host{ use notify host_name fb1.tylr alias Tyler, TX - Firebox parents sw01.tylr address 192.168.70.7 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } I checked, the images referred to above do exist in my logos directory. I've kill -9'ed and restarted every time I've made a change which has not helped either. I'm stumped.. I even tried reverting to a file version for extended host info and restarted Nagios.. no luck.. I think it doesn't work because I compiled using SQL and it won't even try a file. I'm stumped here, read the FAQ and 4 weeks worth of majordomo mailing list archives.. I've got nothing.. Any help would rock the casbah! I think I've been very detailed as to my problem.. if you need any more clues/details, just mail me direct, I'm on the digest version of the mailer. One other thing completely unrelated; is there a way to design these displays with a GUI that will spit out cords so that my maps look pretty? Even my 3d map really only uses a 2d plane, it would be neat to see objects spread out on the third plane. Jason ------------------------------------------------------- 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 ae at op5.se Thu May 27 08:39:40 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 27 May 2004 08:39:40 +0200 Subject: Cannot determine ORACLE_HOME for sid DBName In-Reply-To: <200405261528.i4QFSAIp013711@pales.cc.emory.edu> References: <200405261528.i4QFSAIp013711@pales.cc.emory.edu> Message-ID: <40B58D2C.6050002@op5.se> Sheldon Anderson wrote: > Hello, > > Has anyone seen this error? > > Cannot determine ORACLE_HOME for sid DBName > > I have ORACLE_HOME set for the ID that is starting the nagios nrpe daemon > You must remember to export it, or add it to the command-line of the daemon, as such; --- export ORACLE_HOME=/var/lib/sid nrpe -c /etc/nrpe.cfg -d --- OR --- ORACLE_HOME=/var/lib/sid nrpe -c /etc/nrpe.cfg -d --- > Any help would be greatly appreciated. > > Sheldon Anderson > ITD Technical Services > 1784 North Decatur Rd. > Atlanta, GA 30322 > 404-727-0723 > > -- 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 victor at ambra.ro Thu May 27 08:47:52 2004 From: victor at ambra.ro (victor) Date: Thu, 27 May 2004 02:47:52 -0400 Subject: statusmap.cgi In-Reply-To: References: Message-ID: <40B58F18.9050602@ambra.ro> Thank you. Now statusmap .cgi is compiled. But when I enter the Status Map, I get no image(there should be an image there). When I move the mouse over I get some statistics, but I can't see the image. ------------------------------------------------------- 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 Ben at clewett.org.uk Thu May 27 09:38:11 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Thu, 27 May 2004 08:38:11 +0100 Subject: Getting Performance Data into the perfdata files In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D6E9165@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D6E9165@golden-m.mactec.com> Message-ID: <40B59AE3.7080909@clewett.org.uk> Garry, I don't get the performance data in nagios.log, but I do get it in serviceperf.log. Sorry :) I think you need to put in a request for help debugging nagios to find out where on earth your performance data is going, to somebody who knows the Nagios code better than my self. But if I was having this problem, I'd put the line 'printf("DEBUG %s@%d Data = \"%s\"\n", __FILE__, __LINE__, data_line); into the code about everywhere you can, and try and find where and why your data is being lost. I am also extremely interested to find out where your performance data is being dropped, please keep trying! Regards, Ben > At this point I've tried everything I know to do to troubleshoot this > issue. I've even recompiled Nagios with the default Performance Data > method and setup commands to append the data to the log files, which > produced the same results (or lack of results) as the File Based > perfdata method. > > Let me ask the following of anyone who is currently using Performance > Data, be it file based or default method: > When you look in the nagios log file, and see the entries pertaining to > the checks that would return perfdata, is the pipe and $PERFDATA$ value > included in the log entry? > > I'm not seeing perdata in my nagios.log, I only see an entry such as: > > [1085599923] SERVICE ALERT: monitor2;System Load Average;OK;HARD;1;OK - > load average: 1.09, 1.09, 1.15 > > Should the perfdata be shown here as well? > > As I've shown before, it works fine from the command line: > > /usr/local/nagios/libexec: sudo ./check_load -w 3,3,3 -c 5,5,5 > OK - load average: 1.39, 1.10, 1.09|load1=1;3;5;0 load5=1;3;5;0 > load15=1;3;5;0 > > Any help greatly appreciated. I really don't want to give up on this > feature. > > 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: 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 27 09:39:25 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 27 May 2004 09:39:25 +0200 Subject: Has anyone looked into the product by www.hype ric.com before? In-Reply-To: <20040526181232.30956.qmail@minnow.softflare.net> References: <20040525115805.16639.qmail@minnow.softflare.net> <1085509616.11596.15.camel@tesuji.nac.uci.edu> <20040526181232.30956.qmail@minnow.softflare.net> Message-ID: <40B59B2D.4090108@op5.se> Paul L. Allen wrote: > Jason Martin writes: > >> I am pretty sure it should be read as 'if the user gets the program, >> the source must be made available to them at the same time'. > > > Not quite. When the user gets the program the user must be informed about > how they can get the source for that version of the program or the source > must be included with the program. It doesn't have to be available > directly, they may have to send money for media/shipping and get a CD > in the post. But they DO have to be told that they can have the source > if they want it. Correct so far. > Not only that, ANYONE can request a copy of the source > whether they have purchased the program or not. Request: Yes. Receive: Not necessarily. This whole discussion could have been solved from the start by these entries in the GNU GPL FAQ, which clearly states that the GPL is there to prevent companies from getting NDA's on free software unless everybody involved agrees to it (in short; Noone should be forced to agree to anything). http://www.gnu.org/licenses/gpl-faq.html#DoesTheGPLAllowMoney * Does the GPL allow me to sell copies of the program for money? Yes, the GPL allows everyone to do this. The right to sell copies is part of the definition of free software. Except in one special situation, there is no limit on what price you can charge. (The one exception is the required written offer to provide source code that must accompany binary-only release.) * Does the GPL allow me to charge a fee for downloading the program from my site? Yes. You can charge any fee you wish for distributing a copy of the program. If you distribute binaries by download, you must provide "equivalent access" to download the source--therefore, the fee to download source may not be greater than the fee to download the binary. * Does the GPL allow me to require that anyone who receives the software must pay me a fee and/or notify me? No. In fact, a requirement like that would make the program non-free. If people have to pay when they get a copy of a program, or if they have to notify anyone in particular, then the program is not free. See the definition of free software. The GPL is a free software license, and therefore it permits people to use and even redistribute the software without being required to pay anyone a fee for doing so. * If I distribute GPL'd software for a fee, am I required to also make it available to the public without a charge? No. However, if someone pays your fee and gets a copy, the GPL gives them the freedom to release it to the public, with or without a fee. For example, someone could pay your fee, and then put her copy on a web site for the general public. * Does the GPL allow me to develop a modified version under a nondisclosure agreement? Yes. For instance, you can accept a contract to develop changes and agree not to release your changes until the client says ok. This is permitted because in this case no GPL-covered code is being distributed under an NDA. You can also release your changes to the client under the GPL, but agree not to release them to anyone else unless the client says ok. In this case, too, no GPL-covered code is being distributed under an NDA, or under any additional restrictions. The GPL would give the client the right to redistribute your version. In this scenario, the client will probably choose not to exercise that right, but does have the right. Read http://www.gnu.org/licenses/gpl.html for the exact legal text. -- 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 dave at linuxsense.net Thu May 27 10:40:41 2004 From: dave at linuxsense.net (Dave Thomas) Date: Thu, 27 May 2004 01:40:41 -0700 Subject: Question about dependency setup Message-ID: <200405270140.41738.dave@linuxsense.net> I have about 15 Linux hosts that are connected to the Linux server that runs Nagios via VPN tunnels (using vtun). I monitor about 6 services on each host. Yesterday my tunnels went down and I got about 50 SMS messages that flooded my phone....and I would like to avoid that again! I am thinking that I can setup a service for each host to ping the servers VPN IP address and have the services of that host be 'dependant' on this check. Can I do this using the 'check_host_alive' command that is already defined for each host or do I need to setup a separate service? Thanks for any input on this. Dave ------------------------------------------------------- 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 yu-ting_liu at agilent.com Thu May 27 10:45:12 2004 From: yu-ting_liu at agilent.com (yu-ting_liu at agilent.com) Date: Thu, 27 May 2004 16:45:12 +0800 Subject: connection refused by host Message-ID: Thanks! After checking the configuration I found they are only a normal active service check instead of passive check. (It only uses passive as the command name.) After I submit an immediate service check request it's recovered. Regards! Yu Ting -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Tuesday, April 13, 2004 9:26 PM To: LIU,YU-TING (A-Singapore,ex1); peter.gutmann at db.com Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: RE: [Nagios-users] connection refused by host yu-ting_liu at agilent.com wrote: > Thanks! I need to assign the monitor server's IP address to > allow_hosts in nrpe.cfg on client. > > Now the passive check LOGS/TRAPS are still pending with complain > "service check is not scheduled for execution". > > So where is the configuration so I can start the passive check? I > have check the netsaint.cfg, nsca.cfg, send_nsca.cfg...... A passive check means that nagios does nothing (hence passive as opposed to active). It simply waits for the results to be submitted by some external application. This is most often used with Distributed Monitoring and the documentation for that and SNMP Trap integration should clear up the different roles and processes for you. Since we don't know what your LOGS/TRAPS services are (i.e. service and command definitions and how you're implementing them), it's hard to be more specific than that. -- 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 pla at softflare.com Thu May 27 11:48:04 2004 From: pla at softflare.com (Paul L. Allen) Date: Thu, 27 May 2004 10:48:04 +0100 Subject: Has anyone looked into the product by www.hype ric.com before? In-Reply-To: <40B59B2D.4090108@op5.se> References: <20040525115805.16639.qmail@minnow.softflare.net> <1085509616.11596.15.camel@tesuji.nac.uci.edu> <20040526181232.30956.qmail@minnow.softflare.net> <40B59B2D.4090108@op5.se> Message-ID: <20040527094804.17066.qmail@minnow.softflare.net> Andreas Ericsson writes: >> Not only that, ANYONE can request a copy of the source >> whether they have purchased the program or not. > > Request: Yes. > Receive: Not necessarily. The GPL is quite clear that the source be available upon request. If you request but do not receive then the company has broken the terms of the GPL and is therefore in breach of contract and can be sued. The right for the company to use even the unmodified code for any purpose is also void and the company may be sued simply for using the code at all. A company might be stupid enough to try to withhold the source but would be unlikely to continue along that path when faced with legal action by GNU. GNU would act in such a case and has done so in the past. If any company had misbehaved in such a way, been taken to court and won then we'd all know about it because the GPL would be dead. If any company had misbehaved in such a manner and GNU ignored the issue the GPL would also be dead because a copyright holder who is informed of breach of copyright but takes no action effectively relinquishes the copyright. So receive? Yes, eventually. Maybe after a delay while GNU has their lawyers send threatening letters. -- 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 nagios-users at alienn.net Thu May 27 13:38:35 2004 From: nagios-users at alienn.net (Nicki Messerschmidt, Linksystem Muenchen GmbH) Date: Thu, 27 May 2004 13:38:35 +0200 Subject: check_by_ssh -> Hostkey verification failed Message-ID: <40B5D33B.7020007@alienn.net> Hi list, I just setup a service check with check_by_ssh this has the "oddity", that it checks a host behind a nat, but the ssh port is forwarded. The check command has the following syntax: define command { command_name check_nrpe_by_ssh_nat command_line $USER1$/check_by_ssh -p 2022 -H $HOSTADDRESS$ -C '$USER1$/check_nrpe -H localhost -c $ARG1$' } define service { use theisen-service host_name linux-doc.theisen-muc.de service_description NRPE-ZOMBIES-THEISEN-DOC check_command check_nrpe_by_ssh_nat!check_zombie_procs } If I manually enter this command as the user nagios after a "sudo su - nagios" it works flawlessly. Have I overlooked something? Thanks Nicki -- Linksystem Muenchen GmbH info at link-m.de Schloerstrasse 10 http://www.link-m.de 80634 Muenchen Tel. 089 / 890 518-0 We make the Net work. Fax 089 / 890 518-77 PGP Keys: https://www.link-m.de/pgp/ ------------------------------------------------------- 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 uv at upaya.co.uk Thu May 27 14:20:40 2004 From: uv at upaya.co.uk (Upayavira) Date: Thu, 27 May 2004 13:20:40 +0100 Subject: checking Windows local services In-Reply-To: <20040526201122.59130.qmail@restricted.dyndns.org> References: <20040526201122.59130.qmail@restricted.dyndns.org> Message-ID: <40B5DD18.6000608@upaya.co.uk> Neil wrote: > Hey guys, > Currently, I am using nagios nrpe to check services on a remote > Windows 2k machine. It works but sometimes, very seldom, it times out, > then service is reported again OK on the next run. We are using > another tool called Servers Alive. To check a service on a remote > Win2k, it only needs a username and a password. Can we do the same > thing to with Nagios by compiling it with samba support? What's your > recommendation? > No TCP port checking please. You can do anything you like, if you can script it. So if you can write a Unix script (perl or shell script, probably) that calls your "servers alive" tool, and returns the result that Nagios expects, then yes, you can do it. If you're lucky, someone else might have done it already. If this doesn't help you, try posting another message with "Servers Alive" in the subject. May catch someone's attention. Regards, 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 tjl at topdanmark.dk Thu May 27 14:49:12 2004 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Thu, 27 May 2004 14:49:12 +0200 Subject: Domino - SNMP - NAGIOS Message-ID: Hi Martin, Go to http://www.mibdepot.com find IBM mib's and search for domino. It will give you a better view or idea of how the structure is. Best regards Thomas ------------------------------------------------------- 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 fabrice.correard at egger.com Thu May 27 14:49:38 2004 From: fabrice.correard at egger.com (Correard Fabrice) Date: Thu, 27 May 2004 14:49:38 +0200 Subject: Premature end script header. Message-ID: <520D6ED13EC6C746A285ECB18A8F355A901E@ramexsa1.egger.com> Hello everyone, I use actualy, Nagios 1.0B4 on a Mandrake 9.0 with Apache 1.3.20 and all work fine. I want to migrate NAgios (same version) on a Red Hat Entreprise Linux 3.0 with apache 2.0.49. With this version of linux, Nagios itself work fine and genrate notification when necessary. But the web interface can't show mee any informations, I just have this message : "The server encountered an internal error or misconfiguration and was unable to complete your request" ... In the apache log, I have lines with this : "Premature end script header ..." I can't find the problem, could you help me please ? !! ------------------------------------------------------- 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 27 15:01:40 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 27 May 2004 15:01:40 +0200 Subject: Has anyone looked into the product by www.hype ric.com before? In-Reply-To: <20040527094804.17066.qmail@minnow.softflare.net> References: <20040525115805.16639.qmail@minnow.softflare.net> <1085509616.11596.15.camel@tesuji.nac.uci.edu> <20040526181232.30956.qmail@minnow.softflare.net> <40B59B2D.4090108@op5.se> <20040527094804.17066.qmail@minnow.softflare.net> Message-ID: <40B5E6B4.9060800@op5.se> Paul L. Allen wrote: > Andreas Ericsson writes: > >>> Not only that, ANYONE can request a copy of the source >>> whether they have purchased the program or not. >> >> >> Request: Yes. >> Receive: Not necessarily. > > > The GPL is quite clear that the source be available upon request. No. It quite clearly states that noone can be forced to do anything they don't want to with regards to the source. What part of the below FAQ entry is it that you don't understand? --[ snip ]---- * If I distribute GPL'd software for a fee, am I required to also make it available to the public without a charge? No. However, if someone pays your fee and gets a copy, the GPL gives them the freedom to release it to the public, with or without a fee. For example, someone could pay your fee, and then put her copy on a web site for the general public. --[ snip ]---- > If you > request but do not receive then the company has broken the terms of the > GPL and is therefore in breach of contract and can be sued. No. Read the above FAQ entry twice. Then once more, for good measure. > The right > for the company to use even the unmodified code for any purpose is also > void and the company may be sued simply for using the code at all. A > company might be stupid enough to try to withhold the source but would be > unlikely to continue along that path when faced with legal action by GNU. GNU is an operating system (Linux is the kernel, which is a quite separate thing). > GNU would act in such a case and has done so in the past. No. The Free Software Foundation would act. GNU only acts when the programs that are part of it are run. > If any company had misbehaved in such a way, been taken to court and won > then we'd all know about it because the GPL would be dead. If any company > had misbehaved in such a manner and GNU ignored the issue the GPL would > also be dead because a copyright holder who is informed of breach of > copyright but takes no action effectively relinquishes the copyright. No. He/she still retains copyright and can take actions for as long as the laws in the country where the violations took place states that he can. > So receive? Yes, eventually. Maybe after a delay while GNU has their > lawyers send threatening letters. GNU has no lawyers. The Free Software Foundation does. Read the FAQ entry above once more. Then move on to http://www.gnu.org and learn just what GNU and the GPL really is. Then you should read the FAQ entry again and contemplate what it really means for a while. Maybe you should stop being stubborn when it's obvious that you're wrong? -- 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 27 15:10:34 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 27 May 2004 15:10:34 +0200 Subject: check_by_ssh -> Hostkey verification failed In-Reply-To: <40B5D33B.7020007@alienn.net> References: <40B5D33B.7020007@alienn.net> Message-ID: <40B5E8CA.6060906@op5.se> Nicki Messerschmidt, Linksystem Muenchen GmbH wrote: > Hi list, > I just setup a service check with check_by_ssh this has the "oddity", > that it checks a host behind a nat, but the ssh port is forwarded. The > check command has the following syntax: > > define command { > command_name check_nrpe_by_ssh_nat > command_line $USER1$/check_by_ssh -p 2022 -H > $HOSTADDRESS$ -C '$USER1$/check_nrpe -H localhost -c $ARG1$' > } > Checking localhost via nrpe doesn't really seem to make sense. You could just run the plugin manually, you know. > define service { > use theisen-service > host_name linux-doc.theisen-muc.de > service_description NRPE-ZOMBIES-THEISEN-DOC > check_command check_nrpe_by_ssh_nat!check_zombie_procs > } > > If I manually enter this command as the user nagios after a "sudo su - > nagios" it works flawlessly. Have I overlooked something? > What is $USER1$ set to on the nagios server? Are the plugins in the same directory on the monitored server? > > Thanks You're welcome. > Nicki > -- 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 martin.mielke at thales-is.com Thu May 27 15:23:26 2004 From: martin.mielke at thales-is.com (Martin Mielke) Date: Thu, 27 May 2004 15:23:26 +0200 Subject: Domino - SNMP - NAGIOS In-Reply-To: References: Message-ID: <40B5EBCE.4070707@thales-is.com> Hi Thomas, thanks so much for this one and the previous email on monitoring Domino via SNMP. I'll take a look at all this information ASAP. Best regards, Martin Thomas Jens Lauritsen wrote: > > >Hi Martin, > >Go to http://www.mibdepot.com find IBM mib's and search for domino. It will >give you a better view or idea of how the structure is. > >Best regards > >Thomas > > > ------------------------------------------------------- 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 Ralf-Lists at RalfGross.de Thu May 27 17:22:32 2004 From: Ralf-Lists at RalfGross.de (Ralf Gross) Date: Thu, 27 May 2004 17:22:32 +0200 (CEST) Subject: check_dhcp / Error: Could not bind socket to interface... (permissions are ok) Message-ID: <28712.53.122.192.14.1085671352.squirrel@webmail.ssorgflar.de> Hi, I can use the check_dhcp plugin as user nagios from command line. [nagios at wl000339 libexec]$ ./check_dhcp -s 192.168.0.5 -r 192.168.0.55 -i eth0 DHCP ok: Received 4 DHCPOFFER(s), 1 of 1 requested servers responded, requested address (192.168.0.55) was offered, max lease time = 0 sec. chech_dhcp file has the following permissions an is suid root: -rwsr-x--- 1 root nagios 19501 Mai 27 16:01 check_dhcp User nagios is in group nagios and nagios runs as user nagios. uid=502(nagios) gid=502(nagios) groups=502(nagios),503(nagiocmd) nagios 17901 0.0 0.4 2068 1056 ? S 17:07 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg If I use check_dhcp in the services.cfg, I always get the following error on the Service Detail webpage. Could not bind socket to interface 192.168.. Check your privileges... I have no idea what the problem is, the permissions/ownership should be ok. Any ideas? Ralf ------------------------------------------------------- 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 27 18:16:46 2004 From: MG at ev3.net (Wheeler, MG) Date: Thu, 27 May 2004 11:16:46 -0500 Subject: check_traffic plugins with RRD Tool Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D01030C63@mail.ev3.net> Yes, we use it on most all of our Servers! Works out great! -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Lendra Tanujaya Sent: Wednesday, May 26, 2004 8:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_traffic plugins with RRD Tool Hi there, Has anybody able to get this plugins working, ie: be able to view the graphs of the monitored device bandwidth? Thank you 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. ------------------------------------------------------------------------------------------------------------------------ _____________________________________________________________________ Message scanned for viruses _____________________________________________________________________ This message has been checked for all known viruses -------------- next part -------------- An HTML attachment was scrubbed... URL: From pla at softflare.com Thu May 27 18:22:44 2004 From: pla at softflare.com (Paul L. Allen) Date: Thu, 27 May 2004 17:22:44 +0100 Subject: Has anyone looked into the product by www.hype ric.com before? In-Reply-To: <40B5E6B4.9060800@op5.se> References: <20040525115805.16639.qmail@minnow.softflare.net> <1085509616.11596.15.camel@tesuji.nac.uci.edu> <20040526181232.30956.qmail@minnow.softflare.net> <40B59B2D.4090108@op5.se> <20040527094804.17066.qmail@minnow.softflare.net> <40B5E6B4.9060800@op5.se> Message-ID: <20040527162244.18480.qmail@minnow.softflare.net> Andreas Ericsson writes: >> The GPL is quite clear that the source be available upon request. > > No. It quite clearly states that noone can be forced to do anything they > don't want to with regards to the source. What part of the below FAQ entry > is it that you don't understand? I understand it all. And also the other FAQ entries which show the meaning you ascribe to it is incorrect. And also all the other pages on the site which show that you are wrong. > --[ snip ]---- > * If I distribute GPL'd software for a fee, am I required to also make it > available to the public without a charge? > No. However, if someone pays your fee and gets a copy, the GPL gives > them the freedom to release it to the public, with or without a fee. For > example, someone could pay your fee, and then put her copy on a web site > for the general public. > --[ snip ]---- Note that it does not say you can refuse to supply the source. It says that you can refuse to supply the source FOR FREE. Think upon the difference between the two. Note also that it says "if someone pays your fee." It does not say "if you CHOOSE to make the source available for a fee and somebody pays it." Not making the source available is NOT an option, as the other FAQ questions make clear. The source MUST be available if you distribute the code, or a modified version of it, outside your own organization. The only choice you have in the matter is whether you charge a fee for the source or not. To pre-empt you attempting to misinterpret other bits of the FAQ, I'll quote part of : The Free Software Definition [...] Free software is a matter of the users' freedom to run, copy, distribute, study, change and improve the software. More precisely, it refers to four kinds of freedom, for the users of the software: * The freedom to run the program, for any purpose (freedom 0). * The freedom to study how the program works, and adapt it to your needs (freedom 1). Access to the source code is a precondition for this. [...] A program is free software if users have all of these freedoms. [...] In order for the freedoms to make changes, and to publish improved versions, to be meaningful, you must have access to the source code of the program. Therefore, accessibility of source code is a necessary condition for free software. [...] In the GNU project, we use ``copyleft'' to protect these freedoms legally for everyone. Got it now? The FSF/GNU/RMS philosophy of free software insists that source code be available and the way this is enforced is through the GPL, aka copyleft. One of the purposes of the GPL is to ensure that source code IS available. No, that's probably not enough for you. So from the copyleft page at : Copyleft is a general method for making a program free software and requiring all modified and extended versions of the program to be free software as well. The simplest way to make a program free is to put it in the public domain, uncopyrighted. This allows people to share the program and their improvements, if they are so minded. But it also allows uncooperative people to convert the program into proprietary software. They can make changes, many or few, and distribute the result as a proprietary product. People who receive the program in that modified form do not have the freedom that the original author gave them; the middleman has stripped it away. In the GNU project, our aim is to give all users the freedom to redistribute and change GNU software. If middlemen could strip off the freedom, we might have many users, but those users would not have freedom. So instead of putting GNU software in the public domain, we ``copyleft'' it. Copyleft says that anyone who redistributes the software, with or without changes, must pass along the freedom to further copy and change it. Copyleft guarantees that every user has freedom. Do you still want to insist that people can refuse to make the source code available? Will I have to paste half the gnu website here before you admit that you were totally, utterly WRONG on this point? If you take GPL code and modify it and redistribute the modified program outside your own organization then that modified code is also covered by the GPL. Source code MUST be available for ALL GPL code. >> The right >> for the company to use even the unmodified code for any purpose is also >> void and the company may be sued simply for using the code at all. A >> company might be stupid enough to try to withhold the source but would be >> unlikely to continue along that path when faced with legal action by GNU. > > GNU is an operating system (Linux is the kernel, which is a quite separate > thing). Sigh. GNU was meant to be a re-implementation of Unix. It started with various utilities and ended up extending them and creating new ones. It never did come up with the planned kernel and Linux, using many GNU utilities, made Hurd development obsolete. But the foundation stone in all this, and perhaps GNU's most important "product" is the GNU Public Licence. OK, technically the organization behind the GPL is the FSF, but I wanted to avoid confusing people like you by introducing unnecessary detail. Those who didn't know the full details would be confused if I said FSF would act over a breach of the GNU Public Licence, which can be found at www.gnu.org (which is the official FSF web site, so it says). Those who did know the full details would realize I'd made a harmless simplification to avoid making the post any longer. Unless they had an axe to grind, like you. > No. The Free Software Foundation would act. GNU only acts when the > programs that are part of it are run. And the FSF would act because RMS wanted them to. Shall we take it one level deeper and attribute the action to neurones firing in RMS's skull? As is typical with you, having found what you mistakenly believed to be a major error in my post, you could not resist also going after any trivial simplifications I made to keep the length of the post down. Your compulsion for comprehensive victory has, as usual, led to your comprehensive defeat. I expect your next move will either be more foolishness or to claim to have plonked me again. >> If any company had misbehaved in such a way, been taken to court and won >> then we'd all know about it because the GPL would be dead. If any >> company >> had misbehaved in such a manner and GNU ignored the issue the GPL would >> also be dead because a copyright holder who is informed of breach of >> copyright but takes no action effectively relinquishes the copyright. > > No. He/she still retains copyright and can take actions for as long as the > laws in the country where the violations took place states that he can. Incorrect. Note that I said "effectively relinquishes the copyright." In most countries, legal precedent has established that if a copyright holder does not take action against infringements they are informed of then they are deemed to have let the copyright effectively lapse. Use it or lose it. Stamp on infringers immediately or lose the right to do so. This is why large media organizations respond so quickly and so heavily to even minor infringements. If some kid puts an image of Mickey Mouse [tm] on a website and Disney get to hear of it then their lawyers immediately send the kid a very threatening letter and follow up with a law suit if the letter is ignored. They have to do this every time they are notified of infringement or risk losing the right to take action against other infringers. The same goes for trademarks and patents. Vacuum cleaners are usually referred to as Hoovers because Hoover didn't crack down quickly enough against that usage and thereby lost the right ever to do so. GNU/FSF/RMS/the neurones in RMS's skull WILL take action whenever they are informed of infringement. They HAVE to. Otherwise when they do try to take action against another infringer, the new infringer will say "I know of a previous infringement of which they were informed and took no action, therefore it was reasonable of me to infer that they were no longer interested in taking action against infringers and I was free to do as I wished." Case over, decided for the defendent. > Maybe you should stop being stubborn when it's obvious that you're wrong? Excellent advice, applied to the wrong person. -- 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 rnelson at windchannel.com Thu May 27 20:38:11 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Thu, 27 May 2004 14:38:11 -0400 Subject: Premature end script header. Message-ID: > In the apache log, I have lines with this : > "Premature end script header ..." > > I can't find the problem, could you help me please ? !! Paste the full line. After the part you pasted, it lists the file it had problems with and the line number, which will help track down the problem. Rob Nelson Network Engineer Windchannel Communications 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 Seth.Hollist at ingenix.com Thu May 27 20:28:32 2004 From: Seth.Hollist at ingenix.com (Seth Hollist) Date: Thu, 27 May 2004 13:28:32 -0500 Subject: Nagios not UNIX Friendly? Message-ID: I'm having problems getting Nagios to compile on HP-UX, and AIX. I even installed gmake, gcc, openssh and a few other dependencies on the HP-UX box, but it still doesn't work properly. Has anyone every successfully gotten Nagios to work on HP-UX or AIX? This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. ------------------------------------------------------- This SF.Net email is sponsored by: 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 Thu May 27 20:52:13 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Thu, 27 May 2004 14:52:13 -0400 Subject: Nagios and the GPL (was Has anyone looked into the...) Message-ID: > option, as the other FAQ questions make clear. The source > MUST be available if you distribute the code, or a modified > version of it, outside your own organization. The only I think the question is whether you have to make the source available to everyone, or just those to whom you distribute the binaries. i.e. Do you have to acquire the binaries to get the source, or do can you get the source without getting the binaries? I personally think it could be interpreted either way, depending on how much you pay your lawyer. Rob Nelson Network Engineer Windchannel Communications 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 MG at ev3.net Thu May 27 21:14:14 2004 From: MG at ev3.net (Wheeler, MG) Date: Thu, 27 May 2004 14:14:14 -0500 Subject: Has anyone looked into the product by www.hype ric.com before? Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D01030C76@mail.ev3.net> OK, I think we have beaten this point into the dirt now and isn't really about Nagios anymore. Perhaps you could take this "I know more than you" conversation off-line?? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Paul L. Allen Sent: Thursday, May 27, 2004 11:23 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Has anyone looked into the product by www.hype ric.com before? Andreas Ericsson writes: >> The GPL is quite clear that the source be available upon request. > > No. It quite clearly states that noone can be forced to do anything they > don't want to with regards to the source. What part of the below FAQ entry > is it that you don't understand? I understand it all. And also the other FAQ entries which show the meaning you ascribe to it is incorrect. And also all the other pages on the site which show that you are wrong. > --[ snip ]---- > * If I distribute GPL'd software for a fee, am I required to also make it > available to the public without a charge? > No. However, if someone pays your fee and gets a copy, the GPL gives > them the freedom to release it to the public, with or without a fee. For > example, someone could pay your fee, and then put her copy on a web site > for the general public. > --[ snip ]---- Note that it does not say you can refuse to supply the source. It says that you can refuse to supply the source FOR FREE. Think upon the difference between the two. Note also that it says "if someone pays your fee." It does not say "if you CHOOSE to make the source available for a fee and somebody pays it." Not making the source available is NOT an option, as the other FAQ questions make clear. The source MUST be available if you distribute the code, or a modified version of it, outside your own organization. The only choice you have in the matter is whether you charge a fee for the source or not. To pre-empt you attempting to misinterpret other bits of the FAQ, I'll quote part of : The Free Software Definition [...] Free software is a matter of the users' freedom to run, copy, distribute, study, change and improve the software. More precisely, it refers to four kinds of freedom, for the users of the software: * The freedom to run the program, for any purpose (freedom 0). * The freedom to study how the program works, and adapt it to your needs (freedom 1). Access to the source code is a precondition for this. [...] A program is free software if users have all of these freedoms. [...] In order for the freedoms to make changes, and to publish improved versions, to be meaningful, you must have access to the source code of the program. Therefore, accessibility of source code is a necessary condition for free software. [...] In the GNU project, we use ``copyleft'' to protect these freedoms legally for everyone. Got it now? The FSF/GNU/RMS philosophy of free software insists that source code be available and the way this is enforced is through the GPL, aka copyleft. One of the purposes of the GPL is to ensure that source code IS available. No, that's probably not enough for you. So from the copyleft page at : Copyleft is a general method for making a program free software and requiring all modified and extended versions of the program to be free software as well. The simplest way to make a program free is to put it in the public domain, uncopyrighted. This allows people to share the program and their improvements, if they are so minded. But it also allows uncooperative people to convert the program into proprietary software. They can make changes, many or few, and distribute the result as a proprietary product. People who receive the program in that modified form do not have the freedom that the original author gave them; the middleman has stripped it away. In the GNU project, our aim is to give all users the freedom to redistribute and change GNU software. If middlemen could strip off the freedom, we might have many users, but those users would not have freedom. So instead of putting GNU software in the public domain, we ``copyleft'' it. Copyleft says that anyone who redistributes the software, with or without changes, must pass along the freedom to further copy and change it. Copyleft guarantees that every user has freedom. Do you still want to insist that people can refuse to make the source code available? Will I have to paste half the gnu website here before you admit that you were totally, utterly WRONG on this point? If you take GPL code and modify it and redistribute the modified program outside your own organization then that modified code is also covered by the GPL. Source code MUST be available for ALL GPL code. >> The right >> for the company to use even the unmodified code for any purpose is also >> void and the company may be sued simply for using the code at all. A >> company might be stupid enough to try to withhold the source but would be >> unlikely to continue along that path when faced with legal action by GNU. > > GNU is an operating system (Linux is the kernel, which is a quite separate > thing). Sigh. GNU was meant to be a re-implementation of Unix. It started with various utilities and ended up extending them and creating new ones. It never did come up with the planned kernel and Linux, using many GNU utilities, made Hurd development obsolete. But the foundation stone in all this, and perhaps GNU's most important "product" is the GNU Public Licence. OK, technically the organization behind the GPL is the FSF, but I wanted to avoid confusing people like you by introducing unnecessary detail. Those who didn't know the full details would be confused if I said FSF would act over a breach of the GNU Public Licence, which can be found at www.gnu.org (which is the official FSF web site, so it says). Those who did know the full details would realize I'd made a harmless simplification to avoid making the post any longer. Unless they had an axe to grind, like you. > No. The Free Software Foundation would act. GNU only acts when the > programs that are part of it are run. And the FSF would act because RMS wanted them to. Shall we take it one level deeper and attribute the action to neurones firing in RMS's skull? As is typical with you, having found what you mistakenly believed to be a major error in my post, you could not resist also going after any trivial simplifications I made to keep the length of the post down. Your compulsion for comprehensive victory has, as usual, led to your comprehensive defeat. I expect your next move will either be more foolishness or to claim to have plonked me again. >> If any company had misbehaved in such a way, been taken to court and won >> then we'd all know about it because the GPL would be dead. If any >> company >> had misbehaved in such a manner and GNU ignored the issue the GPL would >> also be dead because a copyright holder who is informed of breach of >> copyright but takes no action effectively relinquishes the copyright. > > No. He/she still retains copyright and can take actions for as long as the > laws in the country where the violations took place states that he can. Incorrect. Note that I said "effectively relinquishes the copyright." In most countries, legal precedent has established that if a copyright holder does not take action against infringements they are informed of then they are deemed to have let the copyright effectively lapse. Use it or lose it. Stamp on infringers immediately or lose the right to do so. This is why large media organizations respond so quickly and so heavily to even minor infringements. If some kid puts an image of Mickey Mouse [tm] on a website and Disney get to hear of it then their lawyers immediately send the kid a very threatening letter and follow up with a law suit if the letter is ignored. They have to do this every time they are notified of infringement or risk losing the right to take action against other infringers. The same goes for trademarks and patents. Vacuum cleaners are usually referred to as Hoovers because Hoover didn't crack down quickly enough against that usage and thereby lost the right ever to do so. GNU/FSF/RMS/the neurones in RMS's skull WILL take action whenever they are informed of infringement. They HAVE to. Otherwise when they do try to take action against another infringer, the new infringer will say "I know of a previous infringement of which they were informed and took no action, therefore it was reasonable of me to infer that they were no longer interested in taking action against infringers and I was free to do as I wished." Case over, decided for the defendent. > Maybe you should stop being stubborn when it's obvious that you're wrong? Excellent advice, applied to the wrong person. -- 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 _____________________________________________________________________ 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 langseth at aero.und.edu Thu May 27 21:46:40 2004 From: langseth at aero.und.edu (Ryan Langseth) Date: Thu, 27 May 2004 14:46:40 -0500 Subject: using variables in check commands Message-ID: <40B645A0.8070105@aero.und.edu> Hi, I am currently trying to get a set of remote check commands work owrk correctly with nagios and nrpe. I was wondoering if there is a way to create a command like this: define command{ command_name check_nrpe_load command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_$HOSTADDRESS$_load } so that each host in the service would have a custom call rather than writing multiple check commands the command I want from this would look like this: /usr/local/nagios/libexec/check_nrpe -H foo -c check_foo_load any suggestions? thanks, -- Ryan Langseth UND Aerospace Systems Team langseth at aero.und.edu ------------------------------------------------------- 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 pla at softflare.com Thu May 27 22:03:30 2004 From: pla at softflare.com (Paul L. Allen) Date: Thu, 27 May 2004 21:03:30 +0100 Subject: Nagios and the GPL (was Has anyone looked into the...) In-Reply-To: References: Message-ID: <20040527200330.7581.qmail@minnow.softflare.net> Robert Nelson writes: > I think the question is whether you have to make the source available to > everyone, or just those to whom you distribute the binaries. i.e. Do you > have to acquire the binaries to get the source, or do can you get the > source without getting the binaries? > > I personally think it could be interpreted either way, depending on how > much you pay your lawyer. Unless you read the licence and FAQ fully and understand the implications... Section 2b, applying to the original program or a modified version thereof: Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; The FAQ defines "third party." It is ANYONE, whether they bought the code from you or not. The FAQ explains why this is so. You may have sold the program (actually, requested a copying fee/installation fee/support fee) to a second party who is fully entitled to sell/give that code to a third party. If the second party did not receive the source code along with the program then the second party MUST include information telling the third party they can request the source code from you. Theoretically, you might be able to argue in a court that you are not required to give the source to a third party who doesn't have a copy of the program. But to even learn that the modified program exists and that you are required to supply the source, the information must have come from a second party who is perfectly entitled to give the third party a copy of the program if you try to insist upon proof that the third party has the program. So only a foolish company would even start to go down that road because it's administrative overhead. Once it is learned that it is GPL code, the people you have sold it to can be persuaded to give copies away. Even if you charge an outrageous "copying fee" for the source, enough third parties can club together so that one of them can request it and then just give it away. The one hole that is open is that there is no requirement that you inform the wider community that you have a modified version of a GPL program and they can request the source from you. But if you've complied with the GPL then second parties will know that they are allowed to give it away and some of them will. Directly or indirectly, a copy will eventually reach somebody who says "I want the source so I can give this stuff away for free." If you haven't complied with the GPL and try to pass it off as purely commercial, closed-source code, once you've sold your program you run the risk of customers spotting that it is derived from GPL code (as happened with a commercial system derived from Nagios recently). And that is when all your plans of selling GPL code as commercial, closed-source code go down the tubes. Then you have to release the source (if your modifications are good enough that anyone wants them) and the copyright holder can sue you in court to prevent you selling any more copies of it because you broke the licence and forfeited all the rights it grants you. You can do it, but sooner or later you'll get caught out and lose financially. RMS is one of the major-league programmers. But perhaps his finest work is the GPL. So far the GPL has resisted all attacks and yet the logic used to constrict it means that it is surprisingly small and the subtleties of the way it resists attack are not always immediately understood. -- 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 areid at logient.com Thu May 27 23:13:16 2004 From: areid at logient.com (Antoine Reid) Date: Thu, 27 May 2004 17:13:16 -0400 Subject: freshness check on passive service fails In-Reply-To: <200405241248.12961.Michael.Huettig@Medien-Systempartner.de> References: <200405241248.12961.Michael.Huettig@Medien-Systempartner.de> Message-ID: <2147483647.1085677996@[192.168.0.199]> --On Monday, May 24, 2004 12:48 PM +0200 Michael Huettig wrote: > Hi all, > i?m using nagios 1.2 with nsca/send-nsca 2.4 to submit passive > check-results from some services. Works fine for more than 6 months but > last week it starts up making me crazy. > > nagios doesn?t accept any value on freshness-threshold, it starts every 5 > minutes the script, which notifies me. For what it's worth, I'm having similar issues myself too. My setup is a bit different so I'll post it below. What happens here is that I have two Nagios processes running on two different hosts, in different subnets. The one doing the actual checks is obsessing over services and sends the results through nsca to the main nagios host. The main host seems to decide my services results aren't fresh enough, then runs the check_command, which is a dummy script returning WARNING (originally CRITICAL but it generated too many notifications..), then, a couple seconds or minutes later, a new passive check comes in, which brings the service(s) back to OK, then a couple minutes later, it switches back to WARNING and so on.. Both hosts are running FreeBSD, one is on 4.9 (the main host) while the one performing the actual checks is running 5.2.1. All on i386. Complete configs can be made available upon request (sent out-of-band to save list bandwidth) if I didn't provide enough details.. I'm sure I'm either not using the software the way it's supposed to be, or I have a configuration glitch, but I can't seem to find it.. I find it so odd that the main nagios process would run the service_check only couple *seconds* after it has got an "OK" passive check. This type of service is set with "active_checks_enabled 0" and "check_freshness 1", and I understood it would only run the service check IF the results aren't fresh enough.. Anyone can shed some light on this? Here are excerpts from my configs: On the MAIN nagios machine (the one that receives the passive checks and does notifications): nagios.cfg: (not sure what is relevant here..) ocsp_timeout=5 interval_length=60 execute_service_checks=1 accept_passive_service_checks=1 obsess_over_services=0 check_service_freshness=1 freshness_check_interval=600 and from service.cfg: define service{ name passive-service active_checks_enabled 0 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 1 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command service-is-stale freshness_threshold 600 register 0 } define service{ use passive-service service_description PING host_name bloodymary.domain.logient.com contact_groups unix-admins } define service{ use passive-service service_description DNS host_name bloodymary.domain.logient.com contact_groups unix-admins } (I have a bunch of services with "use passive-service" all configured this way, and they all produce the same behaviour..) Here is the "service-is-stale" command: define command{ command_name service-is-stale command_line $USER1$/staleservice.sh } And the staleservice.sh script: #!/bin/sh /bin/echo "WARNING: Service results are stale!" exit 1 -------------------------------------------------------------------------- On the *other* machine, also running Nagios, here are the config excerpts: ocsp_timeout=5 interval_length=60 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=0 enable_event_handlers=1 obsess_over_services=1 ocsp_command=submit_check_result define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } and in services.cfg: define service{ use generic-service host_name bloodymary.domain.logient.com service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups contactgroup notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_fping!2000,80%!5000,100% } define service{ use generic-service host_name bloodymary.domain.logient.com service_description DNS is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups contactgroup notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_dig!dev.domain.logient.com!10 } My submit_check_result looks like this: define command{ command_name submit_check_result command_line /usr/local/libexec/nagios/eventhandlers/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' } any the script itself contains: ----- #!/bin/sh # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = state_string (A string representing the status of # the given service - "OK", "WARNING", "CRITICAL" # or "UNKNOWN") # $4 = plugin_output (A text string that should be used # as the plugin output for the service checks) # # Convert the state string to the corresponding return code return_code=-1 case "$3" in OK) return_code=0 ;; WARNING) return_code=1 ;; CRITICAL) return_code=2 ;; UNKNOWN) return_code=-1 ;; esac # pipe the service check info into the send_nsca program, which # in turn transmits the data to the nsca daemon on the central # monitoring server # Used for debugging only.. #/usr/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" >> /tmp/send_nsca.log /usr/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /usr/local/libexec/nagios/send_nsca 192.168.10.138 -c /usr/local/etc/nagios/send_nsca.cfg ----- I'm using printf instead of echo, otherwise I had problems with some plugin_output's which didn't work because they contained "%" signs.. ------------------------------------------------------ Now, here is what I get on the main machine's log: [1085691545] SERVICE ALERT: bloodymary.domain.logient.com;DNS;WARNING;SOFT;1;WARNING: Service results are stale! [1085691545] SERVICE ALERT: bloodymary.domain.logient.com;PING;OK;SOFT;2;FPING OK - 192.168.0.200 (loss=0.000000%, rta=0.260000 ms) [1085691593] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;bloodymary.domain.logient.com;DNS;0;DNS ok - 0 seconds response time (dev.domain.logient.com. 1H IN A 192.168.0.201) [1085691595] SERVICE ALERT: bloodymary.domain.logient.com;DNS;OK;SOFT;2;DNS ok - 0 seconds response time (dev.domain.logient.com. 1H IN A 192.168.0.201) [1085691595] SERVICE ALERT: bloodymary.domain.logient.com;PING;WARNING;SOFT;1;WARNING: Service results are stale! [1085691602] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;bloodymary.domain.logient.com;PING;0;FPING OK - 192.168.0.200 (loss=0.000000%, rta=0.310000 ms) [1085691605] SERVICE ALERT: bloodymary.domain.logient.com;DNS;WARNING;SOFT;1;WARNING: Service results are stale! [1085691605] SERVICE ALERT: bloodymary.domain.logient.com;PING;OK;SOFT;2;FPING OK - 192.168.0.200 (loss=0.000000%, rta=0.310000 ms) [1085691652] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;bloodymary.domain.logient.com;DNS;0;DNS ok - 0 seconds response time (dev.domain.logient.com. 1H IN A 192.168.0.201) [1085691655] SERVICE ALERT: bloodymary.domain.logient.com;DNS;OK;SOFT;2;DNS ok - 0 seconds response time (dev.domain.logient.com. 1H IN A 192.168.0.201) [1085691656] SERVICE ALERT: bloodymary.domain.logient.com;PING;WARNING;SOFT;1;WARNING: Service results are stale! [1085691663] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;bloodymary.domain.logient.com;PING;0;FPING OK - 192.168.0.200 (loss=0.000000%, rta=0.330000 ms) [1085691665] SERVICE ALERT: bloodymary.domain.logient.com;DNS;WARNING;SOFT;1;WARNING: Service results are stale! [1085691665] SERVICE ALERT: bloodymary.domain.logient.com;PING;OK;SOFT;2;FPING OK - 192.168.0.200 (loss=0.000000%, rta=0.330000 ms) [1085691713] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;bloodymary.domain.logient.com;DNS;0;DNS ok - 0 seconds response time (dev.domain.logient.com. 1H IN A 192.168.0.201) [1085691715] SERVICE ALERT: bloodymary.domain.logient.com;DNS;OK;SOFT;2;DNS ok - 0 seconds response time (dev.domain.logient.com. 1H IN A 192.168.0.201) [1085691715] SERVICE ALERT: bloodymary.domain.logient.com;PING;WARNING;SOFT;1;WARNING: Service results are stale! [1085691723] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;bloodymary.domain.logient.com;PING;0;FPING OK - 192.168.0.200 (loss=0.000000%, rta=0.370000 ms) [1085691725] SERVICE ALERT: bloodymary.domain.logient.com;DNS;WARNING;SOFT;1;WARNING: Service results are stale! [1085691725] SERVICE ALERT: bloodymary.domain.logient.com;PING;OK;SOFT;2;FPING OK - 192.168.0.200 (loss=0.000000%, rta=0.370000 ms) > on host mh2 run?s an cron-script which submits the passive check-result > via send-nsca every hour. So i receive every hour that > test-service-passive is o.k. but after 5 Minutes nagios wants to check > freshness of this service. as you can see above, I'm using another nagios process instead of cron, but the result should be the same.. > Any suggestions, ideas, why nagios doesn?t accept the > check-freshness-period of 4000 seconds? > > Regards, > > Michael Thanks to anyone who read this far :) antoine -- Antoine Reid Administrateur Syst?me - System Administrator __________________________________________________ Logient Inc. Solutions de logiciels Internet - Internet Software Solutions 417 St-Pierre, Suite #700 Montr?al (Qc) Canada H2Y 2M4 T. 514-282-4118 ext.32 F. 514-288-0033 www.logient.com *AVIS DE CONFIDENTIALIT?* L'information apparaissant dans ce message est l?galement privil?gi?e et confidentielle. Elle est destin?e ? l'usage exclusif de son destinataire tel qu'identifi? ci-dessus. Si ce document vous est parvenu par erreur, soyez par la pr?sente avis? que sa lecture, sa reproduction ou sa distribution sont strictement interdites. Vous ?tes en cons?quence pri? de nous aviser imm?diatement par t?l?phone au (514) 282-4118 ou par courriel. Veuillez de plus d?truire le message. Merci. *CONFIDENTIALITY NOTE* This message along with any enclosed documents are confidential and are legally privileged. They are intended only for the person(s) or organization(s) named above and any other use or disclosure is strictly forbidden. If this message is received by anyone else, please notify us at once by telephone (514) 282-4118 or e-mail and destroy this message. Thank you. ------------------------------------------------------- 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 rouilj at cs.umb.edu Thu May 27 23:27:43 2004 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Thu, 27 May 2004 17:27:43 -0400 Subject: Viewing service detail of just one service? Message-ID: <200405272127.i4RLRhYR028289@mx1.cs.umb.edu> Hi all: I am trying to figure out how to get a service detail type display for only one service. I like to keep an eye on the ntp network, and I want a display of just the NTP service on all the boxes that have the ntp service. I can get a display of all the services on all the boxes that run NTP, but that is more info than I want to sort through. This is with nagios 1.1. I would be happy for even a manual URL that I need to type in. Do I have to wait for nagios 2.x and service groups? -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- 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 pamela at rak.bb.euroweb.sk Fri May 28 09:46:03 2004 From: pamela at rak.bb.euroweb.sk (jan gregor) Date: Fri, 28 May 2004 09:46:03 +0200 Subject: freshness check on passive service fails In-Reply-To: <2147483647.1085677996@[192.168.0.199]> References: <200405241248.12961.Michael.Huettig@Medien-Systempartner.de> <2147483647.1085677996@[192.168.0.199]> Message-ID: <20040528094603.A8583@rak.bb.euroweb.sk> > For what it's worth, I'm having similar issues myself too. My setup is a bit > different so I'll post it below. What happens here is that I have two > Nagios processes running on two different hosts, in different subnets. The > one > doing the actual checks is obsessing over services and sends the results > through nsca to the main nagios host. The main host seems to decide my > services results aren't fresh enough, then runs the check_command, which is > a dummy script returning WARNING (originally CRITICAL but it generated too > many notifications..), then, a couple seconds or minutes later, a new > passive > check comes in, which brings the service(s) back to OK, then a couple > minutes > later, it switches back to WARNING and so on.. Why are you doing freshness checking on master host? Is that of any use? Please, correct me, if i'm wrong, but freshness checking is mainly for active checking. Only idea when this is usable with passive is in passive+active checks, when one services are configured to accept passive check and doing active checks over some time (to check if we have not missed somthing). Again, maybe I overlooked something important, please correct me, if I'm terribly wrong. Best regards Jan Gregor ------------------------------------------------------- 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 tom.welsh at bt.com Fri May 28 09:49:34 2004 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Fri, 28 May 2004 08:49:34 +0100 Subject: Nagios scheduling queue seems to be lagging behind real time Message-ID: <418B502A3861E242AFDED453F3D5B89CB6678A@i2km99-ukbr.domain1.systemhost.net> Hi All I'm new to this list so try to be kind :) OS. Solaris with current patches applied Hardware : Sun E220R, 2 * 450MHz Ultra SPARCII cpu's, 1gb ram, 2 * 18gb SCSi drives Monitored Hosts: 64 Monitored Services 2094 Monitoring interval 5 mins Nagios version 1.0 ( Yes I know there is a new version but an upgrade is not an option for us just now :( ) Problem: nagios appears to be running fine it is just that when I look at my scheduling queue the tests at the top of the queue seem to be constantly 16 - 17 mins behind real time. Currently time on my box is 08:40. The next entry to run should have been executed at 08:24. I have read the section in the docs regarding scheduling and adjusted my max_concurrent_checks accordingly. My service_reaper_frequency is still set to 10 Can any one point out where I can make changes to bring this system back into line with real time? Here is the output from nagios -s ../etc/nagios.cfg SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 2094 Total hosts: 64 Command check interval: -1 sec Check reaper interval: 10 sec Inter-check delay method: SMART Average check interval: 341.117 sec Inter-check delay: 0.163 sec Interleave factor method: SMART Average services per host: 32.719 Service interleave factor: 33 Initial service check scheduling info: -------------------------------------- First scheduled check: 1085729805 -> Fri May 28 08:36:45 2004 Last scheduled check: 1085730148 -> Fri May 28 08:42:28 2004 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 62 Recommend value: 186 >From nagios.cfg... inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=186 service_reaper_frequency=10 sleep_time=1 service_check_timeout=63 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 Thanks for your help Regards, Tom ------------------------------------------------------- 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 Fri May 28 11:17:01 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 28 May 2004 11:17:01 +0200 Subject: Has anyone looked into the product by www.hype ric.com before? In-Reply-To: <2F29C1E275BF4F4E9DCAE48033A00B9D01030C76@mail.ev3.net> References: <2F29C1E275BF4F4E9DCAE48033A00B9D01030C76@mail.ev3.net> Message-ID: <40B7038D.50804@op5.se> Wheeler, MG wrote: > OK, I think we have beaten this point into the dirt now and > isn't really about Nagios anymore. Perhaps you could take this > "I know more than you" conversation off-line?? > It's customary for me and Paulie to argue and bicker about every point, and I amuse myself with it somewhat. Having it out in private wouldn't be the same at all. Sorry, and hope you understand. ;-) -- 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 Fri May 28 11:22:03 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 28 May 2004 11:22:03 +0200 Subject: Nagios not UNIX Friendly? In-Reply-To: References: Message-ID: <40B704BB.1090602@op5.se> Seth Hollist wrote: > I'm having problems getting Nagios to compile on HP-UX, and AIX. I even > installed gmake, gcc, openssh and a few other dependencies on the HP-UX > box, but it still doesn't work properly. Has anyone every successfully > gotten Nagios to work on HP-UX or AIX? > Not that I know of, no. Nagios mixes freely between POSIX, BSD, GNU and ANSI C-standards. Those are generally available on free unices, but not necessarily on the proprietary versions (at least not without heavy modifications). You could try to install a GNU system on the can you're installing to, but It'll probably be well invested cash to buy a new server and install GNU/Linux or some flavour of BSD on it. They both run just fine on a multitude of architectures, although gcc is a slow and horrible hog on alphas. -- 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 tchagas at uolinc.com Fri May 28 14:02:33 2004 From: tchagas at uolinc.com (Thales Maia) Date: Fri, 28 May 2004 09:02:33 -0300 Subject: Nagios scheduling queue seems to be lagging behind real time In-Reply-To: <418B502A3861E242AFDED453F3D5B89CB6678A@i2km99-ukbr.domain1.systemhost.net> References: <418B502A3861E242AFDED453F3D5B89CB6678A@i2km99-ukbr.domain1.systemhost.net> Message-ID: <1085745753.2769.20.camel@meriadoc.intranet> I had the same problem and the solution was implement a distributed monitoring. :o) Maybe a Inter-check delay minor than 0.163 helps you. Exemple, 0.05. On Fri, 2004-05-28 at 04:49, tom.welsh at bt.com wrote: > Hi All > > I'm new to this list so try to be kind :) > > OS. Solaris with current patches applied > > Hardware : Sun E220R, 2 * 450MHz Ultra SPARCII cpu's, 1gb ram, 2 * 18gb SCSi drives > > Monitored Hosts: 64 > > Monitored Services 2094 > > Monitoring interval 5 mins > > Nagios version 1.0 ( Yes I know there is a new version but an upgrade is not an option for us just now :( ) > > Problem: > nagios appears to be running fine it is just that when I look at my scheduling queue the tests at the top of the queue seem to be constantly 16 - 17 mins behind real time. Currently time on my box is 08:40. The next entry to run should have been executed at 08:24. > > I have read the section in the docs regarding scheduling and adjusted my max_concurrent_checks accordingly. My service_reaper_frequency is still set to 10 > > Can any one point out where I can make changes to bring this system back into line with real time? > > Here is the output from nagios -s ../etc/nagios.cfg > > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 2094 > Total hosts: 64 > > Command check interval: -1 sec > Check reaper interval: 10 sec > > Inter-check delay method: SMART > Average check interval: 341.117 sec > Inter-check delay: 0.163 sec > > Interleave factor method: SMART > Average services per host: 32.719 > Service interleave factor: 33 > > Initial service check scheduling info: > -------------------------------------- > First scheduled check: 1085729805 -> Fri May 28 08:36:45 2004 > Last scheduled check: 1085730148 -> Fri May 28 08:42:28 2004 > > Rough guidelines for max_concurrent_checks value: > ------------------------------------------------- > Absolute minimum value: 62 > Recommend value: 186 > > > From nagios.cfg... > > inter_check_delay_method=s > service_interleave_factor=s > max_concurrent_checks=186 > service_reaper_frequency=10 > sleep_time=1 > service_check_timeout=63 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 > > > Thanks for your help > > Regards, > > > Tom > > > > > ------------------------------------------------------- > 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 -- THALES MAIA CHAGAS Sysadmin - UOL S/A ------------------------------------------------------- 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 tchagas at uolinc.com Fri May 28 14:05:11 2004 From: tchagas at uolinc.com (Thales Maia) Date: Fri, 28 May 2004 09:05:11 -0300 Subject: Nagios scheduling queue seems to be lagging behind real time In-Reply-To: <418B502A3861E242AFDED453F3D5B89CB6678A@i2km99-ukbr.domain1.systemhost.net> References: <418B502A3861E242AFDED453F3D5B89CB6678A@i2km99-ukbr.domain1.systemhost.net> Message-ID: <1085745911.2771.22.camel@meriadoc.intranet> Another trick: Maybe more than 1 main nagios process is running. On Fri, 2004-05-28 at 04:49, tom.welsh at bt.com wrote: > Hi All > > I'm new to this list so try to be kind :) > > OS. Solaris with current patches applied > > Hardware : Sun E220R, 2 * 450MHz Ultra SPARCII cpu's, 1gb ram, 2 * 18gb SCSi drives > > Monitored Hosts: 64 > > Monitored Services 2094 > > Monitoring interval 5 mins > > Nagios version 1.0 ( Yes I know there is a new version but an upgrade is not an option for us just now :( ) > > Problem: > nagios appears to be running fine it is just that when I look at my scheduling queue the tests at the top of the queue seem to be constantly 16 - 17 mins behind real time. Currently time on my box is 08:40. The next entry to run should have been executed at 08:24. > > I have read the section in the docs regarding scheduling and adjusted my max_concurrent_checks accordingly. My service_reaper_frequency is still set to 10 > > Can any one point out where I can make changes to bring this system back into line with real time? > > Here is the output from nagios -s ../etc/nagios.cfg > > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 2094 > Total hosts: 64 > > Command check interval: -1 sec > Check reaper interval: 10 sec > > Inter-check delay method: SMART > Average check interval: 341.117 sec > Inter-check delay: 0.163 sec > > Interleave factor method: SMART > Average services per host: 32.719 > Service interleave factor: 33 > > Initial service check scheduling info: > -------------------------------------- > First scheduled check: 1085729805 -> Fri May 28 08:36:45 2004 > Last scheduled check: 1085730148 -> Fri May 28 08:42:28 2004 > > Rough guidelines for max_concurrent_checks value: > ------------------------------------------------- > Absolute minimum value: 62 > Recommend value: 186 > > > From nagios.cfg... > > inter_check_delay_method=s > service_interleave_factor=s > max_concurrent_checks=186 > service_reaper_frequency=10 > sleep_time=1 > service_check_timeout=63 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 > > > Thanks for your help > > Regards, > > > Tom > > > > > ------------------------------------------------------- > 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 -- THALES MAIA CHAGAS Sysadmin - UOL S/A ------------------------------------------------------- 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 Fri May 28 14:10:41 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 28 May 2004 14:10:41 +0200 Subject: Paulie, dear friend. ;-) In-Reply-To: <20040527162244.18480.qmail@minnow.softflare.net> References: <20040525115805.16639.qmail@minnow.softflare.net> <1085509616.11596.15.camel@tesuji.nac.uci.edu> <20040526181232.30956.qmail@minnow.softflare.net> <40B59B2D.4090108@op5.se> <20040527094804.17066.qmail@minnow.softflare.net> <40B5E6B4.9060800@op5.se> <20040527162244.18480.qmail@minnow.softflare.net> Message-ID: <40B72C41.4080300@op5.se> Paul L. Allen wrote: > Andreas Ericsson writes: > >>> The GPL is quite clear that the source be available upon request. >> >> >> No. It quite clearly states that noone can be forced to do anything >> they don't want to with regards to the source. What part of the below >> FAQ entry is it that you don't understand? > > > I understand it all. And also the other FAQ entries which show the > meaning you ascribe to it is incorrect. And also all the other pages > on the site which show that you are wrong. > Ok. So how about this. I have a copy of a GPL'd program. Ask me for the source. Assume I say no (which I would, but only for you, Paulie). Would the FSF lawyers have a case? >> --[ snip ]---- >> * If I distribute GPL'd software for a fee, am I required to also make >> it available to the public without a charge? >> No. However, if someone pays your fee and gets a copy, the GPL >> gives them the freedom to release it to the public, with or without a >> fee. For example, someone could pay your fee, and then put her copy on >> a web site for the general public. >> --[ snip ]---- > > > Note that it does not say you can refuse to supply the source. > It says > that you can refuse to supply the source FOR FREE. Or refuse altogether. The only thing the GPL really says is that I can't remove any freedom for any other user. Otherwise everybody running Nagios would have to supply means to distribute the source for it. That sort of scenario would seriously impede the free software movement by the simple expedient of adding obligations to the freedom (thus making freedom less free). > Think upon the difference between the two. Note also that it says "if someone pays > your fee." It does not say "if you CHOOSE to make the source available > for a fee and somebody pays it." Not making the source available is NOT > an option, as the other FAQ questions make clear. Quit being such a child. > The source MUST be > available if you distribute the code, or a modified version of it, > outside your own organization. No. Sources must be available to all those I distribute the program in any form to. Noone else, actually, and I'm not allowed to charge extra for them receiving the sources (we've had lawyers beating this inside out, and that's what they concluded although anyone with a brain not the size of a peanut can see so much). > The only choice you have in the matter is > whether you charge a fee for the source or not. Bah. Silly, but I hereby announce that I will charge a fee of 100 000 000 US dollars for downloading software from any of the various mirrors I have set up. > To pre-empt you attempting to misinterpret other bits of the FAQ, I'll > quote part of : > The Free Software Definition > [...] > Free software is a matter of the users' freedom to run, copy, > distribute, study, change and improve the software. More precisely, > it refers to four kinds of freedom, for the users of the software: > * The freedom to run the program, for any purpose (freedom 0). > * The freedom to study how the program works, and adapt it to your > needs (freedom 1). Access to the source code is a precondition for > this. > [...] You left out two points here, and one addendum a bit further down; --[ snip ]--- * The freedom to redistribute copies so you can help your neighbor (freedom 2). * The freedom to improve the program, and release your improvements to the public, so that the whole community benefits (freedom 3). Access to the source code is a precondition for this. --[ snip ]--- --[ snip ]--- You should also have the freedom to make modifications and use them privately in your own work or play, without even mentioning that they exist. If you do publish your changes, you should not be required to notify anyone in particular, or in any particular way. --[ snip ]--- Are you still insisting? > A program is free software if users have all of these freedoms. Which is why it's illegal to supply the program in any form without making sources available (since that would remove a freedom). It is still perfectly legal to never share the sources for anything. > [...] > In order for the freedoms to make changes, and to publish improved > versions, to be meaningful, you must have access to the source code of > the program. Therefore, accessibility of source code is a necessary > condition for free software. > [...] > In the GNU project, we use ``copyleft'' to protect these freedoms > legally for everyone. > Got it now? The FSF/GNU/RMS philosophy of free software insists that > source code be available if any form of the program is available >and the way this is enforced is through the GPL, > aka copyleft. Bah. Copyleft is a mockery of copyright. There are several licenses that can be called copyleft (ASL, LGPL, BSD, ...). > One of the purposes of the GPL is to ensure that source > code IS available. The ONLY purpose of the GPL is to ensure that no freedom is ever denied anybody who holds a copy of the program. > No, that's probably not enough for you. So from the copyleft page at > : > Copyleft is a general method for making a program free software and > requiring all modified and extended versions of the program to be free > software as well. > The simplest way to make a program free is to put it in the public > domain, uncopyrighted. This allows people to share the program and > their improvements, if they are so minded. But it also allows > uncooperative people to convert the program into proprietary software. > They can make changes, many or few, and distribute the result as a > proprietary product. People who receive the program in that modified > form do not have the freedom that the original author gave them; the > middleman has stripped it away. > In the GNU project, our aim is to give all users the freedom to > redistribute and change GNU software. If middlemen could strip off > the freedom, we might have many users, but those users would not have > freedom. So instead of putting GNU software in the public domain, we > ``copyleft'' it. Copyleft says that anyone who redistributes the > software, with or without changes, must pass along the freedom to > further copy and change it. Copyleft guarantees that every user has > freedom. > Do you still want to insist that people can refuse to make the source > code available? To everyone who hasn't received the program in any form; Yes. > Will I have to paste half the gnu website here before > you admit that you were totally, utterly WRONG on this point? As long as I don't supply binaries I don't have to supply the source. I have plenty of modified GPL'd programs. Go at me with every lawyer you find and try and wring them from me. I'll be happy to take you all on in court, and you'd make a complete fool out of yourself. > If you > take GPL code and modify it and redistribute the modified program outside > your own organization then that modified code is also covered by the GPL. > Source code MUST be available for ALL GPL code. > ... to all those who have received the program in any form. Others will have to ask nicely. >>> The right >>> for the company to use even the unmodified code for any purpose is also >>> void and the company may be sued simply for using the code at all. A >>> company might be stupid enough to try to withhold the source but >>> would be >>> unlikely to continue along that path when faced with legal action by >>> GNU. >> >> >> GNU is an operating system (Linux is the kernel, which is a quite >> separate thing). > > > Sigh. GNU was meant to be a re-implementation of Unix. It started with > various utilities and ended up extending them and creating new ones. An operating system is made up of utilities. > It > never did come up with the planned kernel and Linux, using many GNU > utilities, made Hurd development obsolete. Wrong. It took me and many others several years to port the GNU utils to work with the linux kernel, and the hurd is still being developed. > But the foundation stone in > all this, and perhaps GNU's most important "product" is the GNU Public > Licence. OK, technically the organization behind the GPL is the FSF, but > I wanted to avoid confusing people like you by introducing unnecessary > detail. Funny. You know just as well as I do that I'm the only one that reads your tiresome posts (just like you're the only one who reads mine). You should also know very well that I'm perfectly aware of the difference. --[ REALLY useless bitching removed ]--- > As is typical with you, having found what you mistakenly > believed to be a major error in my post, It was a major error. You were implying that people who download GPL'd software have to make it publicly available to anyone who asks (two posts later you admitted that it doesn't have to be for free and that would have made it a minor glitch). --[ more really useless and bitter bitching removed ]--- > GNU/FSF/RMS/the neurones in RMS's skull WILL take action whenever they > are informed of infringement. They HAVE to. So why don't you inform them that I'm sitting on a bunch of modified GPL'd programs which I have no intention of ever making publicly available, even if I was offered money to cover my expenses for doing so? They'll laugh even harder than I am. -- 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 tchagas at uolinc.com Fri May 28 14:13:18 2004 From: tchagas at uolinc.com (Thales Maia) Date: Fri, 28 May 2004 09:13:18 -0300 Subject: freshness check on passive service fails In-Reply-To: <20040528094603.A8583@rak.bb.euroweb.sk> References: <200405241248.12961.Michael.Huettig@Medien-Systempartner.de> <2147483647.1085677996@[192.168.0.199]> <20040528094603.A8583@rak.bb.euroweb.sk> Message-ID: <1085746398.2769.26.camel@meriadoc.intranet> Jan, you are wrong. Nagios supports a feature that does "freshness" checking on the results of service checks. This feature is useful when you want to ensure that passive checks are being received as frequently as you want. Although freshness checking can be used in a number of situations, it is primarily useful when attempting to configure a distributed monitoring environment. On Fri, 2004-05-28 at 04:46, jan gregor wrote: > > For what it's worth, I'm having similar issues myself too. My setup is a bit > > different so I'll post it below. What happens here is that I have two > > Nagios processes running on two different hosts, in different subnets. The > > one > > doing the actual checks is obsessing over services and sends the results > > through nsca to the main nagios host. The main host seems to decide my > > services results aren't fresh enough, then runs the check_command, which is > > a dummy script returning WARNING (originally CRITICAL but it generated too > > many notifications..), then, a couple seconds or minutes later, a new > > passive > > check comes in, which brings the service(s) back to OK, then a couple > > minutes > > later, it switches back to WARNING and so on.. > > Why are you doing freshness checking on master host? Is that of any use? > Please, correct me, if i'm wrong, but freshness checking is mainly for > active checking. Only idea when this is usable with passive is in > passive+active checks, when one services are configured to accept > passive check and doing active checks over some time (to check if we > have not missed somthing). Again, maybe I overlooked something important, > please correct me, if I'm terribly wrong. > > > Best regards > > Jan Gregor > > > ------------------------------------------------------- > 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 -- THALES MAIA CHAGAS Sysadmin - UOL S/A ------------------------------------------------------- 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 tom.welsh at bt.com Fri May 28 14:26:55 2004 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Fri, 28 May 2004 13:26:55 +0100 Subject: Nagios scheduling queue seems to be laggingbehind real time Message-ID: <418B502A3861E242AFDED453F3D5B89C025C14B1@i2km99-ukbr.domain1.systemhost.net> Hi, Only the main nagios process is running but lots of child processes run when checks are being executed eg ..... ps -eaf | grep nagios pms 21318 1 1 08:50:08 ? 3:40 /opt/pms/nagios/bin/nagios -d /opt/pms/nagios/etc/nagios.cfg pms 822 344 0 13:24:25 pts/18 0:00 grep nagios pms 806 805 0 13:24:22 ? 0:00 sh -c /opt/pms/nagios/libexec/check_ping -H 172.16.118.103 -w 1000,70% -c 1000, pms 683 1 0 13:24:17 ? 0:00 /opt/pms/nagios/bin/nagios -d /opt/pms/nagios/etc/nagios.cfg pms 691 1 0 13:24:17 ? 0:00 /opt/pms/nagios/bin/nagios -d /opt/pms/nagios/etc/nagios.cfg pms 766 1 0 13:24:18 ? 0:00 /opt/pms/nagios/bin/nagios -d /opt/pms/nagios/etc/nagios.cfg pms 807 806 0 13:24:22 ? 0:00 /opt/pms/nagios/libexec/check_ping -H 172.16.118.103 -w 1000,70% -c 1000,80% -p pms 538 1 0 13:24:15 ? 0:00 /opt/pms/nagios/bin/nagios -d /opt/pms/nagios/etc/nagios.cfg pms 547 1 0 13:24:15 ? 0:00 /opt/pms/nagios/bin/nagios -d /opt/pms/nagios/etc/nagios.cfg pms 754 1 0 13:24:17 ? 0:00 /opt/pms/nagios/bin/nagios -d /opt/pms/nagios/etc/nagios.cfg pms 805 21318 0 13:24:22 ? 0:00 /opt/pms/nagios/bin/nagios -d /opt/pms/nagios/etc/nagios.cfg pms 707 1 0 13:24:17 ? 0:00 /opt/pms/nagios/bin/nagios -d /opt/pms/nagios/etc/nagios.cfg pms 555 1 0 13:24:15 ? 0:00 /opt/pms/nagios/bin/nagios -d /opt/pms/nagios/etc/nagios.cfg pms 602 1 0 13:24:16 ? 0:00 /opt/pms/nagios/bin/nagios -d /opt/pms/nagios/etc/nagios.cfg pms 610 1 0 13:24:16 ? 0:00 /opt/pms/nagios/bin/nagios -d /opt/pms/nagios/etc/nagios.cfg I restarted the nagios service at 08:50:00 so i believe that I have only 1 process running. Cheers Tom -----Original Message----- From: Thales Maia [mailto:tchagas at uolinc.com] Sent: 28 May 2004 13:05 To: Welsh,T,Tom,XJH2A C Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios scheduling queue seems to be laggingbehind real time Another trick: Maybe more than 1 main nagios process is running. On Fri, 2004-05-28 at 04:49, tom.welsh at bt.com wrote: > Hi All > > I'm new to this list so try to be kind :) > > OS. Solaris with current patches applied > > Hardware : Sun E220R, 2 * 450MHz Ultra SPARCII cpu's, 1gb ram, 2 * 18gb SCSi drives > > Monitored Hosts: 64 > > Monitored Services 2094 > > Monitoring interval 5 mins > > Nagios version 1.0 ( Yes I know there is a new version but an upgrade is not an option for us just now :( ) > > Problem: > nagios appears to be running fine it is just that when I look at my scheduling queue the tests at the top of the queue seem to be constantly 16 - 17 mins behind real time. Currently time on my box is 08:40. The next entry to run should have been executed at 08:24. > > I have read the section in the docs regarding scheduling and adjusted my max_concurrent_checks accordingly. My service_reaper_frequency is still set to 10 > > Can any one point out where I can make changes to bring this system back into line with real time? > > Here is the output from nagios -s ../etc/nagios.cfg > > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 2094 > Total hosts: 64 > > Command check interval: -1 sec > Check reaper interval: 10 sec > > Inter-check delay method: SMART > Average check interval: 341.117 sec > Inter-check delay: 0.163 sec > > Interleave factor method: SMART > Average services per host: 32.719 > Service interleave factor: 33 > > Initial service check scheduling info: > -------------------------------------- > First scheduled check: 1085729805 -> Fri May 28 08:36:45 2004 > Last scheduled check: 1085730148 -> Fri May 28 08:42:28 2004 > > Rough guidelines for max_concurrent_checks value: > ------------------------------------------------- > Absolute minimum value: 62 > Recommend value: 186 > > > From nagios.cfg... > > inter_check_delay_method=s > service_interleave_factor=s > max_concurrent_checks=186 > service_reaper_frequency=10 > sleep_time=1 > service_check_timeout=63 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 > > > Thanks for your help > > Regards, > > > Tom > > > > > ------------------------------------------------------- > 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 -- THALES MAIA CHAGAS Sysadmin - UOL S/A ------------------------------------------------------- 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 mshirley at ysi.com Sat May 29 14:48:27 2004 From: mshirley at ysi.com (mshirley at ysi.com) Date: Sat, 29 May 2004 08:48:27 -0400 Subject: statusmap.cgi Message-ID: Are you sure that the proper libs are installed? gdlib is not the only lib required. for example if you were to compile gdlib manually some other libs that it asks for is libjpeg, libpng, freetype, etc. You may need to compile gd from source and make sure you also install these other libraries. This may explain why it can't draw images because the libjpeg or libpng libraries were not available when you built libgd. Here is an example of my ./configure when i manually compiled and installed gd-2.0.23 which at this point works perfectly and i get images from nagios. This tells you what libs will be included in the gdlib install. If for example you are using debian you can simply apt-get install these instead of compiling them. Support for PNG library: yes Support for JPEG library: yes Support for Freetype 2.x library: yes Support for Xpm library: yes Support for pthreads: yes Mark Shirley IT Helpdesk YSI Incorporated |---------+----------------------------> | | victor | | | | | | | | | 05/27/2004 02:47 | | | AM | | | | |---------+----------------------------> >---------------------------------------------------------------------------------------------------------------| | | | To: mshirley at ysi.com, nagios-users at lists.sourceforge.net | | cc: | | Subject: Re: [Nagios-users] statusmap.cgi | >---------------------------------------------------------------------------------------------------------------| Thank you. Now statusmap .cgi is compiled. But when I enter the Status Map, I get no image(there should be an image there). When I move the mouse over I get some statistics, but I can't see the image. ------------------------------------------------------- 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 jdoyle at lewisgaleclinic.com Fri May 28 15:28:06 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Fri, 28 May 2004 09:28:06 -0400 Subject: Nagios scheduling queue seems to be laggingbehind real time Message-ID: Yeah, I've had that happen to me before and more than one main nagios process was running for some reason. ----- John N. Doyle, Network+ Certified Professional Systems Operations Specialist Lewis-Gale Clinic Information Systems 540.772.3669 >PGP Key Available: http://68.106.83.67:8082/pgp.txt -----Original Message----- From: Thales Maia [mailto:tchagas at uolinc.com] Sent: Friday, May 28, 2004 8:05 AM To: tom.welsh at bt.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios scheduling queue seems to be laggingbehind real time Another trick: Maybe more than 1 main nagios process is running. On Fri, 2004-05-28 at 04:49, tom.welsh at bt.com wrote: > Hi All > > I'm new to this list so try to be kind :) > > OS. Solaris with current patches applied > > Hardware : Sun E220R, 2 * 450MHz Ultra SPARCII cpu's, 1gb ram, 2 * > 18gb SCSi drives > > Monitored Hosts: 64 > > Monitored Services 2094 > > Monitoring interval 5 mins > > Nagios version 1.0 ( Yes I know there is a new version but an upgrade > is not an option for us just now :( ) > > Problem: > nagios appears to be running fine it is just that when I look at my > scheduling queue the tests at the top of the queue seem to be > constantly 16 - 17 mins behind real time. Currently time on my box is > 08:40. The next entry to run should have been executed at 08:24. > > I have read the section in the docs regarding scheduling and adjusted > my max_concurrent_checks accordingly. My service_reaper_frequency is > still set to 10 > > Can any one point out where I can make changes to bring this system > back into line with real time? > > Here is the output from nagios -s ../etc/nagios.cfg > > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 2094 > Total hosts: 64 > > Command check interval: -1 sec > Check reaper interval: 10 sec > > Inter-check delay method: SMART > Average check interval: 341.117 sec > Inter-check delay: 0.163 sec > > Interleave factor method: SMART > Average services per host: 32.719 > Service interleave factor: 33 > > Initial service check scheduling info: > -------------------------------------- > First scheduled check: 1085729805 -> Fri May 28 08:36:45 2004 > Last scheduled check: 1085730148 -> Fri May 28 08:42:28 2004 > > Rough guidelines for max_concurrent_checks value: > ------------------------------------------------- > Absolute minimum value: 62 > Recommend value: 186 > > > From nagios.cfg... > > inter_check_delay_method=s > service_interleave_factor=s > max_concurrent_checks=186 > service_reaper_frequency=10 > sleep_time=1 > service_check_timeout=63 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 > > > Thanks for your help > > Regards, > > > Tom > > > > > ------------------------------------------------------- > 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 -- THALES MAIA CHAGAS Sysadmin - UOL S/A ------------------------------------------------------- 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 Ralf-Lists at RalfGross.de Fri May 28 16:21:27 2004 From: Ralf-Lists at RalfGross.de (Ralf Gross) Date: Fri, 28 May 2004 16:21:27 +0200 (CEST) Subject: host down, no service check-> no notification Message-ID: <40157.53.122.192.14.1085754087.squirrel@webmail.ssorgflar.de> Hi, I have some hosts that I just monitor if they are up or down. For this I use the check_ping command. I tested this by disabeling the switch port or shutting down the interface of the host. The webinterface shows correct "host down", but no notification by mail/winpopup was sent out. In the documentation I found the description of "check_command check-host-alive" in hosts.cfg, which I used before. If I understand this right, no notification will be sent out, if this option is set and the host is not reachabel. If I disable "check_command check-host-alive", I get notified if the host is not reachable (this what I want). Are there any pitfalls in doing this that way. Is there a better (right way) to get notified if a host with no service check goes down? These hosts are dhcp servers behind a router, so I can't use the check_dhcp plugin, I just want to see if they are alive. Thanks, Ralf ------------------------------------------------------- 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 victor at ambra.ro Fri May 28 17:55:53 2004 From: victor at ambra.ro (victor) Date: Fri, 28 May 2004 18:55:53 +0300 Subject: nagios and postgres Message-ID: <40B76109.1000608@ambra.ro> I want to use postgresql databases with nagios. So I recompile and create the database and the tables. I started nagios service and the first record was inserted in the database(table programstatus). But when I try to access statusmap.cgi I get: "*Error: Could not read host and service status information!*". The message tells me and what the problem could be: 1. Check the Nagios log file for messages relating to startup or status data errors. 2. Always verify configuration options using the *-v* command-line option before starting or restarting Nagios! 3. Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems. I belive the problem is point 3.. But what is the configure option taht I must enable? I compiled like this: "./configure --with-pgsql-xdata". Thank you ------------------------------------------------------- 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 pla at softflare.com Fri May 28 18:16:06 2004 From: pla at softflare.com (Paul L. Allen) Date: Fri, 28 May 2004 17:16:06 +0100 Subject: Killfile both of them (Was: Paulie, dear friend. ;-)) In-Reply-To: <40B72C41.4080300@op5.se> References: <20040525115805.16639.qmail@minnow.softflare.net> <1085509616.11596.15.camel@tesuji.nac.uci.edu> <20040526181232.30956.qmail@minnow.softflare.net> <40B59B2D.4090108@op5.se> <20040527094804.17066.qmail@minnow.softflare.net> <40B5E6B4.9060800@op5.se> <20040527162244.18480.qmail@minnow.softflare.net> <40B72C41.4080300@op5.se> Message-ID: <20040528161606.20951.qmail@minnow.softflare.net> Warning. Andreas has pulled his usual trick of quoting out of context to make it look like I said things having the opposite meaning to what I actually said in order to score points. This wouldn't matter, except that he is also giving comepletely misleading and incorrect information about the GPL in order to score further points. I would advise everyone to killfile both of us because I will not let incorrect crap like that go uncorrected even though I am now certain that Andreas is trolling (yet again). Those who are interested (more likely bored) can watch as I expose each and every one of his incorrect statements about the GPL and each of his tricks to score points. Andreas Ericsson writes: > Ok. So how about this. I have a copy of a GPL'd program. Ask me for the > source. Assume I say no (which I would, but only for you, Paulie). Would > the FSF lawyers have a case? The way you have stated the problem, no. I have many copies of GPL programs. I am not required to supply to source of them because they are unmodified copies. I am not even required to supply the source to anyone I have given copies to, provided I tell those people how they can get the sources. If you were distributing a version of a GPL program which you had modified, then you are required to give the source. That is what the GPL says. That is what all the accompanying documentation says. Since it's never been tested in court yet, I cannot say if the FSF would win the case or not. But then you deliberately misstated the problem because you're trolling. >> Note that it does not say you can refuse to supply the source. >> It says that you can refuse to supply the source FOR FREE. > > Or refuse altogether. No, it does not say that, troll. > The only thing the GPL really says is that I can't remove any freedom for > any other user. And one of the freedoms it explicitly mentions is the right to modify the program you have been supplied. In order to do that, you have to have the source. But it says all this and more on many different pages of gnu.org. Why is it you have so much difficulty comprehending what is written in clear English? Oh, I know, it's because you're trolling and you've used ellision to try to fool people into thinking that this thread wasn't a discussion about the requirement to supply source code IF you distribute modified binaries outside your organization. > Otherwise everybody running Nagios would have to supply means to > distribute the source for it. Nonsense. As it clearly states, if you distribute GPL programs to second parties you must either include the source or tell them how they can get it. If you supply a version of a GPL program which you have modified THEN you are required to supply the modified source upon request. Ooops, I forgot. You've been excising parts of the thread where it says "if you distribute modified GPL binaries outside your organization" and pretending it was all about modifying the code for internal use. Troll. > That sort of scenario would seriously impede the free software movement > by the simple expedient of adding obligations to the freedom (thus > making freedom less free). There are already obligations. The obligation not to remove any of the freedoms when you redistribute (you must at least tell people how to get the source). That obligation still applies if you have distribute a program that you have modified. People must still have the freedom to modify the program you have supplied, and that requires the source. That does not force any extra obligation upon you. You can choose not to modify a GPL program. If you do modify it, you can choose not to distribute it. But if you do modify it and distribute it you are bound by the GPL to supply source on request. Of course, that was a very weak straw man you set up there. It serves only to demonstrate that either you totally misunderstand the GPL or that you are so desperate to try to score a point you will say things that are almost certain to be refuted and make you look even more foolish. Try googling for the first rule of holes... Oh, I forgot, you're trolling again. >> Think upon the difference between the two. Note also that it says "if >> someone pays your fee." It does not say "if you CHOOSE to make the >> source available for a fee and somebody pays it." Not making the >> source available is NOT an option, as the other FAQ questions make clear. > > Quit being such a child. It's being childish to point out that the rest of the FAQ contradicts your foolish claims? It's being childish to point out that your erroneous interpretation can only be reconciled with the FAQ questions if one question is rewritten to omit the words "for free" at the end of one question and by totally rewriting another question? Is it being childish to point out the games you play to score points when you were obviously wrong in the first place? > No. Sources must be available to all those I distribute the program in any > form to. Noone else, actually, You are either misinformed or a fool. Ooops, that's exclusive-or, I should have used inclusive-or since it is quite possible you are both. Oh no, I forgot again - you're a troll. Unfortunately, there may be a few other people reading this who believe the incorrect crap you're spouting about the GPL and they need to know just how wrong you are for their own benefit. From : Free software is a matter of the users' freedom to run, copy, distribute, study, change and improve the software. More precisely, it refers to four kinds of freedom, for the users of the software: [...] The freedom to study how the program works, and adapt it to your needs (freedom 1). Access to the source code is a precondition for this. That much you appear to understand since you admit you have to supply source to those you've supplied modified code. But then you forget that because the modified code is itself GPL, the people who received modified code from you are permitted to give that to others and to tell them how to get the source directly from the original distributor. From the GPL at : You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) See that? The GPL itself says that if you distribute code that you modified you MUST supply third parties with the source (for at least three years after you stop distributing the modified code) upon request. Oops, that's a bit complicated for you to understand. There are several clauses and they involve conditional statments. So from the very same FAQ at that you yourself quoted here: "Valid for any third party" means that anyone who has the offer is entitled to take you up on it. If you commercially distribute binaries not accompanied with source code, the GPL says you must provide a written offer to distribute the source code later. When users non-commercially redistribute the binaries they received from you, they must pass along a copy of this written offer. This means that people who did not get the binaries directly from you can still receive copies of the source code, along with the written offer. The reason we require the offer to be valid for any third party is so that people who receive the binaries indirectly in that way can order the source code from you. I know this is going to be a hard thing for you to grasp, but that final paragraph is the key. If you sell unmodified binaries you must provide the source to any third party upon request. The same applies if you sell or give away modified binaries. Third parties may receive copies of those binarys and the GPL guarantees them the right to the source so that they can play with or modify your modified code. You can bundle the source with the binaries or you can include information telling people how to request the source from you and that offer has to apply to third parties who receive copies of the binaries. > and I'm not allowed to charge extra for them receiving the sources You're allowed to charge an outrageous copying and distribution fee for the sources. But you cannot prevent anyone prepared to pay that fee from then giving copies away. > (we've had lawyers beating this inside out, and that's what they > concluded You need better lawyers. Try getting them to fumigate their brains with a Carbolic Smoke Ball (if you show tham the sentence and they understand the joke then perhaps they're not as bad as they seem to be). >> The only choice you have in the matter is >> whether you charge a fee for the source or not. > > Bah. Silly, but I hereby announce that I will charge a fee of 100 000 000 > US dollars for downloading software from any of the various mirrors I have > set up. The GPL does not explicitly state that the copying fee be reasonable. A court however, might well decide that a copying fee of that size is an attempt to evade the terms of the licence. Drop the fee enough that a court would consider it merely excessive rather than outrageous and enough people could club together to raise the money for one copy, which they then give away. > You left out two points here, and one addendum a bit further down; I did, because the part I quoted already made it clear you were completely and utterly wrong that it was unnecessary to quote any further parts that also proved how wrong you were. But you're a troll who is feeding people total crap about the GPL, so let's see what you have to say... > --[ snip ]--- > * The freedom to redistribute copies so you can help your neighbor > (freedom 2). Irrelevant to the point. > * The freedom to improve the program, and release your improvements to > the public, so that the whole community benefits (freedom 3). Access to > the source code is a precondition for this. It just proves, yet again, how wrong you are. You have the freedom to modify and release the modified binaries. To be able to do so you must have access to the source. Whether you sell or give away your modified binaries, the people who receive them have the SAME right to your source. And that applies to any third parties who receive binaries for which you control the source. > You should also have the freedom to make modifications and use them > privately in your own work or play, without even mentioning that they > exist. If you do publish your changes, you should not be required to > notify anyone in particular, or in any particular way. You are not required to tell the world about your changes. However, you ARE required to tell those you distribute them to that the binaries you supply are modified versions of existing GPL code and you ARE required to tell them how they may obtain the source from you if it was not bundled with the binaries. > Are you still insisting? Oh yes indeed. You have brightened up a dull Friday afternoon. It is so amusing trying to see you prove you are right by quoting things which prove you are wrong. It is also educational for those who, like you, have a deeply flawed understanding of the GPL (they probably got their misunderstanding by believing what you say). >> A program is free software if users have all of these freedoms. > > Which is why it's illegal to supply the program in any form without making > sources available (since that would remove a freedom). It is still > perfectly legal to never share the sources for anything. You are Resident George W Bush and I claim my free five oil wars. Could you translate that from the original gibberish into English? Oh I see, it's part of your attempt to make people think this whole discussion wasn't about distributing modified GPL binaries outside your organization. Troll. BTW, the GPL combines copyright and contract law, both of which are civil torts, not criminal offences. The terms "legal" and "illegal" do not apply to whatever it was you were trying to say. Oh, if your lawyers are bright enough, they'll know that copyright can become a criminal issue in some countries if the scale of copying is large enough AND the financial losses are great enough - it is hard to conceive of breach of GPL copyright ever clearing that hurdle. >> Got it now? The FSF/GNU/RMS philosophy of free software insists that >> source code be available > > if any form of the program is available Your favourite trick! Quoting out of context to create a straw man. After carefully deleting all the places I said "if you distribute modified GPL code outside your organization" and leaving only the following words where I said "THEN you must make the source available upon request" you can then try to win your point. However, anybody with a good enough memory or capable of threading can see that I DID make statements of the form "If you distribute modified GPL code outside of your organization then you must make the source available" and have carefully ellided them so it appears that all I said was "you must make the source available." Troll. [...] >> Do you still want to insist that people can refuse to make the source >> code available? > > To everyone who hasn't received the program in any form; Yes. But this discussion was about people who HAVE received the modified program and the obligation to supply source upon request to third parties who received the modified binaries. >> Will I have to paste half the gnu website here before >> you admit that you were totally, utterly WRONG on this point? > > As long as I don't supply binaries I don't have to supply the source. > I have plenty of modified GPL'd programs. Go at me with every lawyer you > find and try and wring them from me. I'll be happy to take you all on in > court, and you'd make a complete fool out of yourself. Again you use selective cutting to make it look as though I wasn't talking of the distribution of modified binaries outside your organization. >> If you >> take GPL code and modify it and redistribute the modified program outside >> your own organization then that modified code is also covered by the GPL. >> Source code MUST be available for ALL GPL code. You tripped up there. You left in a bit where it's clear I was talking about the distribution of modified binaries outside your organization. Bwahahahaha. > ... to all those who have received the program in any form. Others will > have to ask nicely. And how are you going to prove that I don't have a copy which was passed to me through a chain of dozens of others? >>> GNU is an operating system (Linux is the kernel, which is a quite >>> separate thing). >> >> Sigh. GNU was meant to be a re-implementation of Unix. It started with >> various utilities and ended up extending them and creating new ones. > > An operating system is made up of utilities. And a kerne, as you yourself mentioned. Troll. >> It never did come up with the planned kernel and Linux, using many GNU >> utilities, made Hurd development obsolete. > > Wrong. It took me and many others several years to port the GNU utils to > work with the linux kernel, and the hurd is still being developed. Hurd may still be being developed, but the development effort is obsolete. It might happen, but the chances are it will never catch up to what the Linux kernel can do at any given time. It might catch up, but will anybody want it when there are the *BSD variants as well? >> As is typical with you, having found what you mistakenly >> believed to be a major error in my post, > > It was a major error. You were implying that people who download GPL'd > software have to make it publicly available to anyone who asks (two posts > later you admitted that it doesn't have to be for free and that would have > made it a minor glitch). Nonsense. It was always clear this discussion was about people who receive modified GPL binaries and their right to the source. That was made clear several times in each of my posts. Troll. >> GNU/FSF/RMS/the neurones in RMS's skull WILL take action whenever they >> are informed of infringement. They HAVE to. > > So why don't you inform them that I'm sitting on a bunch of modified GPL'd > programs which I have no intention of ever making publicly available, even > if I was offered money to cover my expenses for doing so? > They'll laugh even harder than I am. If ever you distribute the binaries outside your organization, which is what this discussion was about, and I get to hear of it, I most certainly will. :) I would have denounced your dishonest quoting out of context as being no better than the tricks used by the morons in alt.flame. However, your misleading statements about the GPL in the middle of a thread where people are seeking clarification as to what obligations they have if they distribute modified versions of GPL code outside their organization means you are far worse than the morons in alt.flame. -- 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 tykeal at bardicgrove.org Fri May 28 20:27:41 2004 From: tykeal at bardicgrove.org (Andrew Grimberg) Date: Fri, 28 May 2004 11:27:41 -0700 Subject: Database schema? Message-ID: <1085768860.1473.10.camel@grimoire.bardicgrove.org> Greetings folks, First time posting to the list, just joined, sorry if I'm rude... haven't watched the list much ;) I'm looking to set Nagios up using MySQL. The documentation (or was it whatsnew.html) says something about table definitions in the contrib/database directory. I can't find this directory with the distribution. Heck I can't find the directory in CVS either. Where can I get the database schemas? I would really, really like to switch over to using MySQL for stuff. Sorry if it's a FAQ, I just can't find them anywhere and I've been searching for some time now. -Andy- ------------------------------------------------------- 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 Fri May 28 20:44:49 2004 From: marc at ena.com (Marc Powell) Date: Fri, 28 May 2004 13:44:49 -0500 Subject: Database schema? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B63E0@mismail2.ena.com> Andrew Grimberg wrote: > Greetings folks, > > First time posting to the list, just joined, sorry if I'm rude... > haven't watched the list much ;) > > I'm looking to set Nagios up using MySQL. The documentation (or was > it > whatsnew.html) says something about table definitions in the > contrib/database directory. I can't find this directory with the > distribution. Heck I can't find the directory in CVS either. > > Where can I get the database schemas? I would really, really like to > switch over to using MySQL for stuff. I've just grabbed the "nagios-1-x-bugfixes (1.x)" release from http://www.nagios.org/cvs.php and they're still in there... [omeganon at drunkard database]$ pwd; ls -l /home/omeganon/nagios-1-x-cvs/contrib/database total 28 -rw-r--r-- 1 omeganon omeganon 10414 Apr 16 2002 create_mysql -rw-r--r-- 1 omeganon omeganon 9919 Feb 25 2002 create_pgsql -rw-r--r-- 1 omeganon omeganon 312 Feb 25 2002 README IFF you're looking for database support in 2.0(alpha), you're not going to find it. Database support is being dropped from the core distribution in favor of external modules that will emulate the current behavior (and which haven't been written yet). -- 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 bhendrix at stthomas.org Fri May 28 20:43:21 2004 From: bhendrix at stthomas.org (Brian Hendrix) Date: Fri, 28 May 2004 13:43:21 -0500 Subject: nagios-stat Message-ID: I have gotten nagios-statd and nagios-stat working between my nagios monitoring box (RedHat) and an AIX system. nagios-stat is working with all the check except the one I need the most * DISK. The command I am running from the nagios monitoring system (RedHat) is as follows: > ./nagios-stat disk tsm01bap.baptisthospital.com The response I get back on the command line is as follows: Server returned unusual data. Again, it works fine for all the other checks except disk. Any assistance is appreciated. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ><> ~~~ Brian Hendrix Team Leader DTR Services Saint Thomas Health Services 2000 Church Street Nashville, TN 37236 bhendrix at stthomas.org (615) 284-5297 (work) (615) 222-1704 (fax) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Whatever you do, do your work heartily, as for the Lord rather than for men - Colossians 3:23 ~~~ ><> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Confidentiality Notice: This email message, including any attachments, contains information that is confidential and/or legally privileged. The information is intended only for the individual(s) named above. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use, dissemination, distribution, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error, please purge it immediately and notify the sender. -------------- next part -------------- An HTML attachment was scrubbed... URL: From areid at logient.com Fri May 28 21:25:10 2004 From: areid at logient.com (Antoine Reid) Date: Fri, 28 May 2004 15:25:10 -0400 Subject: freshness check on passive service fails In-Reply-To: <20040528094603.A8583@rak.bb.euroweb.sk> References: <200405241248.12961.Michael.Huettig@Medien-Systempartner.de> <2147483647.1085677996@[192.168.0.199]> <20040528094603.A8583@rak.bb.euroweb.sk> Message-ID: <2147483647.1085757910@[192.168.0.199]> --On Friday, May 28, 2004 9:46 AM +0200 jan gregor wrote: >> For what it's worth, I'm having similar issues myself too. My setup is a >> bit different so I'll post it below. What happens here is that I have >> two Nagios processes running on two different hosts, in different >> subnets. The one >> doing the actual checks is obsessing over services and sends the results >> through nsca to the main nagios host. The main host seems to decide my >> services results aren't fresh enough, then runs the check_command, which >> is a dummy script returning WARNING (originally CRITICAL but it >> generated too many notifications..), then, a couple seconds or minutes >> later, a new passive >> check comes in, which brings the service(s) back to OK, then a couple >> minutes >> later, it switches back to WARNING and so on.. > > Why are you doing freshness checking on master host? Is that of any use? > Please, correct me, if i'm wrong, but freshness checking is mainly for > active checking. Only idea when this is usable with passive is in > passive+active checks, when one services are configured to accept > passive check and doing active checks over some time (to check if we > have not missed somthing). Again, maybe I overlooked something important, > please correct me, if I'm terribly wrong. Actually, the idea is that when active_checks are disabled, the check_command is never run as long as the passive checks come in frequently enough. According to the docs (the part about distributed monitoring and/or freshness checking), IF the results are not fresh enough, then the check_command will be executed. In a failover/redundancy situation, that would be ideal as you main machine does not usually perform the tests but will if the results are getting stale. In my situation though, the main machine *cannot* access the services that the second host is monitoring. What is configured instead, is a check_command that will always return an error (right now, I return WARNING but I would like it to be "CRITICAL") stating that the results are stale. This would indicate that the nagios process on the 2nd machine is no longer sending passive checks OR that the checks somehow don't make it through to the main machine. In any case, I would get a notification and would start investigating. This is exactly what I am trying to achieve. Now, my problem is the following: the second nagios process is doing active checks, the service(s) checked never or rarely go down (eg: fping on an otherwise working machine). I can see on the MAIN host that the passive checks are being received AND processed by nagios yet it decides for some reason that the results are not fresh and run the check_command defined (which returns WARNING). Net result is, according to the second machine, my services are up 100% of the time. According to the MAIN machine, those services go OK - WARNING - OK - WARNING - OK - WARNING every couple of minutes.. Would anyone know which timeout or setting to tweak so that it HAS to wait for much much longer without having received the passive checks before it actually decides to take matter in its own hands and run the check_command defined? (Please see my previous post to see my configuration details, services definitions, etc). > Best regards > > Jan Gregor thank you! Antoine -- Antoine Reid Administrateur Syst?me - System Administrator __________________________________________________ Logient Inc. Solutions de logiciels Internet - Internet Software Solutions 417 St-Pierre, Suite #700 Montr?al (Qc) Canada H2Y 2M4 T. 514-282-4118 ext.32 F. 514-288-0033 www.logient.com *AVIS DE CONFIDENTIALIT?* L'information apparaissant dans ce message est l?galement privil?gi?e et confidentielle. Elle est destin?e ? l'usage exclusif de son destinataire tel qu'identifi? ci-dessus. Si ce document vous est parvenu par erreur, soyez par la pr?sente avis? que sa lecture, sa reproduction ou sa distribution sont strictement interdites. Vous ?tes en cons?quence pri? de nous aviser imm?diatement par t?l?phone au (514) 282-4118 ou par courriel. Veuillez de plus d?truire le message. Merci. *CONFIDENTIALITY NOTE* This message along with any enclosed documents are confidential and are legally privileged. They are intended only for the person(s) or organization(s) named above and any other use or disclosure is strictly forbidden. If this message is received by anyone else, please notify us at once by telephone (514) 282-4118 or e-mail and destroy this message. Thank you. ------------------------------------------------------- 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 tykeal at bardicgrove.org Fri May 28 21:40:36 2004 From: tykeal at bardicgrove.org (Andrew Grimberg) Date: Fri, 28 May 2004 12:40:36 -0700 Subject: Database schema? In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F1B63E0@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F1B63E0@mismail2.ena.com> Message-ID: <1085773236.1473.14.camel@grimoire.bardicgrove.org> On Fri, 2004-05-28 at 11:44, Marc Powell wrote: > I've just grabbed the "nagios-1-x-bugfixes (1.x)" release from > http://www.nagios.org/cvs.php and they're still in there... Ahh... now I didn't know that I should pull that package down. I downloaded the one off of the Downloads link which has the package pointed to by SourceForge as the most recent (2-2-2004 v1.2) which is the version that Dag Wieers rolled the RPMs that I'm using with *sigh*. Thanks! -Andy- ------------------------------------------------------- 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 SGilbert at nvidia.com Fri May 28 22:11:59 2004 From: SGilbert at nvidia.com (Steve Gilbert) Date: Fri, 28 May 2004 13:11:59 -0700 Subject: Plugin to simulate a user login? Message-ID: Sorry if this has been asked before, but my searches didn't turn up anything. Just hoping somebody can help me not have to reinvent the wheel... I need a plugin that will ssh and/or telnet to a Unix (Linux and Solaris) host and performn an actual login. Ie, it needs to log in with an actual username and password and confirm that everything works okay. This would confirm that logins, NIS, automounter, etc. are all working. I'm having issues where machines will freeze up in various funky states, but still respond to pings just fine. Big Brother's telnet and ftp checks detect most of these problems, but I'm trying really hard to replace that with Nagios. The only way I can think to do this is with an Expect script of some sort. Has anyone already written such a thing, or know of a better way to solve this problem? Thanks! BTW...just using nrpe or check_by_ssh to, say confirm that ypbind is running, won't please my management...they want something that actually simulates what the user would do. I'm not sure if that makes sense or not, but it's my situation. Steve Gilbert Unix Systems Administrator sgilbert at nvidia.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 mshirley at ysi.com Sat May 29 23:03:13 2004 From: mshirley at ysi.com (mshirley at ysi.com) Date: Sat, 29 May 2004 17:03:13 -0400 Subject: Plugin to simulate a user login? Message-ID: expect expect expect expect. if you need help writing one just let me know off list but imho this is the only way to do what you need to do (properly). Mark Shirley IT Helpdesk YSI Incorporated |---------+----------------------------------------> | | "Steve Gilbert" | | | | | | Sent by: | | | nagios-users-admin at lists.sour| | | ceforge.net | | | | | | | | | 05/28/2004 04:11 PM | | | | |---------+----------------------------------------> >---------------------------------------------------------------------------------------------------------------| | | | To: | | cc: | | Subject: [Nagios-users] Plugin to simulate a user login? | >---------------------------------------------------------------------------------------------------------------| Sorry if this has been asked before, but my searches didn't turn up anything. Just hoping somebody can help me not have to reinvent the wheel... I need a plugin that will ssh and/or telnet to a Unix (Linux and Solaris) host and performn an actual login. Ie, it needs to log in with an actual username and password and confirm that everything works okay. This would confirm that logins, NIS, automounter, etc. are all working. I'm having issues where machines will freeze up in various funky states, but still respond to pings just fine. Big Brother's telnet and ftp checks detect most of these problems, but I'm trying really hard to replace that with Nagios. The only way I can think to do this is with an Expect script of some sort. Has anyone already written such a thing, or know of a better way to solve this problem? Thanks! BTW...just using nrpe or check_by_ssh to, say confirm that ypbind is running, won't please my management...they want something that actually simulates what the user would do. I'm not sure if that makes sense or not, but it's my situation. Steve Gilbert Unix Systems Administrator sgilbert at nvidia.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 ------------------------------------------------------- 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 Mark.Duling at biola.edu Sat May 29 00:02:24 2004 From: Mark.Duling at biola.edu (Mark Duling) Date: Fri, 28 May 2004 15:02:24 -0700 Subject: Plugin to simulate a user login? Message-ID: >The only way I can think to do this is with an Expect script of some >sort. Has anyone already written such a thing, or know of a better way >to solve this problem? Thanks! >expect expect expect expect. if you need help writing one just let me >know >off list but imho this is the only way to do what you need to do >(properly). There is a utility with expect called 'autoexpect' which will watch you do a login and record the session so you don't have to do the coding from scratch. You can tweak the autolearned script if necessary after you see how expect works. My distro doesn't include the autoexpect script and if yours doesn't either just download expect and get it. Here is the manpage for autoexpect. http://expect.nist.gov/example/autoexpect.man.html Mark ------------------------------------------------------- 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 lzhang at lbl.gov Sat May 29 02:40:18 2004 From: lzhang at lbl.gov (ling Zhang) Date: Fri, 28 May 2004 17:40:18 -0700 Subject: False positives after the Parent host recovered In-Reply-To: <2F29C1E275BF4F4E9DCAE48033A00B9D01030BFA@mail.ev3.net> References: <2F29C1E275BF4F4E9DCAE48033A00B9D01030BFA@mail.ev3.net> Message-ID: <000201c44515$87009a90$a9030380@linglaptop> Hi, This is the follow up to my first post. I summary, the problem went away after changing the service_check_timeout and host_check_timeout parameters of the main configuration file to a smaller value (in our case, 5 seconds). Those values were originally set to 60 seconds. Without reading the source code in detail, I can only provide a guess to the cause of the problem: Imagine a situation like this (using the same testing network in my first post and keep the default timeout values): Nagios--------Bridge------Parent Switch--------Child switch1 | | Child Switch2--------Child switch3 First, disconnect the link between "bridge" and "parent switch". Second, Nagios reports and only reports "parent switch down". After a few minutes, assuming the first event in the following list happened at time T1, T1: A check_host request to "child switch1" sent out by nagios. T1+35sec: Connection between ?Bridge? and ?Parent Switch? restored. T1+45sec: A check_host request to "parent switch" was sent by nagios and returned with "OK" status. Nagios in turn clears the "parent switch" down event. T1+60sec: The check_host request to "child switch1" finally timed out. Now, since "child-switch1"'s parent device is "UP", nagios in turn considers "child- switch1" as down and sends out alert based on that. T1+240sec (assuming the service check interval is set to 3 mins): A check_host request to "child switch1" was sent by nagios and returned with "OK" status. Nagios in turn clears the "child switch1" down event. If my theory above is right, reducing the timeout value REDUCES but does not eliminate the chance for the "recovery flapping" problem. So, what do you think? Thanks. Ling -----Original Message----- From: Wheeler, MG [mailto:MG at ev3.net] Sent: Thursday, May 20, 2004 11:37 AM To: ling Zhang; nagios-users at lists.sourceforge.net Cc: Gregory Bell; harper.mann at comcast.com; CHui Subject: RE: [Nagios-users] False positives after the Parent host recovered 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 ------------------------------------------------------- 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 Sat May 29 03:33:13 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 29 May 2004 11:33:13 +1000 Subject: Plugin to simulate a user login? In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Fri, May 28, 2004 at 05:41:59PM -0700 References: Message-ID: <20040529113311.A228@IPAustralia.Gov.AU> Dear Gentlemen, On Fri, May 28, 2004 at 05:41:59PM -0700, nagios-users-request at lists.sourceforge.net wrote: > > Message: 21 > Subject: Re: [Nagios-users] Plugin to simulate a user login? > To: "Steve Gilbert" > Cc: nagios-users at lists.sourceforge.net, > nagios-users-admin at lists.sourceforge.net > From: mshirley at ysi.com > Date: Sat, 29 May 2004 17:03:13 -0400 > > > expect expect expect expect=2E if you need help writing one just let m= > e know > off list but imho this is the only way to do what you need to do > (properly)=2E > You could also try the Perl modules Net::Telnet or Expect. >From the POD of Net::Telnet ' Here's an example that prints who's logged-on to the remote host sparky. In addition to a username and password, you must also know the user's shell prompt, which for this example is bash$ use Net::Telnet (); $t = new Net::Telnet (Timeout => 10, Prompt => '/bash\$ $/'); $t->open("sparky"); $t->login($username, $passwd); @lines = $t->cmd("/usr/bin/who"); print @lines; ' The advantages of these methods over TCL/Expect is that run time errors are caught instead of continuing to propogate garbage. Also in more elabourate applications the TCL quoting of RegExp is incomprehensible (add another \ there pal; no, one more). Expect/autoexpect is very fast to get going but hard to live with (ie doesn't do what you expect when there's a problem). 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: 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 mgursky at zmail.sk Sat May 29 21:41:49 2004 From: mgursky at zmail.sk (Martin) Date: Sat, 29 May 2004 21:41:49 +0200 Subject: Nagios-1.2 compilation error Message-ID: <40B8E77D.3020002@zmail.sk> Hi,I need help with me compilation Nagios-1.2.tar.gz I have Mandrake 10.0 Community. I don`t compile Nagios-1.2. Please help. Sorry for me english. Martin from Slovakia [root at server nagios-1.2]# ./configure loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking whether make sets ${MAKE}... (cached) yes checking for strip... (cached) /usr/bin/strip checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for ctype.h... (cached) yes checking for dirent.h... (cached) yes checking for errno.h... (cached) yes checking for fcntl.h... (cached) yes checking for getopt.h... (cached) yes checking for grp.h... (cached) yes checking for limits.h... (cached) yes checking for math.h... (cached) yes checking for pwd.h... (cached) yes checking for signal.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking for syslog.h... (cached) yes checking for unistd.h... (cached) yes checking for uio.h... (cached) no checking for sys/types.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/resource.h... (cached) yes checking for sys/wait.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/ipc.h... (cached) yes checking for sys/msg.h... (cached) yes checking for working const... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for tm_zone in struct tm... (cached) yes checking for mode_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking return type of signal handlers... (cached) void checking for uid_t in sys/types.h... (cached) yes checking type of array argument to getgroups... (cached) gid_t checking for strdup... (cached) yes checking for strstr... (cached) yes checking for strtoul... (cached) yes checking for initgroups... (cached) yes checking for type of socket size... size_t checking for mail... (cached) /bin/mail Init script directory: /etc/rc.d/init.d We'll use default routines (in xdata/xsddefault.*) for status data I/O... We'll use default routines (in xdata/xcddefault.*) for comment data I/O... We'll use template-based routines (in xdata/xedtemplate.*) for extended data I/O... We'll use default routines (in xdata/xrddefault.*) for retention data I/O... We'll use template-based routines (in xdata/xodtemplate.*) for object data I/O... We'll use default routines (in xdata/xpddefault.*) for performance data I/O... We'll use default routines (in xdata/xdddefault.*) for scheduled downtime data I/O... checking for main in -liconv... (cached) no checking for gdImagePng in -lgd (order 1)... (cached) yes GD library was found! checking for traceroute... (cached) /usr/sbin/traceroute checking for snprintf... (cached) yes checking for type va_list... yes checking for perl... (cached) /usr/bin/perl creating ./config.status creating Makefile creating subst creating pkginfo creating base/Makefile creating common/Makefile creating contrib/Makefile creating cgi/Makefile creating html/Makefile creating xdata/Makefile creating daemon-init creating html/index.html creating html/side.html creating common/config.h common/config.h is unchanged creating common/snprintf.h common/snprintf.h is unchanged creating base/nagios.h creating cgi/cgiutils.h cgi/cgiutils.h is unchanged Creating sample config files in sample-config/ ... *** 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/init.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) Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. [root at server nagios-1.2]# make all cd ./base && make make[1]: Entering directory `/home/martin/install/Nagios/nagios-1.2/base' gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddefault.c ../common/comments.c ../xdata/xcddefault.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddefault.c -lm -o nagios make[1]: Leaving directory `/home/martin/install/Nagios/nagios-1.2/base' cd ./cgi && make make[1]: Entering directory `/home/martin/install/Nagios/nagios-1.2/cgi' gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -lgd -lz -lm -lpng -ljpeg edata.o ../xdata/xedtemplate.c -o statusmap.cgi /root/tmp/ccgSwIh2.o(.text+0x3670): In function `load_image_from_file': /home/martin/install/Nagios/nagios-1.2/cgi/statusmap.c:2224: undefined reference to `gdImageCreateFromJpeg' collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/home/martin/install/Nagios/nagios-1.2/cgi' make: *** [all] Error 2 Martin ------------------------------------------------------- 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 Sat May 29 22:40:37 2004 From: slade at cryptoflow.net (Slade Edmonds) Date: Sat, 29 May 2004 13:40:37 -0700 Subject: Nagios-1.2 compilation error In-Reply-To: <40B8E77D.3020002@zmail.sk> References: <40B8E77D.3020002@zmail.sk> Message-ID: <40B8F545.2070401@cryptoflow.net> Martin wrote: > Hi,I need help with me compilation Nagios-1.2.tar.gz I have Mandrake > 10.0 Community. I don`t compile Nagios-1.2. Please help. Sorry for me > english. > Martin from Slovakia > > > [root at server nagios-1.2]# ./configure > loading cache ./config.cache > checking for a BSD compatible install... (cached) /usr/bin/install -c > checking for gcc... (cached) gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... (cached) yes > checking whether gcc accepts -g... (cached) yes > checking whether make sets ${MAKE}... (cached) yes > checking for strip... (cached) /usr/bin/strip > checking how to run the C preprocessor... (cached) gcc -E > checking for ANSI C header files... (cached) yes > checking whether time.h and sys/time.h may both be included... > (cached) yes > checking for sys/wait.h that is POSIX.1 compatible... (cached) yes > checking for ctype.h... (cached) yes > checking for dirent.h... (cached) yes > checking for errno.h... (cached) yes > checking for fcntl.h... (cached) yes > checking for getopt.h... (cached) yes > checking for grp.h... (cached) yes > checking for limits.h... (cached) yes > checking for math.h... (cached) yes > checking for pwd.h... (cached) yes > checking for signal.h... (cached) yes > checking for strings.h... (cached) yes > checking for string.h... (cached) yes > checking for syslog.h... (cached) yes > checking for unistd.h... (cached) yes > checking for uio.h... (cached) no > checking for sys/types.h... (cached) yes > checking for sys/time.h... (cached) yes > checking for sys/resource.h... (cached) yes > checking for sys/wait.h... (cached) yes > checking for sys/stat.h... (cached) yes > checking for sys/ipc.h... (cached) yes > checking for sys/msg.h... (cached) yes > checking for working const... (cached) yes > checking whether struct tm is in sys/time.h or time.h... (cached) time.h > checking for tm_zone in struct tm... (cached) yes > checking for mode_t... (cached) yes > checking for pid_t... (cached) yes > checking for size_t... (cached) yes > checking return type of signal handlers... (cached) void > checking for uid_t in sys/types.h... (cached) yes > checking type of array argument to getgroups... (cached) gid_t > checking for strdup... (cached) yes > checking for strstr... (cached) yes > checking for strtoul... (cached) yes > checking for initgroups... (cached) yes > checking for type of socket size... size_t > checking for mail... (cached) /bin/mail > Init script directory: /etc/rc.d/init.d > We'll use default routines (in xdata/xsddefault.*) for status data I/O... > We'll use default routines (in xdata/xcddefault.*) for comment data > I/O... > We'll use template-based routines (in xdata/xedtemplate.*) for > extended data I/O... > We'll use default routines (in xdata/xrddefault.*) for retention data > I/O... > We'll use template-based routines (in xdata/xodtemplate.*) for object > data I/O... > We'll use default routines (in xdata/xpddefault.*) for performance > data I/O... > We'll use default routines (in xdata/xdddefault.*) for scheduled > downtime data I/O... > checking for main in -liconv... (cached) no > checking for gdImagePng in -lgd (order 1)... (cached) yes > GD library was found! > checking for traceroute... (cached) /usr/sbin/traceroute > checking for snprintf... (cached) yes > checking for type va_list... yes > checking for perl... (cached) /usr/bin/perl > creating ./config.status > creating Makefile > creating subst > creating pkginfo > creating base/Makefile > creating common/Makefile > creating contrib/Makefile > creating cgi/Makefile > creating html/Makefile > creating xdata/Makefile > creating daemon-init > creating html/index.html > creating html/side.html > creating common/config.h > common/config.h is unchanged > creating common/snprintf.h > common/snprintf.h is unchanged > creating base/nagios.h > creating cgi/cgiutils.h > cgi/cgiutils.h is unchanged > > Creating sample config files in sample-config/ ... > > > *** 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/init.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) > > > Review the options above for accuracy. If they look okay, > type 'make all' to compile the main program and CGIs. > > > [root at server nagios-1.2]# make all > cd ./base && make > make[1]: Entering directory `/home/martin/install/Nagios/nagios-1.2/base' > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE nagios.c checks.o config.o > commands.o flapping.o logging.o notifications.o sehandlers.o utils.o > sretention.o ../xdata/xrddefault.c ../common/comments.c > ../xdata/xcddefault.c ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c perfdata.o > ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddefault.c > -lm -o nagios > make[1]: Leaving directory `/home/martin/install/Nagios/nagios-1.2/base' > cd ./cgi && make > make[1]: Entering directory `/home/martin/install/Nagios/nagios-1.2/cgi' > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o cgiutils.o > auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c -lgd -lz -lm -lpng > -ljpeg edata.o ../xdata/xedtemplate.c -o statusmap.cgi > /root/tmp/ccgSwIh2.o(.text+0x3670): In function `load_image_from_file': > /home/martin/install/Nagios/nagios-1.2/cgi/statusmap.c:2224: undefined > reference to `gdImageCreateFromJpeg' > collect2: ld returned 1 exit status > make[1]: *** [statusmap.cgi] Error 1 > make[1]: Leaving directory `/home/martin/install/Nagios/nagios-1.2/cgi' > make: *** [all] Error 2 > > > > > Martin > Did you install the GD graphics library? Looks like it could be missing. 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 jgarcia at suse.com.ve Sat May 29 22:29:19 2004 From: jgarcia at suse.com.ve (Javier Garcia) Date: Sat, 29 May 2004 16:29:19 -0400 (VET) Subject: nagios-stat In-Reply-To: References: Message-ID: Hi, I'm running nagios-stat in a SuSE server monitoring AIX systems too. I dont have any problem, but I running the command: ./nagios-stat -w 80 -c 95 disk 10.0.1.23 As you can see, the only difference with your command is the arguments for -w and -c, that means WARNING and CRITICAL percent for the disk space. Try this, can works. Regards, j. ---- Javier Garcia SuSE Linux C.A. jgarcia at suse.com.ve 0416-8678334 On Fri, 28 May 2004, Brian Hendrix wrote: > I have gotten nagios-statd and nagios-stat working between my nagios monitoring box (RedHat) and an AIX system. > > nagios-stat is working with all the check except the one I need the most * DISK. > > The command I am running from the nagios monitoring system (RedHat) is as follows: > > ./nagios-stat disk tsm01bap.baptisthospital.com > > The response I get back on the command line is as follows: > Server returned unusual data. > > Again, it works fine for all the other checks except disk. > > Any assistance is appreciated. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ><> ~~~ > Brian Hendrix > Team Leader > DTR Services > Saint Thomas Health Services > 2000 Church Street > Nashville, TN 37236 > > bhendrix at stthomas.org > (615) 284-5297 (work) > (615) 222-1704 (fax) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Whatever you do, do your work heartily, > as for the Lord rather than for men > - Colossians 3:23 > ~~~ ><> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > Confidentiality Notice: This email message, including any attachments, contains > information that is confidential and/or legally privileged. The information is intended > only for the individual(s) named above. If you are not the intended recipient or the > person responsible for delivering the email to the intended recipient, be advised that > you have received this email in error and that any use, dissemination, distribution, > forwarding, printing, or copying of this email is strictly prohibited. If you have received > this email in error, please purge it immediately and notify the sender. ------------------------------------------------------- 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 jgarcia at suse.com.ve Sat May 29 22:34:43 2004 From: jgarcia at suse.com.ve (Javier Garcia) Date: Sat, 29 May 2004 16:34:43 -0400 (VET) Subject: Database schema? In-Reply-To: <1085768860.1473.10.camel@grimoire.bardicgrove.org> References: <1085768860.1473.10.camel@grimoire.bardicgrove.org> Message-ID: Hi Andrew, Here is attached the contrib/databas folder for nagios-mysql database schemas... j. ---- Javier Garcia SuSE Linux C.A. jgarcia at suse.com.ve 0416-8678334 On Fri, 28 May 2004, Andrew Grimberg wrote: > Greetings folks, > > First time posting to the list, just joined, sorry if I'm rude... > haven't watched the list much ;) > > I'm looking to set Nagios up using MySQL. The documentation (or was it > whatsnew.html) says something about table definitions in the > contrib/database directory. I can't find this directory with the > distribution. Heck I can't find the directory in CVS either. > > Where can I get the database schemas? I would really, really like to > switch over to using MySQL for stuff. > > Sorry if it's a FAQ, I just can't find them anywhere and I've been > searching for some time now. > > -Andy- > > > ------------------------------------------------------- > 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 -------------- A non-text attachment was scrubbed... Name: contrib_database.tgz Type: application/x-gtar Size: 2402 bytes Desc: URL: From jgarcia at suse.com.ve Sat May 29 22:41:39 2004 From: jgarcia at suse.com.ve (Javier Garcia) Date: Sat, 29 May 2004 16:41:39 -0400 (VET) Subject: checking Windows local services In-Reply-To: <20040526201122.59130.qmail@restricted.dyndns.org> References: <20040526201122.59130.qmail@restricted.dyndns.org> Message-ID: Hi, what servics are monitoring? Nagios can monitoring any servics that give the answer by an specific port... if you need to monitoirng performance like disk space, memrory, CPU load, etc you need to install an client in the Win Machine... regards, j. ---- Javier Garcia SuSE Linux C.A. jgarcia at suse.com.ve 0416-8678334 On Wed, 26 May 2004, Neil wrote: > Hey guys, > > Currently, I am using nagios nrpe to check services on a remote Windows 2k > machine. It works but sometimes, very seldom, it times out, then service is > reported again OK on the next run. We are using another tool called Servers > Alive. To check a service on a remote Win2k, it only needs a username and a > password. Can we do the same thing to with Nagios by compiling it with samba > support? What's your recommendation? > > No TCP port checking please. > > Thanks in advance. > > Neil > > > ------------------------------------------------------- > 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 jgarcia at suse.com.ve Sat May 29 22:56:59 2004 From: jgarcia at suse.com.ve (Javier Garcia) Date: Sat, 29 May 2004 16:56:59 -0400 (VET) 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: Hi, if you read the readme.htm included in the ns_client.tgz file, you can found this information: --------------------------------------------------------------------------- Services States Syntax: check_nt -H -p -v SERVICESTATE [-d SHOWALL] -l [,,,...] * should be the real name of the service, not the displayed name. You can find this information when going to the registry for the corresponding service : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services or use the free utility: 'Service Manager NT' : http://www-rnks.informatik.tu-cottbus.de/~fsch/english/nttols.htm * -d SHOWALL can be specified if you want to see all tested services including started ones. You can specify serveral services in one request. No blank should appear in the list ! If not all services are running, you get the faulty one(s) and a critical state. Example: ./check_nt -H 192.168.1.1 -p 1248 -v SERVICESTATE -d SHOWALL -l LanmanServer,Schedule ------------------------------------------------------------------------------------ Then, as you can see, first you have to check if the service is in ithe list, and the must be without blank spaces... chers, j. ---- Javier Garcia SuSE Linux C.A. jgarcia at suse.com.ve 0416-8678334 On Thu, 20 May 2004, 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?k > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 jgarcia at suse.com.ve Sat May 29 23:06:08 2004 From: jgarcia at suse.com.ve (Javier Garcia) Date: Sat, 29 May 2004 17:06:08 -0400 (VET) Subject: Database schema? In-Reply-To: References: <1085768860.1473.10.camel@grimoire.bardicgrove.org> Message-ID: Hi Andrew, Here is attached the contrib/database file for nagios-mysql database schemas... j. ---- Javier Garcia SuSE Linux C.A. jgarcia at suse.com.ve 0416-8678334 > On Fri, 28 May 2004, Andrew Grimberg wrote: > > > Greetings folks, > > > > First time posting to the list, just joined, sorry if I'm rude... > > haven't watched the list much ;) > > > > I'm looking to set Nagios up using MySQL. The documentation (or was it > > whatsnew.html) says something about table definitions in the > > contrib/database directory. I can't find this directory with the > > distribution. Heck I can't find the directory in CVS either. > > > > Where can I get the database schemas? I would really, really like to > > switch over to using MySQL for stuff. > > > > Sorry if it's a FAQ, I just can't find them anywhere and I've been > > searching for some time now. > > > > -Andy- > > > > > > ------------------------------------------------------- > > 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 -------------- # phpMyAdmin MySQL-Dump # http://phpwizard.net/phpMyAdmin/ # # Host: localhost Database : nagios # -------------------------------------------------------- # # Table structure for table 'hostcomments' # CREATE TABLE hostcomments ( hostcomment_id int(11) DEFAULT '0' NOT NULL auto_increment, host_name varchar(75) NOT NULL, entry_time datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, persistent tinyint(4) DEFAULT '0' NOT NULL, author_name varchar(75) NOT NULL, comment_data blob NOT NULL, PRIMARY KEY (hostcomment_id) ); # -------------------------------------------------------- # # Table structure for table 'hostdowntime' # CREATE TABLE hostdowntime ( hostdowntime_id int(11) DEFAULT '0' NOT NULL auto_increment, host_name varchar(75) NOT NULL, entry_time datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, start_time datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, end_time datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, fixed tinyint(4) DEFAULT '0' NOT NULL, duration bigint(20) DEFAULT '0' NOT NULL, author_name varchar(75) NOT NULL, comment_data blob NOT NULL, PRIMARY KEY (hostdowntime_id) ); # -------------------------------------------------------- # # Table structure for table 'hostextinfo' # CREATE TABLE hostextinfo ( host_name varchar(75) NOT NULL, notes_url varchar(128) NOT NULL, icon_image varchar(32) NOT NULL, vrml_image varchar(32) NOT NULL, gd2_icon_image varchar(32) NOT NULL, icon_image_alt varchar(128) NOT NULL, x_2d int(11) DEFAULT '-1' NOT NULL, y_2d int(11) DEFAULT '-1' NOT NULL, x_3d double(16,4) DEFAULT '-1.0000' NOT NULL, y_3d double(16,4) DEFAULT '-1.0000' NOT NULL, z_3d double(16,4) DEFAULT '-1.0000' NOT NULL, have_2d_coords tinyint(4) DEFAULT '0' NOT NULL, have_3d_coords tinyint(4) DEFAULT '0' NOT NULL ); # -------------------------------------------------------- # # Table structure for table 'hostretention' # CREATE TABLE hostretention ( host_name varchar(75) NOT NULL, host_state tinyint(4) DEFAULT '0' NOT NULL, last_check int(11) DEFAULT '0' NOT NULL, checks_enabled tinyint(4) DEFAULT '0' NOT NULL, time_up int(11) DEFAULT '0' NOT NULL, time_down int(11) DEFAULT '0' NOT NULL, time_unreachable int(11) DEFAULT '0' NOT NULL, last_notification int(11) DEFAULT '0' NOT NULL, current_notification int(11) DEFAULT '0' NOT NULL, notifications_enabled tinyint(4) DEFAULT '0' NOT NULL, event_handler_enabled tinyint(4) DEFAULT '0' NOT NULL, problem_has_been_acknowledged tinyint(4) DEFAULT '0' NOT NULL, plugin_output blob NOT NULL, flap_detection_enabled tinyint(4) DEFAULT '0' NOT NULL, failure_prediction_enabled tinyint(4) DEFAULT '0' NOT NULL, process_performance_data tinyint(4) DEFAULT '0' NOT NULL, last_state_change int(11) DEFAULT '0' NOT NULL ); # -------------------------------------------------------- # # Table structure for table 'hoststatus' # CREATE TABLE hoststatus ( host_name varchar(75) NOT NULL, host_status varchar(16) NOT NULL, last_update datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, last_check datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, last_state_change datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, problem_acknowledged tinyint(4) DEFAULT '0' NOT NULL, time_up int(11) DEFAULT '0' NOT NULL, time_down int(11) DEFAULT '0' NOT NULL, time_unreachable int(11) DEFAULT '0' NOT NULL, last_notification datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, current_notification int(11) DEFAULT '0' NOT NULL, notifications_enabled tinyint(4) DEFAULT '0' NOT NULL, event_handler_enabled tinyint(4) DEFAULT '0' NOT NULL, checks_enabled tinyint(4) DEFAULT '0' NOT NULL, plugin_output blob, flap_detection_enabled tinyint(4) DEFAULT '0' NOT NULL, is_flapping tinyint(4) DEFAULT '0' NOT NULL, percent_state_change float(10,2) DEFAULT '0.00' NOT NULL, scheduled_downtime_depth int(11) DEFAULT '0' NOT NULL, failure_prediction_enabled tinyint(4) DEFAULT '0' NOT NULL, process_performance_data tinyint(4) DEFAULT '0' NOT NULL ); # -------------------------------------------------------- # # Table structure for table 'programretention' # CREATE TABLE programretention ( execute_service_checks tinyint(4) DEFAULT '0' NOT NULL, accept_passive_checks tinyint(4) DEFAULT '0' NOT NULL, enable_event_handlers tinyint(4) DEFAULT '0' NOT NULL, obsess_over_services tinyint(4) DEFAULT '0' NOT NULL, enable_flap_detection tinyint(4) DEFAULT '0' NOT NULL, enable_notifications tinyint(4) DEFAULT '0' NOT NULL, enable_failure_prediction tinyint(4) DEFAULT '0' NOT NULL, process_performance_data tinyint(4) DEFAULT '0' NOT NULL ); # -------------------------------------------------------- # # Table structure for table 'programstatus' # CREATE TABLE programstatus ( last_update datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, program_start datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, daemon_mode tinyint(4) DEFAULT '0' NOT NULL, nagios_pid int(11) DEFAULT '0' NOT NULL, last_command_check datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, last_log_rotation datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, execute_service_checks tinyint(4) DEFAULT '0' NOT NULL, accept_passive_service_checks tinyint(4) DEFAULT '0' NOT NULL, enable_event_handlers tinyint(4) DEFAULT '0' NOT NULL, obsess_over_services tinyint(4) DEFAULT '0' NOT NULL, enable_flap_detection tinyint(4) DEFAULT '0' NOT NULL, enable_notifications tinyint(4) DEFAULT '0' NOT NULL, enable_failure_prediction tinyint(4) DEFAULT '0' NOT NULL, process_performance_data tinyint(4) DEFAULT '0' NOT NULL ); # -------------------------------------------------------- # # Table structure for table 'servicecomments' # CREATE TABLE servicecomments ( servicecomment_id int(11) DEFAULT '0' NOT NULL auto_increment, host_name varchar(75) NOT NULL, service_description varchar(128) NOT NULL, persistent tinyint(4) DEFAULT '0' NOT NULL, entry_time datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, author_name varchar(75) NOT NULL, comment_data blob NOT NULL, PRIMARY KEY (servicecomment_id) ); # -------------------------------------------------------- # # Table structure for table 'servicedowntime' # CREATE TABLE servicedowntime ( servicedowntime_id int(11) DEFAULT '0' NOT NULL auto_increment, host_name varchar(75) NOT NULL, service_description varchar(128) NOT NULL, entry_time datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, start_time datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, end_time datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, fixed tinyint(4) DEFAULT '0' NOT NULL, duration bigint(20) DEFAULT '0' NOT NULL, author_name varchar(75) NOT NULL, comment_data blob NOT NULL, PRIMARY KEY (servicedowntime_id) ); # -------------------------------------------------------- # # Table structure for table 'serviceextinfo' # CREATE TABLE serviceextinfo ( host_name varchar(75) NOT NULL, service_description varchar(128) NOT NULL, notes_url varchar(128) NOT NULL, icon_image varchar(32) NOT NULL, icon_image_alt varchar(128) NOT NULL ); # -------------------------------------------------------- # # Table structure for table 'serviceretention' # CREATE TABLE serviceretention ( host_name varchar(75) NOT NULL, service_description varchar(128) NOT NULL, service_state tinyint(4) DEFAULT '0' NOT NULL, last_check int(11) DEFAULT '0' NOT NULL, check_type tinyint(4) DEFAULT '0' NOT NULL, time_ok int(11) DEFAULT '0' NOT NULL, time_warning int(11) DEFAULT '0' NOT NULL, time_unknown int(11) DEFAULT '0' NOT NULL, time_critical int(11) DEFAULT '0' NOT NULL, last_notification int(11) DEFAULT '0' NOT NULL, current_notification int(11) DEFAULT '0' NOT NULL, notifications_enabled tinyint(4) DEFAULT '0' NOT NULL, checks_enabled tinyint(4) DEFAULT '0' NOT NULL, accept_passive_checks tinyint(4) DEFAULT '0' NOT NULL, event_handler_enabled tinyint(4) DEFAULT '0' NOT NULL, problem_has_been_acknowledged tinyint(4) DEFAULT '0' NOT NULL, plugin_output blob NOT NULL, flap_detection_enabled tinyint(4) DEFAULT '0' NOT NULL, failure_prediction_enabled tinyint(4) DEFAULT '0' NOT NULL, process_performance_data tinyint(4) DEFAULT '0' NOT NULL, obsess_over_service tinyint(4) DEFAULT '0' NOT NULL, last_state_change int(11) DEFAULT '0' NOT NULL ); # -------------------------------------------------------- # # Table structure for table 'servicestatus' # CREATE TABLE servicestatus ( host_name varchar(75) NOT NULL, service_description varchar(128) NOT NULL, service_status varchar(16) NOT NULL, last_update datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, current_attempt int(11) DEFAULT '0' NOT NULL, max_attempts int(11) DEFAULT '0' NOT NULL, state_type varchar(5) DEFAULT '0' NOT NULL, last_check datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, next_check datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, should_be_scheduled tinyint(4) DEFAULT '0' NOT NULL, check_type varchar(8) DEFAULT '0' NOT NULL, checks_enabled tinyint(4) DEFAULT '0' NOT NULL, accept_passive_checks tinyint(4) DEFAULT '0' NOT NULL, event_handler_enabled tinyint(4) DEFAULT '0' NOT NULL, last_state_change datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, problem_acknowledged tinyint(4) DEFAULT '0' NOT NULL, last_hard_state varchar(16) NOT NULL, time_ok int(11) DEFAULT '0' NOT NULL, time_warning int(11) DEFAULT '0' NOT NULL, time_unknown int(11) DEFAULT '0' NOT NULL, time_critical int(11) DEFAULT '0' NOT NULL, last_notification datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, current_notification int(11) DEFAULT '0' NOT NULL, notifications_enabled tinyint(4) DEFAULT '0' NOT NULL, latency int(11) DEFAULT '0' NOT NULL, execution_time int(11) DEFAULT '0' NOT NULL, plugin_output blob NOT NULL, flap_detection_enabled tinyint(4) DEFAULT '0' NOT NULL, is_flapping tinyint(4) DEFAULT '0' NOT NULL, percent_state_change float(10,2) DEFAULT '0.00' NOT NULL, scheduled_downtime_depth int(11) DEFAULT '0' NOT NULL, failure_prediction_enabled tinyint(4) DEFAULT '0' NOT NULL, process_performance_data tinyint(4) DEFAULT '0' NOT NULL, obsess_over_service tinyint(4) DEFAULT '0' NOT NULL ); From ae at op5.se Sun May 30 01:17:21 2004 From: ae at op5.se (Andreas Ericsson) Date: Sun, 30 May 2004 01:17:21 +0200 Subject: Killfile both of them (Was: Paulie, dear friend. ;-)) In-Reply-To: <20040528161606.20951.qmail@minnow.softflare.net> References: <20040525115805.16639.qmail@minnow.softflare.net> <1085509616.11596.15.camel@tesuji.nac.uci.edu> <20040526181232.30956.qmail@minnow.softflare.net> <40B59B2D.4090108@op5.se> <20040527094804.17066.qmail@minnow.softflare.net> <40B5E6B4.9060800@op5.se> <20040527162244.18480.qmail@minnow.softflare.net> <40B72C41.4080300@op5.se> <20040528161606.20951.qmail@minnow.softflare.net> Message-ID: <40B91A01.5090205@op5.se> I'm fed up with this discussion, and it's leading nowhere. Those who want to know what the GPL says about things can have a look at http://www.gnu.org. It has a lot to say about freedom, but very little about obligations. -- 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 ohoyer at ohoyer.de Mon May 31 00:02:20 2004 From: ohoyer at ohoyer.de (Olaf Hoyer) Date: Mon, 31 May 2004 00:02:20 +0200 (CEST) Subject: Plugin to simulate a user login? In-Reply-To: References: Message-ID: <20040530235604.F49195@gaff.hhhr.ision.net> On Fri, 28 May 2004, Steve Gilbert wrote: > Sorry if this has been asked before, but my searches didn't turn up > anything. Just hoping somebody can help me not have to reinvent the > wheel... > > I need a plugin that will ssh and/or telnet to a Unix (Linux and > Solaris) host and performn an actual login. Ie, it needs to log in with > an actual username and password and confirm that everything works okay. > This would confirm that logins, NIS, automounter, etc. are all working. > Well, the short way would be to use ssh host keys, that means, keys without a passphrase. So check_by_ssh can log into an existing account, and perform some more checks there... HTH Olaf -- Olaf Hoyer ohoyer at gaff.hhhr.ision.net Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ------------------------------------------------------- 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 kurt at raschke.net Mon May 31 20:43:24 2004 From: kurt at raschke.net (Kurt Raschke) Date: Mon, 31 May 2004 14:43:24 -0400 Subject: Possible problem with notifications in Nagios 1.2 Message-ID: <20040531184324.GB5661@raschke.net> I have been trying to set up Nagios 1.2 to replace Big Brother, but I have found that Nagios only sends out notifications sporadically; even though the web interface may indicate a host as being down, no notifications are sent. The Nagios server is running on Solaris 9, and I have occasionally gotten it to send notifications, so the notification commands do appear to be set up properly, it's just that the commands aren't even being run when a host/service goes down. I have seen other reports of this issue on the squareBOX forums; see http://makeashorterlink.com/?L39D12078 for more examples of this issue. I noticed in the changelog for 1.2 that the notification logic was changed. Is it possible that that was where the bug came from? -Kurt Raschke ------------------------------------------------------- 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 dmourati at cm.math.uiuc.edu Mon May 31 20:52:16 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Mon, 31 May 2004 13:52:16 -0500 (CDT) Subject: Possible problem with notifications in Nagios 1.2 In-Reply-To: <20040531184324.GB5661@raschke.net> References: <20040531184324.GB5661@raschke.net> Message-ID: On Mon, 31 May 2004, Kurt Raschke wrote: > I have been trying to set up Nagios 1.2 to replace Big Brother, but I > have found that Nagios only sends out notifications sporadically; even > though the web interface may indicate a host as being down, no > notifications are sent. Kurt, Notifications are highly configurable and your specific configuration may lead to being notified "sporadically." Specifically, Nagios will only send out notifications on a hard state change, rather than a soft state change. For more information on this distinction, and how to configure notifications properly for your environment, please see the following: http://nagios.sourceforge.net/docs/1_0/notifications.html http://nagios.sourceforge.net/docs/1_0/statetypes.html Good luck in your migration. --------------------------------------------------------------------- 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 kurt at raschke.net Mon May 31 21:27:20 2004 From: kurt at raschke.net (Kurt Raschke) Date: Mon, 31 May 2004 15:27:20 -0400 Subject: Possible problem with notifications in Nagios 1.2 In-Reply-To: References: <20040531184324.GB5661@raschke.net> Message-ID: <20040531192720.GC5661@raschke.net> On Mon, May 31, 2004 at 01:52:16PM -0500, Demetri Mouratis wrote: > Kurt, > > Notifications are highly configurable and your specific configuration may > lead to being notified "sporadically." Specifically, Nagios will only > send out notifications on a hard state change, rather than a soft state > change. For more information on this distinction, and how to configure > notifications properly for your environment, please see the following: > > http://nagios.sourceforge.net/docs/1_0/notifications.html > http://nagios.sourceforge.net/docs/1_0/statetypes.html > > Good luck in your migration. > Demetri Mouratis > dmourati at linfactory.com Thank you for your assistance. Even though I though I had checked my configuration files several times in an effort to find the problem, I found a few things which, after re-reading the documentation, turned out to be the problem, and notifications are now working well. So, thanks for your advice. -Kurt ------------------------------------------------------- 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 wp.junior at terra.com.br Mon May 31 22:28:52 2004 From: wp.junior at terra.com.br (Wilson Pires Jr) Date: Mon, 31 May 2004 17:28:52 -0300 Subject: Upgrading from nagios 1.0 to 1.2 In-Reply-To: <20040531184324.GB5661@raschke.net> References: <20040531184324.GB5661@raschke.net> Message-ID: <20040531202624.725743C056@estero.terra.com.br> Hi all. I'm running nagios 1.0 on RedHat 7.2 and it works well. I'm panning to upgrade to nagios 1.2, using s=the same machine (RH 7.2). Is there some recommendation, or tutorial? If I install using: # tar -zxvf ... # make all ... # make install ... my new nagios (1.2) will replace the old one and run automatically? Regards wpj ------------------------------------------------------- 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