From nagios-users at lists.sourceforge.net Thu Jan 1 05:27:53 2004 From: nagios-users at lists.sourceforge.net (nagios-users at lists.sourceforge.net) Date: Thu, 1 Jan 2004 02:27:53 -0200 Subject: Mensagem automática Message-ID: <200401010427.i014Rrw01129@estacio.br> Oie nagios-users-request at lists.sourceforge.net Informo que o partir das 19:00h do dia 19 de dezembro de 2003 at? as 10:00h do dia 5 de janeiro de 2004, estarei em fase de recesso. Desejo a todos um Feliz Natal e um Ano Novo repleto de realiza??es. E assim que retornar eu respondo ao seu e-mail. Bjos Eddy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 compata.com Thu Jan 1 05:42:23 2004 From: dave at compata.com (Dave Close) Date: Wed, 31 Dec 2003 20:42:23 -0800 Subject: Mensagem autom tica In-Reply-To: Your message of "Thu, 01 Jan 2004 02:27:53 -0200." <200401010427.i014Rrw01129@estacio.br> References: <200401010427.i014Rrw01129@estacio.br> Message-ID: <200401010442.i014gNJ08962@biz.compata.com> Does this list have a manager? Can't something be done about this crap? -- Dave Close, Compata, Costa Mesa CA "Whenever you have a secret, dave at compata.com, +1 714 434 7359 you have a vulnerability." dhclose at alumni.caltech.edu -- Whitfield Diffie ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dguntner at doit.nv.gov Fri Jan 2 01:46:01 2004 From: Dguntner at doit.nv.gov (David R. Guntner) Date: Thu, 1 Jan 2004 16:46:01 -0800 Subject: Mensagem autom tica Message-ID: > -----Original Message----- > From: Dave Close > > Does this list have a manager? Can't something be done about > this crap? I think we are on autopilot, sadly. List posting doesn't seem to be restricted to list membership, as evidenced by the spam posted to the list from names which hardly seem likely to have actually *subscribed*. A well-run list would restrict posting to list members only, and when a member of the list started posted autoreplies to the list, they would be removed. If the list owner is reading any of this, he/she would do well to consider this.... :-) --Dave ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ejl at man.fwltech.com Fri Jan 2 11:27:52 2004 From: ejl at man.fwltech.com (Ewan Leith) Date: Fri, 2 Jan 2004 10:27:52 -0000 Subject: Archives of NRPE Message-ID: <1012BD903945D411915500105A48FF5701C73CCA@nt.man.fwltech.com> The sourceforge site hosts them at: http://sourceforge.net/project/showfiles.php?group_id=26589&package_id=40241 Ewan -----Original Message----- From: Donahue, Pat [mailto:PDonahue at acmicorp.com] Sent: 31 December 2003 17:48 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Archives of NRPE Hello, Does anyone know where I can download versions of NRPE 1.x? I'm forced to use 1.8 on HP-UX 11.00 and therefore cannot use 2.0 on my Nagios host because of backwards compatibility issues. Thanks, Pat Donahue ACMI Corporation ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Fri Jan 2 14:56:16 2004 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Fri, 2 Jan 2004 08:56:16 -0500 Subject: regular scheduled maintenance Message-ID: I have tried to create a custom time period to exclude a given time range, but it doesn't seem to work. I'm using nagios 1.1 w/ mysql on Debian unstable. Does anyone have a custom time period working? Can you share the code snippet and how you use it in services.cfg? ---- Charles H. Baker Unix/Linux Systems Administrator Red Hat Certified Engineer chbaker at ps dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 If you do what you have always done, you will get what you have always gotten. --Paul J. Meyer "Voon, Ton" To: "'valen at tuatha.org'" , Sent by: nagios-users at lists.sourceforge.net nagios-users-admin at lists.sour cc: ceforge.net Subject: RE: [Nagios-users] regular scheduled maintenance 12/24/2003 09:23 AM Best thing to do is define a timeperiod which excludes the 2am period. > -----Original Message----- > From: John P. Looney [mailto:valen at tuatha.org] > Sent: Wednesday, December 24, 2003 11:33 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] regular scheduled maintenance > > > I've nagios setup to email me when stuff goes down. > > One server, a win2k webserver is restarted around 02:00 every day, so > it'll be vaugely stable during the day. Is there anyway of > telling nagios > not to mail me then ? > > Can I use cron to set "don't notify" and "now notify again" for that > particular server ? > > John > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign > up for IBM's > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 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 carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 multimap.com Fri Jan 2 15:10:23 2004 From: Karl at multimap.com (Karl Skidmore) Date: Fri, 2 Jan 2004 14:10:23 -0000 Subject: NRPE with Apan? Message-ID: <781DF5926EB3CA41B0F31054D3330BFD5AC75B@mail02> Hi Matthew, If you've since managed to hack Apan to handle NRPE2 then I'd be interested to know. Cheers... Karl Multimap.com From: dsl.pipex.com> Subject: NRPE with Apan? Newsgroups: gmane.network.nagios.user Date: Fri, 19 Dec 2003 14:43:40 +0000 Has anyone hacked Apan to use check_nrpe? Seems like it would be relatively simple but I don't want to reinvent the wheel. I will be using my own homebrew plugins over NRPE. Matthew Wilson DC-Sat.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From chaingvi at esstin.uhp-nancy.fr Fri Jan 2 16:03:07 2004 From: chaingvi at esstin.uhp-nancy.fr (viseth chaing) Date: Fri, 2 Jan 2004 16:03:07 +0100 Subject: Nagios-1.1 and Mysql-4.0.17 Message-ID: <1073055787.3ff5882b06659@www.esstin.u-nancy.fr> Hi Everyone, First, I wish you a happy new year 2004. Second, can you help me to figure out why when compilling Nagios-1.1=20 to run with Mysql-4.0.17, it didn't want to compile without error: here is the commande line I provided: > > ./configure --with-command-grp=3Dnagiocmd --with-gd-lib=3D/usr/lib=20 > --with-gd-inc=3D/usr/include --with-mysql-lib=3D/usr/local/mysql/lib/my= sql=20 > --with-mysql-inc=3D/usr/local/mysql/include/mysql --with-mysql-xdata And the outcome seems to be good > > [root at icom12 nagios-1.1]# make all > cd ./base && make > make[1]: Entre dans le r=E9pertoire `/usr/local/nagios-1.1/base' > gcc -g -O2 -I/usr/local/mysql/include/mysql -DHAVE_CONFIG_H -DNSCORE=20 > -L/usr/local/mysql/lib/mysql -lmysqlclient nagios.c checks.o config.o=20 > commands.o flapping.o logging.o notifications.o sehandlers.o utils.o=20 > sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c=20 > ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c=20 > ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c=20 > ../xdata/xdddb.c -lm -o nagios > sretention.o: In function `save_state_information': > /usr/local/nagios-1.1/base/sretention.c:86: undefined reference to=20 > `xrddefault_save_state_information' > sretention.o: In function `read_initial_state_information': > /usr/local/nagios-1.1/base/sretention.c:122: undefined reference to=20 > `xrddefault_read_state_information' > collect2: ld a retourn=E9 1 code d'=E9tat d'ex=E9cution > make[1]: *** [nagios] Erreur 1 > make[1]: Quitte le r=E9pertoire `/usr/local/nagios-1.1/base' > make: *** [all] Erreur 2 An here I got some error messages. I try to stick with the drill to=20 follow but I didn't work. Any help would be greatly appreciated, many thx, Viseth ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Fri Jan 2 16:58:17 2004 From: skip at pobox.com (Skip Montanaro) Date: Fri, 2 Jan 2004 09:58:17 -0600 Subject: Mensagem autom tica In-Reply-To: References: Message-ID: <16373.38169.685903.338290@montanaro.dyndns.org> David> A well-run list would restrict posting to list members only, and David> when a member of the list started posted autoreplies to the list, David> they would be removed. If the list owner is reading any of this, David> he/she would do well to consider this.... :-) My guess is that the person who administers the nagios-users list would welcome help moderating the mailing list. We all have a limited amount of time and thus can't do everything we'd like. My personal experience is that as mailing lists I manage grow, the time it takes to manage them grows as well, so I inevitably wind up asking for help with moderation. -- Skip Montanaro Got gigs? http://www.musi-cal.com/submit.html Got spam? http://spambayes.sf.net/ skip at pobox.com ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mraful at networkxpert.com Fri Jan 2 20:28:00 2004 From: mraful at networkxpert.com (Mitch Raful) Date: Fri, 2 Jan 2004 11:28:00 -0800 Subject: Multiple notifications Message-ID: <20040102162808.GMSD3734.out006.verizon.net@[127.0.0.1]> I have nagios configured to send a notification once per host when it is detected as down. However, nagios sends notifications in triplicate. What did I miss in the configs? ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjdock at excite.com Fri Jan 2 19:34:41 2004 From: cjdock at excite.com (ChuckDock) Date: Fri, 2 Jan 2004 13:34:41 -0500 (EST) Subject: notifications_options.. Message-ID: <20040102183441.A8134B70C@xprdmailfe14.nwk.excite.com> I know this is a dumb questions but I can't find the answer in the manual or web site.. notification_options in the host.cfg, d,u,r...what do they stand for and what other ones are available? _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amen at oreilly.com Fri Jan 2 19:34:09 2004 From: amen at oreilly.com (Bob Amen) Date: Fri, 02 Jan 2004 10:34:09 -0800 Subject: regular scheduled maintenance In-Reply-To: References: Message-ID: <3FF5B9A1.1060005@oreilly.com> chbaker at powersystems.rockwell.com wrote: > I have tried to create a custom time period to exclude a given time range, > but it doesn't seem to work. I'm using nagios 1.1 w/ mysql on Debian > unstable. Does anyone have a custom time period working? Can you share the > code snippet and how you use it in services.cfg? I do it with a short script, using cron, rather than configuring a custom time period. The shell script is attached. Cheers, Bob >> Can I use cron to set "don't notify" and "now notify again" for that >>particular server ? -- Bob Amen O'Reilly & Associates, Inc. http://www.ora.com/ http://www.oreilly.com/ -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: schedule_host_downtime URL: From pradeeph at yahoo-inc.com Fri Jan 2 19:45:28 2004 From: pradeeph at yahoo-inc.com (Pradeep Hodigere) Date: Fri, 2 Jan 2004 10:45:28 -0800 (PST) Subject: notifications_options.. In-Reply-To: <20040102183441.A8134B70C@xprdmailfe14.nwk.excite.com> References: <20040102183441.A8134B70C@xprdmailfe14.nwk.excite.com> Message-ID: <20040102104151.G63119@lemon.corp.yahoo.com> d = send notifications on a DOWN state u = send notifications on an UNREACHABLE state r = send notifications on recoveries n = no notifications are sent documentation on http://nagios.sourceforge.net/docs/1_0/xodtemplate.html On Fri, 2 Jan 2004, ChuckDock wrote: > > > > I know this is a dumb questions but I can't find the answer in the manual or web site.. > > notification_options in the host.cfg, d,u,r...what do they stand for and what other ones are available? > > > > > > > > > > _______________________________________________ > Join Excite! - http://www.excite.com > The most personalized portal on the Web! > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 lists.sourceforge.net Sat Jan 3 05:08:08 2004 From: nagios-users at lists.sourceforge.net (nagios-users at lists.sourceforge.net) Date: Sat, 3 Jan 2004 02:08:08 -0200 Subject: Mensagem automática Message-ID: <200401030408.i03488p11411@estacio.br> Oie nagios-users-request at lists.sourceforge.net Informo que o partir das 19:00h do dia 19 de dezembro de 2003 at? as 10:00h do dia 5 de janeiro de 2004, estarei em fase de recesso. Desejo a todos um Feliz Natal e um Ano Novo repleto de realiza??es. E assim que retornar eu respondo ao seu e-mail. Bjos Eddy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jan 3 06:23:16 2004 From: luke at madstop.com (Luke A. Kanies) Date: Fri, 2 Jan 2004 23:23:16 -0600 (CST) Subject: Generating Nagios LDAP Schema Message-ID: Hi all, This is probably more of interest to those who expressed interest in an LDAP-based config generator.... I've got an example LDAP schema built (you can see it at http://luke.madstop.com/nagios.schema), but I realized that my mechanism for generating it is silly. Basically, I manually went through and associated the options I knew of with object types. Obviously, if I'm going to generate a schema based on something else, I should generate it based on the Nagios code itself, so that if the code changes the schema also changes (and also so that I actually have all of the options; I noticed I missed a heckuva a lot). So, before I went into trying to figure out where the data is (it looks like it's all defined in xdata/xodtemplate.h), I figured I'd see if anyone else is already doing something like this. In fact, it looks like that xodtemplate.h file itself is possibly even generated (given the weird syntax and indentation in some cases). Has anyone used this file to generate anything else? Is this file itself generated? If so, from what, and how? Is this even the file I want? Basically, I want to write a script to convert Nagios's object/attribute relationships into LDAP objectclass/attribute relationships. I want to be able to just point this script at a Nagios src repository and have it build the schema file. Anyone have any ideas? I can do it all myself if necessary, but if someone else already knows of a good way to take advantage of the xodtemplate.h stuff, I'd appreciate being let in on the secret. BTW -- to those who expressed interest in LDAP configuration generation: Should we start a separate list? I expect there aren't a lot of us, but we might end up with a decent amount of traffic. We could just start with a simple mail alias (I'd be glad to maintain it), and then maybe create a "real" list later. Thanks, Luke -- I am not a vegetarian because I love animals; I am a vegetarian because I hate plants. -- A. Whitney Brown ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rolf at berkenbosch.nl Sat Jan 3 15:36:49 2004 From: rolf at berkenbosch.nl (Rolf Berkenbosch) Date: Sat, 3 Jan 2004 15:36:49 +0100 Subject: change setting for undetermined times Message-ID: <00c401c3d207$058d3490$0700000a@berkenboschnet.nl> Hi All, I read in the FAQ that I have to change the settings below: The Nagios process was restarted one or more times during the reporting period. If you have state retention enabled, set the Assume state retention option to yes. If you do not have state retention enabled, you might try setting the Assume initial states option to yes. Where can I find this options: - Assume state retention - Assume initial states ??????? I looked in the files in the etc directory of nagios. Please help.. Rolf -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios-users at lists.sourceforge.net Sun Jan 4 05:05:45 2004 From: nagios-users at lists.sourceforge.net (nagios-users at lists.sourceforge.net) Date: Sun, 4 Jan 2004 02:05:45 -0200 Subject: Mensagem automática Message-ID: <200401040405.i0445jZ15958@estacio.br> Oie nagios-users-request at lists.sourceforge.net Informo que o partir das 19:00h do dia 19 de dezembro de 2003 at? as 10:00h do dia 5 de janeiro de 2004, estarei em fase de recesso. Desejo a todos um Feliz Natal e um Ano Novo repleto de realiza??es. E assim que retornar eu respondo ao seu e-mail. Bjos Eddy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vseerror at Lehigh.EDU Sun Jan 4 05:13:54 2004 From: vseerror at Lehigh.EDU (Wayne Mery) Date: Sat, 03 Jan 2004 23:13:54 -0500 Subject: List management [was Re: Mensagem autom tica] In-Reply-To: <16373.38169.685903.338290@montanaro.dyndns.org> References: <16373.38169.685903.338290@montanaro.dyndns.org> Message-ID: <3FF79302.60104@lehigh.edu> Skip Montanaro wrote: > David> A well-run list would restrict posting to list members only, and > David> when a member of the list started posted autoreplies to the list, > David> they would be removed. If the list owner is reading any of this, > David> he/she would do well to consider this.... :-) > > My guess is that the person who administers the nagios-users list would > welcome help moderating the mailing list. We all have a limited amount of > time and thus can't do everything we'd like. My personal experience is that > as mailing lists I manage grow, the time it takes to manage them grows as > well, so I inevitably wind up asking for help with moderation. It doesn't hurt to have multiple owners/moderaters. A good opportunity for non-coding readers of this forum to step up to the plate and help the community. (Assuming the owners are open to it.) -- Thanks Wayne ________________________________________________________________________ Wayne S. Mery | Systems Programmer | Lehigh University | Bethlehem, PA 610-758-3983 ** http://www.lehigh.edu/~wsm0 ** Save a Life - Sign an Organ Donor card ** http://www.transweb.org for more information ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 compata.com Sun Jan 4 06:21:12 2004 From: dave at compata.com (Dave Close) Date: Sat, 03 Jan 2004 21:21:12 -0800 Subject: List management In-Reply-To: Your message of "Sat, 03 Jan 2004 23:13:54 EST." <3FF79302.60104@lehigh.edu> References: <3FF79302.60104@lehigh.edu> Message-ID: <200401040521.i045LCJ26719@biz.compata.com> Wayne Mery wrote: >It doesn't hurt to have multiple owners/moderaters. A good opportunity >for non-coding readers of this forum to step up to the plate and help >the community. (Assuming the owners are open to it.) Since we haven't heard anything from anyone claiming to be a manager of the list, I'm beginning to suspect there isn't anyone doing the job. In that case, it becomes tricky for anyone else to gain authority to help. -- Dave Close, Compata, Costa Mesa CA +1 714 434 7359 dave at compata.com dhclose at alumni.caltech.edu "..the last seven decades of the twentieth century will be characterized in history as the dark ages of theoretical physics." -- Carver Mead ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at lovedthanlost.net Sun Jan 4 09:07:14 2004 From: james at lovedthanlost.net (James Turnbull) Date: Sun, 4 Jan 2004 19:07:14 +1100 Subject: List management References: <200401040521.i045LCJ26719@biz.compata.com> Message-ID: <007301c3d299$c32336c0$0800000a@iih.usyd.edu.au> Dave Close wrote: > Wayne Mery wrote: >> It doesn't hurt to have multiple owners/moderaters. A good >> opportunity for non-coding readers of this forum to step up to the >> plate and help the community. (Assuming the owners are open to it.) > > Since we haven't heard anything from anyone claiming to be a manager > of the list, I'm beginning to suspect there isn't anyone doing the > job. In that case, it becomes tricky for anyone else to gain > authority to help. According to Sourceforge Ethan Galstad is the list manager. I imagine he is well and truly occupied with Nagios 2.0 to be doing list admin. Regards James Turnbull ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Sun Jan 4 12:51:35 2004 From: jasmine.chua at securecirt.com (Jasmine) Date: Sun, 04 Jan 2004 19:51:35 +0800 Subject: nsclient with windows 2003 server In-Reply-To: <200401030408.i03488p11411@estacio.br> References: <200401030408.i03488p11411@estacio.br> Message-ID: <1073217095.11475.9.camel@r2d2.dmz1.securecirt.com> Hi Just wonder if NSClient is compatible with windows 2003 server? Has anyone tried it? The latest seems to be win2k and xp only. Thanks Jas -------------- 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 james at lovedthanlost.net Sun Jan 4 13:08:14 2004 From: james at lovedthanlost.net (James Turnbull) Date: Sun, 4 Jan 2004 23:08:14 +1100 Subject: nsclient with windows 2003 server References: <200401030408.i03488p11411@estacio.br> <1073217095.11475.9.camel@r2d2.dmz1.securecirt.com> Message-ID: <011701c3d2bb$6e607b80$0800000a@iih.usyd.edu.au> ---- Original Message ----- >Hi >Just wonder if NSClient is compatible with windows 2003 server? Has >anyone tried it? The latest seems to be win2k and xp only. I am running the latest NSClient version on Windows 2003. Works perfectly so far. Regards James Turnbull ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From minfrin at sharp.fm Sun Jan 4 20:54:47 2004 From: minfrin at sharp.fm (minfrin at sharp.fm) Date: Sun, 4 Jan 2004 13:54:47 -0600 (CST) Subject: Event handlers won't run - any ideas why? Message-ID: <1801.212.104.145.196.1073246087.squirrel@webmail.sharp.fm> Hi all, I am having huge hassles with an event handler, that does not run as it should. According to my syslog, the "restart-tomcat4" event handler should have run: Jan 4 21:42:01 gatekeeper nagios: SERVICE EVENT HANDLER: gatekeeper.xx.xx.xx;PATRICIA;CRITICAL;SOFT;1;restart-tomcat4 No errors have been logged to indicate that the script is not found, permissions wrong, etc. The script is defined like so: # Attempt to restart TOMCAT4 on failure define command{ command_name restart-tomcat4 command_line /usr/lib/nagios/plugins/eventhandlers/restart-tomcat4 $ SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ } The script above contains a line to indicate when it is run by nagios - this shows that it is never run. Running the script manually as the nagios user works fine, tomcat is restarted as it should. Nagios however ignores the script entirely. Is there anything I should be checking for this to work? The script has run in the past, but not reliably. At this point the script does not run at all. Does nagios v1.1 have known problems with the event handler code I should be aware of? Regards, Graham -- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 5 04:10:08 2004 From: nagios at nagios.org (Ethan Galstad) Date: Sun, 04 Jan 2004 21:10:08 -0600 Subject: List management In-Reply-To: <007301c3d299$c32336c0$0800000a@iih.usyd.edu.au> References: <007301c3d299$c32336c0$0800000a@iih.usyd.edu.au> Message-ID: <3FF88130.22589.258BD7D@localhost> Indeed, I am the sleeper behind the wheel of the users list. Work, life, starting a new company, and Nagios 2.0 keep me too busy to manage the list much. I would suggest that someone (preferably two) people step forward and volunteer to admin the -users and/or -devel lists. Here's what I've done in the short-term to deal with some issues (similiar steps have been in place for most of the other lists for a few months now): 1. The nagios-users and nagios-devel lists are now closed to non- members. You must now be a member of the lists to post. This is a little undesireable, but certainly better than dealing with spam. It will not, however, help with those stupid vacation programs that respond to the list. 2. Messages to the -user and -devel lists that are held up for administrative approval are now automatically rejected every hour via a cron job. I don't like doing this, but until someone volunteers to handle list administration, this is reality. Most messages requiring administrative approval involve spam messages, so I don't think its a big deal. Any volunteers? Prepare to be spammed if you do volunteer though... Spambots grab your address of the list website and if you use a fake/obfuscated address, you don't get administrative notices. :-( On 4 Jan 2004 at 19:07, James Turnbull wrote: > Dave Close wrote: > > Wayne Mery wrote: > >> It doesn't hurt to have multiple owners/moderaters. A good > >> opportunity for non-coding readers of this forum to step up to the > >> plate and help the community. (Assuming the owners are open to > >> it.) > > > > Since we haven't heard anything from anyone claiming to be a manager > > of the list, I'm beginning to suspect there isn't anyone doing the > > job. In that case, it becomes tricky for anyone else to gain > > authority to help. > > According to Sourceforge Ethan Galstad is the list manager. I imagine > he is well and truly occupied with Nagios 2.0 to be doing list admin. > > Regards > > James Turnbull Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 5 04:20:01 2004 From: nagios at nagios.org (Ethan Galstad) Date: Sun, 04 Jan 2004 21:20:01 -0600 Subject: nagios 2 bug? In-Reply-To: <20031223103245.50128.qmail@web25006.mail.ukl.yahoo.com> References: Message-ID: <3FF88381.10203.261C727@localhost> Thanks for the report. Fix should be in CVS shortly. On 23 Dec 2003 at 10:32, ForMatPrO ForMatPrO wrote: > Hi, > > I don't know if this has already been reported (or > possibly already fixed) > > When I click on "Re-schedule the next check of this > host" and then click on "Commit" in the interface, I > get an internal server error... > > I also noticed a small typo: > > cmd.cgi line 964 > printf(" CHECKED>"); > > I think that should be: > > printf(" CHECKED>"); > > (note the x after NAME=) > > > Cya > ForMatPrO > > > ______________________________________________________________________ > __ Yahoo! Messenger - Communicate instantly..."Ping" your friends > today! Download Messenger Now > http://uk.messenger.yahoo.com/download/index.html > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for > IBM's Free Linux Tutorials. Learn everything from the bash shell to > sys admin. Click now! > http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 5 04:20:01 2004 From: nagios at nagios.org (Ethan Galstad) Date: Sun, 04 Jan 2004 21:20:01 -0600 Subject: Premature end of headers with user-supplied coods and statusmap.cgi In-Reply-To: <20031223183147.31102.qmail@minnow.softflare.net> References: <20031223183147.31102.qmail@minnow.softflare.net> Message-ID: <3FF88381.19725.261C6D9@localhost> Hi Paul - Any chance you can run gdb and let me know where the segfault is occurring? Make sure to use the CGIs from the distribution point and not the installation point, as they are stripped of symbols. On 23 Dec 2003 at 18:31, Paul L. Allen wrote: > > Nagios 1.1 on a Red Hat 7.3 box. Lots of hosts, so I wanted to switch > to user-supplied coords to prevent the overlaps in circular markup. > > So I defined 2d_coords for each host, x and y values range from 0 to > 400 (all integers) with no two hosts having the same co-ordinate > pairs. E.g., > > 2d_coords 200,0 > > Since I saw some examples on the mailing list with a space after the > comma I have tried this both ways where the is no space after the > comma for any host and where there is always a space after the comma. > Same result. > > When I select the user-supplied coords layout I get a 500 internal > server error. Theerror log says "premature end of script errors" > (that's the only error log entry associated with the problem) which > usually means that statusmap.cgi has blurted something to STDOUT or > STDERR before the end of the MIME headers. > > So I tried running it from the command-line and learned I had to set > REQUEST_METHOD to GET and QUERY_STRING as appropriate. Which I did. > To my surprise, the appropriate headers were output correctly and so > was some of the HTML, going a little beyond the tag. The last > line output is as follows (except I've wrapped the line where there > was a blank space present): > > > > And after that line is output there is a segmentation fault. With no > clues as to why. > > I've seen a couple of other reports of problems with user-supplied > coords but I've not seen any answers. However, the other reports did > not mention the segmentation fault, so perhaps that will give somebody > a clue. > > In the meantime, I'll have to live with balanced tree layout, which > would actually be much better than the hassle of user-supplied co-ords > but for one thing. With the number of hosts I'm monitoring, there's a > lot of sideways scrolling involved. Rotating the coords by 90 degrees > would convert that to vertical scrolling (at the minute I have some > hosts that are gr5andchildren but it goes no deeper so I won't get > sideways scrolling). Vertical scrolling is a lot easier: you can use > the arrow keys; you can use the page-up/down keys; you can use the > mousewheel if you want to develop carpal tunnel syndrome; if you're a > real masochist you can even click on the scrollbars. Sideways > scrolling is a pain because you don't have the equivalent of > page-up/down keys. > > So would anyone else be in favour of a feature request to rotate > (possibly as an option) the output of the tree layouts? > > Note that every other layout method works perfectly. > > -- > Paul Allen > Softflare Support Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 loplof.de Mon Jan 5 14:07:39 2004 From: nagios at loplof.de (nagios at loplof.de) Date: Mon, 5 Jan 2004 14:07:39 +0100 Subject: Question about status changes Message-ID: <20040105130739.GC4603@thot.informatik.uni-kl.de> Hello list, I'm running a nagios checkout from december. I have ~120 hosts configured and per host one service, e.g. define service{ use PING300/1200 host_name cc231-lpa-as10 } PING300/1200 is just a ping check with warning/critical set to 300/1200. This morning I found one of my hosts in critical state: The host status was critical, with the following message: Critical: Plugin timed out after 10 seconds BUT the service for this host was in warning state only. Running the plugin manually verified the warning level. After at least two hours, the host changed state to ok. Two questions: 1) Why is the host state different from the state of its only service? 2) The ping command when run manually (with the command line parameters that check_ping is using) takes 12 seconds to time out, when checking a host that does not respond. Is changing service_reaper_frequency from 10 to 13 the "right" solution? Thanks J?rg -- Joerg Mayer We are stuck with technology when what we really want is just stuff that works. Some say that should read Microsoft instead of technology. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 comcast.net Mon Jan 5 15:23:16 2004 From: nagios at comcast.net (nagios) Date: Mon, 5 Jan 2004 08:23:16 -0600 Subject: nsclient with windows 2003 server In-Reply-To: <1073217095.11475.9.camel@r2d2.dmz1.securecirt.com> References: <1073217095.11475.9.camel@r2d2.dmz1.securecirt.com> Message-ID: I have used the win2k/xp NSClient successfully on 2003 Server. Worked fine on the 2 boxes I tested on. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jasmine Sent: Sunday, January 04, 2004 5:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nsclient with windows 2003 server Hi Just wonder if NSClient is compatible with windows 2003 server? Has anyone tried it? The latest seems to be win2k and xp only. Thanks Jas ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tbri at interpost.no Mon Jan 5 16:06:54 2004 From: tbri at interpost.no (Torvald Baade Bringsvor) Date: Mon, 05 Jan 2004 16:06:54 +0100 Subject: Problems building nagios 2.0 rpm Message-ID: <3FF97D8E.9000607@interpost.no> Hello I have unsuccessfully tried to build the RPMS for Nagios 2.0 from the spec file included in todays CVS version (nagios-cvs.tar.gz, which I have repackaged as nagios-2.0a1 to satisfy the spec file). It runs for a while, then stops with: + cd sample-config ++ mktemp temp.XXXXXX + F=temp.cy6Vj3 + sed -e 's=/var/log/nagios/rw/=/var/spool/nagios/=;s=@sysconfdir@/resource.cfg=@sysconfdir@/private/resource.cfg=' nagios.cfg + mv temp.cy6Vj3 nagios.cfg + cd .. + cd contrib + make make: *** No rule to make target `../cgi/getcgi.h', needed by `daemonchk.cgi'. Stop. It builds perfectly when I do ./config && make manually. Any pointers? -Torvald ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 5 16:18:47 2004 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Mon, 05 Jan 2004 10:18:47 -0500 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20[Nagios-users]=20Groupwise=20Plugins?= Message-ID: I'll look into this in a month, but there is no official plug-ins for GW. Alex --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada >>> "Jason Baird" 2003-12-31 07:45:30 >>> Are there any GroupWise plugins available? For monitoring post offices and MTAs and the like? Jason ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Yost at mptotalcare.com Mon Jan 5 16:25:51 2004 From: Karl.Yost at mptotalcare.com (Yost, Karl) Date: Mon, 5 Jan 2004 10:25:51 -0500 Subject: nsclient with windows 2003 server Message-ID: <7190FBD21CA2D111B7EA00805F9F4C0307AEF792@em_exchange.express-med.com> I have been using NSClient 1.0.7.1 on a couple of 2003 servers for several weeks with out a problem as well. -----Original Message----- From: nagios [mailto:nagios at comcast.net] Sent: Monday, January 05, 2004 9:23 AM To: 'Jasmine'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nsclient with windows 2003 server I have used the win2k/xp NSClient successfully on 2003 Server. Worked fine on the 2 boxes I tested on. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jasmine Sent: Sunday, January 04, 2004 5:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nsclient with windows 2003 server Hi Just wonder if NSClient is compatible with windows 2003 server? Has anyone tried it? The latest seems to be win2k and xp only. Thanks Jas ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ***** The information in this email may contain confidential health information that is legally privileged. This information is intended for the use of the individual or entity named above. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this email is strictly prohibited. If you have received this information in error, please notify the sender immediately and arrange for the return or destruction of this information. ***** -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastian.schubert at sskm.de Mon Jan 5 16:48:49 2004 From: sebastian.schubert at sskm.de (Sebastian Schubert) Date: Mon, 05 Jan 2004 16:48:49 +0100 Subject: List management In-Reply-To: <3FF88130.22589.258BD7D@localhost> References: <3FF88130.22589.258BD7D@localhost> Message-ID: <1073317728.16759.10.camel@lnx024071100.vz.intra.sskm.de> Hi community, hi ethan, i don't think we need a 'moderator' for this list. the list ran very well, until some poor boy with to few bandwith complained about some emails that took him 4KB (each) of his inbox space and instead of creating a filter for these mails or using a spamfilter to sort these replies out - like any other would do - he started ask for a list manager, and so did others think about it ... cheers sebastian > Indeed, I am the sleeper behind the wheel of the users list. Work, > life, starting a new company, and Nagios 2.0 keep me too busy to > manage the list much. I would suggest that someone (preferably two) > people step forward and volunteer to admin the -users and/or -devel > lists. > > Here's what I've done in the short-term to deal with some issues > (similiar steps have been in place for most of the other lists for a > few months now): > > 1. The nagios-users and nagios-devel lists are now closed to non- > members. You must now be a member of the lists to post. This is a > little undesireable, but certainly better than dealing with spam. It > will not, however, help with those stupid vacation programs that > respond to the list. > 2. Messages to the -user and -devel lists that are held up for > administrative approval are now automatically rejected every hour via > a cron job. I don't like doing this, but until someone volunteers to > handle list administration, this is reality. Most messages requiring > administrative approval involve spam messages, so I don't think its a > big deal. > > Any volunteers? Prepare to be spammed if you do volunteer though... > Spambots grab your address of the list website and if you use a > fake/obfuscated address, you don't get administrative notices. :-( -- "In god we trust, the Rest we Monitor" Sebastian Schubert - RHCE Stadtsparkasse Munich Network and Security -------------------------- basti at sskm.net Tel.+49 (89) 2167-6399 Fax.+49 (89) 2167-86399 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 248 bytes Desc: Dies ist ein digital signierter Nachrichtenteil URL: From Christine_Kronberg at genua.de Mon Jan 5 17:00:02 2004 From: Christine_Kronberg at genua.de (Christine Kronberg) Date: Mon, 5 Jan 2004 17:00:02 +0100 (CET) Subject: List management In-Reply-To: <1073317728.16759.10.camel@lnx024071100.vz.intra.sskm.de> References: <3FF88130.22589.258BD7D@localhost> <1073317728.16759.10.camel@lnx024071100.vz.intra.sskm.de> Message-ID: On Mon, 5 Jan 2004, Sebastian Schubert wrote: > i don't think we need a 'moderator' for this list. I disagree. > the list ran very well, until some poor boy with to few bandwith > complained about some emails that took him 4KB (each) of his inbox space > and instead of creating a filter for these mails or using a spamfilter > to sort these replies out - like any other would do - he started ask for > a list manager, and so did others > > think about it ... Done. What do you fear? I'm on several moderated lists and its a pleasure to read them as I do not have to worry about spam coming from that side or threads trying to ride an already dead horse. I don't have to worry about mails coming several times instead of once. Instead of many people fiddling about the proper configuration of their spam filters the problem is solved centralized. That's far more efficient. Cheers, Chris. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wes at thorzine.net Mon Jan 5 17:41:00 2004 From: wes at thorzine.net (wes at thorzine.net) Date: Mon, 5 Jan 2004 11:41:00 -0500 Subject: nagios syslog Message-ID: <1073320860.3ff9939cab826@webmail.uslec.net> I'm trying to figure out what logging facility nagios uses, so I can forward _just_ nagios alerts via syslog to another host. Anyone have any ideas? Thanks, Wes ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Jan 5 17:49:24 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 5 Jan 2004 08:49:24 -0800 (PST) Subject: nagios syslog In-Reply-To: <1073320860.3ff9939cab826@webmail.uslec.net> References: <1073320860.3ff9939cab826@webmail.uslec.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The facility is hardcoded into base/logging.c: syslog(LOG_USER|LOG_INFO,"%s",buffer); I'm surprised this isn't a nagios.cfg variable, actually. - -Jason Martin On Mon, 5 Jan 2004 wes at thorzine.net wrote: > I'm trying to figure out what logging facility nagios uses, so I can forward > _just_ nagios alerts via syslog to another host. > > Anyone have any ideas? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/+ZWYl2ODWuqVSBMRAvmPAJ48xmkS6WHDei2u2LGq6qxpYNsFwQCdFscx z0E+mxE3rQunrwLu5xriXhw= =d6+/ -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wcarlson at vh.org Mon Jan 5 20:06:40 2004 From: wcarlson at vh.org (Bill Carlson) Date: Mon, 5 Jan 2004 13:06:40 -0600 (CST) Subject: List management In-Reply-To: References: Message-ID: On Mon, 5 Jan 2004, Christine Kronberg wrote: > On Mon, 5 Jan 2004, Sebastian Schubert wrote: > > Instead of many people fiddling about the proper configuration of > their spam filters the problem is solved centralized. That's far > more efficient. It may seem more efficient to the list user, but someone has to spend time moderating. If the moderation process is slow (moderator overloaded, too much spam, what have you), then the list conversation is slowed as well. I hate spam as much as the next person, and with a member-only list that should become a non-issue. I don't mind moderation, but I certainly wouldn't want to be the moderator and can appreciate the work they are willing to do. $.02 Bill Carlson -- Systems Administrator wcarlson at vh.org | Anything is possible, Virtual Hospital http://www.vh.org/ | given time and money. University of Iowa Hospitals and Clinics | Opinions are mine, not my employer's. | ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vseerror at Lehigh.EDU Mon Jan 5 20:15:48 2004 From: vseerror at Lehigh.EDU (Wayne Mery) Date: Mon, 05 Jan 2004 14:15:48 -0500 Subject: List management In-Reply-To: <3FF99E07.7070704@lehigh.edu> References: <3FF88130.22589.258BD7D@localhost> <1073317728.16759.10.camel@lnx024071100.vz.intra.sskm.de> <3FF99E07.7070704@lehigh.edu> Message-ID: <3FF9B7E4.7080103@lehigh.edu> Sebastian Schubert wrote: > Hi community, > hi ethan, > i don't think we need a 'moderator' for this list. the list ran very > well, until some poor boy with to few bandwith > complained about some emails that took him 4KB (each) of his inbox space > and instead of creating a filter for these mails or using a spamfilter > to sort these replies out - like any other would do - he started ask for > a list manager, and so did others > think about it ... > cheers > > sebastian The more pertinent item IMO is for someone to manage the subscription process, not necessarily moderate postings. To relieve this burden from code developers benefits EVERYONE. Wayne ________________________________________________________________________ Wayne S. Mery | Systems Programmer | Lehigh University | Bethlehem, PA ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From allan at webshots.com Mon Jan 5 20:25:10 2004 From: allan at webshots.com (allan) Date: Mon, 05 Jan 2004 11:25:10 -0800 Subject: Plugin output specification? Message-ID: <20040105192510.7F6BB1EE466@thoth.webshots.com> I've searched the docs and have not found any plugin output specification. Is the output spec simply the following? | thanks, allan ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gary.zharzhavsky at smarts.com Mon Jan 5 20:26:52 2004 From: gary.zharzhavsky at smarts.com (Zharzhavsky, Gary) Date: Mon, 5 Jan 2004 14:26:52 -0500 Subject: nagios for a build system Message-ID: <5CAF3F245314FE4799B305B88C404FE90103E829@EXCHANGE2.smarts.com> I've used the nagios in the past for monitoring resources. I was completely satisfied. I'm wondering if somebody uses or thought to use nagios for a distributed build system using nrpe agents or some thing else. Thanks, Gary -------------- next part -------------- An HTML attachment was scrubbed... URL: From RMontemayor at huntoil.com Mon Jan 5 20:31:17 2004 From: RMontemayor at huntoil.com (Rudy Montemayor) Date: Mon, 5 Jan 2004 13:31:17 -0600 Subject: Plugin output specification? Message-ID: <6F1F73662C00D411909F00508BCF5B5E0D792CB5@hcidalex01.int.huntoil.com> Allan, This may help: http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN103 Rudy -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of allan Sent: Monday, January 05, 2004 1:25 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plugin output specification? I've searched the docs and have not found any plugin output specification. Is the output spec simply the following? | thanks, allan ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 5 20:36:03 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: 06 Jan 2004 08:36:03 +1300 Subject: List management In-Reply-To: <1073317728.16759.10.camel@lnx024071100.vz.intra.sskm.de> References: <3FF88130.22589.258BD7D@localhost> <1073317728.16759.10.camel@lnx024071100.vz.intra.sskm.de> Message-ID: <1073331365.738.28.camel@munter> I agree with Sebastian. I've been on the list a few years now, and I see no reason to moderate it. I don't think the problem is big enough to warrant it. Someone had a dodgy autoresponder over the xmas break. Big Deal. Time to take a chill pill. This is one of the best behaved, self regulated lists I've been on. I prefer a distributed, self regulated Internet. Having said that I don't disagree with Wayne Mery's suggestion if it gets really bad. But I should point out that this thread (list management and autoresponder complaints) has generated more noise than anything (which sadly, I am contributing to). Can I kindly and respectfully request a "kill thread"? Happy (Belated) New Year, and congrats to the Yanks for landing the Rover on Mars. chez, jamie On Tue, 2004-01-06 at 04:48, Sebastian Schubert wrote: > Hi community, > hi ethan, > > i don't think we need a 'moderator' for this list. > the list ran very well, until some poor boy with to few bandwith > complained about some emails that took him 4KB (each) of his inbox space > and instead of creating a filter for these mails or using a spamfilter > to sort these replies out - like any other would do - he started ask for > a list manager, and so did others > > think about it ... > cheers > > sebastian > > > Indeed, I am the sleeper behind the wheel of the users list. Work, > > life, starting a new company, and Nagios 2.0 keep me too busy to > > manage the list much. I would suggest that someone (preferably two) > > people step forward and volunteer to admin the -users and/or -devel > > lists. > > > > Here's what I've done in the short-term to deal with some issues > > (similiar steps have been in place for most of the other lists for a > > few months now): > > > > 1. The nagios-users and nagios-devel lists are now closed to non- > > members. You must now be a member of the lists to post. This is a > > little undesireable, but certainly better than dealing with spam. It > > will not, however, help with those stupid vacation programs that > > respond to the list. > > > 2. Messages to the -user and -devel lists that are held up for > > administrative approval are now automatically rejected every hour via > > a cron job. I don't like doing this, but until someone volunteers to > > handle list administration, this is reality. Most messages requiring > > administrative approval involve spam messages, so I don't think its a > > big deal. > > > > Any volunteers? Prepare to be spammed if you do volunteer though... > > Spambots grab your address of the list website and if you use a > > fake/obfuscated address, you don't get administrative notices. :-( > > > -- > "In god we trust, the Rest we Monitor" > Sebastian Schubert - RHCE > Stadtsparkasse Munich > Network and Security > -------------------------- > basti at sskm.net > Tel.+49 (89) 2167-6399 > Fax.+49 (89) 2167-86399 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Mon Jan 5 20:36:12 2004 From: mtucker at airmail.net (Michael Tucker) Date: Mon, 5 Jan 2004 13:36:12 -0600 Subject: List management In-Reply-To: References: Message-ID: <6B62A03A-3FB6-11D8-BB6B-0030657DF28A@airmail.net> For what it's worth, I moderate several lists that are hosted by Yahoo, plus a few that are managed with Mailman software. I have those lists set up as follows: 1) Only members can post; non-members' messages get bounced to me. (This stops almost all SPAM, which mostly originates from bogus addresses, in its tracks.) 2) Anyone can join the list (become a member). I don't moderate that part, it's just a requirement to prevent SPAM. 3) Members have their first message cleared/moderated by me. (This seems to stop the rest of the SPAM.) Once I've cleared someone's first post, after that they can post at will. 4) All attachments are removed. (This inhibits the spread of viruses, not to mention the thoughtless practice of sending 1000 people a large file, when really only 1 person needed to receive it.) I actually have to do very little moderating, per se. Very occasionally, I will see a bounced message from someone who I know is a member, but is posting from a different account. (I let those messages through.) Other than that. almost all of the "moderator traffic" ends up being SPAM, which I can cull on a daily (or so) basis at my leisure. For that matter, it could be set up to be automatically purged every so often (I don't think I'd set it for every hour, but maybe once a day) with very little collateral damage to the members. Michael ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Christine_Kronberg at genua.de Mon Jan 5 20:41:34 2004 From: Christine_Kronberg at genua.de (Christine Kronberg) Date: Mon, 5 Jan 2004 20:41:34 +0100 (CET) Subject: List management In-Reply-To: <1073331365.738.28.camel@munter> References: <3FF88130.22589.258BD7D@localhost> <1073317728.16759.10.camel@lnx024071100.vz.intra.sskm.de> <1073331365.738.28.camel@munter> Message-ID: On Mon, 6 Jan 2004, Jamie Baddeley wrote: > I agree with Sebastian. > > I've been on the list a few years now, and I see no reason to moderate > it. I don't think the problem is big enough to warrant it. Someone had a > dodgy autoresponder over the xmas break. Big Deal. Time to take a chill > pill. That autoresponder is just one thing. If this was the only trouble I would agree. But even then, why whould everyone got a "I'm not in my office" note ever and ever again only because people are not able or not willing to configure their vacation programs correctly? Either something has to be done automatically (and I doubt that this can be performed so easily) or some has to look over it. So we are back to moderation. > This is one of the best behaved, self regulated lists I've been on. I > prefer a distributed, self regulated Internet. Having said that I don't > disagree with Wayne Mery's suggestion if it gets really bad. But I > should point out that this thread (list management and autoresponder > complaints) has generated more noise than anything (which sadly, I am > contributing to). Can I kindly and respectfully request a "kill thread"? Without a moderator? Good luck. ;-) Although not entirely on-topic - on which list would you discuss moderation of that list with all members if not on that list? Have fun, Chris. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederico at ati.com.br Mon Jan 5 19:38:26 2004 From: frederico at ati.com.br (Frederico Faria) Date: Mon, 05 Jan 2004 16:38:26 -0200 Subject: Restart Check cycle Message-ID: <3FF9AF22.80006@ati.com.br> Hi, How can an C++ application inform the Nagios to restart the monitoring cycle ? I want that the Nagios restart ( since the first configured service ) the polling in the configured services. I want to meet the same behaviour as if I were restart the Nagios process. I think that it would be as a getCurrentAlarm() function. Thank you, Faria -- Frederico Charles S. Faria ATI / ATITEL Ltda www.ati.com.br (31) - 3275-3100 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cstephens at distributedtechtonics.com Mon Jan 5 13:27:54 2004 From: cstephens at distributedtechtonics.com (Chris Stephens) Date: Mon, 5 Jan 2004 05:27:54 -0700 (MST) Subject: NRPE 2.0 and AIX 5.1, issues with SSL anyone? Message-ID: <45914.199.64.0.252.1073305674.squirrel@www.distributedtechtonics.com> Hi All, Has anyone else had any issues running NRPE 2.0 on AIX 5.1? I seem to be running into an SSL issue with the server piece that I have been unable to resolve. I'm building against OpenSSL 0.9.7c with gcc 2.9. The client piece works great. No issues at all with it. However, the server will not perform a SSL handshake. No matter what I try it just doesnt seem to like any connections. I always get a handshake failure of some sort. This same build configuration works great in my linux environment. This seems to be specific to AIX. Anyone else seen this? Regards and thanks, Chris Stephens cstephens at distributedtechtonics.com -- Chris Stephens Sr. Systems Engineer Cell: 480-236-8311 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Mon Jan 5 22:01:06 2004 From: skip at pobox.com (Skip Montanaro) Date: Mon, 5 Jan 2004 15:01:06 -0600 Subject: List management In-Reply-To: References: Message-ID: <16377.53394.390211.198584@montanaro.dyndns.org> >> Instead of many people fiddling about the proper configuration of >> their spam filters the problem is solved centralized. That's far more >> efficient. Bill> It may seem more efficient to the list user, but someone has to Bill> spend time moderating. If the moderation process is slow Bill> (moderator overloaded, too much spam, what have you), then the Bill> list conversation is slowed as well. [Way OT, but I offer this for people who might be discouraged from volunteering to help moderate this list by the above msg.] I help administer the python-help mailing list. At times of extremely high virus transmission rates the moderators' mailboxes fill with email held for approval, sometimes several hundred per day. I got tired enough of the rather inadequate Mailman interface in this area that I broke down and wrote a simple script (mmdiscard.py) to submit "discard" requests for pending requests. It's crude but effective. Basically, you make a pass through the pending requests and approve any which need explicit approval or rejection. The remainder will be stuff you want to simply discard. Feed that page to mmdiscard's stdin and it quickly empties the queue. No direct (shell) access to the Mailman server is required. It just does HTTP submissions. If you're interested in mmdiscard.py, it's at http://www.musi-cal.com/~skip/python/mmdiscard.py Note that I've only tested it against a Mailman 2.1 server. It might or might not work with earlier versions. YMMV. Also, for those of you in the non-moderation camp, check out SpamBayes in my .sig. Yes, you can have your cake and eat it too. ;-) -- Skip Montanaro Got gigs? http://www.musi-cal.com/submit.html Got spam? http://spambayes.sf.net/ skip at pobox.com ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Mon Jan 5 22:07:19 2004 From: mtucker at airmail.net (Michael Tucker) Date: Mon, 5 Jan 2004 15:07:19 -0600 Subject: NRPE 2.0 and AIX 5.1, issues with SSL anyone? In-Reply-To: <45914.199.64.0.252.1073305674.squirrel@www.distributedtechtonics.com> References: <45914.199.64.0.252.1073305674.squirrel@www.distributedtechtonics.com> Message-ID: <25ABA00E-3FC3-11D8-BB6B-0030657DF28A@airmail.net> On Monday, January 5, 2004, at 06:27 AM, Chris Stephens wrote: > Hi All, > Has anyone else had any issues running NRPE 2.0 on AIX 5.1? I seem to > be > running into an SSL issue with the server piece that I have been > unable to > resolve. > > I'm building against OpenSSL 0.9.7c with gcc 2.9. The client piece > works > great. No issues at all with it. However, the server will not perform a > SSL handshake. No matter what I try it just doesnt seem to like any > connections. I always get a handshake failure of some sort. This same > build configuration works great in my linux environment. This seems to > be > specific to AIX. Anyone else seen this? > > Regards and thanks, > > Chris Stephens > cstephens at distributedtechtonics.com > Hi, Chris: You are not alone, and the problem is not confined to AIX. I'm running NRPE 2.0 on Solaris 9, and have exactly the same problem. (Search previous messages with a subject something like "check_nrpe fails, SSL handshake error".) For completeness: Solaris 9 (on the monitored host, the distributed server and the central server) Nagios 1.1 NSCA 2.4 NRPE 2.0 With SSL enabled, I get the following result: > # ./check_nrpe -H {host to monitor} -c {some command, such as > check_load} > CHECK_NRPE: Error - Could not complete SSL handshake. I get the same result whether I run nrpe as a standalone daemon on the monitored host, or through inetd/tcpd (with tcp wrappers). For what it's worth, I settled on running it with tcp wrappers, since that works fine as long as SSL is not enabled. I have been asking for help since December 19, but never did receive a helpful suggestion from anyone on this list. I finally just recompiled NRPE with --disable-ssl. It works now, and I was able to configure and test the rest of the system (nsca, send_nsca, nagios, apache, etc.), but without SSL support. I would be very interested in hearing something helpful from someone. I suspect that there is a bug in recent versions of NRPE, since it seems that there are folks out there using older versions who aren't having this problem. Michael ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RyeR at schneider.com Mon Jan 5 22:21:37 2004 From: RyeR at schneider.com (RyeR at schneider.com) Date: Mon, 5 Jan 2004 15:21:37 -0600 Subject: NRPE 2.0 and AIX 5.1, issues with SSL anyone? Message-ID: In regarding the AIX 5.1 system did you add the following to the user id running the nrpe daemon [or to the root account depending on how you are going to run nrpe]? PATH=$PATH:/usr/local/ssl;export PATH LIBPATH=/usr/local/ssl/lib;export LIBPATH Once I added the path and libpath, I did not recieve any more handshake issue. I had the same type of issue on Solaris. But of course change LIBPATH to LD_LIBRARY_PATH. Hope this helps. Ralph Michael Tucker To: Sent by: cc: nagios-users-admin at lists.sour Fax to: ceforge.net Subject: Re: [Nagios-users] NRPE 2.0 and AIX 5.1, issues with SSL anyone? 01/05/2004 03:07 PM On Monday, January 5, 2004, at 06:27 AM, Chris Stephens wrote: > Hi All, > Has anyone else had any issues running NRPE 2.0 on AIX 5.1? I seem to > be > running into an SSL issue with the server piece that I have been > unable to > resolve. > > I'm building against OpenSSL 0.9.7c with gcc 2.9. The client piece > works > great. No issues at all with it. However, the server will not perform a > SSL handshake. No matter what I try it just doesnt seem to like any > connections. I always get a handshake failure of some sort. This same > build configuration works great in my linux environment. This seems to > be > specific to AIX. Anyone else seen this? > > Regards and thanks, > > Chris Stephens > cstephens at distributedtechtonics.com > Hi, Chris: You are not alone, and the problem is not confined to AIX. I'm running NRPE 2.0 on Solaris 9, and have exactly the same problem. (Search previous messages with a subject something like "check_nrpe fails, SSL handshake error".) For completeness: Solaris 9 (on the monitored host, the distributed server and the central server) Nagios 1.1 NSCA 2.4 NRPE 2.0 With SSL enabled, I get the following result: > # ./check_nrpe -H {host to monitor} -c {some command, such as > check_load} > CHECK_NRPE: Error - Could not complete SSL handshake. I get the same result whether I run nrpe as a standalone daemon on the monitored host, or through inetd/tcpd (with tcp wrappers). For what it's worth, I settled on running it with tcp wrappers, since that works fine as long as SSL is not enabled. I have been asking for help since December 19, but never did receive a helpful suggestion from anyone on this list. I finally just recompiled NRPE with --disable-ssl. It works now, and I was able to configure and test the rest of the system (nsca, send_nsca, nagios, apache, etc.), but without SSL support. I would be very interested in hearing something helpful from someone. I suspect that there is a bug in recent versions of NRPE, since it seems that there are folks out there using older versions who aren't having this problem. Michael ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 acmecargo.com Mon Jan 5 22:22:59 2004 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Mon, 05 Jan 2004 16:22:59 -0500 Subject: uptime on cisco Message-ID: <6.0.0.22.2.20040105161841.0294d140@mail.acmecargo.com> I'm trying to run the check_snmp (also tried uptime_by_snmp) on a few of my cisco routers and I can't seem to get it working completely. I've tried the following: ./check_snmp -H 10.0.0.1 -o .1.3.6.1.2.1.1.3.0 -C comstring -w 11111111111111111 -c 11111111111111111111 and I get the following return: SNMP WARNING - 578561577 Change the warning and critical values: ./check_snmp -H 172.16.128.248 -o .1.3.6.1.2.1.1.3.0 -w 5 -c 10 -C d0n0thAcK and get the following: SNMP CRITICAL - *578678849* I'm wanting to know if a router reboots to go into a warning state. Once it's been up for 30 min, clear out to an "Ok" status. The uptime_by_snmp returns the same values since it's using the check_snmp plugin. Any help is greatly appreciated. Dylan ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Mon Jan 5 22:52:53 2004 From: mtucker at airmail.net (Michael Tucker) Date: Mon, 5 Jan 2004 15:52:53 -0600 Subject: NRPE 2.0 and AIX 5.1, issues with SSL anyone? In-Reply-To: References: Message-ID: <8340CBAD-3FC9-11D8-BB6B-0030657DF28A@airmail.net> On Monday, January 5, 2004, at 03:21 PM, RyeR at schneider.com wrote: > In regarding the AIX 5.1 system did you add the following to the user > id > running the nrpe daemon [or to the root account depending on how you > are > going to run nrpe]? > > PATH=$PATH:/usr/local/ssl;export PATH > LIBPATH=/usr/local/ssl/lib;export LIBPATH > > Once I added the path and libpath, I did not recieve any more handshake > issue. > > I had the same type of issue on Solaris. But of course change LIBPATH > to > LD_LIBRARY_PATH. > > Hope this helps. > > Ralph > Thanks for the suggestion, but I have both of those environment variables set accordingly (PATH includes /usr/local/ssl/bin, and LD_LIBRARY_PATH includes /usr/local/ssl/lib), and it still doesn't work. Michael ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ecnetwork.co.nz Mon Jan 5 23:04:08 2004 From: simon at ecnetwork.co.nz (Simon Kitching) Date: Tue, 06 Jan 2004 11:04:08 +1300 Subject: Repost: nrpe: fails when check command outputs to stderr [CRC32] Message-ID: <1073340248.4247.91.camel@pcsimon.ecnnz.ecnetwork.co.nz> Hi, I believe I have found a bug in nrpe 2.0 which causes check_nrpe to report "CHECK_NRPE: Response packet had invalid CRC32". I posted info on this on Dec 22, but there have been no responses yet. Are any Nagios developers interested in this one? From the mail archives, it appears that a few people have struck this problem. As mentioned in the mail, I'm happy to prepare a patch if someone is willing to review/commit it. Original posting: http://sourceforge.net/mailarchive/message.php?msg_id=6818296 Regards, Simon ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rp.thompson at qut.edu.au Mon Jan 5 23:18:26 2004 From: rp.thompson at qut.edu.au (Russell Thompson) Date: Tue, 06 Jan 2004 08:18:26 +1000 Subject: SNMP v 2 Message-ID: <5.1.1.5.2.20040106081736.0164d5f0@pop.qut.edu.au> Hi all. Can anyone tell me if Nagios/Plugins support SNMP version 2? Thanks, Russell. Russell Thompson PC Support Faculty of Information Technology QUT x1172 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Mon Jan 5 23:27:37 2004 From: mtucker at airmail.net (Michael Tucker) Date: Mon, 5 Jan 2004 16:27:37 -0600 Subject: NRPE 2.0 and AIX 5.1, issues with SSL anyone? In-Reply-To: References: Message-ID: <5DAEE006-3FCE-11D8-BB6B-0030657DF28A@airmail.net> On Monday, January 5, 2004, at 04:04 PM, RyeR at schneider.com wrote: > Micheal, > > Do you have LIBPATH or LD_LIBRARY_PATH defined for AIX? > > I have about ten 5.1 systems with NRPE 2.0 installed with SSL. The > only > problem I had was the PATH and LIBPATH environment variables. Also I > had > to install prngd to get open-ssl to work correctly in AIX. > > Ralph > As I reported in my previous messages, 1) I'm running Solaris 9, not AIX. 2) I've configured the LD_LIBRARY_PATH environment variable to include /usr/local/ssl/lib. 3) I've installed the latest packages of freetype, gcc, jpeg, libpng, mhash, openssl, and zlib (all from sunfreeware.org); and gd, libmcrypt, mcrypt, nagios, nagios-plugins, nrpe and nsca (all from their various support sites, many on SourceForge). All compiled and/or installed without error. All seem to work correctly and well except for check_nrpe->nrpe with SSL enabled, which work fine if compiled with --disable-ssl. 4) I haven't installed prngd (the pseudo-random number generator daemon). Is this really necessary for check_nrpe->nrpe, which use anonymous (no certificates) SSL? Thanks, though, for your reply. Some help is better than none. :-) Michael ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff at unixisgod.com Tue Jan 6 00:04:22 2004 From: jeff at unixisgod.com (Jeff Rodriguez) Date: Mon, 05 Jan 2004 16:04:22 -0700 Subject: Plugin output specification? In-Reply-To: <20040105192510.7F6BB1EE466@thoth.webshots.com> References: <20040105192510.7F6BB1EE466@thoth.webshots.com> Message-ID: <3FF9ED76.1060306@unixisgod.com> http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN103 Jeff allan wrote: > I've searched the docs and have not found any plugin output specification. > >Is the output spec simply the following? > > | > > >thanks, >allan > > >------------------------------------------------------- >This SF.net email is sponsored by: IBM Linux Tutorials. >Become an expert in LINUX or just sharpen your skills. Sign up for IBM's >Free Linux Tutorials. Learn everything from the bash shell to sys admin. >Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 acmecargo.com Tue Jan 6 00:13:41 2004 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Mon, 05 Jan 2004 18:13:41 -0500 Subject: Scheduled Downtime via Cron Message-ID: <6.0.0.22.2.20040105180645.0243e3b0@mail.acmecargo.com> I'm using the two scripts provided by Sam Tilders on the Nagios Download page. I've updated the "CommandFile=" path to point to my nagios.cmd file and both scripts are chmod 755. When I try to run the command as suggested in the schedule_host_downtime script I get the following: [root at host]# /usr/local/nagios/libexec/schedule_host_downtime host "`date --iso-8601` 05:00:00" "`date --iso-8601` 06:00:00" 1 3600 cron "scheduled maintenance" : bad interpreter: No such file or directoryst_downtime: /bin/sh I'm running this on RedHat 8.0. Any suggestions? Dylan ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ktulu at net2000.com.au Tue Jan 6 04:45:21 2004 From: ktulu at net2000.com.au (ktulu at net2000.com.au) Date: Tue, 6 Jan 2004 14:45:21 +1100 Subject: notification and service configuration Message-ID: <1073360721.3ffa2f51f300c@secure.net2000.com.au> Hi All, I have a question about Nagios configuration in regards to servers behind a firewall and also notifications. I have three machines that I'm trying to monitor behind a firewall that does not allow ICMP packets, so therefore I cannot ping to the machines to verify that they are up. Each machine has at least three services that I'm monitoring (SSH, VNC, etc) which are reported as "OK", however, if one of these services goes down even once, the _host_ is considered to be "DOWN" and stays down, even when the service comes back up. How can I configure Nagios to report that the host is down only if _all_ services are down and to also ensure that the host is reported as being OK even if some of the servies are down? Thanks in advance! Regards, Leigh ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tech at anshulgupta.com Tue Jan 6 08:15:16 2004 From: tech at anshulgupta.com (Anshul Gupta) Date: Tue, 6 Jan 2004 18:15:16 +1100 Subject: NSCA: Unrecognized External Commands In-Reply-To: <1073360721.3ffa2f51f300c@secure.net2000.com.au> References: <1073360721.3ffa2f51f300c@secure.net2000.com.au> Message-ID: <13C325D6-4018-11D8-A0CA-000A95B96BB0@anshulgupta.com> Hi All, On the central nsca server I am getting this message in the log file, Warning: Unrecognized external command -> PROCESS_HOST_CHECK_RESULT; The system executes other external commands like Jan 6 18:00:23 gonzo nagios: EXTERNAL COMMAND: ENABLE_HOST_SVC_CHECKS;zeus Jan 6 18:01:57 gonzo nagios: EXTERNAL COMMAND: ENABLE_HOST_CHECK;zeus Jan 6 18:05:00 gonzo nagios: EXTERNAL COMMAND: DISABLE_SVC_CHECK;zeus;HTTP What can be the problem? Cheers, Anshul ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ejl at man.fwltech.com Tue Jan 6 10:36:15 2004 From: ejl at man.fwltech.com (Ewan Leith) Date: Tue, 6 Jan 2004 09:36:15 -0000 Subject: SNMP v 2 Message-ID: <1012BD903945D411915500105A48FF5701C73CEE@nt.man.fwltech.com> It uses the netsnmp libraries, so I'm sure it supports 1,2,2c and ,3. Might need to fiddle with the switches to get v3 support though. Ewan > -----Original Message----- > From: Russell Thompson [mailto:rp.thompson at qut.edu.au] > Sent: 05 January 2004 22:18 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SNMP v 2 > > > Hi all. Can anyone tell me if Nagios/Plugins support SNMP version 2? > > Thanks, > Russell. > > Russell Thompson > PC Support > Faculty of Information Technology > QUT > x1172 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign > up for IBM's > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Schweikle at fiducia.de Tue Jan 6 12:03:14 2004 From: Thomas.Schweikle at fiducia.de (Thomas.Schweikle at fiducia.de) Date: Tue, 6 Jan 2004 12:03:14 +0100 Subject: Terminal-server checking? Message-ID: Hi! How can I check a running terminal server? I did not find a predefined check for it (or I didn't see it). Any hint? -- Thomas ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephen.patterson at cjgarland.com Tue Jan 6 12:40:10 2004 From: stephen.patterson at cjgarland.com (Stephen Patterson) Date: Tue, 06 Jan 2004 11:40:10 +0000 Subject: Terminal-server checking? In-Reply-To: References: Message-ID: <3FFA9E9A.5080107@cjgarland.com> Thomas.Schweikle at fiducia.de wrote: >Hi! > >How can I check a running terminal server? > >I did not find a predefined check for it (or I didn't see it). Any hint? > > I check for terminal services by using check_tcp!3389, port 3389 being the terminal server port. -- CJ Garlands IT Dept. Stephen Patterson ________________________________________________________________________ CJ GARLAND & CO LIMITED DISCLAIMER This e-mail and any files transmitted with it is confidential and intended solely for the use of the individuals or organisations to whom it is addressed. If you are not the intended recipient you must not open any attachment, copy, distribute or disseminate the information nor take any action on the basis of it; please notify the sender and delete the original e-mail from your system(s). Opinions and conclusions expressed in this e-mail are those of the author and are not necessarily those of CJ Garland & Co Limited unless otherwise indicated by an authorised representative independently of this message. Copyright in this e-mail and any attachments remains with CJ Garland & Co Limited. This message has been scanned for known viruses by MessageLabs? E-mail Security System on behalf of CJ Garland & Co Limited. Recipients are strongly advised to conduct their own virus checks on all parts of this communication upon receipt. All liability of the sender for any loss incurred as a result of virus infection or other destructive elements is excluded to the fullest extent permitted by law. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephen.patterson at cjgarland.com Tue Jan 6 12:45:38 2004 From: stephen.patterson at cjgarland.com (Stephen Patterson) Date: Tue, 06 Jan 2004 11:45:38 +0000 Subject: Exended info icons not working In-Reply-To: <6E71A480CB710046AA714A8107AC07BD03F78B@nlcc10411.nl.deloitte.com> References: <6E71A480CB710046AA714A8107AC07BD03F78B@nlcc10411.nl.deloitte.com> Message-ID: <3FFA9FE2.3060306@cjgarland.com> van Eijk, Peter (NL - Amstelveen) wrote: >From: Stephen Patterson >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Exended info icons not working > >Did you have any succes now, I run into the same problem? > > I've got it mostly working, (to display icons in the host and services views) by adding the extended info data into the nagios database?the hostextinfo table), but this doesn't store the statusmap image filename so I'm still missing custom icons from the statusmap image. -- CJ Garlands IT Dept. Stephen Patterson ________________________________________________________________________ CJ GARLAND & CO LIMITED DISCLAIMER This e-mail and any files transmitted with it is confidential and intended solely for the use of the individuals or organisations to whom it is addressed. If you are not the intended recipient you must not open any attachment, copy, distribute or disseminate the information nor take any action on the basis of it; please notify the sender and delete the original e-mail from your system(s). Opinions and conclusions expressed in this e-mail are those of the author and are not necessarily those of CJ Garland & Co Limited unless otherwise indicated by an authorised representative independently of this message. Copyright in this e-mail and any attachments remains with CJ Garland & Co Limited. This message has been scanned for known viruses by MessageLabs? E-mail Security System on behalf of CJ Garland & Co Limited. Recipients are strongly advised to conduct their own virus checks on all parts of this communication upon receipt. All liability of the sender for any loss incurred as a result of virus infection or other destructive elements is excluded to the fullest extent permitted by law. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andyjproctor at hotmail.com Tue Jan 6 12:48:42 2004 From: andyjproctor at hotmail.com (andy proctor) Date: Tue, 06 Jan 2004 11:48:42 +0000 Subject: check_ntp Message-ID: When nagios was first compiled this worked ok but now it seems to be mis-reporting ntp and jitter errors, I cannot work out why this is as there have not been any changes made to config. Nagios reports that ?NTP WARNING: Jitter error and jitter 0.06 msec > +/- msec ? why this is so I don?t know as the limits for jitter are 5 and 10 seconds. When I run the command from the command line everything appears ok Eg. NTP OK: Offset 0.000003 secs, jitter 0.06 msec, peer is stratum 3 Any ideas? Regards, Andy Proctor andyjproctor at hotmail.com _________________________________________________________________ It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Arends at dsv.rotterdam.nl Tue Jan 6 12:52:36 2004 From: M.Arends at dsv.rotterdam.nl (Arends, Mike) Date: Tue, 6 Jan 2004 12:52:36 +0100 Subject: Terminal-server checking? Message-ID: Define a check command that uses check_nt like: check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -d SHOWALL -l TermService -----Oorspronkelijk bericht----- Van: Thomas.Schweikle at fiducia.de [mailto:Thomas.Schweikle at fiducia.de] Verzonden: dinsdag 6 januari 2004 12:03 Aan: nagios-users at lists.sourceforge.net Onderwerp: [Nagios-users] Terminal-server checking? Hi! How can I check a running terminal server? I did not find a predefined check for it (or I didn't see it). Any hint? -- Thomas ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From parzamendi at Fiskars.com Tue Jan 6 15:04:19 2004 From: parzamendi at Fiskars.com (Arzamendi, Peter) Date: Tue, 6 Jan 2004 08:04:19 -0600 Subject: Check_nrpe and apan Message-ID: <31BD3FA83CF1F948AF20F4A1C3BC9F7F053949EA@madmail01.fiskars.com> Hello All, I'm trying to use check_nrpe with the Windows pluging check_CPU script. I want to pass the data to APAN so I can get graphs on the CPU performance. Below is the bash script I use to feed APAN the data. The script works fine until the CPU hits 100% then I get the error message" : integer expression expected". I cant seem to find the problem. Anyone have any ideas? Note: I changed the check_CPU wfs file to only return the CPU time. So the out put back to my Nagios box is 4.89 Thanks, Pete CRIT=90 WARN=30 HOST=TESTSERVER VAL=`/usr/local/nagios/libexec/check_nrpe -H $HOST -p 5666 -t 10 -c cpu` NAME=${NAMELIST[$N]} TEMPL="$TEMPL:$NAME" DATA="$DATA:$VAL" echo $VAL VAL=`echo $VAL| cut -d "." -f 1` RETVAL=0 if [ $VAL -ge $CRIT ]; then RETVAL=2 elif [ $VAL -ge $WARN ]; then RETVAL=1 fi echo $RETVAL ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 acmecargo.com Tue Jan 6 16:12:50 2004 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Tue, 06 Jan 2004 10:12:50 -0500 Subject: uptime on cisco In-Reply-To: <200416155911.607903@icarus> References: <6.0.0.22.2.20040105161841.0294d140@mail.acmecargo.com> <200416155911.607903@icarus> Message-ID: <6.0.0.22.2.20040106101159.046e3ee8@mail.acmecargo.com> I am still hoping for replies on this and my Scheduled Downtime via Cron postings. If the reply doesn't come to the list, I'll let you know. Dylan At 09:59 AM 1/6/2004, you wrote: >Op %verzonden%, schreef %afzender%: > > I'm trying to run the check_snmp (also tried uptime_by_snmp) on a > > few of my cisco routers and I can't seem to get it working > > completely. I've tried the following: > > > > ./check_snmp -H 10.0.0.1 -o .1.3.6.1.2.1.1.3.0 -C comstring -w > > 11111111111111111 -c 11111111111111111111 > > and I get the following return: > > SNMP WARNING - 578561577 > > > > > > Change the warning and critical values: > > ./check_snmp -H 172.16.128.248 -o .1.3.6.1.2.1.1.3.0 -w 5 -c 10 -C > > d0n0thAcK and get the following: SNMP CRITICAL - *578678849* > > > > I'm wanting to know if a router reboots to go into a warning state. > > Once it's been up for 30 min, clear out to an "Ok" status. The > > uptime_by_snmp returns the same values since it's using the > > check_snmp plugin. > > > > Any help is greatly appreciated. > > > > > > Dylan > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for > > IBM's Free Linux Tutorials. Learn everything from the bash shell > > to sys admin. Click now! > > http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > _______________________________________________ Nagios-users > > mailing list Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. ::: Messages without supporting info will risk > > being sent to /dev/null > >Did you allready got an reply? I have a similar problem > >Greetings, > >Jan Rozema ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 6 17:39:31 2004 From: marc at ena.com (Marc Powell) Date: Tue, 6 Jan 2004 10:39:31 -0600 Subject: Scheduled Downtime via Cron Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A104@mismail2.ena.com> > -----Original Message----- > From: nagios at acmecargo.com [mailto:nagios at acmecargo.com] > Sent: Monday, January 05, 2004 5:14 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Scheduled Downtime via Cron > > I'm using the two scripts provided by Sam Tilders on the Nagios Download > page. I've updated the "CommandFile=" path to point to my nagios.cmd file > and both scripts are chmod 755. When I try to run the command as suggested > in the schedule_host_downtime script I get the following: > > [root at host]# /usr/local/nagios/libexec/schedule_host_downtime host "`date > --iso-8601` 05:00:00" "`date --iso-8601` 06:00:00" 1 3600 cron "scheduled > maintenance" > : bad interpreter: No such file or directoryst_downtime: /bin/sh > > I'm running this on RedHat 8.0. Any suggestions? While the output appears garbled, it seems to indicate that /bin/sh does not exist or is not executable by the user you are running the program as (more likely the former). -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 6 17:52:21 2004 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Tue, 06 Jan 2004 11:52:21 -0500 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20Re:=20[Nagios-users]=20uptime=20on?= =?ISO-8859-1?Q?=20cisco?= Message-ID: Dylan, 1- You would have to determine how much "Timeticks" it takes to make 30 minutes. 2- Lets suppose that 3000 Timeticks is 30 minutes in my example. Your command would look like this. ./check_snmp -H 10.0.0.1 -o .1.3.6.1.2.1.1.3.0 -C comstring -w 3000:1 3- Just to be sure, do a little # ./check_snmp -h And see if you have the good version of the plug-ins. check_snmp (nagios-plugins 1.3.99) 1.35 Hope this help. Alex --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada >>> 2004-01-06 10:12:50 >>> I am still hoping for replies on this and my Scheduled Downtime via Cron postings. If the reply doesn't come to the list, I'll let you know. Dylan At 09:59 AM 1/6/2004, you wrote: >Op %verzonden%, schreef %afzender%: > > I'm trying to run the check_snmp (also tried uptime_by_snmp) on a > > few of my cisco routers and I can't seem to get it working > > completely. I've tried the following: > > > > ./check_snmp -H 10.0.0.1 -o .1.3.6.1.2.1.1.3.0 -C comstring -w > > 11111111111111111 -c 11111111111111111111 > > and I get the following return: > > SNMP WARNING - 578561577 > > > > > > Change the warning and critical values: > > ./check_snmp -H 172.16.128.248 -o .1.3.6.1.2.1.1.3.0 -w 5 -c 10 -C > > d0n0thAcK and get the following: SNMP CRITICAL - *578678849* > > > > I'm wanting to know if a router reboots to go into a warning state. > > Once it's been up for 30 min, clear out to an "Ok" status. The > > uptime_by_snmp returns the same values since it's using the > > check_snmp plugin. > > > > Any help is greatly appreciated. > > > > > > Dylan > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for > > IBM's Free Linux Tutorials. Learn everything from the bash shell > > to sys admin. Click now! > > http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > _______________________________________________ Nagios-users > > mailing list Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. ::: Messages without supporting info will risk > > being sent to /dev/null > >Did you allready got an reply? I have a similar problem > >Greetings, > >Jan Rozema ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 acmecargo.com Tue Jan 6 20:52:45 2004 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Tue, 06 Jan 2004 14:52:45 -0500 Subject: Scheduled Downtime via Cron Message-ID: <6.0.0.22.2.20040106145135.02bd31a0@mail.acmecargo.com> /bin/sh is a link to /bin/bash. Not that it matters but I changed the schedule_host_downtime script to use /bin/bash but get the same error. As for the user, I'm running the command from CLI as root. Is anybody else using this script from the nagios.org download extras page? At 11:39 AM 1/6/2004, you wrote: > > -----Original Message----- > > From: nagios at acmecargo.com [mailto:nagios at acmecargo.com] > > Sent: Monday, January 05, 2004 5:14 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Scheduled Downtime via Cron > > > > I'm using the two scripts provided by Sam Tilders on the Nagios >Download > > page. I've updated the "CommandFile=" path to point to my nagios.cmd >file > > and both scripts are chmod 755. When I try to run the command as >suggested > > in the schedule_host_downtime script I get the following: > > > > [root at host]# /usr/local/nagios/libexec/schedule_host_downtime host >"`date > > --iso-8601` 05:00:00" "`date --iso-8601` 06:00:00" 1 3600 cron >"scheduled > > maintenance" > > : bad interpreter: No such file or directoryst_downtime: /bin/sh > > > > I'm running this on RedHat 8.0. Any suggestions? > >While the output appears garbled, it seems to indicate that /bin/sh does >not exist or is not executable by the user you are running the program >as (more likely the former). > >-- >Marc > > > >------------------------------------------------------- >This SF.net email is sponsored by: IBM Linux Tutorials. >Become an expert in LINUX or just sharpen your skills. Sign up for IBM's >Free Linux Tutorials. Learn everything from the bash shell to sys admin. >Click now! http://ads.osdn.com/?ad_id78&alloc_id371&opick >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 acmecargo.com Tue Jan 6 20:53:25 2004 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Tue, 06 Jan 2004 14:53:25 -0500 Subject: =?iso-8859-1?Q?Re:_R=E9p._:_Re:_[Nagios-users]_uptime_on_?= cisco Message-ID: <6.0.0.22.2.20040106145305.02bb33b8@mail.acmecargo.com> Where do I get the 1.3.99 version of the Nagios plugins? All I see on the sourceforge.net website is v1.3.1 and the 1.4.0 alpha1. Please advise. At 11:52 AM 1/6/2004, you wrote: >Dylan, > >1- You would have to determine how much "Timeticks" it takes to make 30 >minutes. > >2- Lets suppose that 3000 Timeticks is 30 minutes in my example. >Your command would look like this. > >./check_snmp -H 10.0.0.1 -o .1.3.6.1.2.1.1.3.0 -C comstring -w 3000:1 > >3- Just to be sure, do a little > ># ./check_snmp -h > >And see if you have the good version of the plug-ins. >check_snmp (nagios-plugins 1.3.99) 1.35 > > >Hope this help. > >Alex > > >--------------------------------------------------- >Alexandre Racine >Montr?al, Qu?bec, Canada > > >>> 2004-01-06 10:12:50 >>> >I am still hoping for replies on this and my Scheduled Downtime via Cron >postings. If the reply doesn't come to the list, I'll let you know. > >Dylan > >At 09:59 AM 1/6/2004, you wrote: > >Op %verzonden%, schreef %afzender%: > > > I'm trying to run the check_snmp (also tried uptime_by_snmp) on a > > > few of my cisco routers and I can't seem to get it working > > > completely. I've tried the following: > > > > > > ./check_snmp -H 10.0.0.1 -o .1.3.6.1.2.1.1.3.0 -C comstring -w > > > 11111111111111111 -c 11111111111111111111 > > > and I get the following return: > > > SNMP WARNING - 578561577 > > > > > > > > > Change the warning and critical values: > > > ./check_snmp -H 172.16.128.248 -o .1.3.6.1.2.1.1.3.0 -w 5 -c 10 -C > > > d0n0thAcK and get the following: SNMP CRITICAL - *578678849* > > > > > > I'm wanting to know if a router reboots to go into a warning state. > > > Once it's been up for 30 min, clear out to an "Ok" status. The > > > uptime_by_snmp returns the same values since it's using the > > > check_snmp plugin. > > > > > > Any help is greatly appreciated. > > > > > > > > > Dylan > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: IBM Linux Tutorials. > > > Become an expert in LINUX or just sharpen your skills. Sign up for > > > IBM's Free Linux Tutorials. Learn everything from the bash shell > > > to sys admin. Click now! > > > http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > > _______________________________________________ Nagios-users > > > mailing list Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > reporting any issue. ::: Messages without supporting info will risk > > > being sent to /dev/null > > > >Did you allready got an reply? I have a similar problem > > > >Greetings, > > > >Jan Rozema > > > > >------------------------------------------------------- >This SF.net email is sponsored by: IBM Linux Tutorials. >Become an expert in LINUX or just sharpen your skills. Sign up for IBM's >Free Linux Tutorials. Learn everything from the bash shell to sys admin. >Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard at splash.co.za Tue Jan 6 20:57:41 2004 From: richard at splash.co.za (Richard Mayhew) Date: Tue, 6 Jan 2004 21:57:41 +0200 Subject: Fedora Message-ID: <001301c3d48f$57d69b80$1400a8c0@splash.co.za> Hey All, I have a few questions, Has anyone installed Nagios 1.1 with MySQL Support on Fedora Core 1? I am finding a few interesting problems with Nagios. Cheers Richard. -------------- next part -------------- An HTML attachment was scrubbed... URL: From daveoshea at sbcglobal.net Tue Jan 6 21:01:55 2004 From: daveoshea at sbcglobal.net (Dave O'Shea) Date: Tue, 6 Jan 2004 12:01:55 -0800 (PST) Subject: check_ntp In-Reply-To: References: Message-ID: <20040106200155.43008.qmail@web80211.mail.yahoo.com> I'm getting a similar problem with check_ntp - except that it keeps saying that a server is stratum 2, which should be acceptable under the defaults. --- andy proctor wrote: > When nagios was first compiled this worked ok but > now it seems to be > mis-reporting ntp and jitter errors, I cannot work > out why this is as there > have not been any changes made to config. > > > > Nagios reports that ?NTP WARNING: Jitter error and > jitter 0.06 msec > +/- > msec ? why this is so I don?t know as the limits for > jitter are 5 and 10 > seconds. > > > > When I run the command from the command line > everything appears ok > > Eg. NTP OK: Offset 0.000003 secs, jitter 0.06 msec, > peer is stratum 3 > > > > Any ideas? > > > > Regards, > Andy Proctor > andyjproctor at hotmail.com > > _________________________________________________________________ > It's fast, it's easy and it's free. Get MSN > Messenger today! > http://www.msn.co.uk/messenger > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux > Tutorials. > Become an expert in LINUX or just sharpen your > skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the > bash shell to sys admin. > Click now! > http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 h0001022b2681.ne.client2.attbi.com Tue Jan 6 21:05:43 2004 From: nagios-users at h0001022b2681.ne.client2.attbi.com (John Mahoney) Date: Tue, 6 Jan 2004 15:05:43 -0500 Subject: checking POP (and IMAP) via SSL? Message-ID: <20040106200543.GA27367@gyro.med.harvard.edu> Hi, I want to verify that POP and IMAP via SSL are working correctly. Can I use check_pop & check_imap to do this? I know I can use these to verify a socket connection, % ./check_imap -H my_mail_server -p 993 -t 5 Socket timeout after 5 seconds % ./check_pop -H my_mail_server -p 995 -t 5 Socket timeout after 5 seconds but I think this is an incomplete check. Is there a better way to do this? Maybe I just need to send more data via the -s flag... Thx -- John _________________________________________________________ John Mahoney nagios-users at h0001022b2681.ne.client2.attbi.com ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard at splash.co.za Tue Jan 6 21:07:13 2004 From: richard at splash.co.za (Richard Mayhew) Date: Tue, 6 Jan 2004 22:07:13 +0200 Subject: check_ntp References: <20040106200155.43008.qmail@web80211.mail.yahoo.com> Message-ID: <002701c3d490$ad2b96c0$1400a8c0@splash.co.za> Hi, One thing you could try is to make sure you specify the arguments rather than just loosly listing them .. ie. Usage: check_ntp -H [-w ] [-c ] [-j ] [-k ] [-v verbose] How do you run the command with your variables? Cheers Richard ----- Original Message ----- From: "Dave O'Shea" To: "andy proctor" ; Sent: Tuesday, January 06, 2004 10:01 PM Subject: Re: [Nagios-users] check_ntp > I'm getting a similar problem with check_ntp - except > that it keeps saying that a server is stratum 2, which > should be acceptable under the defaults. > > --- andy proctor wrote: > > When nagios was first compiled this worked ok but > > now it seems to be > > mis-reporting ntp and jitter errors, I cannot work > > out why this is as there > > have not been any changes made to config. > > > > > > > > Nagios reports that "NTP WARNING: Jitter error and > > jitter 0.06 msec > +/- > > msec " why this is so I don't know as the limits for > > jitter are 5 and 10 > > seconds. > > > > > > > > When I run the command from the command line > > everything appears ok > > > > Eg. NTP OK: Offset 0.000003 secs, jitter 0.06 msec, > > peer is stratum 3 > > > > > > > > Any ideas? > > > > > > > > Regards, > > Andy Proctor > > andyjproctor at hotmail.com > > > > > _________________________________________________________________ > > It's fast, it's easy and it's free. Get MSN > > Messenger today! > > http://www.msn.co.uk/messenger > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux > > Tutorials. > > Become an expert in LINUX or just sharpen your > > skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the > > bash shell to sys admin. > > Click now! > > > http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 acmecargo.com Tue Jan 6 21:10:13 2004 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Tue, 06 Jan 2004 15:10:13 -0500 Subject: Scheduled Downtime via Cron In-Reply-To: <6.0.0.22.2.20040106145135.02bd31a0@mail.acmecargo.com> References: <6.0.0.22.2.20040106145135.02bd31a0@mail.acmecargo.com> Message-ID: <6.0.0.22.2.20040106150912.02e65648@mail.acmecargo.com> In addition, I can execute only the /usr/local/nagios/libexec/schedule_host_downtime host script and I get the same message: /usr/local/nagios/libexec/schedule_host_downtime host Dylan At 02:52 PM 1/6/2004, you wrote: >/bin/sh is a link to /bin/bash. Not that it matters but I changed the >schedule_host_downtime script to use /bin/bash but get the same error. As >for the user, I'm running the command from CLI as root. > >Is anybody else using this script from the nagios.org download extras page? > >At 11:39 AM 1/6/2004, you wrote: > > >> > -----Original Message----- >> > From: nagios at acmecargo.com [mailto:nagios at acmecargo.com] >> > Sent: Monday, January 05, 2004 5:14 PM >> > To: nagios-users at lists.sourceforge.net >> > Subject: [Nagios-users] Scheduled Downtime via Cron >> > >> > I'm using the two scripts provided by Sam Tilders on the Nagios >>Download >> > page. I've updated the "CommandFile=" path to point to my nagios.cmd >>file >> > and both scripts are chmod 755. When I try to run the command as >>suggested >> > in the schedule_host_downtime script I get the following: >> > >> > [root at host]# /usr/local/nagios/libexec/schedule_host_downtime host >>"`date >> > --iso-8601` 05:00:00" "`date --iso-8601` 06:00:00" 1 3600 cron >>"scheduled >> > maintenance" >> > : bad interpreter: No such file or directoryst_downtime: /bin/sh >> > >> > I'm running this on RedHat 8.0. Any suggestions? >> >>While the output appears garbled, it seems to indicate that /bin/sh does >>not exist or is not executable by the user you are running the program >>as (more likely the former). >> >>-- >>Marc >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: IBM Linux Tutorials. >>Become an expert in LINUX or just sharpen your skills. Sign up for IBM's >>Free Linux Tutorials. Learn everything from the bash shell to sys admin. >>Click now! http://ads.osdn.com/?ad_id78&alloc_id371&opick >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: 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: IBM Linux Tutorials. >Become an expert in LINUX or just sharpen your skills. Sign up for IBM's >Free Linux Tutorials. Learn everything from the bash shell to sys admin. >Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 6 21:17:20 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 06 Jan 2004 14:17:20 -0600 Subject: Fedora In-Reply-To: <001301c3d48f$57d69b80$1400a8c0@splash.co.za> References: <001301c3d48f$57d69b80$1400a8c0@splash.co.za> Message-ID: <1073420240.4514.61.camel@localhost> I run the nagios 1.2 (cvs) code under RedHat 9 running a beta Fedora Core kernel (v2.4.22-1.2088.nptlsmp). So, not *exactly*, but kinda :) It's in production like that and works great. On Tue, 2004-01-06 at 13:57, Richard Mayhew wrote: > Hey All, > > I have a few questions, Has anyone installed Nagios 1.1 with MySQL > Support on Fedora Core 1? > > I am finding a few interesting problems with Nagios. > > > Cheers > > Richard. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard at splash.co.za Tue Jan 6 21:22:40 2004 From: richard at splash.co.za (Richard Mayhew) Date: Tue, 6 Jan 2004 22:22:40 +0200 Subject: Fedora References: <001301c3d48f$57d69b80$1400a8c0@splash.co.za> <1073420240.4514.61.camel@localhost> Message-ID: <003d01c3d492$d543a600$1400a8c0@splash.co.za> Ahh Ok. Well I had to removed the embedded perl part from the compile, and getting the GD libs to work is also being a little of a problem. I started by not setting a limit to the number of checked performed in parallel, the box handled it no prob (500+) but Nagios seemed to have gotten a little confused and started rescheduling checks cos it claimed not to have recived any responce from them. How true this is I dont know. I have no had to limit the number of checks to 64. seems to have helped...guess time will tell. Wondered if you had a similar problem? ----- Original Message ----- From: "jeff vier" To: "Richard Mayhew" Cc: "nagios-users" Sent: Tuesday, January 06, 2004 10:17 PM Subject: Re: [Nagios-users] Fedora > I run the nagios 1.2 (cvs) code under RedHat 9 running a beta Fedora > Core kernel (v2.4.22-1.2088.nptlsmp). > > So, not *exactly*, but kinda :) > > It's in production like that and works great. > > On Tue, 2004-01-06 at 13:57, Richard Mayhew wrote: > > Hey All, > > > > I have a few questions, Has anyone installed Nagios 1.1 with MySQL > > Support on Fedora Core 1? > > > > I am finding a few interesting problems with Nagios. > > > > > > Cheers > > > > Richard. > > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 6 21:33:54 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 06 Jan 2004 14:33:54 -0600 Subject: Fedora In-Reply-To: <003d01c3d492$d543a600$1400a8c0@splash.co.za> References: <001301c3d48f$57d69b80$1400a8c0@splash.co.za> <1073420240.4514.61.camel@localhost> <003d01c3d492$d543a600$1400a8c0@splash.co.za> Message-ID: <1073421234.4507.70.camel@localhost> I did, but I don't remember exactly what I did to fix it. Here's my nagios config (with comments and blank lines stripped): (run 'grep -v "^#" nagios.cfg |grep -v "^$"' to get a comparable version of your own) ----------- log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/dependencies.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=5s command_file=/usr/local/nagios/var/rw/nagios.cmd comment_file=/usr/local/nagios/var/comment.log downtime_file=/usr/local/nagios/var/downtime.log lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=0 log_notifications=1 log_service_retries=0 log_host_retries=0 log_event_handlers=0 log_initial_states=1 log_external_commands=1 log_passive_service_checks=1 inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=100 service_reaper_frequency=3 sleep_time=1 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav retention_update_interval=14 use_retained_program_state=1 interval_length=60 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=1 obsess_over_services=0 check_for_orphaned_services=1 check_service_freshness=1 freshness_check_interval=300 aggregate_status_updates=0 status_update_interval=15 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> admin_email=nagios ----------- On Tue, 2004-01-06 at 14:22, Richard Mayhew wrote: > Ahh Ok. > > Well I had to removed the embedded perl part from the compile, and getting > the GD libs to work is also being a little of a problem. I started by not > setting a limit to the number of checked performed in parallel, the box > handled it no prob (500+) but Nagios seemed to have gotten a little confused > and started rescheduling checks cos it claimed not to have recived any > responce from them. How true this is I dont know. I have no had to limit the > number of checks to 64. seems to have helped...guess time will tell. > > Wondered if you had a similar problem? > > ----- Original Message ----- > From: "jeff vier" > To: "Richard Mayhew" > Cc: "nagios-users" > Sent: Tuesday, January 06, 2004 10:17 PM > Subject: Re: [Nagios-users] Fedora > > > > I run the nagios 1.2 (cvs) code under RedHat 9 running a beta Fedora > > Core kernel (v2.4.22-1.2088.nptlsmp). > > > > So, not *exactly*, but kinda :) > > > > It's in production like that and works great. > > > > On Tue, 2004-01-06 at 13:57, Richard Mayhew wrote: > > > Hey All, > > > > > > I have a few questions, Has anyone installed Nagios 1.1 with MySQL > > > Support on Fedora Core 1? > > > > > > I am finding a few interesting problems with Nagios. > > > > > > > > > Cheers > > > > > > Richard. > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard at splash.co.za Tue Jan 6 21:38:02 2004 From: richard at splash.co.za (Richard Mayhew) Date: Tue, 6 Jan 2004 22:38:02 +0200 Subject: Fedora References: <001301c3d48f$57d69b80$1400a8c0@splash.co.za> <1073420240.4514.61.camel@localhost> <003d01c3d492$d543a600$1400a8c0@splash.co.za> <1073421234.4507.70.camel@localhost> Message-ID: <005d01c3d494$fb00fc60$1400a8c0@splash.co.za> Great, how many servers/services do you monitor on what spec server? Thanks ----- Original Message ----- From: "jeff vier" To: "Richard Mayhew" Cc: "nagios-users" Sent: Tuesday, January 06, 2004 10:33 PM Subject: Re: [Nagios-users] Fedora > I did, but I don't remember exactly what I did to fix it. > > Here's my nagios config (with comments and blank lines stripped): > (run 'grep -v "^#" nagios.cfg |grep -v "^$"' to get a comparable version > of your own) > ----------- > log_file=/usr/local/nagios/var/nagios.log > cfg_file=/usr/local/nagios/etc/checkcommands.cfg > cfg_file=/usr/local/nagios/etc/misccommands.cfg > cfg_file=/usr/local/nagios/etc/contactgroups.cfg > cfg_file=/usr/local/nagios/etc/contacts.cfg > cfg_file=/usr/local/nagios/etc/dependencies.cfg > cfg_file=/usr/local/nagios/etc/escalations.cfg > cfg_file=/usr/local/nagios/etc/hostgroups.cfg > cfg_file=/usr/local/nagios/etc/hosts.cfg > cfg_file=/usr/local/nagios/etc/services.cfg > cfg_file=/usr/local/nagios/etc/timeperiods.cfg > resource_file=/usr/local/nagios/etc/resource.cfg > status_file=/usr/local/nagios/var/status.log > nagios_user=nagios > nagios_group=nagios > check_external_commands=1 > command_check_interval=5s > command_file=/usr/local/nagios/var/rw/nagios.cmd > comment_file=/usr/local/nagios/var/comment.log > downtime_file=/usr/local/nagios/var/downtime.log > lock_file=/usr/local/nagios/var/nagios.lock > temp_file=/usr/local/nagios/var/nagios.tmp > log_rotation_method=d > log_archive_path=/usr/local/nagios/var/archives > use_syslog=0 > log_notifications=1 > log_service_retries=0 > log_host_retries=0 > log_event_handlers=0 > log_initial_states=1 > log_external_commands=1 > log_passive_service_checks=1 > inter_check_delay_method=s > service_interleave_factor=s > max_concurrent_checks=100 > service_reaper_frequency=3 > sleep_time=1 > service_check_timeout=60 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 > retain_state_information=1 > state_retention_file=/usr/local/nagios/var/status.sav > retention_update_interval=14 > use_retained_program_state=1 > interval_length=60 > use_agressive_host_checking=0 > execute_service_checks=1 > accept_passive_service_checks=1 > enable_notifications=1 > enable_event_handlers=1 > process_performance_data=1 > obsess_over_services=0 > check_for_orphaned_services=1 > check_service_freshness=1 > freshness_check_interval=300 > aggregate_status_updates=0 > status_update_interval=15 > enable_flap_detection=0 > low_service_flap_threshold=5.0 > high_service_flap_threshold=20.0 > low_host_flap_threshold=5.0 > high_host_flap_threshold=20.0 > date_format=us > illegal_object_name_chars=`~!$%^&*|'"<>?,()= > illegal_macro_output_chars=`~$&|'"<> > admin_email=nagios > ----------- > > On Tue, 2004-01-06 at 14:22, Richard Mayhew wrote: > > Ahh Ok. > > > > Well I had to removed the embedded perl part from the compile, and getting > > the GD libs to work is also being a little of a problem. I started by not > > setting a limit to the number of checked performed in parallel, the box > > handled it no prob (500+) but Nagios seemed to have gotten a little confused > > and started rescheduling checks cos it claimed not to have recived any > > responce from them. How true this is I dont know. I have no had to limit the > > number of checks to 64. seems to have helped...guess time will tell. > > > > Wondered if you had a similar problem? > > > > ----- Original Message ----- > > From: "jeff vier" > > To: "Richard Mayhew" > > Cc: "nagios-users" > > Sent: Tuesday, January 06, 2004 10:17 PM > > Subject: Re: [Nagios-users] Fedora > > > > > > > I run the nagios 1.2 (cvs) code under RedHat 9 running a beta Fedora > > > Core kernel (v2.4.22-1.2088.nptlsmp). > > > > > > So, not *exactly*, but kinda :) > > > > > > It's in production like that and works great. > > > > > > On Tue, 2004-01-06 at 13:57, Richard Mayhew wrote: > > > > Hey All, > > > > > > > > I have a few questions, Has anyone installed Nagios 1.1 with MySQL > > > > Support on Fedora Core 1? > > > > > > > > I am finding a few interesting problems with Nagios. > > > > > > > > > > > > Cheers > > > > > > > > Richard. > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 6 21:57:14 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 06 Jan 2004 14:57:14 -0600 Subject: Fedora In-Reply-To: <005d01c3d494$fb00fc60$1400a8c0@splash.co.za> References: <001301c3d48f$57d69b80$1400a8c0@splash.co.za> <1073420240.4514.61.camel@localhost> <003d01c3d492$d543a600$1400a8c0@splash.co.za> <1073421234.4507.70.camel@localhost> <005d01c3d494$fb00fc60$1400a8c0@splash.co.za> Message-ID: <1073422634.4513.75.camel@localhost> On Tue, 2004-01-06 at 14:38, Richard Mayhew wrote: > Great, how many servers/services do you monitor on what spec server? 1097 services on 246 servers Dual 1.4G PIII system with a gig of ram. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chrismcc at pricegrabber.com Wed Jan 7 00:00:12 2004 From: chrismcc at pricegrabber.com (Christopher McCrory) Date: Tue, 06 Jan 2004 15:00:12 -0800 Subject: check_ntp In-Reply-To: References: Message-ID: <1073430012.22899.20.camel@wednesday.pricegrabber.com> Hello... On Tue, 2004-01-06 at 03:48, andy proctor wrote: > When nagios was first compiled this worked ok but now it seems to be > mis-reporting ntp and jitter errors, I cannot work out why this is as there > have not been any changes made to config. > > > > Nagios reports that NTP WARNING: Jitter error and jitter 0.06 msec > +/- > msec why this is so I dont know as the limits for jitter are 5 and 10 > seconds. > Have you added more hosts? I was all OK, until I started adding more hosts, it seemed to overload the local (nagios) machine. Increasing the check interval worked for me. Why bother checking ntp every 5 minutes? I changed to every hour and all is good. > > > When I run the command from the command line everything appears ok > > Eg. NTP OK: Offset 0.000003 secs, jitter 0.06 msec, peer is stratum 3 > > > > Any ideas? > > > > Regards, > Andy Proctor > andyjproctor at hotmail.com > > _________________________________________________________________ > It's fast, it's easy and it's free. Get MSN Messenger today! > http://www.msn.co.uk/messenger > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Christopher McCrory "The guy that keeps the servers running" chrismcc at pricegrabber.com http://www.pricegrabber.com Let's face it, there's no Hollow Earth, no robots, and no 'mute rays.' And even if there were, waxed paper is no defense. I tried it. Only tinfoil works. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 acmecargo.com Wed Jan 7 00:01:44 2004 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Tue, 06 Jan 2004 18:01:44 -0500 Subject: Scheduled Downtime via Cron In-Reply-To: <20040106220104.GG4603@thot.informatik.uni-kl.de> References: <6.0.0.22.2.20040105180645.0243e3b0@mail.acmecargo.com> <20040106220104.GG4603@thot.informatik.uni-kl.de> Message-ID: <6.0.0.22.2.20040106180101.02cb8e98@mail.acmecargo.com> None that I can see in the script. I simply did a wget from the web page it's hosted on so it should be in it's original format. Dylan At 05:01 PM 1/6/2004, you wrote: >On Mon, Jan 05, 2004 at 06:13:41PM -0500, nagios at acmecargo.com wrote: > > [root at host]# /usr/local/nagios/libexec/schedule_host_downtime host "`date > > --iso-8601` 05:00:00" "`date --iso-8601` 06:00:00" 1 3600 cron "scheduled > > maintenance" > > : bad interpreter: No such file or directoryst_downtime: /bin/sh > >Maybe you should check both, the script and your crontab with cat -A >for dubious whitespaces. > > ciao > J?rg > >-- >Joerg Mayer >We are stuck with technology when what we really want is just stuff that >works. Some say that should read Microsoft instead of technology. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gillian.bennett at celentia.com Wed Jan 7 00:17:30 2004 From: gillian.bennett at celentia.com (gillian bennett) Date: 07 Jan 2004 09:17:30 +1000 Subject: cgi permission problem Message-ID: <1073431050.3949.24.camel@rh-possum> Hi, I have used nagios for ages and had no problems. However, I am setting 1.1 up on fedora core 1.0 for the first time and am having some problems with the cgi permissions. Web access is authenticating fine, and I see which user I am actually logged in as. However, no matter which user I use, whether an authenticated contact or just guest user, I get the same error all the time when trying to access server/host information: "It appears as though you do not have permission to view information for any of these services you requested" The users I have attempted to use are in the contacts.cfg, contactgroups.cfg, cgi.cfg, htpasswd.users. I have also put the .htaccess file containing : " AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require vaid-user " The ownership of the .htaccess files is nagios:nagios with perms 0700. The ownership of the htpasswd.users file is nagios:nagios with perms 0770. I have checked perms for all dirs and files in the ~nagios directories against one of the sites I have working and all looks just fine. As I THINK I have read the doco a few times and followed the instructions, tried doing an strace to follow the process etc, I have not uncovered any solution to this problem. If someone has the answer this would be great. Thanks, Gillian ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Wed Jan 7 00:18:14 2004 From: mtucker at airmail.net (Michael Tucker) Date: Tue, 6 Jan 2004 17:18:14 -0600 Subject: Distributed monitoring, nrpe config Message-ID: <9A6E9FB8-409E-11D8-BD7E-0030657DF28A@airmail.net> Howdy: I've been working on setting up Nagios (for the first time) with a central server, distributed server and monitored host(s). It all works great (except for SSL with NRPE - see other threads), and I'm really pleased with it. However, I just now realized I've made a bone-head newbie error. On the central server, I'm seeing the status of my distributed server, rather than the status of the monitored host as I expect. For instance: I've got 6 shells running on the monitored host (let's say its host name is "monhost"), but just one on the distributed server (let's say its host name is "distserv"). If I run ./check_nrpe manually from the distributed server, I see: # hostname distserv # pwd /usr/local/nagios/libexec # ./check_nrpe -H monhost -c check_users USERS WARNING - 6 users currently logged in That's what I would expect to see. However, the Nagios web display for the monitored host (yes, really; for "monhost") shows: USERS OK - 1 users currently logged in? That's *not* what I would expect to see; but it makes sense if it's getting the status of the distributed server instead of the monitored host. In fact, if I run it on the distributed server, that's what I see: # hostname distserv # ./check_users -w 5 -c 10 USERS OK - 1 users currently logged in Here's my config files (just the portion for check_users): ----- services.cfg ----- define service{ use generic-service ; Name of service template to use host_name monhost service_description Current Users is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 contact_groups admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_users } ----- end ----- ----- checkcommands.cfg ----- define command{ command_name check_users command_line $USER1$/check_users -w 5 -c 10 } ----- end ----- This is set up the same on both the central server and the distributed server. In looking at this, it dawned on me: how does Nagios know that it needs to run check_users via nrpe (for this host) on the distributed server? D'oh! Michael ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gillian.bennett at celentia.com Wed Jan 7 00:23:33 2004 From: gillian.bennett at celentia.com (gillian bennett) Date: 07 Jan 2004 09:23:33 +1000 Subject: cgi permissions problem fixed Message-ID: <1073431413.3949.27.camel@rh-possum> Hi, I fixed the problem just mentioned by using one of the troubleshooting tips - set nagios uid > 100. this fixed it and now can see all service and host info. thanks, Gillian ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tech at anshulgupta.com Wed Jan 7 00:37:46 2004 From: tech at anshulgupta.com (Anshul Gupta) Date: Wed, 7 Jan 2004 10:37:46 +1100 Subject: NSCA: Unrecognized External Commands In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A101@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A101@mismail2.ena.com> Message-ID: <551D4A4C-40A1-11D8-A0CA-000A95B96BB0@anshulgupta.com> Hi, I have nagios 1.1 only not the mixed environment. I have done the distributed monitoring setup using the documentation supplied with nagios 1.1 so I guess it should work. Please let me know the changes I need to make to get it working. Regards, Anshul On 07/01/2004, at 3:21 AM, Marc Powell wrote: >> -----Original Message----- >> Cheers, Anshul ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.johnston at kirtland.af.mil Wed Jan 7 01:51:53 2004 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Wed, 7 Jan 2004 00:51:53 -0000 Subject: GD libraries Message-ID: <200401070052.i070qEcX011399@knockout.kirtland.af.mil> I'm having the worse time trying to get the GD libraries to see the jpeg libraries. I do have libjpeg installed, but when I compile it, it says that the support is not there. I ve tried using --with-jpeg=/usr/lib to no avail. This is what I see: ** Configuration summary for gd 2.0.18: Support for PNG library: yes Support for JPEG library: no Support for Freetype 2.x library: no Support for Xpm library: no Support for pthreads: yes I've looked on the GD website as well as the nagios FAQ's but I must be missing something. Also, do I need to add Freetype and Xpm in order for nagios to work with it? Thanks! Mike ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 bluecobras.com Wed Jan 7 02:48:52 2004 From: chris at bluecobras.com (Chris Hammond) Date: Tue, 06 Jan 2004 20:48:52 -0500 Subject: GD libraries In-Reply-To: <200401070052.i070qEcX011399@knockout.kirtland.af.mil> References: <200401070052.i070qEcX011399@knockout.kirtland.af.mil> Message-ID: <1073440132.3000.1.camel@localhost> On Tue, 2004-01-06 at 19:51, Johnston Michael J Contr AFRL/DES wrote: Chances are that all you need to do is install the devel packages for the 3 that are listed as no. Chris > I'm having the worse time trying to get the GD libraries to see the jpeg > libraries. I do have libjpeg installed, but when I compile it, it says that > the support is not there. I ve tried using --with-jpeg=/usr/lib to no > avail. This is what I see: > > ** Configuration summary for gd 2.0.18: > > Support for PNG library: yes > Support for JPEG library: no > Support for Freetype 2.x library: no > Support for Xpm library: no > Support for pthreads: yes > > I've looked on the GD website as well as the nagios FAQ's but I must be > missing something. > > Also, do I need to add Freetype and Xpm in order for nagios to work with it? > Thanks! > > Mike > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jordan at advapro.com Wed Jan 7 03:11:05 2004 From: jordan at advapro.com (Jordan Erickson) Date: Tue, 06 Jan 2004 18:11:05 -0800 Subject: Nagios 1.1 Upgrade = CGI Color changes Message-ID: <3FFB6AB9.5050301@advapro.com> Hello, I can't seem to find any info in the mailinglists/FAQ or anywhere else, but it seems like it'd be quite a 'chatty' subject.. Anyway, I just upgraded to the latest version of Nagios for Debian unstable (1.1-11) and since then, the CGI backgrounds are all white, instead of grey, or red, or green, or whatever they're supposed to be for the particular interface. It's quite ugly, actually! I was wondering if anyone had a fix for this. I tried lurking around in the config files but found nothing. This also happened on another box I'm running Nagios on, completely seperate from this one (also Debian). Thanks in advance for any information!! ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bwhaley at costrack.com Wed Jan 7 05:33:48 2004 From: bwhaley at costrack.com (Ben Whaley) Date: Tue, 06 Jan 2004 21:33:48 -0700 Subject: GD libraries Message-ID: I had a similar problem and I found that the jpeg and png libraries needed to be in the LIBS environment variable. Using tcsh, the command is: %setenv LIBS where is, in your case, /usr/lib. As far as I know, you don't need Freetype or Xpm support. Hope that helps, Ben --- Boy, times like these are when I wish color pictures could be transmitted over the net :-> -- Aug. 1992 USENET post > > I'm having the worse time trying to get the GD libraries to see the jpeg > > libraries. I do have libjpeg installed, but when I compile it, it says that > > the support is not there. I ve tried using --with-jpeg=/usr/lib to no > > avail. This is what I see: > > > > ** Configuration summary for gd 2.0.18: > > > > Support for PNG library: yes > > Support for JPEG library: no > > Support for Freetype 2.x library: no > > Support for Xpm library: no > > Support for pthreads: yes > > > > I've looked on the GD website as well as the nagios FAQ's but I must be > > missing something. > > > > Also, do I need to add Freetype and Xpm in order for nagios to work with it? > > Thanks! > > > > Mike > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpttdi at yahoo.fr Wed Jan 7 09:24:41 2004 From: jpttdi at yahoo.fr (=?iso-8859-1?q?jpttdi?=) Date: Wed, 7 Jan 2004 09:24:41 +0100 (CET) Subject: Scheduled downtime and event handlers. Message-ID: <20040107082441.96676.qmail@web25209.mail.ukl.yahoo.com> Hi all, I have search through the list for this question and i find it already asked, but i didn't find any answer. So i try once again: With Nagios 1.1, i have set up event handlers on services which monitor critical application processes (restart if too few process, kill and restart if too many), and i would like to find an easy way to deactivate event handlers during scheduled downtime. Thanks. Jpttdi. --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From Francois.JEANMOUGIN at 123multimedia.com Wed Jan 7 10:10:48 2004 From: Francois.JEANMOUGIN at 123multimedia.com (Francois JEANMOUGIN) Date: Wed, 7 Jan 2004 10:10:48 +0100 Subject: Monitoring MySQL and PostgreSQL Message-ID: <4B05B471CA57554C8E0361B442971086043CE9@mail.tls.123multimedia.com> Hi all, I found some netsaint plugins for mySQL, but I was unable to locate anything for nagios. Any pointer ? Thanks, Fran?ois. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 7 11:45:17 2004 From: h.baecker at ecofis.de (h.baecker at ecofis.de) Date: Wed, 7 Jan 2004 11:45:17 +0100 Subject: Distributed / Failover Monitoring - ocsp command don't work Message-ID: Hello all, I've got some Problem with Failover Monitoring explicit the ocsp command. This is what I have: Master Server: Nagios 1.0 with active notifications / active service checks / active state retention Slave Server: Nagios 1.1 disabled notification / service_checks / state retention = 0 and following config on the Master: ## nagios.cfg obsess_over_services=1 ocsp_command=submit_check_result ## misccommands.cfg # 'submit_check_result' command definition to send Service Status to Slave Nagios define command{ command_name submit_check_result command_line /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' } ## services.cfg define service{ host_name some_host service_description some_service is_volatile 0 check_period 24x7 check_command check_webserver_ext........ max_check_attempts 4 notification_interval 3600 notification_period 24x7 --->>> obsess_over_service 1 notifications_enabled 1 notification_options r,c normal_check_interval 300 retry_check_interval 15 contact_groups notrelevant } If I run the '/usr/local/nagios/libexec/eventhandlers/submit_check_result' manually as the same user as nagios the Service Check Results were transmitted to the Slave through nsca_send and all that stuff. It works fine. But in "normal" live the submit_check_result won't be executed with no error in the logfiles. For controlling myself I configured some services with .... .... .... event_handler submit_check_result event_handler_enabled 1 .... .... and it works. After Service State changes (!!!) the Slave show me that there are Problems, Warnings, Criticals and so on, all other services are on state "pending". If I am right, it should be able with the ocsp command to transmit all (!!!) the service results to my slave or is it wrong? Please help. Best regards Hendrik B?cker -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael at linuxslave.de Wed Jan 7 12:18:44 2004 From: michael at linuxslave.de (Michael Bakker) Date: Wed, 07 Jan 2004 12:18:44 +0100 Subject: Links to http://(forums|nagios).square-box.com invalid Message-ID: <20040107111844.4713.qmail@linuxslave.de> Hi, looks like apache got reinstalled on the box hosting http://forums.square-box.com (english forum) and http://nagios.square-box.com (nagios demo). Regards, Michael Bakker ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 linuxslave.de Wed Jan 7 12:24:06 2004 From: michael at linuxslave.de (Michael Bakker) Date: Wed, 07 Jan 2004 12:24:06 +0100 Subject: React if service is DOWN/FAILED Message-ID: <20040107112406.27478.qmail@linuxslave.de> Hi, is it possible to react e.g. execute a command if a service is DOWN/FAILED within Nagios (or with a plugin)? Otherwises i would write a small daemon that will read var/downtime.log etc. But maybe this is already a build-in feature of Nagios. Regards, Michael Bakker ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chairmanhowe at yahoo.co.uk Wed Jan 7 12:34:17 2004 From: chairmanhowe at yahoo.co.uk (=?iso-8859-1?q?Andrew=20Howe?=) Date: Wed, 7 Jan 2004 11:34:17 +0000 (GMT) Subject: E-mail Messaging - Linux - RedHat 9.0 Message-ID: <20040107113417.92048.qmail@web25006.mail.ukl.yahoo.com> I have a Nagios 1.1 installation which is up and running and monitoring servers successfully on a REDHAT 9.0 Box. E-Mail notification is working successfully when Nagios is sending mail to nagios at localhost.localdomain I would like to send e-mail messages via a SMTP server. I have the SMTP server details and have successfully configured and sent mail using Ximiam Evolution. I have configured this for both my Root and Nagios Accounts. However Having set up Nagios 1.1 with the correct "Contact Details" which which to send external e-mail I am not receiving messages sent via the smtp mail server. These do not appear to be getting logged either. As I understand it I do not have to configure sendmail and would prefer not to. I have spent time doing that as well all to no avail. There are no firewall settings and port restictions. Any Help would be grately appreciated. regards Andrew ________________________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard at splash.co.za Wed Jan 7 10:25:32 2004 From: richard at splash.co.za (Richard Mayhew) Date: Wed, 7 Jan 2004 11:25:32 +0200 Subject: NRPE 2.0 Message-ID: <003a01c3d500$32a05330$211302c4@mweb.com> Hi I am running Nagios 1.1 on a Fedora Core 1 Server, With NRPE 2.0. When monitoring other servers using NRPE (Redhat 7.3 for example) I sometimes recieve the error back "Error - Could not complete SSL handshake" Is there something I can do to have this problem corrected? Thanks Richard. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mauog at interfree.it Wed Jan 7 12:50:14 2004 From: mauog at interfree.it (Mauro) Date: Wed, 7 Jan 2004 12:50:14 +0100 Subject: How to change icon in status map Message-ID: <006201c3d514$6984f810$5dc810ac@graitmgatt> Hi all, I'd like to change icons in status map. Do You know how I can do? Thank You Mauro -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.harbach at securetrading.com Wed Jan 7 13:00:08 2004 From: andy.harbach at securetrading.com (Andy Harbach) Date: Wed, 07 Jan 2004 12:00:08 +0000 Subject: How to change icon in status map In-Reply-To: <006201c3d514$6984f810$5dc810ac@graitmgatt> References: <006201c3d514$6984f810$5dc810ac@graitmgatt> Message-ID: <1073476808.12655.63.camel@dev05> On Wed, 2004-01-07 at 11:50, Mauro wrote: > Hi all, I'd like to change icons in status map. Do You know how I can > do? You need to edit the file extinfo.cfg and add lines of the format define hostextinfo{ host_name icon_image .png icon_image_alt vrml_image .png statusmap_image .gd2 } Where is an icon in /usr/local/nagios/share/logos Best wishes, -- Andy Harbach System Operations SecureTrading www.securetrading.com ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andre.bergei at ementor.no Wed Jan 7 13:05:05 2004 From: andre.bergei at ementor.no (Andre Bergei) Date: Wed, 7 Jan 2004 13:05:05 +0100 Subject: React if service is DOWN/FAILED Message-ID: <3C8515D9676BF9479F7EF3545B63AA22537AA3@100NOOSLMSG001.common.alpharoot.net> > Hi, > > is it possible to react e.g. execute a command if a service > is DOWN/FAILED > within Nagios (or with a plugin)? > Otherwises i would write a small daemon that will read > var/downtime.log etc. > But maybe this is already a build-in feature of Nagios. > > Regards, > > Michael Bakker Yes. Quick link; http://nagios.sourceforge.net/docs/1_0/eventhandlers.html Best andr? ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpttdi at yahoo.fr Wed Jan 7 13:41:41 2004 From: jpttdi at yahoo.fr (=?iso-8859-1?q?jpttdi?=) Date: Wed, 7 Jan 2004 13:41:41 +0100 (CET) Subject: React if service is DOWN/FAILED In-Reply-To: <20040107112406.27478.qmail@linuxslave.de> References: <20040107112406.27478.qmail@linuxslave.de> Message-ID: <20040107124141.25137.qmail@web25210.mail.ukl.yahoo.com> Hi, This feature is called "event handlers" (detailled in the documentation) Jpt. Michael Bakker wrote: Hi, is it possible to react e.g. execute a command if a service is DOWN/FAILED within Nagios (or with a plugin)? Otherwises i would write a small daemon that will read var/downtime.log etc. But maybe this is already a build-in feature of Nagios. Regards, Michael Bakker ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From karl at debisschop.net Wed Jan 7 13:59:31 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Wed, 07 Jan 2004 07:59:31 -0500 Subject: =?ISO-8859-1?Q?R=E9p=2E?= : Re: [Nagios-users] uptime on cisco In-Reply-To: <6.0.0.22.2.20040106145305.02bb33b8@mail.acmecargo.com> References: <6.0.0.22.2.20040106145305.02bb33b8@mail.acmecargo.com> Message-ID: <1073480370.941.3.camel@miles.debisschop.net> On Tue, 2004-01-06 at 14:53, nagios at acmecargo.com wrote: > Where do I get the 1.3.99 version of the Nagios plugins? All I see on the > sourceforge.net website is v1.3.1 and the 1.4.0 alpha1. Please advise. 1.3.99 is not a release - it was the version token in CVS between 1.3.x and 1.4.0a1 -- Karl ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 7 14:03:06 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Wed, 07 Jan 2004 08:03:06 -0500 Subject: Monitoring MySQL and PostgreSQL In-Reply-To: <4B05B471CA57554C8E0361B442971086043CE9@mail.tls.123multimedia.com> References: <4B05B471CA57554C8E0361B442971086043CE9@mail.tls.123multimedia.com> Message-ID: <1073480585.941.6.camel@miles.debisschop.net> On Wed, 2004-01-07 at 04:10, Francois JEANMOUGIN wrote: > Hi all, > > I found some netsaint plugins for mySQL, but I was unable to locate anything > for nagios. Any pointer ? Both are in the current nagios plugins. You need to make sure that configure picks up your libraries for the each DBMS, but they are both there and build out of the box for most standard configurations. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 7 14:07:29 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Wed, 07 Jan 2004 08:07:29 -0500 Subject: checking POP (and IMAP) via SSL? In-Reply-To: <20040106200543.GA27367@gyro.med.harvard.edu> References: <20040106200543.GA27367@gyro.med.harvard.edu> Message-ID: <1073480849.941.9.camel@miles.debisschop.net> On Tue, 2004-01-06 at 15:05, John Mahoney wrote: > Hi, > > I want to verify that POP and IMAP via SSL are working > correctly. > > Can I use check_pop & check_imap to do this? > > I know I can use these to verify a socket connection, > % ./check_imap -H my_mail_server -p 993 -t 5 > Socket timeout after 5 seconds > > % ./check_pop -H my_mail_server -p 995 -t 5 > Socket timeout after 5 seconds > but I think this is an incomplete check. > > Is there a better way to do this? > > Maybe I just need to send more data via the -s flag... Try check_simap and check_spop -- they are just symlinks to check_tcp, but when invoked with that name, SSL will be used by default and the SSL port will be used - you won't need to specofy that. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From extern.Lars.Oeschey at audi.de Wed Jan 7 14:39:41 2004 From: extern.Lars.Oeschey at audi.de (extern.Lars.Oeschey at audi.de) Date: Wed, 7 Jan 2004 14:39:41 +0100 Subject: compile fails with mysql support Message-ID: <3A51ADC7DE201748AE224D58A8CA83B502256F63@deaudiis1127.audi.de> Hi, I want to recompile nagios with mysql support (want to take a look at nagmin). Compile fails with this error: make[1]: Entering directory `/home/oeschela/nagios-1.1/cgi' gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o getcgi.o getcgi.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o cgiutils.o cgiutils.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o auth.o auth.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o popen.o popen.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -lmysqlclient avail.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c -o avail.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -lmysqlclient cmd.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c ../common/comments.c ../xdata/xcddb.c ../common/downtime.c ../xdata/xdddb.c -o cmd.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -lmysqlclient config.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c -o config.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -lmysqlclient extinfo.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c ../common/comments.c ../xdata/xcddb.c edata.o ../xdata/xeddb.c ../common/downtime.c ../xdata/xdddb.c -o extinfo.cgi edata.o: In function `read_extended_object_config_data': /home/oeschela/nagios-1.1/cgi/edata.c:85: undefined reference to `xedtemplate_read_extended_object_config_data' collect2: ld returned 1 exit status make[1]: *** [extinfo.cgi] Error 1 make[1]: Leaving directory `/home/oeschela/nagios-1.1/cgi' make: *** [all] Error 2 Anyone seen this before, or knows what happens? Lars ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From extern.Lars.Oeschey at audi.de Wed Jan 7 15:33:36 2004 From: extern.Lars.Oeschey at audi.de (extern.Lars.Oeschey at audi.de) Date: Wed, 7 Jan 2004 15:33:36 +0100 Subject: compile fails with mysql support Message-ID: <3A51ADC7DE201748AE224D58A8CA83B502256F65@deaudiis1127.audi.de> > I want to recompile nagios with mysql support (want to take a look at > nagmin). Compile fails with this error: for the archives: a "make clean" fixed it. Lars ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 7 15:38:04 2004 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Wed, 07 Jan 2004 09:38:04 -0500 Subject: =?ISO-8859-1?Q?[Nagios-users]=20Re:=20R=E9p.=20:=20Re:=20[Nagios?= =?ISO-8859-1?Q?-users]=20uptime=20on=20cisco?= Message-ID: You dont absolutely have to have version 1.3.99, but at least when you do the # ./check_snmp -h command, you must have the ability to have the MAX:MIN variables when checking the warning state (-w 3000:1). For the latest version, check out the latest snapshot http://nagiosplug.sourceforge.net/snapshot/ I think you have to download the HEAD one... but can't remember. Alex --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada >>> 2004-01-06 14:53:25 >>> Where do I get the 1.3.99 version of the Nagios plugins? All I see on the sourceforge.net website is v1.3.1 and the 1.4.0 alpha1. Please advise. At 11:52 AM 1/6/2004, you wrote: >Dylan, > >1- You would have to determine how much "Timeticks" it takes to make 30 >minutes. > >2- Lets suppose that 3000 Timeticks is 30 minutes in my example. >Your command would look like this. > >./check_snmp -H 10.0.0.1 -o .1.3.6.1.2.1.1.3.0 -C comstring -w 3000:1 > >3- Just to be sure, do a little > ># ./check_snmp -h > >And see if you have the good version of the plug-ins. >check_snmp (nagios-plugins 1.3.99) 1.35 > > >Hope this help. > >Alex > > >--------------------------------------------------- >Alexandre Racine >Montr?al, Qu?bec, Canada > > >>> 2004-01-06 10:12:50 >>> >I am still hoping for replies on this and my Scheduled Downtime via Cron >postings. If the reply doesn't come to the list, I'll let you know. > >Dylan > >At 09:59 AM 1/6/2004, you wrote: > >Op %verzonden%, schreef %afzender%: > > > I'm trying to run the check_snmp (also tried uptime_by_snmp) on a > > > few of my cisco routers and I can't seem to get it working > > > completely. I've tried the following: > > > > > > ./check_snmp -H 10.0.0.1 -o .1.3.6.1.2.1.1.3.0 -C comstring -w > > > 11111111111111111 -c 11111111111111111111 > > > and I get the following return: > > > SNMP WARNING - 578561577 > > > > > > > > > Change the warning and critical values: > > > ./check_snmp -H 172.16.128.248 -o .1.3.6.1.2.1.1.3.0 -w 5 -c 10 -C > > > d0n0thAcK and get the following: SNMP CRITICAL - *578678849* > > > > > > I'm wanting to know if a router reboots to go into a warning state. > > > Once it's been up for 30 min, clear out to an "Ok" status. The > > > uptime_by_snmp returns the same values since it's using the > > > check_snmp plugin. > > > > > > Any help is greatly appreciated. > > > > > > > > > Dylan > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: IBM Linux Tutorials. > > > Become an expert in LINUX or just sharpen your skills. Sign up for > > > IBM's Free Linux Tutorials. Learn everything from the bash shell > > > to sys admin. Click now! > > > http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > > _______________________________________________ Nagios-users > > > mailing list Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > reporting any issue. ::: Messages without supporting info will risk > > > being sent to /dev/null > > > >Did you allready got an reply? I have a similar problem > > > >Greetings, > > > >Jan Rozema > > > > >------------------------------------------------------- >This SF.net email is sponsored by: IBM Linux Tutorials. >Become an expert in LINUX or just sharpen your skills. Sign up for IBM's >Free Linux Tutorials. Learn everything from the bash shell to sys admin. >Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From R.Maurer at MKG-BANK.DE Wed Jan 7 15:55:08 2004 From: R.Maurer at MKG-BANK.DE (Maurer Roland MKG-Bank) Date: Wed, 7 Jan 2004 15:55:08 +0100 Subject: AW: check_nrpe fails, SSL handshake error (NOT Sol ved) Message-ID: <62393C59DAB2444AB75C58AD65D4A9B181AF8D@w2kexch> Have find out what is working wrong. I have the same problem by using SUSE 9. Roland Maurer -----Urspr?ngliche Nachricht----- Von: Steve Feehan [mailto:sfeehan at sbb.uvm.edu] Gesendet: Mittwoch, 24. Dezember 2003 00:24 An: John Downs Cc: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] check_nrpe fails, SSL handshake error (NOT Solved) On Tue, Dec 23, 2003 at 03:30:14PM -0500, John Downs wrote: > I tried truss while running in daemon mode and got lots of output. However, > I don't > know how to interpret that output. I also got nothing returned when I do a > "netstat -a | grep -i nrpe ",and different results when I changed the > ownership on nrpe.cfg from root to nagios. How would I run truss with an > inetd process? Can I? > > -john Try running nrpe in daemon mode through truss again, this time pass the -f option (I think that's the one to trace children as well). As for tracing through inetd, it will be messy on a busy system. But it is possible... figure out the PID of inetd and then attach truss to that process (i think it's -p PID). Make sure you specify the -f (or whatever) to trace children. You'll get a lot of output to wade through, but maybe it'll help. In the trace below, the only think I see suspicious are the calls to fstat(-1, ...). Not really sure where that's coming from. But it would be nice to see the trace of the children after the fork. I'll be glad to look at the truss output, problem is I'm going out of town till Sunday. :) Steve > #nrpe stream tcp nowait nagios /usr/bin/nrpe -c /etc/nrpe.cfg -i > # truss /usr/bin/nrpe -c /etc/nrpe.cfg -d > execve("/usr/bin/nrpe", 0xFFBEF3D4, 0xFFBEF3E8) argc = 4 > mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, > MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF3A0000 > resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16 > open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT > open("/usr/lib/libnsl.so.1", O_RDONLY) = 3 > fstat(3, 0xFFBEEAFC) = 0 > mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF390000 > mmap(0x00000000, 704512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0xFF280000 > mmap(0xFF31C000, 32740, PROT_READ|PROT_WRITE|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED, 3, 573440) = 0xFF31C000 > mmap(0xFF324000, 30928, PROT_READ|PROT_WRITE|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF324000 > munmap(0xFF30C000, 65536) = 0 > memcntl(0xFF280000, 82252, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 > close(3) = 0 > open("/usr/lib/libsocket.so.1", O_RDONLY) = 3 > fstat(3, 0xFFBEEAFC) = 0 > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = > 0xFF390000 > mmap(0x00000000, 114688, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0xFF370000 > mmap(0xFF38A000, 4365, PROT_READ|PROT_WRITE|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED, 3, 40960) = 0xFF38A000 > munmap(0xFF37A000, 65536) = 0 > memcntl(0xFF370000, 14496, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 > close(3) = 0 > open("/usr/lib/libc.so.1", O_RDONLY) = 3 > fstat(3, 0xFFBEEAFC) = 0 > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = > 0xFF390000 > mmap(0x00000000, 794624, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0xFF180000 > mmap(0xFF23A000, 24652, PROT_READ|PROT_WRITE|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED, 3, 696320) = 0xFF23A000 > munmap(0xFF22A000, 65536) = 0 > memcntl(0xFF180000, 113332, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 > close(3) = 0 > open("/usr/lib/libdl.so.1", O_RDONLY) = 3 > fstat(3, 0xFFBEEAFC) = 0 > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = > 0xFF390000 > close(3) = 0 > open("/usr/lib/libmp.so.2", O_RDONLY) = 3 > fstat(3, 0xFFBEEAFC) = 0 > mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF360000 > mmap(0x00000000, 90112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF340000 > mmap(0xFF354000, 865, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, > 3, 16384) = 0xFF354000 > munmap(0xFF344000, 65536) = 0 > memcntl(0xFF340000, 3124, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 > close(3) = 0 > open("/usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1", O_RDONLY) = 3 > fstat(3, 0xFFBEE98C) = 0 > mmap(0xFF360000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = > 0xFF360000 > mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF270000 > close(3) = 0 > munmap(0xFF360000, 8192) = 0 > brk(0x000267D0) = 0 > brk(0x000287D0) = 0 > fstat(-1, 0xFFBEEA78) Err#9 EBADF > open("/etc/nrpe.cfg", O_RDONLY) = 3 > fstat64(3, 0xFFBEE098) = 0 > brk(0x000287D0) = 0 > brk(0x0002A7D0) = 0 > ioctl(3, TCGETA, 0xFFBEE024) Err#25 ENOTTY > read(3, " # # # # # # # # # # # #".., 8192) = 5019 > fstat(-1, 0xFFBED468) Err#9 EBADF > open("/dev/conslog", O_WRONLY) = 4 > fcntl(4, F_SETFD, 0x00000001) = 0 > fstat(4, 0xFFBED468) = 0 > fstat(4, 0xFFBEDEC8) = 0 > time() = 1072211336 > open("/usr/share/lib/zoneinfo/US/Eastern", O_RDONLY) = 5 > read(5, " T Z i f\0\0\0\0\0\0\0\0".., 8192) = 1250 > close(5) = 0 > getpid() = 1768 [1767] > putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 > open("/var/run/syslog_door", O_RDONLY) = 5 > door_info(5, 0xFFBED4B8) = 0 > getpid() = 1768 [1767] > door_call(5, 0xFFBED4A0) = 0 > close(5) = 0 > fstat(4, 0xFFBEDEC8) = 0 > time() = 1072211336 > getpid() = 1768 [1767] > putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 > open("/var/run/syslog_door", O_RDONLY) = 5 > door_info(5, 0xFFBED4B8) = 0 > getpid() = 1768 [1767] > door_call(5, 0xFFBED4A0) = 0 > close(5) = 0 > fstat(4, 0xFFBEDEC8) = 0 > time() = 1072211336 > getpid() = 1768 [1767] > putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 > open("/var/run/syslog_door", O_RDONLY) = 5 > door_info(5, 0xFFBED4B8) = 0 > getpid() = 1768 [1767] > door_call(5, 0xFFBED4A0) = 0 > close(5) = 0 > brk(0x0002A7D0) = 0 > brk(0x0002C7D0) = 0 > fstat(4, 0xFFBEDEC8) = 0 > time() = 1072211336 > getpid() = 1768 [1767] > putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 > open("/var/run/syslog_door", O_RDONLY) = 5 > door_info(5, 0xFFBED4B8) = 0 > getpid() = 1768 [1767] > door_call(5, 0xFFBED4A0) = 0 > close(5) = 0 > fstat(4, 0xFFBEDEC8) = 0 > time() = 1072211336 > getpid() = 1768 [1767] > putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 > open("/var/run/syslog_door", O_RDONLY) = 5 > door_info(5, 0xFFBED4B8) = 0 > getpid() = 1768 [1767] > door_call(5, 0xFFBED4A0) = 0 > close(5) = 0 > read(3, 0x0002681C, 8192) = 0 > llseek(3, 0, SEEK_CUR) = 5019 > close(3) = 0 > fork() = 1769 > llseek(0, 0, SEEK_CUR) = 70514 > _exit(0) > # hostnam > hostnam: not found > # hostname > photon > # > > > ----- Original Message ----- > From: "Patrick Soltani" > To: "Michael Tucker" ; > > Sent: Tuesday, December 23, 2003 2:26 PM > Subject: RE: [Nagios-users] check_nrpe fails, SSL handshake error (NOT > Solved) > > > > Hi, > > > > When there is no more info on the module, then I'll turn to "truss" on > Solaris and run the same command line but with truss to see what exactly the > module is doing and what kind of internal roll-o-coaster it traverses. > > > > That should shed more light on the issue. > > > > Regards, > > Patrick Soltani. > > > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Michael > > > Tucker > > > Sent: Monday, December 22, 2003 8:23 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] check_nrpe fails, SSL handshake error (NOT > > > Solved) > > > > > > > > > > > > On Monday, December 22, 2003, at 05:34 PM, John Downs wrote: > > > > > > > I wish my problem was so easy to fix. I recompiled with > > > > --disable-ssl > > > > option and it works > > > > a little better.(I tried the permissions issue it didn't > > > help) I am > > > > still > > > > getting the following error > > > > in /var/adm/messages: > > > > > > > > Network server bind failure (126: cannot assign requested addres) > > > > This happens when I start start nrpe in daemon mode with: > > > > /usr/bin/nrpe -c /etc/nrpe.cfg -d > > > > > > > > nrpe is owned by root and has suid bit set. nrpe.cfg is owned by > > > > nagios and > > > > is readable by everyone. > > > > > > > > any ideas on this? > > > > > > > > Thanks!! > > > > > > > > -john > > > > > > > > > > Yeah, I get exactly the same thing. (Well *almost* exactly the same. > > > Mine says "(125: cannot assign requested address)", but > > > otherwise it's > > > the same if I try to launch nrpe as a stand-alone daemon. (In > > > my case, > > > both nrpe and nrpe.cfg are owned by nagios:nagios, no suid > > > bit set, and > > > are readable by everyone.) > > > > > > It works if I use inetd with tcp wrappers, though, as I > > > described in my > > > first message... > > > > > > > /etc/inetd.conf: > > > > nrpe stream tcp nowait nagios > > > /usr/sfw/sbin/tcpd /usr/local/nagios/ > > > > bin/nrpe -c /usr/local/nagios/bin/nrpe.cfg -i > > > > > > > > /etc/services: > > > > nrpe 5666/tcp # NRPE (Nagios remote plugin executor) > > > > > > ...but ONLY if I have SSL disabled (recompiled nrpe with > > > --disable-ssl). I plan to deploy this to some sites where the SSL > > > security will be critically important. I can continue with my > > > testing > > > without it, but sooner or later I've got to fix this link in > > > the chain. > > > > > > Surely there's someone out there running Solaris who's had a similar > > > problem, and figured out how to solve it? > > > > > > *frustrated* > > > > > > Michael > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: IBM Linux Tutorials. > > > Become an expert in LINUX or just sharpen your skills. Sign > > > up for IBM's > > > Free Linux Tutorials. Learn everything from the bash shell > > > to sys admin. > > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&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: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&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 -- Steve Feehan ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andre.bergei at ementor.no Wed Jan 7 16:59:44 2004 From: andre.bergei at ementor.no (Andre Bergei) Date: Wed, 7 Jan 2004 16:59:44 +0100 Subject: Tactical view and passive service checks in nagios 1.x Message-ID: <3C8515D9676BF9479F7EF3545B63AA220B20E0@100NOOSLMSG001.common.alpharoot.net> Hi group. The tactical view on my central server does not show "unhandeled problems" for my passive checks , they are viewed as "disabled", is this normal behaviour? I would think that passive checks would benefit from the tactical event flags, as "unhandeled problem" is crucial for problem tracking. Is there any way to activate normal tactical flags for passive checks, or remove the "disabled" status without activatin active checks for the services? I've tried to enable the global active check option, and disabled Active check for each service check template so "all host enabled" in tactical view got green status, but that did not resolv the "fault". I've also tried latest CVS version of nagios 1.x, with the same result. best Andr? Bergei Network and system monitoring "With sufficient thrust, pigs fly just fine" -- RFC 1925 -------------------------------------------- Ementor as, http://www.ementor.no ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 h0001022b2681.ne.client2.attbi.com Wed Jan 7 16:59:54 2004 From: nagios-users at h0001022b2681.ne.client2.attbi.com (John Mahoney) Date: Wed, 7 Jan 2004 10:59:54 -0500 Subject: checking POP (and IMAP) via SSL? In-Reply-To: <1073480849.941.9.camel@miles.debisschop.net> References: <20040106200543.GA27367@gyro.med.harvard.edu> <1073480849.941.9.camel@miles.debisschop.net> Message-ID: <20040107155953.GA28039@gyro.med.harvard.edu> On Wed, Jan 07, 2004 at 08:07:29AM -0500, Karl DeBisschop wrote: > On Tue, 2004-01-06 at 15:05, John Mahoney wrote: > > Hi, > > > > I want to verify that POP and IMAP via SSL are working > > correctly. > > > > Can I use check_pop & check_imap to do this? > > > > I know I can use these to verify a socket connection, > > % ./check_imap -H my_mail_server -p 993 -t 5 > > Socket timeout after 5 seconds > > > > % ./check_pop -H my_mail_server -p 995 -t 5 > > Socket timeout after 5 seconds > > but I think this is an incomplete check. > > > > Is there a better way to do this? > > > > Maybe I just need to send more data via the -s flag... > > Try check_simap and check_spop -- they are just symlinks to check_tcp, > but when invoked with that name, SSL will be used by default and the SSL > port will be used - you won't need to specofy that. > > -- > Karl > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Thx! I did not have ssl installed when I compiled the plugin's, and check_spop and check_simap did not exist... -- John _________________________________________________________ John Mahoney nagios-users at h0001022b2681.ne.client2.attbi.com ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmusone at shatterit.com Wed Jan 7 17:03:11 2004 From: mmusone at shatterit.com (Mark Musone) Date: Wed, 7 Jan 2004 11:03:11 -0500 Subject: nsca version problems? Message-ID: <000001c3d537$c07c1220$3301a8c0@usa.shatterit.com> hi all, I recently upgraded to nsca 2.4 from nsca 2.1 ?but heres the rub.. the nsca server is running 2.1, and I have most servers currently running nsca 2.1 I have some new servers running 2.4 .. but the nsca 2.4 clients cant seem to communicate with the nsca 2.1 server. I?m getting the following error in the server logs: Received invalid packet type/version from client - possibly due to client using wrong pass word or crypto algorithm? however the 2.1 clients, 2.1 server and 2.4 clients all have decryption_method=1 (simple XOR) was there a change in the simple xor method?? is there a reason why a 2.4 client cant work with a 2.1 server? what if I make the server 2.4? will 2.1 clients work with a 2.4 server? any help is greatly appreciated! Thanks, Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.557 / Virus Database: 349 - Release Date: 12/30/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmusone at shatterit.com Wed Jan 7 17:12:08 2004 From: mmusone at shatterit.com (Mark Musone) Date: Wed, 7 Jan 2004 11:12:08 -0500 Subject: nsca version problems? In-Reply-To: <000001c3d537$c07c1220$3301a8c0@usa.shatterit.com> References: <000001c3d537$c07c1220$3301a8c0@usa.shatterit.com> Message-ID: <000801c3d539$00116ce0$3301a8c0@usa.shatterit.com> ok,looking at the code, the nsca 2.1 server is checking: if(ntohs(receive_packet.packet_version)!=NSCA_PACKET_VERSION_2) while the nsca 2.4 client is sending NSCA_PACKET_VERSION_3 However..i don?t see _any_ difference in the packet structure? so..can I modify the nsca 2.1 server to allow either NSCA_PACKET_VERSION_2 or NSCA_PACKET_VERSION_3 ?? -Mark -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mark Musone Sent: Wednesday, January 07, 2004 11:03 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] nsca version problems? hi all, I recently upgraded to nsca 2.4 from nsca 2.1 ?but heres the rub.. the nsca server is running 2.1, and I have most servers currently running nsca 2.1 I have some new servers running 2.4 .. but the nsca 2.4 clients cant seem to communicate with the nsca 2.1 server. I?m getting the following error in the server logs: Received invalid packet type/version from client - possibly due to client using wrong pass word or crypto algorithm? however the 2.1 clients, 2.1 server and 2.4 clients all have decryption_method=1 (simple XOR) was there a change in the simple xor method?? is there a reason why a 2.4 client cant work with a 2.1 server? what if I make the server 2.4? will 2.1 clients work with a 2.4 server? any help is greatly appreciated! Thanks, Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.557 / Virus Database: 349 - Release Date: 12/30/2003 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.557 / Virus Database: 349 - Release Date: 12/30/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.557 / Virus Database: 349 - Release Date: 12/30/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at acmecargo.com Wed Jan 7 17:19:12 2004 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Wed, 07 Jan 2004 11:19:12 -0500 Subject: Scheduled Downtime via Cron In-Reply-To: <4E71CFD68DCB4E49B04AD93E84827EE92261CD@netfinity-1.foundat ion-it.local> References: <4E71CFD68DCB4E49B04AD93E84827EE92261CD@netfinity-1.foundation-it.local> <4E71CFD68DCB4E49B04AD93E84827EE92261CD@netfinity-1.foundat ion-it.local> Message-ID: <6.0.0.22.2.20040107105254.02a4b4f0@mail.acmecargo.com> When I open the file in vi I do not get the ^M. I only show that when I do a cat -A. So I took your advice and copied the text from a vi session to notepad, moved the old file, created a new file with vi and pasted the clear text into the new file. chmod 755 and wala! Now I'm making sure the syntax is correct before I schedule my cron. Thank you Phil! Dylan At 05:13 AM 1/7/2004, you wrote: > > From: nagios at acmecargo.com [mailto:nagios at acmecargo.com] > > At 05:01 PM 1/6/2004, you wrote: > > >On Mon, Jan 05, 2004 at 06:13:41PM -0500, nagios at acmecargo.com wrote: > > > > [root at host]# > > /usr/local/nagios/libexec/schedule_host_downtime host > > > > "`date --iso-8601` 05:00:00" "`date --iso-8601` 06:00:00" 1 3600 > > > > cron "scheduled maintenance" > > > > : bad interpreter: No such file or directoryst_downtime: /bin/sh > > > > > >Maybe you should check both, the script and your crontab with cat -A > > >for dubious whitespaces. > > > > None that I can see in the script. I simply did a wget from > > the web page > > it's hosted on so it should be in it's original format. > >Failing to find the interpreter is a classic symptom of trying to run a >shell script in DOS file format. If you open the script using vi and >every line ends ^M, that's the problem. > >Phil ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 7 17:37:48 2004 From: marc at ena.com (Marc Powell) Date: Wed, 7 Jan 2004 10:37:48 -0600 Subject: Tactical view and passive service checks in nagios 1.x Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A111@mismail2.ena.com> > -----Original Message----- > From: Andre Bergei [mailto:andre.bergei at ementor.no] > Sent: Wednesday, January 07, 2004 10:00 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Tactical view and passive service checks in nagios > 1.x > > Hi group. > > The tactical view on my central server does not show "unhandeled > problems" for my passive checks , they are viewed as "disabled", is this > normal behaviour? > > I would think that passive checks would benefit from the tactical event > flags, as > "unhandeled problem" is crucial for problem tracking. > > Is there any way to activate normal tactical flags for passive checks, or > remove the "disabled" status without activatin active checks for the > services? Enable active checks but set the check interval to 'none'. That will do it for you. -- marc ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 linuxslave.de Wed Jan 7 17:58:44 2004 From: michael at linuxslave.de (Michael Bakker) Date: Wed, 07 Jan 2004 17:58:44 +0100 Subject: React if service is DOWN/FAILED In-Reply-To: <3C8515D9676BF9479F7EF3545B63AA22537AA3@100NOOSLMSG001.common.alpharoot.net> References: <3C8515D9676BF9479F7EF3545B63AA22537AA3@100NOOSLMSG001.common.alpharoot.net> Message-ID: <20040107165844.27944.qmail@linuxslave.de> Andre Bergei writes: >> Hi, >> >> is it possible to react e.g. execute a command if a service >> is DOWN/FAILED >> within Nagios (or with a plugin)? >> Otherwises i would write a small daemon that will read >> var/downtime.log etc. >> But maybe this is already a build-in feature of Nagios. >> >> Regards, >> >> Michael Bakker > > Yes. > > > Quick link; > http://nagios.sourceforge.net/docs/1_0/eventhandlers.html > > Best > andr? Hi, thank you and jpttdi at yahoo.fr for your help. Regards, Michael Bakker ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.johnston at kirtland.af.mil Wed Jan 7 19:09:05 2004 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Wed, 7 Jan 2004 18:09:05 -0000 Subject: GD libraries Message-ID: <200401071809.i07I9OcZ019294@knockout.kirtland.af.mil> Thank you Ben and Chris. The devil wasn't going even though it said it was, so I just did a 'rpm -U libjpeg*' and it then re-compiled GD: ** Configuration summary for gd 2.0.18: Support for PNG library: yes Support for JPEG library: yes Support for Freetype 2.x library: no Support for Xpm library: no Support for pthreads: yes So, I was thinking I was out of the woods, but when I compiled Nagios and got it all working I went to "Status Map" and I see this error: ============================================================================ ======== Server error! The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: statusmap.cgi If you think this is a server error, please contact the webmaster Error 500 ============================================================================ ======== I know that Chris thought that maybe I didn't need to have Freetype or Xpm installed, but could this be what's causing my problem? The reason that I'm wondering if this is the problem is because on my test nagios machine I do have them all installed (I'm not sure how that happened) and the Status Map and Trends work just fine. Any help would be great. Other then this, Nagios is up and running perfect on this machine. Mike > > I'm having the worse time trying to get the GD libraries to see the jpeg > > libraries. I do have libjpeg installed, but when I compile it, it says that > > the support is not there. I ve tried using --with-jpeg=/usr/lib to no > > avail. This is what I see: > > > > ** Configuration summary for gd 2.0.18: > > > > Support for PNG library: yes > > Support for JPEG library: no > > Support for Freetype 2.x library: no > > Support for Xpm library: no > > Support for pthreads: yes > > > > I've looked on the GD website as well as the nagios FAQ's but I must be > > missing something. > > > > Also, do I need to add Freetype and Xpm in order for nagios to work with it? > > Thanks! > > > > Mike ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 7 19:15:54 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 7 Jan 2004 10:15:54 -0800 (PST) Subject: GD libraries In-Reply-To: <200401071809.i07I9OcZ019294@knockout.kirtland.af.mil> References: <200401071809.i07I9OcZ019294@knockout.kirtland.af.mil> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I believe the problem is that the jpeg or GD library isn't in your LD_LIBRARY_PATH. I believe there is a variable you can set in your apache config that will pass this to your CGI's; you'll need to find out where GD and libjpeg are installed and add it. - -Jason Martin On Wed, 7 Jan 2004, Johnston Michael J Contr AFRL/DES wrote: > Thank you Ben and Chris. The devil wasn't going even though it said it was, > so I just did a 'rpm -U libjpeg*' and it then re-compiled GD: > > ** Configuration summary for gd 2.0.18: > > Support for PNG library: yes > Support for JPEG library: yes > Support for Freetype 2.x library: no > Support for Xpm library: no > Support for pthreads: yes > > > So, I was thinking I was out of the woods, but when I compiled Nagios and > got it all working I went to "Status Map" and I see this error: > > ============================================================================ > ======== > Server error! > > The server encountered an internal error and was unable to complete your > request. > > Error message: > Premature end of script headers: statusmap.cgi > > If you think this is a server error, please contact the webmaster > > Error 500 > ============================================================================ > ======== > > I know that Chris thought that maybe I didn't need to have Freetype or Xpm > installed, but could this be what's causing my problem? The reason that I'm > wondering if this is the problem is because on my test nagios machine I do > have them all installed (I'm not sure how that happened) and the Status Map > and Trends work just fine. Any help would be great. Other then this, > Nagios is up and running perfect on this machine. > > Mike > > > > I'm having the worse time trying to get the GD libraries > to see the jpeg > > > libraries. I do have libjpeg installed, but when I > compile it, it says that > > > > the support is not there. I ve tried using > --with-jpeg=/usr/lib to no > > > avail. This is what I see: > > > > > > ** Configuration summary for gd 2.0.18: > > > > > > Support for PNG library: yes > > > Support for JPEG library: no > > > Support for Freetype 2.x library: no > > > Support for Xpm library: no > > > Support for pthreads: yes > > > > > > I've looked on the GD website as well as the nagios > FAQ's but I must be > > > missing something. > > > > > > Also, do I need to add Freetype and Xpm in order for > nagios to work with it? > > > Thanks! > > > > > > Mike > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE//Ezdl2ODWuqVSBMRAkd5AJ4/AkBLwPfQnwJWmnJBaH252facNACfbQN4 rkIfYeaB1uLmq9IhOKMSyDQ= =XOUY -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.rapp at gat.com Wed Jan 7 19:30:13 2004 From: dave.rapp at gat.com (Dave Rapp) Date: Wed, 07 Jan 2004 10:30:13 -0800 Subject: nagios rpms for Redhat ES 3.0 Message-ID: Hi all, I am new to this list. I am looking to install Nagios onto Redhat ES 3.0 system. Will the rpms for redhat 9.0 work? Are there any available for ES 3.0? Thanks, ... Dave Rapp Principal Systems Analyst General Atomics dave.rapp at ga.com -------------- next part -------------- A non-text attachment was scrubbed... Name: Dave Rapp.vcf Type: text/x-vcard Size: 138 bytes Desc: not available URL: From mdantasjr at yahoo.com.br Wed Jan 7 19:34:23 2004 From: mdantasjr at yahoo.com.br (=?iso-8859-1?q?Marcelo?=) Date: Wed, 7 Jan 2004 15:34:23 -0300 (ART) Subject: monitoring NDPS service on Netware Servers In-Reply-To: References: Message-ID: <20040107183423.58084.qmail@web60708.mail.yahoo.com> Hi all, Anybody known how am i monitore NDPS service on Netware sErvers. ===== Ats, Marcelo Dantas J?nior. http://www.geocities.com/mdantasjr ? O verdadeiro perigo de um plano est? nos detalhes. Um rumo e um destino fazem a diferen?a em qualquer situa??o.?. Amyr Klink. ______________________________________________________________________ Conhe?a a nova central de informa??es anti-spam do Yahoo! Mail: http://www.yahoo.com.br/antispam ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Wed Jan 7 19:52:52 2004 From: mtucker at airmail.net (Michael Tucker) Date: Wed, 7 Jan 2004 12:52:52 -0600 Subject: AW: [BUG] check_nrpe fails, SSL handshake error In-Reply-To: <62393C59DAB2444AB75C58AD65D4A9B181AF8D@w2kexch> References: <62393C59DAB2444AB75C58AD65D4A9B181AF8D@w2kexch> Message-ID: On Wednesday, January 7, 2004, at 08:55 AM, Maurer Roland MKG-Bank wrote: > Have find out what is working wrong. I have the same problem by using > SUSE > 9. > > Roland Maurer > I presume that you meant "Have you found out...?" (I'm not picking on your English. I'm sure that it's better than my German.) No, I have not. I am still looking for an answer to this problem. Has anyone else found a solution? To reiterate some points that have been made in other threads: check_nrpe -> nrpe fails if SSL is enabled, and returns the message: > # ./check_nrpe -H {host to monitor} -c check_load > CHECK_NRPE: Error - Could not complete SSL handshake. If SSL is disabled (recompile with --disable-ssl), it works just fine. So far, we've had users report this error using Solaris 9 (me), AIX 5.1 (Chris Stevens), and SUSE 9 (you). I am now inclined to believe that this is a bug in NRPE 2.0, or in its implementation of OpenSSL; specifically, the call to SSL_connect (), and the setup calls which lead up to it: ----- begin code segment from check_nrpe.c ----- /* do SSL handshake */ if (result==STATE_OK && use_ssl==TRUE){ if((ssl=SSL_new(ctx))!=NULL){ SSL_CTX_set_cipher_list(ctx,"ADH"); SSL_set_fd(ssl,sd); if((rc=SSL_connect(ssl))!=1){ printf("CHECK_NRPE: Error - Could not complete SSL handshake.\n"); ----- end code segment from check_nrpe.c ----- Somewhere in here, something isn't working. I don't know enough about the SSL library to deduce what might be wrong with this. Does someone else have a clue? Michael > -----Urspr?ngliche Nachricht----- > Von: Steve Feehan [mailto:sfeehan at sbb.uvm.edu] > Gesendet: Mittwoch, 24. Dezember 2003 00:24 > An: John Downs > Cc: nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] check_nrpe fails, SSL handshake error (NOT > Solved) > > > On Tue, Dec 23, 2003 at 03:30:14PM -0500, John Downs wrote: >> I tried truss while running in daemon mode and got lots of output. > However, >> I don't >> know how to interpret that output. I also got nothing returned when >> I do > a >> "netstat -a | grep -i nrpe ",and different results when I changed the >> ownership on nrpe.cfg from root to nagios. How would I run truss with >> an >> inetd process? Can I? >> >> -john > > Try running nrpe in daemon mode through truss again, this time > pass the -f option (I think that's the one to trace children as > well). > > As for tracing through inetd, it will be messy on a busy system. > But it is possible... figure out the PID of inetd and then attach > truss to that process (i think it's -p PID). Make sure you specify > the -f (or whatever) to trace children. You'll get a lot of output > to wade through, but maybe it'll help. > > In the trace below, the only think I see suspicious are the calls > to fstat(-1, ...). Not really sure where that's coming from. But > it would be nice to see the trace of the children after the fork. > > I'll be glad to look at the truss output, problem is I'm going > out of town till Sunday. :) > > Steve > >> #nrpe stream tcp nowait nagios /usr/bin/nrpe -c /etc/nrpe.cfg >> -i >> # truss /usr/bin/nrpe -c /etc/nrpe.cfg -d >> execve("/usr/bin/nrpe", 0xFFBEF3D4, 0xFFBEF3E8) argc = 4 >> mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, >> MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF3A0000 >> resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16 >> open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT >> open("/usr/lib/libnsl.so.1", O_RDONLY) = 3 >> fstat(3, 0xFFBEEAFC) = 0 >> mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0xFF390000 >> mmap(0x00000000, 704512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >> 0xFF280000 >> mmap(0xFF31C000, 32740, PROT_READ|PROT_WRITE|PROT_EXEC, >> MAP_PRIVATE|MAP_FIXED, 3, 573440) = 0xFF31C000 >> mmap(0xFF324000, 30928, PROT_READ|PROT_WRITE|PROT_EXEC, >> MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF324000 >> munmap(0xFF30C000, 65536) = 0 >> memcntl(0xFF280000, 82252, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >> close(3) = 0 >> open("/usr/lib/libsocket.so.1", O_RDONLY) = 3 >> fstat(3, 0xFFBEEAFC) = 0 >> mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, >> 0) = >> 0xFF390000 >> mmap(0x00000000, 114688, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >> 0xFF370000 >> mmap(0xFF38A000, 4365, PROT_READ|PROT_WRITE|PROT_EXEC, >> MAP_PRIVATE|MAP_FIXED, 3, 40960) = 0xFF38A000 >> munmap(0xFF37A000, 65536) = 0 >> memcntl(0xFF370000, 14496, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >> close(3) = 0 >> open("/usr/lib/libc.so.1", O_RDONLY) = 3 >> fstat(3, 0xFFBEEAFC) = 0 >> mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, >> 0) = >> 0xFF390000 >> mmap(0x00000000, 794624, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >> 0xFF180000 >> mmap(0xFF23A000, 24652, PROT_READ|PROT_WRITE|PROT_EXEC, >> MAP_PRIVATE|MAP_FIXED, 3, 696320) = 0xFF23A000 >> munmap(0xFF22A000, 65536) = 0 >> memcntl(0xFF180000, 113332, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >> close(3) = 0 >> open("/usr/lib/libdl.so.1", O_RDONLY) = 3 >> fstat(3, 0xFFBEEAFC) = 0 >> mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, >> 0) = >> 0xFF390000 >> close(3) = 0 >> open("/usr/lib/libmp.so.2", O_RDONLY) = 3 >> fstat(3, 0xFFBEEAFC) = 0 >> mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0xFF360000 >> mmap(0x00000000, 90112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0xFF340000 >> mmap(0xFF354000, 865, PROT_READ|PROT_WRITE|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED, >> 3, 16384) = 0xFF354000 >> munmap(0xFF344000, 65536) = 0 >> memcntl(0xFF340000, 3124, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >> close(3) = 0 >> open("/usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1", O_RDONLY) = 3 >> fstat(3, 0xFFBEE98C) = 0 >> mmap(0xFF360000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, >> 0) = >> 0xFF360000 >> mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0xFF270000 >> close(3) = 0 >> munmap(0xFF360000, 8192) = 0 >> brk(0x000267D0) = 0 >> brk(0x000287D0) = 0 >> fstat(-1, 0xFFBEEA78) Err#9 EBADF >> open("/etc/nrpe.cfg", O_RDONLY) = 3 >> fstat64(3, 0xFFBEE098) = 0 >> brk(0x000287D0) = 0 >> brk(0x0002A7D0) = 0 >> ioctl(3, TCGETA, 0xFFBEE024) Err#25 ENOTTY >> read(3, " # # # # # # # # # # # #".., 8192) = 5019 >> fstat(-1, 0xFFBED468) Err#9 EBADF >> open("/dev/conslog", O_WRONLY) = 4 >> fcntl(4, F_SETFD, 0x00000001) = 0 >> fstat(4, 0xFFBED468) = 0 >> fstat(4, 0xFFBEDEC8) = 0 >> time() = 1072211336 >> open("/usr/share/lib/zoneinfo/US/Eastern", O_RDONLY) = 5 >> read(5, " T Z i f\0\0\0\0\0\0\0\0".., 8192) = 1250 >> close(5) = 0 >> getpid() = 1768 [1767] >> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >> open("/var/run/syslog_door", O_RDONLY) = 5 >> door_info(5, 0xFFBED4B8) = 0 >> getpid() = 1768 [1767] >> door_call(5, 0xFFBED4A0) = 0 >> close(5) = 0 >> fstat(4, 0xFFBEDEC8) = 0 >> time() = 1072211336 >> getpid() = 1768 [1767] >> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >> open("/var/run/syslog_door", O_RDONLY) = 5 >> door_info(5, 0xFFBED4B8) = 0 >> getpid() = 1768 [1767] >> door_call(5, 0xFFBED4A0) = 0 >> close(5) = 0 >> fstat(4, 0xFFBEDEC8) = 0 >> time() = 1072211336 >> getpid() = 1768 [1767] >> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >> open("/var/run/syslog_door", O_RDONLY) = 5 >> door_info(5, 0xFFBED4B8) = 0 >> getpid() = 1768 [1767] >> door_call(5, 0xFFBED4A0) = 0 >> close(5) = 0 >> brk(0x0002A7D0) = 0 >> brk(0x0002C7D0) = 0 >> fstat(4, 0xFFBEDEC8) = 0 >> time() = 1072211336 >> getpid() = 1768 [1767] >> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >> open("/var/run/syslog_door", O_RDONLY) = 5 >> door_info(5, 0xFFBED4B8) = 0 >> getpid() = 1768 [1767] >> door_call(5, 0xFFBED4A0) = 0 >> close(5) = 0 >> fstat(4, 0xFFBEDEC8) = 0 >> time() = 1072211336 >> getpid() = 1768 [1767] >> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >> open("/var/run/syslog_door", O_RDONLY) = 5 >> door_info(5, 0xFFBED4B8) = 0 >> getpid() = 1768 [1767] >> door_call(5, 0xFFBED4A0) = 0 >> close(5) = 0 >> read(3, 0x0002681C, 8192) = 0 >> llseek(3, 0, SEEK_CUR) = 5019 >> close(3) = 0 >> fork() = 1769 >> llseek(0, 0, SEEK_CUR) = 70514 >> _exit(0) >> # hostnam >> hostnam: not found >> # hostname >> photon >> # >> >> >> ----- Original Message ----- >> From: "Patrick Soltani" >> To: "Michael Tucker" ; >> >> Sent: Tuesday, December 23, 2003 2:26 PM >> Subject: RE: [Nagios-users] check_nrpe fails, SSL handshake error (NOT >> Solved) >> >> >>> Hi, >>> >>> When there is no more info on the module, then I'll turn to "truss" >>> on >> Solaris and run the same command line but with truss to see what >> exactly > the >> module is doing and what kind of internal roll-o-coaster it traverses. >>> >>> That should shed more light on the issue. >>> >>> Regards, >>> Patrick Soltani. >>> >>> >>> >>> >>>> -----Original Message----- >>>> From: nagios-users-admin at lists.sourceforge.net >>>> [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of >>>> Michael >>>> Tucker >>>> Sent: Monday, December 22, 2003 8:23 PM >>>> To: nagios-users at lists.sourceforge.net >>>> Subject: Re: [Nagios-users] check_nrpe fails, SSL handshake error >>>> (NOT >>>> Solved) >>>> >>>> >>>> >>>> On Monday, December 22, 2003, at 05:34 PM, John Downs wrote: >>>> >>>>> I wish my problem was so easy to fix. I recompiled with >>>>> --disable-ssl >>>>> option and it works >>>>> a little better.(I tried the permissions issue it didn't >>>> help) I am >>>>> still >>>>> getting the following error >>>>> in /var/adm/messages: >>>>> >>>>> Network server bind failure (126: cannot assign requested >>>>> addres) >>>>> This happens when I start start nrpe in daemon mode with: >>>>> /usr/bin/nrpe -c /etc/nrpe.cfg -d >>>>> >>>>> nrpe is owned by root and has suid bit set. nrpe.cfg is owned by >>>>> nagios and >>>>> is readable by everyone. >>>>> >>>>> any ideas on this? >>>>> >>>>> Thanks!! >>>>> >>>>> -john >>>>> >>>> >>>> Yeah, I get exactly the same thing. (Well *almost* exactly the same. >>>> Mine says "(125: cannot assign requested address)", but >>>> otherwise it's >>>> the same if I try to launch nrpe as a stand-alone daemon. (In >>>> my case, >>>> both nrpe and nrpe.cfg are owned by nagios:nagios, no suid >>>> bit set, and >>>> are readable by everyone.) >>>> >>>> It works if I use inetd with tcp wrappers, though, as I >>>> described in my >>>> first message... >>>> >>>>> /etc/inetd.conf: >>>>> nrpe stream tcp nowait nagios >>>> /usr/sfw/sbin/tcpd /usr/local/nagios/ >>>>> bin/nrpe -c /usr/local/nagios/bin/nrpe.cfg -i >>>>> >>>>> /etc/services: >>>>> nrpe 5666/tcp # NRPE (Nagios remote plugin executor) >>>> >>>> ...but ONLY if I have SSL disabled (recompiled nrpe with >>>> --disable-ssl). I plan to deploy this to some sites where the SSL >>>> security will be critically important. I can continue with my >>>> testing >>>> without it, but sooner or later I've got to fix this link in >>>> the chain. >>>> >>>> Surely there's someone out there running Solaris who's had a similar >>>> problem, and figured out how to solve it? >>>> >>>> *frustrated* >>>> >>>> Michael > > -- > Steve Feehan ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grimm at nickellson.com Wed Jan 7 21:01:45 2004 From: grimm at nickellson.com (Nickolas Ray Ellson) Date: Wed, 7 Jan 2004 12:01:45 -0800 (PST) Subject: nagios & Gentoo Linux, web interface directory empty? Message-ID: This is a specific request to those that have installed Nagios on Gentoo Linux. I have emerge'd all of Nagios, added the changes to my APACHE2 virtual host definitions for the /nagios/ directive.. when it gave me an error trying to surf saying I had no permissions, I check the directory /usr/nagios/share... it's empty other than the images subdir. Anyone use this with Gentoo that can point me to what i may not have included? I want to stay with portage products. My make.conf has the use variables: USE="gd X gtk gtk2 apache2 gnome mbox pam pwdb python perl cdr ssl -ipv6 -kde -alsa -qt" This is what I have emerged: goonie root # emerge search nagios Searching... [ Results for search key : nagios ] [ Applications found : 7 ] * net-analyzer/nagios Latest version available: 1.1 Latest version installed: 1.1 Size of downloaded files: 0 kB Homepage: http://www.nagios.org/ Description: Nagios 1.1 - merge this to pull install all of the nagios packages * net-analyzer/nagios-core Latest version available: 1.1-r4 Latest version installed: 1.1-r4 Size of downloaded files: 1,581 kB Homepage: http://www.nagios.org/ Description: Nagios 1.1 core - Host and service monitor cgi, docs etc... * net-analyzer/nagios-imagepack Latest version available: 1.0 Latest version installed: 1.0 Size of downloaded files: 1,610 kB Homepage: http://www.nagios.org Description: Nagios imagepacks - Icons and pictures for Nagios * net-analyzer/nagios-nrpe Latest version available: 1.8-r1 Latest version installed: 1.8-r1 Size of downloaded files: 40 kB Homepage: http://www.nagios.org/ Description: Nagios 1.8 NRPE - Nagios Remote Plugin Executor * net-analyzer/nagios-nsca Latest version available: 2.4 Latest version installed: 2.4 Size of downloaded files: 53 kB Homepage: http://www.nagios.org/ Description: Nagios 2.4 NSCA - Nagios Service Check Acceptor * net-analyzer/nagios-plugins Latest version available: 1.3.1 Latest version installed: 1.3.1 Size of downloaded files: 520 kB Homepage: http://www.nagios.org/ Description: Nagios 1.3.1 plugins - Pack of plugins to make Nagios work properly * net-analyzer/prelude-nagios Latest version available: 0.0.2 Latest version installed: 0.0.2 Size of downloaded files: 790 kB Homepage: http://www.exaprobe.com/labs/downloads/index.php3?DIR=/downloads/Nagios_Plugin Description: Plugin for Nagios to talk with Prelude ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard at splash.co.za Wed Jan 7 21:05:08 2004 From: richard at splash.co.za (Richard Mayhew) Date: Wed, 7 Jan 2004 22:05:08 +0200 Subject: AW: [BUG] check_nrpe fails, SSL handshake error References: Message-ID: <000f01c3d559$8d325ec0$1400a8c0@splash.co.za> Hi Not to mention Fedora Core 1, which is also having the problem which brought about the rediscussion of this problem. If there is any extra info needed, please let me know.... maybe we should CC Ethan on this? ----- Original Message ----- From: "Michael Tucker" To: "Maurer Roland MKG-Bank" Cc: Sent: Wednesday, January 07, 2004 8:52 PM Subject: Re: AW: [Nagios-users] [BUG] check_nrpe fails, SSL handshake error On Wednesday, January 7, 2004, at 08:55 AM, Maurer Roland MKG-Bank wrote: > Have find out what is working wrong. I have the same problem by using > SUSE > 9. > > Roland Maurer > I presume that you meant "Have you found out...?" (I'm not picking on your English. I'm sure that it's better than my German.) No, I have not. I am still looking for an answer to this problem. Has anyone else found a solution? To reiterate some points that have been made in other threads: check_nrpe -> nrpe fails if SSL is enabled, and returns the message: > # ./check_nrpe -H {host to monitor} -c check_load > CHECK_NRPE: Error - Could not complete SSL handshake. If SSL is disabled (recompile with --disable-ssl), it works just fine. So far, we've had users report this error using Solaris 9 (me), AIX 5.1 (Chris Stevens), and SUSE 9 (you). I am now inclined to believe that this is a bug in NRPE 2.0, or in its implementation of OpenSSL; specifically, the call to SSL_connect (), and the setup calls which lead up to it: ----- begin code segment from check_nrpe.c ----- /* do SSL handshake */ if (result==STATE_OK && use_ssl==TRUE){ if((ssl=SSL_new(ctx))!=NULL){ SSL_CTX_set_cipher_list(ctx,"ADH"); SSL_set_fd(ssl,sd); if((rc=SSL_connect(ssl))!=1){ printf("CHECK_NRPE: Error - Could not complete SSL handshake.\n"); ----- end code segment from check_nrpe.c ----- Somewhere in here, something isn't working. I don't know enough about the SSL library to deduce what might be wrong with this. Does someone else have a clue? Michael > -----Urspr?ngliche Nachricht----- > Von: Steve Feehan [mailto:sfeehan at sbb.uvm.edu] > Gesendet: Mittwoch, 24. Dezember 2003 00:24 > An: John Downs > Cc: nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] check_nrpe fails, SSL handshake error (NOT > Solved) > > > On Tue, Dec 23, 2003 at 03:30:14PM -0500, John Downs wrote: >> I tried truss while running in daemon mode and got lots of output. > However, >> I don't >> know how to interpret that output. I also got nothing returned when >> I do > a >> "netstat -a | grep -i nrpe ",and different results when I changed the >> ownership on nrpe.cfg from root to nagios. How would I run truss with >> an >> inetd process? Can I? >> >> -john > > Try running nrpe in daemon mode through truss again, this time > pass the -f option (I think that's the one to trace children as > well). > > As for tracing through inetd, it will be messy on a busy system. > But it is possible... figure out the PID of inetd and then attach > truss to that process (i think it's -p PID). Make sure you specify > the -f (or whatever) to trace children. You'll get a lot of output > to wade through, but maybe it'll help. > > In the trace below, the only think I see suspicious are the calls > to fstat(-1, ...). Not really sure where that's coming from. But > it would be nice to see the trace of the children after the fork. > > I'll be glad to look at the truss output, problem is I'm going > out of town till Sunday. :) > > Steve > >> #nrpe stream tcp nowait nagios /usr/bin/nrpe -c /etc/nrpe.cfg >> -i >> # truss /usr/bin/nrpe -c /etc/nrpe.cfg -d >> execve("/usr/bin/nrpe", 0xFFBEF3D4, 0xFFBEF3E8) argc = 4 >> mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, >> MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF3A0000 >> resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16 >> open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT >> open("/usr/lib/libnsl.so.1", O_RDONLY) = 3 >> fstat(3, 0xFFBEEAFC) = 0 >> mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0xFF390000 >> mmap(0x00000000, 704512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >> 0xFF280000 >> mmap(0xFF31C000, 32740, PROT_READ|PROT_WRITE|PROT_EXEC, >> MAP_PRIVATE|MAP_FIXED, 3, 573440) = 0xFF31C000 >> mmap(0xFF324000, 30928, PROT_READ|PROT_WRITE|PROT_EXEC, >> MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF324000 >> munmap(0xFF30C000, 65536) = 0 >> memcntl(0xFF280000, 82252, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >> close(3) = 0 >> open("/usr/lib/libsocket.so.1", O_RDONLY) = 3 >> fstat(3, 0xFFBEEAFC) = 0 >> mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, >> 0) = >> 0xFF390000 >> mmap(0x00000000, 114688, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >> 0xFF370000 >> mmap(0xFF38A000, 4365, PROT_READ|PROT_WRITE|PROT_EXEC, >> MAP_PRIVATE|MAP_FIXED, 3, 40960) = 0xFF38A000 >> munmap(0xFF37A000, 65536) = 0 >> memcntl(0xFF370000, 14496, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >> close(3) = 0 >> open("/usr/lib/libc.so.1", O_RDONLY) = 3 >> fstat(3, 0xFFBEEAFC) = 0 >> mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, >> 0) = >> 0xFF390000 >> mmap(0x00000000, 794624, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >> 0xFF180000 >> mmap(0xFF23A000, 24652, PROT_READ|PROT_WRITE|PROT_EXEC, >> MAP_PRIVATE|MAP_FIXED, 3, 696320) = 0xFF23A000 >> munmap(0xFF22A000, 65536) = 0 >> memcntl(0xFF180000, 113332, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >> close(3) = 0 >> open("/usr/lib/libdl.so.1", O_RDONLY) = 3 >> fstat(3, 0xFFBEEAFC) = 0 >> mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, >> 0) = >> 0xFF390000 >> close(3) = 0 >> open("/usr/lib/libmp.so.2", O_RDONLY) = 3 >> fstat(3, 0xFFBEEAFC) = 0 >> mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0xFF360000 >> mmap(0x00000000, 90112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0xFF340000 >> mmap(0xFF354000, 865, PROT_READ|PROT_WRITE|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED, >> 3, 16384) = 0xFF354000 >> munmap(0xFF344000, 65536) = 0 >> memcntl(0xFF340000, 3124, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >> close(3) = 0 >> open("/usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1", O_RDONLY) = 3 >> fstat(3, 0xFFBEE98C) = 0 >> mmap(0xFF360000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, >> 0) = >> 0xFF360000 >> mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0xFF270000 >> close(3) = 0 >> munmap(0xFF360000, 8192) = 0 >> brk(0x000267D0) = 0 >> brk(0x000287D0) = 0 >> fstat(-1, 0xFFBEEA78) Err#9 EBADF >> open("/etc/nrpe.cfg", O_RDONLY) = 3 >> fstat64(3, 0xFFBEE098) = 0 >> brk(0x000287D0) = 0 >> brk(0x0002A7D0) = 0 >> ioctl(3, TCGETA, 0xFFBEE024) Err#25 ENOTTY >> read(3, " # # # # # # # # # # # #".., 8192) = 5019 >> fstat(-1, 0xFFBED468) Err#9 EBADF >> open("/dev/conslog", O_WRONLY) = 4 >> fcntl(4, F_SETFD, 0x00000001) = 0 >> fstat(4, 0xFFBED468) = 0 >> fstat(4, 0xFFBEDEC8) = 0 >> time() = 1072211336 >> open("/usr/share/lib/zoneinfo/US/Eastern", O_RDONLY) = 5 >> read(5, " T Z i f\0\0\0\0\0\0\0\0".., 8192) = 1250 >> close(5) = 0 >> getpid() = 1768 [1767] >> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >> open("/var/run/syslog_door", O_RDONLY) = 5 >> door_info(5, 0xFFBED4B8) = 0 >> getpid() = 1768 [1767] >> door_call(5, 0xFFBED4A0) = 0 >> close(5) = 0 >> fstat(4, 0xFFBEDEC8) = 0 >> time() = 1072211336 >> getpid() = 1768 [1767] >> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >> open("/var/run/syslog_door", O_RDONLY) = 5 >> door_info(5, 0xFFBED4B8) = 0 >> getpid() = 1768 [1767] >> door_call(5, 0xFFBED4A0) = 0 >> close(5) = 0 >> fstat(4, 0xFFBEDEC8) = 0 >> time() = 1072211336 >> getpid() = 1768 [1767] >> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >> open("/var/run/syslog_door", O_RDONLY) = 5 >> door_info(5, 0xFFBED4B8) = 0 >> getpid() = 1768 [1767] >> door_call(5, 0xFFBED4A0) = 0 >> close(5) = 0 >> brk(0x0002A7D0) = 0 >> brk(0x0002C7D0) = 0 >> fstat(4, 0xFFBEDEC8) = 0 >> time() = 1072211336 >> getpid() = 1768 [1767] >> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >> open("/var/run/syslog_door", O_RDONLY) = 5 >> door_info(5, 0xFFBED4B8) = 0 >> getpid() = 1768 [1767] >> door_call(5, 0xFFBED4A0) = 0 >> close(5) = 0 >> fstat(4, 0xFFBEDEC8) = 0 >> time() = 1072211336 >> getpid() = 1768 [1767] >> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >> open("/var/run/syslog_door", O_RDONLY) = 5 >> door_info(5, 0xFFBED4B8) = 0 >> getpid() = 1768 [1767] >> door_call(5, 0xFFBED4A0) = 0 >> close(5) = 0 >> read(3, 0x0002681C, 8192) = 0 >> llseek(3, 0, SEEK_CUR) = 5019 >> close(3) = 0 >> fork() = 1769 >> llseek(0, 0, SEEK_CUR) = 70514 >> _exit(0) >> # hostnam >> hostnam: not found >> # hostname >> photon >> # >> >> >> ----- Original Message ----- >> From: "Patrick Soltani" >> To: "Michael Tucker" ; >> >> Sent: Tuesday, December 23, 2003 2:26 PM >> Subject: RE: [Nagios-users] check_nrpe fails, SSL handshake error (NOT >> Solved) >> >> >>> Hi, >>> >>> When there is no more info on the module, then I'll turn to "truss" >>> on >> Solaris and run the same command line but with truss to see what >> exactly > the >> module is doing and what kind of internal roll-o-coaster it traverses. >>> >>> That should shed more light on the issue. >>> >>> Regards, >>> Patrick Soltani. >>> >>> >>> >>> >>>> -----Original Message----- >>>> From: nagios-users-admin at lists.sourceforge.net >>>> [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of >>>> Michael >>>> Tucker >>>> Sent: Monday, December 22, 2003 8:23 PM >>>> To: nagios-users at lists.sourceforge.net >>>> Subject: Re: [Nagios-users] check_nrpe fails, SSL handshake error >>>> (NOT >>>> Solved) >>>> >>>> >>>> >>>> On Monday, December 22, 2003, at 05:34 PM, John Downs wrote: >>>> >>>>> I wish my problem was so easy to fix. I recompiled with >>>>> --disable-ssl >>>>> option and it works >>>>> a little better.(I tried the permissions issue it didn't >>>> help) I am >>>>> still >>>>> getting the following error >>>>> in /var/adm/messages: >>>>> >>>>> Network server bind failure (126: cannot assign requested >>>>> addres) >>>>> This happens when I start start nrpe in daemon mode with: >>>>> /usr/bin/nrpe -c /etc/nrpe.cfg -d >>>>> >>>>> nrpe is owned by root and has suid bit set. nrpe.cfg is owned by >>>>> nagios and >>>>> is readable by everyone. >>>>> >>>>> any ideas on this? >>>>> >>>>> Thanks!! >>>>> >>>>> -john >>>>> >>>> >>>> Yeah, I get exactly the same thing. (Well *almost* exactly the same. >>>> Mine says "(125: cannot assign requested address)", but >>>> otherwise it's >>>> the same if I try to launch nrpe as a stand-alone daemon. (In >>>> my case, >>>> both nrpe and nrpe.cfg are owned by nagios:nagios, no suid >>>> bit set, and >>>> are readable by everyone.) >>>> >>>> It works if I use inetd with tcp wrappers, though, as I >>>> described in my >>>> first message... >>>> >>>>> /etc/inetd.conf: >>>>> nrpe stream tcp nowait nagios >>>> /usr/sfw/sbin/tcpd /usr/local/nagios/ >>>>> bin/nrpe -c /usr/local/nagios/bin/nrpe.cfg -i >>>>> >>>>> /etc/services: >>>>> nrpe 5666/tcp # NRPE (Nagios remote plugin executor) >>>> >>>> ...but ONLY if I have SSL disabled (recompiled nrpe with >>>> --disable-ssl). I plan to deploy this to some sites where the SSL >>>> security will be critically important. I can continue with my >>>> testing >>>> without it, but sooner or later I've got to fix this link in >>>> the chain. >>>> >>>> Surely there's someone out there running Solaris who's had a similar >>>> problem, and figured out how to solve it? >>>> >>>> *frustrated* >>>> >>>> Michael > > -- > Steve Feehan ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 sightspeed.com Wed Jan 7 21:22:01 2004 From: chris at sightspeed.com (Chris) Date: Wed, 7 Jan 2004 12:22:01 -0800 Subject: Service Dependency Templates Message-ID: Hello All, I finally started getting my nagios monitoring dialed in nicely using the template system, having semi incomplete templates not registered and being used by my other templates. I'm wondering if I can use the same system with dependencies? I want to make a template like this... define servicedependency{ service_description Ping Check dependent_service_description * execution_failure_criteria w,u,c notification_failure_criteria w,u,c name SrvDep } Then have each one of my hosts use the template SrvDep like this... define servicedependency{ host_name MailSrvr dependent_host_name MailSrvr use SrvDep } Goal being to make all services on the MailSrvr dependent on Ping and if Ping fails it will stop checks on all other services. But from looking at the docs it seems like servicedependency does have the name/use feature for templating. Thanks, Chris S. RHCE,CCNA I.T.Engineer http://www.sightspeed.com ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grimm at nickellson.com Wed Jan 7 21:41:55 2004 From: grimm at nickellson.com (Nickolas Ray Ellson) Date: Wed, 7 Jan 2004 12:41:55 -0800 (PST) Subject: nagios & Gentoo Linux, web interface directory empty? In-Reply-To: References: Message-ID: Ok, I think I have the answer.... when all esle fails, re-emerge nagios-core.. agin, and again.. and yes, on the 3rd try, the HTML files showed up! Now on to figuring out how to get this to work with Prelude.. Nick On Wed, 7 Jan 2004, Nickolas Ray Ellson wrote: > > This is a specific request to those that have installed Nagios on Gentoo > Linux. I have emerge'd all of Nagios, added the changes to my APACHE2 > virtual host definitions for the /nagios/ directive.. when it gave me an > error trying to surf saying I had no permissions, I check the directory > /usr/nagios/share... it's empty other than the images subdir. > > > Anyone use this with Gentoo that can point me to what i may not have > included? I want to stay with portage products. > > My make.conf has the use variables: > > USE="gd X gtk gtk2 apache2 gnome mbox pam pwdb python perl cdr ssl -ipv6 > -kde -alsa -qt" > > > > This is what I have emerged: > > goonie root # emerge search nagios > Searching... > [ Results for search key : nagios ] > [ Applications found : 7 ] > > * net-analyzer/nagios > Latest version available: 1.1 > Latest version installed: 1.1 > Size of downloaded files: 0 kB > Homepage: http://www.nagios.org/ > Description: Nagios 1.1 - merge this to pull install all of the > nagios packages > > * net-analyzer/nagios-core > Latest version available: 1.1-r4 > Latest version installed: 1.1-r4 > Size of downloaded files: 1,581 kB > Homepage: http://www.nagios.org/ > Description: Nagios 1.1 core - Host and service monitor cgi, docs > etc... > > * net-analyzer/nagios-imagepack > Latest version available: 1.0 > Latest version installed: 1.0 > Size of downloaded files: 1,610 kB > Homepage: http://www.nagios.org > Description: Nagios imagepacks - Icons and pictures for Nagios > > * net-analyzer/nagios-nrpe > Latest version available: 1.8-r1 > Latest version installed: 1.8-r1 > Size of downloaded files: 40 kB > Homepage: http://www.nagios.org/ > Description: Nagios 1.8 NRPE - Nagios Remote Plugin Executor > > * net-analyzer/nagios-nsca > Latest version available: 2.4 > Latest version installed: 2.4 > Size of downloaded files: 53 kB > Homepage: http://www.nagios.org/ > Description: Nagios 2.4 NSCA - Nagios Service Check Acceptor > > * net-analyzer/nagios-plugins > Latest version available: 1.3.1 > Latest version installed: 1.3.1 > Size of downloaded files: 520 kB > Homepage: http://www.nagios.org/ > Description: Nagios 1.3.1 plugins - Pack of plugins to make Nagios > work properly > > * net-analyzer/prelude-nagios > Latest version available: 0.0.2 > Latest version installed: 0.0.2 > Size of downloaded files: 790 kB > Homepage: > http://www.exaprobe.com/labs/downloads/index.php3?DIR=/downloads/Nagios_Plugin > Description: Plugin for Nagios to talk with Prelude > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Wed Jan 7 21:45:12 2004 From: mtucker at airmail.net (Michael Tucker) Date: Wed, 7 Jan 2004 14:45:12 -0600 Subject: AW: [BUG] check_nrpe fails, SSL handshake error In-Reply-To: <000f01c3d559$8d325ec0$1400a8c0@splash.co.za> References: <000f01c3d559$8d325ec0$1400a8c0@splash.co.za> Message-ID: <63DDF35D-4152-11D8-AD27-0030657DF28A@airmail.net> Good idea. Done. Ethan, to bring you up to speed: there appears to be a bug in check_nrpe/nrpe, something to do with its implementation of OpenSSL. I apologize for the length of this message; it might be easier for you to follow if you go back and follow the thread from the beginning. But there's quiet a bit of information here. Hopefully some of it will prove helpful to you. Here's the short form of the problem: > check_nrpe -> nrpe fails if SSL is enabled, and returns the message: >> # ./check_nrpe -H {host to monitor} -c check_load >> CHECK_NRPE: Error - Could not complete SSL handshake. > > If SSL is disabled (recompile with --disable-ssl), it works just fine. Michael On Wednesday, January 7, 2004, at 02:05 PM, Richard Mayhew wrote: > Hi > > Not to mention Fedora Core 1, which is also having the problem which > brought > about the rediscussion of this problem. > > If there is any extra info needed, please let me know.... maybe we > should CC > Ethan on this? > > ----- Original Message ----- > From: "Michael Tucker" > To: "Maurer Roland MKG-Bank" > Cc: > Sent: Wednesday, January 07, 2004 8:52 PM > Subject: Re: AW: [Nagios-users] [BUG] check_nrpe fails, SSL handshake > error > > > > On Wednesday, January 7, 2004, at 08:55 AM, Maurer Roland MKG-Bank > wrote: > >> Have find out what is working wrong. I have the same problem by using >> SUSE >> 9. >> >> Roland Maurer >> > > I presume that you meant "Have you found out...?" (I'm not picking on > your English. I'm sure that it's better than my German.) > > No, I have not. I am still looking for an answer to this problem. Has > anyone else found a solution? > > To reiterate some points that have been made in other threads: > > check_nrpe -> nrpe fails if SSL is enabled, and returns the message: >> # ./check_nrpe -H {host to monitor} -c check_load >> CHECK_NRPE: Error - Could not complete SSL handshake. > > If SSL is disabled (recompile with --disable-ssl), it works just fine. > > So far, we've had users report this error using Solaris 9 (me), AIX 5.1 > (Chris Stevens), and SUSE 9 (you). I am now inclined to believe that > this is a bug in NRPE 2.0, or in its implementation of OpenSSL; > specifically, the call to SSL_connect (), and the setup calls which > lead up to it: > > ----- begin code segment from check_nrpe.c ----- > /* do SSL handshake */ > if (result==STATE_OK && use_ssl==TRUE){ > if((ssl=SSL_new(ctx))!=NULL){ > SSL_CTX_set_cipher_list(ctx,"ADH"); > SSL_set_fd(ssl,sd); > if((rc=SSL_connect(ssl))!=1){ > printf("CHECK_NRPE: Error - Could not complete SSL handshake.\n"); > ----- end code segment from check_nrpe.c ----- > > Somewhere in here, something isn't working. I don't know enough about > the SSL library to deduce what might be wrong with this. Does someone > else have a clue? > > Michael > >> -----Urspr?ngliche Nachricht----- >> Von: Steve Feehan [mailto:sfeehan at sbb.uvm.edu] >> Gesendet: Mittwoch, 24. Dezember 2003 00:24 >> An: John Downs >> Cc: nagios-users at lists.sourceforge.net >> Betreff: Re: [Nagios-users] check_nrpe fails, SSL handshake error (NOT >> Solved) >> >> >> On Tue, Dec 23, 2003 at 03:30:14PM -0500, John Downs wrote: >>> I tried truss while running in daemon mode and got lots of output. >> However, >>> I don't >>> know how to interpret that output. I also got nothing returned when >>> I do >> a >>> "netstat -a | grep -i nrpe ",and different results when I changed the >>> ownership on nrpe.cfg from root to nagios. How would I run truss with >>> an >>> inetd process? Can I? >>> >>> -john >> >> Try running nrpe in daemon mode through truss again, this time >> pass the -f option (I think that's the one to trace children as >> well). >> >> As for tracing through inetd, it will be messy on a busy system. >> But it is possible... figure out the PID of inetd and then attach >> truss to that process (i think it's -p PID). Make sure you specify >> the -f (or whatever) to trace children. You'll get a lot of output >> to wade through, but maybe it'll help. >> >> In the trace below, the only think I see suspicious are the calls >> to fstat(-1, ...). Not really sure where that's coming from. But >> it would be nice to see the trace of the children after the fork. >> >> I'll be glad to look at the truss output, problem is I'm going >> out of town till Sunday. :) >> >> Steve >> >>> #nrpe stream tcp nowait nagios /usr/bin/nrpe -c /etc/nrpe.cfg >>> -i >>> # truss /usr/bin/nrpe -c /etc/nrpe.cfg -d >>> execve("/usr/bin/nrpe", 0xFFBEF3D4, 0xFFBEF3E8) argc = 4 >>> mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, >>> MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF3A0000 >>> resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16 >>> open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT >>> open("/usr/lib/libnsl.so.1", O_RDONLY) = 3 >>> fstat(3, 0xFFBEEAFC) = 0 >>> mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >> 0xFF390000 >>> mmap(0x00000000, 704512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >>> 0xFF280000 >>> mmap(0xFF31C000, 32740, PROT_READ|PROT_WRITE|PROT_EXEC, >>> MAP_PRIVATE|MAP_FIXED, 3, 573440) = 0xFF31C000 >>> mmap(0xFF324000, 30928, PROT_READ|PROT_WRITE|PROT_EXEC, >>> MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF324000 >>> munmap(0xFF30C000, 65536) = 0 >>> memcntl(0xFF280000, 82252, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >>> close(3) = 0 >>> open("/usr/lib/libsocket.so.1", O_RDONLY) = 3 >>> fstat(3, 0xFFBEEAFC) = 0 >>> mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, >>> 0) = >>> 0xFF390000 >>> mmap(0x00000000, 114688, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >>> 0xFF370000 >>> mmap(0xFF38A000, 4365, PROT_READ|PROT_WRITE|PROT_EXEC, >>> MAP_PRIVATE|MAP_FIXED, 3, 40960) = 0xFF38A000 >>> munmap(0xFF37A000, 65536) = 0 >>> memcntl(0xFF370000, 14496, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >>> close(3) = 0 >>> open("/usr/lib/libc.so.1", O_RDONLY) = 3 >>> fstat(3, 0xFFBEEAFC) = 0 >>> mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, >>> 0) = >>> 0xFF390000 >>> mmap(0x00000000, 794624, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >>> 0xFF180000 >>> mmap(0xFF23A000, 24652, PROT_READ|PROT_WRITE|PROT_EXEC, >>> MAP_PRIVATE|MAP_FIXED, 3, 696320) = 0xFF23A000 >>> munmap(0xFF22A000, 65536) = 0 >>> memcntl(0xFF180000, 113332, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >>> close(3) = 0 >>> open("/usr/lib/libdl.so.1", O_RDONLY) = 3 >>> fstat(3, 0xFFBEEAFC) = 0 >>> mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, >>> 0) = >>> 0xFF390000 >>> close(3) = 0 >>> open("/usr/lib/libmp.so.2", O_RDONLY) = 3 >>> fstat(3, 0xFFBEEAFC) = 0 >>> mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >> 0xFF360000 >>> mmap(0x00000000, 90112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >> 0xFF340000 >>> mmap(0xFF354000, 865, PROT_READ|PROT_WRITE|PROT_EXEC, >> MAP_PRIVATE|MAP_FIXED, >>> 3, 16384) = 0xFF354000 >>> munmap(0xFF344000, 65536) = 0 >>> memcntl(0xFF340000, 3124, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >>> close(3) = 0 >>> open("/usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1", O_RDONLY) = 3 >>> fstat(3, 0xFFBEE98C) = 0 >>> mmap(0xFF360000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, >>> 0) = >>> 0xFF360000 >>> mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >> 0xFF270000 >>> close(3) = 0 >>> munmap(0xFF360000, 8192) = 0 >>> brk(0x000267D0) = 0 >>> brk(0x000287D0) = 0 >>> fstat(-1, 0xFFBEEA78) Err#9 EBADF >>> open("/etc/nrpe.cfg", O_RDONLY) = 3 >>> fstat64(3, 0xFFBEE098) = 0 >>> brk(0x000287D0) = 0 >>> brk(0x0002A7D0) = 0 >>> ioctl(3, TCGETA, 0xFFBEE024) Err#25 ENOTTY >>> read(3, " # # # # # # # # # # # #".., 8192) = 5019 >>> fstat(-1, 0xFFBED468) Err#9 EBADF >>> open("/dev/conslog", O_WRONLY) = 4 >>> fcntl(4, F_SETFD, 0x00000001) = 0 >>> fstat(4, 0xFFBED468) = 0 >>> fstat(4, 0xFFBEDEC8) = 0 >>> time() = 1072211336 >>> open("/usr/share/lib/zoneinfo/US/Eastern", O_RDONLY) = 5 >>> read(5, " T Z i f\0\0\0\0\0\0\0\0".., 8192) = 1250 >>> close(5) = 0 >>> getpid() = 1768 [1767] >>> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >>> open("/var/run/syslog_door", O_RDONLY) = 5 >>> door_info(5, 0xFFBED4B8) = 0 >>> getpid() = 1768 [1767] >>> door_call(5, 0xFFBED4A0) = 0 >>> close(5) = 0 >>> fstat(4, 0xFFBEDEC8) = 0 >>> time() = 1072211336 >>> getpid() = 1768 [1767] >>> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >>> open("/var/run/syslog_door", O_RDONLY) = 5 >>> door_info(5, 0xFFBED4B8) = 0 >>> getpid() = 1768 [1767] >>> door_call(5, 0xFFBED4A0) = 0 >>> close(5) = 0 >>> fstat(4, 0xFFBEDEC8) = 0 >>> time() = 1072211336 >>> getpid() = 1768 [1767] >>> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >>> open("/var/run/syslog_door", O_RDONLY) = 5 >>> door_info(5, 0xFFBED4B8) = 0 >>> getpid() = 1768 [1767] >>> door_call(5, 0xFFBED4A0) = 0 >>> close(5) = 0 >>> brk(0x0002A7D0) = 0 >>> brk(0x0002C7D0) = 0 >>> fstat(4, 0xFFBEDEC8) = 0 >>> time() = 1072211336 >>> getpid() = 1768 [1767] >>> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >>> open("/var/run/syslog_door", O_RDONLY) = 5 >>> door_info(5, 0xFFBED4B8) = 0 >>> getpid() = 1768 [1767] >>> door_call(5, 0xFFBED4A0) = 0 >>> close(5) = 0 >>> fstat(4, 0xFFBEDEC8) = 0 >>> time() = 1072211336 >>> getpid() = 1768 [1767] >>> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >>> open("/var/run/syslog_door", O_RDONLY) = 5 >>> door_info(5, 0xFFBED4B8) = 0 >>> getpid() = 1768 [1767] >>> door_call(5, 0xFFBED4A0) = 0 >>> close(5) = 0 >>> read(3, 0x0002681C, 8192) = 0 >>> llseek(3, 0, SEEK_CUR) = 5019 >>> close(3) = 0 >>> fork() = 1769 >>> llseek(0, 0, SEEK_CUR) = 70514 >>> _exit(0) >>> # hostnam >>> hostnam: not found >>> # hostname >>> photon >>> # >>> >>> >>> ----- Original Message ----- >>> From: "Patrick Soltani" >>> To: "Michael Tucker" ; >>> >>> Sent: Tuesday, December 23, 2003 2:26 PM >>> Subject: RE: [Nagios-users] check_nrpe fails, SSL handshake error >>> (NOT >>> Solved) >>> >>> >>>> Hi, >>>> >>>> When there is no more info on the module, then I'll turn to "truss" >>>> on >>> Solaris and run the same command line but with truss to see what >>> exactly >> the >>> module is doing and what kind of internal roll-o-coaster it >>> traverses. >>>> >>>> That should shed more light on the issue. >>>> >>>> Regards, >>>> Patrick Soltani. >>>> >>>> >>>> >>>> >>>>> -----Original Message----- >>>>> From: nagios-users-admin at lists.sourceforge.net >>>>> [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of >>>>> Michael >>>>> Tucker >>>>> Sent: Monday, December 22, 2003 8:23 PM >>>>> To: nagios-users at lists.sourceforge.net >>>>> Subject: Re: [Nagios-users] check_nrpe fails, SSL handshake error >>>>> (NOT >>>>> Solved) >>>>> >>>>> >>>>> >>>>> On Monday, December 22, 2003, at 05:34 PM, John Downs wrote: >>>>> >>>>>> I wish my problem was so easy to fix. I recompiled with >>>>>> --disable-ssl >>>>>> option and it works >>>>>> a little better.(I tried the permissions issue it didn't >>>>> help) I am >>>>>> still >>>>>> getting the following error >>>>>> in /var/adm/messages: >>>>>> >>>>>> Network server bind failure (126: cannot assign requested >>>>>> addres) >>>>>> This happens when I start start nrpe in daemon mode with: >>>>>> /usr/bin/nrpe -c /etc/nrpe.cfg -d >>>>>> >>>>>> nrpe is owned by root and has suid bit set. nrpe.cfg is owned by >>>>>> nagios and >>>>>> is readable by everyone. >>>>>> >>>>>> any ideas on this? >>>>>> >>>>>> Thanks!! >>>>>> >>>>>> -john >>>>>> >>>>> >>>>> Yeah, I get exactly the same thing. (Well *almost* exactly the >>>>> same. >>>>> Mine says "(125: cannot assign requested address)", but >>>>> otherwise it's >>>>> the same if I try to launch nrpe as a stand-alone daemon. (In >>>>> my case, >>>>> both nrpe and nrpe.cfg are owned by nagios:nagios, no suid >>>>> bit set, and >>>>> are readable by everyone.) >>>>> >>>>> It works if I use inetd with tcp wrappers, though, as I >>>>> described in my >>>>> first message... >>>>> >>>>>> /etc/inetd.conf: >>>>>> nrpe stream tcp nowait nagios >>>>> /usr/sfw/sbin/tcpd /usr/local/nagios/ >>>>>> bin/nrpe -c /usr/local/nagios/bin/nrpe.cfg -i >>>>>> >>>>>> /etc/services: >>>>>> nrpe 5666/tcp # NRPE (Nagios remote plugin executor) >>>>> >>>>> ...but ONLY if I have SSL disabled (recompiled nrpe with >>>>> --disable-ssl). I plan to deploy this to some sites where the SSL >>>>> security will be critically important. I can continue with my >>>>> testing >>>>> without it, but sooner or later I've got to fix this link in >>>>> the chain. >>>>> >>>>> Surely there's someone out there running Solaris who's had a >>>>> similar >>>>> problem, and figured out how to solve it? >>>>> >>>>> *frustrated* >>>>> >>>>> Michael >> >> -- >> Steve Feehan > > ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.johnston at kirtland.af.mil Wed Jan 7 23:50:07 2004 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Wed, 7 Jan 2004 22:50:07 -0000 Subject: Status Map error 500 Message-ID: <200401072250.i07MoScZ001278@knockout.kirtland.af.mil> This is starting to get pretty frustrating. Thank you to those have sent me suggestions, but I still can't get this to work. Everything in Nagios works fine except the 'Status Map' and Trends.' I just see this error on the webpage: ========================================= Server error! The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: statusmap.cgi If you think this is a server error, please contact the webmaster Error 500 ========================================= I have two nagios systems. One is a test system and the other is the new live system. The test system works just fine and everything comes up great. I've copied all the CFG files into the /etc and I've also copied the httpd.conf file over. Things that I have tried that have been suggested to me are 'setenv LIBS /usr/lib' and setting "LD_LIBRARY_PATH" to see GD and jpeg. I'm honestly not sure how to check what's in the LD_LIBRARY_PATH and I can't find a file with that name. Can someone maybe give me some simple instructions on what to check that easy enough for an monkey? Any help would be awesome... And also, thank you to those who have sent me suggestions. Mike ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Thu Jan 8 05:56:25 2004 From: jrhett at isite.net (Joe Rhett) Date: Wed, 7 Jan 2004 20:56:25 -0800 Subject: Service Dependency Templates In-Reply-To: References: Message-ID: <20040108045625.GA5710@isite.net> You're going the long way around a problem that Nagios has already solved. If any service fails, Nagios schedules a host check. By default, this is ping. If the host check fails, all other checks stop until the host check succeeds again. In short, it does what you want already. (as long as your host checks are ping...) On Wed, Jan 07, 2004 at 12:22:01PM -0800, Chris wrote: > Hello All, > > I finally started getting my nagios monitoring dialed in nicely using the > template system, having semi incomplete templates not registered and being > used by my other templates. > > I'm wondering if I can use the same system with dependencies? > I want to make a template like this... > > define servicedependency{ > service_description Ping Check > dependent_service_description * > execution_failure_criteria w,u,c > notification_failure_criteria w,u,c > name SrvDep > } > > Then have each one of my hosts use the template SrvDep like this... > > define servicedependency{ > host_name MailSrvr > dependent_host_name MailSrvr > use SrvDep > } > > Goal being to make all services on the MailSrvr dependent on Ping and if > Ping fails it will stop checks on all other services. > > But from looking at the docs it seems like servicedependency does have the > name/use feature for templating. > > Thanks, > Chris S. > RHCE,CCNA > I.T.Engineer > http://www.sightspeed.com > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 sightspeed.com Thu Jan 8 06:48:31 2004 From: chris at sightspeed.com (Chris) Date: Wed, 7 Jan 2004 21:48:31 -0800 Subject: Service Dependency Templates In-Reply-To: <20040108045625.GA5710@isite.net> References: <20040108045625.GA5710@isite.net> Message-ID: Where is that setup? In the hosts file? Because I don't have any service checks specified in my hosts config. All my services including ping are set in my services config and they are set to the hostgroups. So I have Services set for Mail servers, Web Servers, and Network Devices. Thanks, Chris S. RHCE,CCNA I.T.Engineer http://www.sightspeed.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Joe Rhett Sent: Wednesday, January 07, 2004 8:56 PM To: Chris Cc: Nagios-Users Subject: Re: [Nagios-users] Service Dependency Templates You're going the long way around a problem that Nagios has already solved. If any service fails, Nagios schedules a host check. By default, this is ping. If the host check fails, all other checks stop until the host check succeeds again. In short, it does what you want already. (as long as your host checks are ping...) On Wed, Jan 07, 2004 at 12:22:01PM -0800, Chris wrote: > Hello All, > > I finally started getting my nagios monitoring dialed in nicely using the > template system, having semi incomplete templates not registered and being > used by my other templates. > > I'm wondering if I can use the same system with dependencies? > I want to make a template like this... > > define servicedependency{ > service_description Ping Check > dependent_service_description * > execution_failure_criteria w,u,c > notification_failure_criteria w,u,c > name SrvDep > } > > Then have each one of my hosts use the template SrvDep like this... > > define servicedependency{ > host_name MailSrvr > dependent_host_name MailSrvr > use SrvDep > } > > Goal being to make all services on the MailSrvr dependent on Ping and if > Ping fails it will stop checks on all other services. > > But from looking at the docs it seems like servicedependency does have the > name/use feature for templating. > > Thanks, > Chris S. > RHCE,CCNA > I.T.Engineer > http://www.sightspeed.com > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Thu Jan 8 07:18:49 2004 From: jrhett at isite.net (Joe Rhett) Date: Wed, 7 Jan 2004 22:18:49 -0800 Subject: Service Dependency Templates In-Reply-To: References: <20040108045625.GA5710@isite.net> Message-ID: <20040108061849.GC11037@isite.net> It sounds like you have everything set up properly. Nagios does this by default. It's already doing it. Really. Use a packet sniffer. Watch. Learn. On Wed, Jan 07, 2004 at 09:48:31PM -0800, Chris wrote: > Where is that setup? In the hosts file? > > Because I don't have any service checks specified in my hosts config. > All my services including ping are set in my services config and they are > set to the hostgroups. > > So I have Services set for Mail servers, Web Servers, and Network Devices. > > Thanks, > Chris S. > RHCE,CCNA > I.T.Engineer > http://www.sightspeed.com > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Joe Rhett > Sent: Wednesday, January 07, 2004 8:56 PM > To: Chris > Cc: Nagios-Users > Subject: Re: [Nagios-users] Service Dependency Templates > > > You're going the long way around a problem that Nagios has already solved. > If any service fails, Nagios schedules a host check. By default, this is > ping. If the host check fails, all other checks stop until the host check > succeeds again. In short, it does what you want already. > (as long as your host checks are ping...) > > On Wed, Jan 07, 2004 at 12:22:01PM -0800, Chris wrote: > > Hello All, > > > > I finally started getting my nagios monitoring dialed in nicely using the > > template system, having semi incomplete templates not registered and being > > used by my other templates. > > > > I'm wondering if I can use the same system with dependencies? > > I want to make a template like this... > > > > define servicedependency{ > > service_description Ping Check > > dependent_service_description * > > execution_failure_criteria w,u,c > > notification_failure_criteria w,u,c > > name SrvDep > > } > > > > Then have each one of my hosts use the template SrvDep like this... > > > > define servicedependency{ > > host_name MailSrvr > > dependent_host_name MailSrvr > > use SrvDep > > } > > > > Goal being to make all services on the MailSrvr dependent on Ping and if > > Ping fails it will stop checks on all other services. > > > > But from looking at the docs it seems like servicedependency does have the > > name/use feature for templating. > > > > Thanks, > > Chris S. > > RHCE,CCNA > > I.T.Engineer > > http://www.sightspeed.com > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Perforce Software. > > Perforce is the Fast Software Configuration Management System offering > > advanced branching capabilities and atomic changes on 50+ platforms. > > Free Eval! http://www.perforce.com/perforce/loadprog.html > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -- > Joe Rhett Chief Geek > JRhett at Isite.Net Isite Services, Inc. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Francois.JEANMOUGIN at 123multimedia.com Thu Jan 8 09:55:47 2004 From: Francois.JEANMOUGIN at 123multimedia.com (Francois JEANMOUGIN) Date: Thu, 8 Jan 2004 09:55:47 +0100 Subject: Monitoring MySQL and PostgreSQL Message-ID: <4B05B471CA57554C8E0361B442971086043D20@mail.tls.123multimedia.com> > Both are in the current nagios plugins. You need to make sure that > configure picks up your libraries for the each DBMS, but they are both > there and build out of the box for most standard configurations. Scritch scritch. ]$ ls libexec/ check_breeze check_ifstatus check_nrpe check_sensors check_ups check_by_ssh check_imap check_nt check_simap check_users check_CPU_total check_ircd check_ntp check_smtp check_vsz check_disk check_ldap check_nwstat check_spop check_wave check_disk_smb check_load check_oracle check_ssh negate check_dns check_log check_overcr check_swap urlize check_dummy check_mailq check_ping check_tcp utils.pm check_flexlm check_mrtg check_pop check_time utils.sh check_ftp check_mrtgtraf check_procs check_traffic check_http check_nagios check_real check_udp check_ifoperstatus check_nntp check_rpc check_unix_load I find check_oracle, cool, but where are the others? I think I have an out of the box 1.1 installation. I will check my installation, but... Thanks for your help, as it should be standard, I think I could find it... Hopefully. Fran?ois. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andre.bergei at ementor.no Thu Jan 8 10:19:26 2004 From: andre.bergei at ementor.no (Andre Bergei) Date: Thu, 8 Jan 2004 10:19:26 +0100 Subject: Tactical view and passive service checks in nagios 1.x Message-ID: <3C8515D9676BF9479F7EF3545B63AA220B20E2@100NOOSLMSG001.common.alpharoot.net> > Enable active checks but set the check interval to 'none'. > That will do it for you. > > -- > marc > This works, cheers :) . Just a note to make the solution a bit clearer; it's check_period that should be set to 'none' , not normal_check_interval. /andr? ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 8 11:07:48 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Thu, 08 Jan 2004 11:07:48 +0100 Subject: Supervise a dial UP host Message-ID: <1073556468.21493.29.camel@dresden.eurodata.de> Hello nagios User, who can help me? I would supervise a dial-up host with nagios. Did this already someone solve? Thanks for your support Andreas ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From R.Maurer at MKG-BANK.DE Thu Jan 8 11:11:32 2004 From: R.Maurer at MKG-BANK.DE (Maurer Roland MKG-Bank) Date: Thu, 8 Jan 2004 11:11:32 +0100 Subject: AW: AW: [BUG] check_nrpe fails, SSL handshake erro r Message-ID: <62393C59DAB2444AB75C58AD65D4A9B181AF95@w2kexch> Hey, I tried to work with the nrpe daemon again. Now I just compiled the source again and doesn't work with the SUSE 9.0 program. In the nrpe.cfg file I have allow only the local host to have a connection (127.0.01). The real address of the host is 192.168.22.107. When I start the check on the local machine with check_nrpe -H 192.168.22.107 -p 5666 -c ceck_users I get the same error message CHECK_NRPE: Error - Could not complete SSL handshake When I switch the address to 127.0.0.1 it starts to work. After the correct configuration (modifying the allow_hosts parameter) it works over the network as well. It seems to be a problem by the initialing of the "dhparam" of the openssl when you use a compiled nrpe version. R. Maurer ps. I hope my English doesn't blame me again ;-) -----Urspr?ngliche Nachricht----- Von: Michael Tucker [mailto:mtucker at airmail.net] Gesendet: Mittwoch, 7. Januar 2004 21:45 An: Richard Mayhew Cc: nagios-users at lists.sourceforge.net; Ethan Galstad Betreff: Re: AW: [Nagios-users] [BUG] check_nrpe fails, SSL handshake error Good idea. Done. Ethan, to bring you up to speed: there appears to be a bug in check_nrpe/nrpe, something to do with its implementation of OpenSSL. I apologize for the length of this message; it might be easier for you to follow if you go back and follow the thread from the beginning. But there's quiet a bit of information here. Hopefully some of it will prove helpful to you. Here's the short form of the problem: > check_nrpe -> nrpe fails if SSL is enabled, and returns the message: >> # ./check_nrpe -H {host to monitor} -c check_load >> CHECK_NRPE: Error - Could not complete SSL handshake. > > If SSL is disabled (recompile with --disable-ssl), it works just fine. Michael On Wednesday, January 7, 2004, at 02:05 PM, Richard Mayhew wrote: > Hi > > Not to mention Fedora Core 1, which is also having the problem which > brought > about the rediscussion of this problem. > > If there is any extra info needed, please let me know.... maybe we > should CC > Ethan on this? > > ----- Original Message ----- > From: "Michael Tucker" > To: "Maurer Roland MKG-Bank" > Cc: > Sent: Wednesday, January 07, 2004 8:52 PM > Subject: Re: AW: [Nagios-users] [BUG] check_nrpe fails, SSL handshake > error > > > > On Wednesday, January 7, 2004, at 08:55 AM, Maurer Roland MKG-Bank > wrote: > >> Have find out what is working wrong. I have the same problem by using >> SUSE >> 9. >> >> Roland Maurer >> > > I presume that you meant "Have you found out...?" (I'm not picking on > your English. I'm sure that it's better than my German.) > > No, I have not. I am still looking for an answer to this problem. Has > anyone else found a solution? > > To reiterate some points that have been made in other threads: > > check_nrpe -> nrpe fails if SSL is enabled, and returns the message: >> # ./check_nrpe -H {host to monitor} -c check_load >> CHECK_NRPE: Error - Could not complete SSL handshake. > > If SSL is disabled (recompile with --disable-ssl), it works just fine. > > So far, we've had users report this error using Solaris 9 (me), AIX 5.1 > (Chris Stevens), and SUSE 9 (you). I am now inclined to believe that > this is a bug in NRPE 2.0, or in its implementation of OpenSSL; > specifically, the call to SSL_connect (), and the setup calls which > lead up to it: > > ----- begin code segment from check_nrpe.c ----- > /* do SSL handshake */ > if (result==STATE_OK && use_ssl==TRUE){ > if((ssl=SSL_new(ctx))!=NULL){ > SSL_CTX_set_cipher_list(ctx,"ADH"); > SSL_set_fd(ssl,sd); > if((rc=SSL_connect(ssl))!=1){ > printf("CHECK_NRPE: Error - Could not complete SSL handshake.\n"); > ----- end code segment from check_nrpe.c ----- > > Somewhere in here, something isn't working. I don't know enough about > the SSL library to deduce what might be wrong with this. Does someone > else have a clue? > > Michael > >> -----Urspr?ngliche Nachricht----- >> Von: Steve Feehan [mailto:sfeehan at sbb.uvm.edu] >> Gesendet: Mittwoch, 24. Dezember 2003 00:24 >> An: John Downs >> Cc: nagios-users at lists.sourceforge.net >> Betreff: Re: [Nagios-users] check_nrpe fails, SSL handshake error (NOT >> Solved) >> >> >> On Tue, Dec 23, 2003 at 03:30:14PM -0500, John Downs wrote: >>> I tried truss while running in daemon mode and got lots of output. >> However, >>> I don't >>> know how to interpret that output. I also got nothing returned when >>> I do >> a >>> "netstat -a | grep -i nrpe ",and different results when I changed the >>> ownership on nrpe.cfg from root to nagios. How would I run truss with >>> an >>> inetd process? Can I? >>> >>> -john >> >> Try running nrpe in daemon mode through truss again, this time >> pass the -f option (I think that's the one to trace children as >> well). >> >> As for tracing through inetd, it will be messy on a busy system. >> But it is possible... figure out the PID of inetd and then attach >> truss to that process (i think it's -p PID). Make sure you specify >> the -f (or whatever) to trace children. You'll get a lot of output >> to wade through, but maybe it'll help. >> >> In the trace below, the only think I see suspicious are the calls >> to fstat(-1, ...). Not really sure where that's coming from. But >> it would be nice to see the trace of the children after the fork. >> >> I'll be glad to look at the truss output, problem is I'm going >> out of town till Sunday. :) >> >> Steve >> >>> #nrpe stream tcp nowait nagios /usr/bin/nrpe -c /etc/nrpe.cfg >>> -i >>> # truss /usr/bin/nrpe -c /etc/nrpe.cfg -d >>> execve("/usr/bin/nrpe", 0xFFBEF3D4, 0xFFBEF3E8) argc = 4 >>> mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, >>> MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF3A0000 >>> resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16 >>> open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT >>> open("/usr/lib/libnsl.so.1", O_RDONLY) = 3 >>> fstat(3, 0xFFBEEAFC) = 0 >>> mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >> 0xFF390000 >>> mmap(0x00000000, 704512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >>> 0xFF280000 >>> mmap(0xFF31C000, 32740, PROT_READ|PROT_WRITE|PROT_EXEC, >>> MAP_PRIVATE|MAP_FIXED, 3, 573440) = 0xFF31C000 >>> mmap(0xFF324000, 30928, PROT_READ|PROT_WRITE|PROT_EXEC, >>> MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF324000 >>> munmap(0xFF30C000, 65536) = 0 >>> memcntl(0xFF280000, 82252, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >>> close(3) = 0 >>> open("/usr/lib/libsocket.so.1", O_RDONLY) = 3 >>> fstat(3, 0xFFBEEAFC) = 0 >>> mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, >>> 0) = >>> 0xFF390000 >>> mmap(0x00000000, 114688, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >>> 0xFF370000 >>> mmap(0xFF38A000, 4365, PROT_READ|PROT_WRITE|PROT_EXEC, >>> MAP_PRIVATE|MAP_FIXED, 3, 40960) = 0xFF38A000 >>> munmap(0xFF37A000, 65536) = 0 >>> memcntl(0xFF370000, 14496, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >>> close(3) = 0 >>> open("/usr/lib/libc.so.1", O_RDONLY) = 3 >>> fstat(3, 0xFFBEEAFC) = 0 >>> mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, >>> 0) = >>> 0xFF390000 >>> mmap(0x00000000, 794624, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >>> 0xFF180000 >>> mmap(0xFF23A000, 24652, PROT_READ|PROT_WRITE|PROT_EXEC, >>> MAP_PRIVATE|MAP_FIXED, 3, 696320) = 0xFF23A000 >>> munmap(0xFF22A000, 65536) = 0 >>> memcntl(0xFF180000, 113332, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >>> close(3) = 0 >>> open("/usr/lib/libdl.so.1", O_RDONLY) = 3 >>> fstat(3, 0xFFBEEAFC) = 0 >>> mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, >>> 0) = >>> 0xFF390000 >>> close(3) = 0 >>> open("/usr/lib/libmp.so.2", O_RDONLY) = 3 >>> fstat(3, 0xFFBEEAFC) = 0 >>> mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >> 0xFF360000 >>> mmap(0x00000000, 90112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >> 0xFF340000 >>> mmap(0xFF354000, 865, PROT_READ|PROT_WRITE|PROT_EXEC, >> MAP_PRIVATE|MAP_FIXED, >>> 3, 16384) = 0xFF354000 >>> munmap(0xFF344000, 65536) = 0 >>> memcntl(0xFF340000, 3124, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >>> close(3) = 0 >>> open("/usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1", O_RDONLY) = 3 >>> fstat(3, 0xFFBEE98C) = 0 >>> mmap(0xFF360000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, >>> 0) = >>> 0xFF360000 >>> mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >> 0xFF270000 >>> close(3) = 0 >>> munmap(0xFF360000, 8192) = 0 >>> brk(0x000267D0) = 0 >>> brk(0x000287D0) = 0 >>> fstat(-1, 0xFFBEEA78) Err#9 EBADF >>> open("/etc/nrpe.cfg", O_RDONLY) = 3 >>> fstat64(3, 0xFFBEE098) = 0 >>> brk(0x000287D0) = 0 >>> brk(0x0002A7D0) = 0 >>> ioctl(3, TCGETA, 0xFFBEE024) Err#25 ENOTTY >>> read(3, " # # # # # # # # # # # #".., 8192) = 5019 >>> fstat(-1, 0xFFBED468) Err#9 EBADF >>> open("/dev/conslog", O_WRONLY) = 4 >>> fcntl(4, F_SETFD, 0x00000001) = 0 >>> fstat(4, 0xFFBED468) = 0 >>> fstat(4, 0xFFBEDEC8) = 0 >>> time() = 1072211336 >>> open("/usr/share/lib/zoneinfo/US/Eastern", O_RDONLY) = 5 >>> read(5, " T Z i f\0\0\0\0\0\0\0\0".., 8192) = 1250 >>> close(5) = 0 >>> getpid() = 1768 [1767] >>> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >>> open("/var/run/syslog_door", O_RDONLY) = 5 >>> door_info(5, 0xFFBED4B8) = 0 >>> getpid() = 1768 [1767] >>> door_call(5, 0xFFBED4A0) = 0 >>> close(5) = 0 >>> fstat(4, 0xFFBEDEC8) = 0 >>> time() = 1072211336 >>> getpid() = 1768 [1767] >>> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >>> open("/var/run/syslog_door", O_RDONLY) = 5 >>> door_info(5, 0xFFBED4B8) = 0 >>> getpid() = 1768 [1767] >>> door_call(5, 0xFFBED4A0) = 0 >>> close(5) = 0 >>> fstat(4, 0xFFBEDEC8) = 0 >>> time() = 1072211336 >>> getpid() = 1768 [1767] >>> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >>> open("/var/run/syslog_door", O_RDONLY) = 5 >>> door_info(5, 0xFFBED4B8) = 0 >>> getpid() = 1768 [1767] >>> door_call(5, 0xFFBED4A0) = 0 >>> close(5) = 0 >>> brk(0x0002A7D0) = 0 >>> brk(0x0002C7D0) = 0 >>> fstat(4, 0xFFBEDEC8) = 0 >>> time() = 1072211336 >>> getpid() = 1768 [1767] >>> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >>> open("/var/run/syslog_door", O_RDONLY) = 5 >>> door_info(5, 0xFFBED4B8) = 0 >>> getpid() = 1768 [1767] >>> door_call(5, 0xFFBED4A0) = 0 >>> close(5) = 0 >>> fstat(4, 0xFFBEDEC8) = 0 >>> time() = 1072211336 >>> getpid() = 1768 [1767] >>> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >>> open("/var/run/syslog_door", O_RDONLY) = 5 >>> door_info(5, 0xFFBED4B8) = 0 >>> getpid() = 1768 [1767] >>> door_call(5, 0xFFBED4A0) = 0 >>> close(5) = 0 >>> read(3, 0x0002681C, 8192) = 0 >>> llseek(3, 0, SEEK_CUR) = 5019 >>> close(3) = 0 >>> fork() = 1769 >>> llseek(0, 0, SEEK_CUR) = 70514 >>> _exit(0) >>> # hostnam >>> hostnam: not found >>> # hostname >>> photon >>> # >>> >>> >>> ----- Original Message ----- >>> From: "Patrick Soltani" >>> To: "Michael Tucker" ; >>> >>> Sent: Tuesday, December 23, 2003 2:26 PM >>> Subject: RE: [Nagios-users] check_nrpe fails, SSL handshake error >>> (NOT >>> Solved) >>> >>> >>>> Hi, >>>> >>>> When there is no more info on the module, then I'll turn to "truss" >>>> on >>> Solaris and run the same command line but with truss to see what >>> exactly >> the >>> module is doing and what kind of internal roll-o-coaster it >>> traverses. >>>> >>>> That should shed more light on the issue. >>>> >>>> Regards, >>>> Patrick Soltani. >>>> >>>> >>>> >>>> >>>>> -----Original Message----- >>>>> From: nagios-users-admin at lists.sourceforge.net >>>>> [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of >>>>> Michael >>>>> Tucker >>>>> Sent: Monday, December 22, 2003 8:23 PM >>>>> To: nagios-users at lists.sourceforge.net >>>>> Subject: Re: [Nagios-users] check_nrpe fails, SSL handshake error >>>>> (NOT >>>>> Solved) >>>>> >>>>> >>>>> >>>>> On Monday, December 22, 2003, at 05:34 PM, John Downs wrote: >>>>> >>>>>> I wish my problem was so easy to fix. I recompiled with >>>>>> --disable-ssl >>>>>> option and it works >>>>>> a little better.(I tried the permissions issue it didn't >>>>> help) I am >>>>>> still >>>>>> getting the following error >>>>>> in /var/adm/messages: >>>>>> >>>>>> Network server bind failure (126: cannot assign requested >>>>>> addres) >>>>>> This happens when I start start nrpe in daemon mode with: >>>>>> /usr/bin/nrpe -c /etc/nrpe.cfg -d >>>>>> >>>>>> nrpe is owned by root and has suid bit set. nrpe.cfg is owned by >>>>>> nagios and >>>>>> is readable by everyone. >>>>>> >>>>>> any ideas on this? >>>>>> >>>>>> Thanks!! >>>>>> >>>>>> -john >>>>>> >>>>> >>>>> Yeah, I get exactly the same thing. (Well *almost* exactly the >>>>> same. >>>>> Mine says "(125: cannot assign requested address)", but >>>>> otherwise it's >>>>> the same if I try to launch nrpe as a stand-alone daemon. (In >>>>> my case, >>>>> both nrpe and nrpe.cfg are owned by nagios:nagios, no suid >>>>> bit set, and >>>>> are readable by everyone.) >>>>> >>>>> It works if I use inetd with tcp wrappers, though, as I >>>>> described in my >>>>> first message... >>>>> >>>>>> /etc/inetd.conf: >>>>>> nrpe stream tcp nowait nagios >>>>> /usr/sfw/sbin/tcpd /usr/local/nagios/ >>>>>> bin/nrpe -c /usr/local/nagios/bin/nrpe.cfg -i >>>>>> >>>>>> /etc/services: >>>>>> nrpe 5666/tcp # NRPE (Nagios remote plugin executor) >>>>> >>>>> ...but ONLY if I have SSL disabled (recompiled nrpe with >>>>> --disable-ssl). I plan to deploy this to some sites where the SSL >>>>> security will be critically important. I can continue with my >>>>> testing >>>>> without it, but sooner or later I've got to fix this link in >>>>> the chain. >>>>> >>>>> Surely there's someone out there running Solaris who's had a >>>>> similar >>>>> problem, and figured out how to solve it? >>>>> >>>>> *frustrated* >>>>> >>>>> Michael >> >> -- >> Steve Feehan > > ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard at splash.co.za Thu Jan 8 11:41:31 2004 From: richard at splash.co.za (Richard Mayhew) Date: Thu, 8 Jan 2004 12:41:31 +0200 Subject: AW: [BUG] check_nrpe fails, SSL handshake error References: <62393C59DAB2444AB75C58AD65D4A9B181AF95@w2kexch> Message-ID: <00d901c3d5d3$fada4490$211302c4@mweb.com> one thing I didnt notice with the CVS version (2.1) that allowed_hosts option has been deprected and no longer works/required... ----- Original Message ----- From: "Maurer Roland MKG-Bank" To: "'Michael Tucker'" ; "Richard Mayhew" Cc: ; "Ethan Galstad" Sent: Thursday, January 08, 2004 12:11 PM Subject: AW: AW: [Nagios-users] [BUG] check_nrpe fails, SSL handshake error Hey, I tried to work with the nrpe daemon again. Now I just compiled the source again and doesn't work with the SUSE 9.0 program. In the nrpe.cfg file I have allow only the local host to have a connection (127.0.01). The real address of the host is 192.168.22.107. When I start the check on the local machine with check_nrpe -H 192.168.22.107 -p 5666 -c ceck_users I get the same error message CHECK_NRPE: Error - Could not complete SSL handshake When I switch the address to 127.0.0.1 it starts to work. After the correct configuration (modifying the allow_hosts parameter) it works over the network as well. It seems to be a problem by the initialing of the "dhparam" of the openssl when you use a compiled nrpe version. R. Maurer ps. I hope my English doesn't blame me again ;-) -----Urspr?ngliche Nachricht----- Von: Michael Tucker [mailto:mtucker at airmail.net] Gesendet: Mittwoch, 7. Januar 2004 21:45 An: Richard Mayhew Cc: nagios-users at lists.sourceforge.net; Ethan Galstad Betreff: Re: AW: [Nagios-users] [BUG] check_nrpe fails, SSL handshake error Good idea. Done. Ethan, to bring you up to speed: there appears to be a bug in check_nrpe/nrpe, something to do with its implementation of OpenSSL. I apologize for the length of this message; it might be easier for you to follow if you go back and follow the thread from the beginning. But there's quiet a bit of information here. Hopefully some of it will prove helpful to you. Here's the short form of the problem: > check_nrpe -> nrpe fails if SSL is enabled, and returns the message: >> # ./check_nrpe -H {host to monitor} -c check_load >> CHECK_NRPE: Error - Could not complete SSL handshake. > > If SSL is disabled (recompile with --disable-ssl), it works just fine. Michael On Wednesday, January 7, 2004, at 02:05 PM, Richard Mayhew wrote: > Hi > > Not to mention Fedora Core 1, which is also having the problem which > brought > about the rediscussion of this problem. > > If there is any extra info needed, please let me know.... maybe we > should CC > Ethan on this? > > ----- Original Message ----- > From: "Michael Tucker" > To: "Maurer Roland MKG-Bank" > Cc: > Sent: Wednesday, January 07, 2004 8:52 PM > Subject: Re: AW: [Nagios-users] [BUG] check_nrpe fails, SSL handshake > error > > > > On Wednesday, January 7, 2004, at 08:55 AM, Maurer Roland MKG-Bank > wrote: > >> Have find out what is working wrong. I have the same problem by using >> SUSE >> 9. >> >> Roland Maurer >> > > I presume that you meant "Have you found out...?" (I'm not picking on > your English. I'm sure that it's better than my German.) > > No, I have not. I am still looking for an answer to this problem. Has > anyone else found a solution? > > To reiterate some points that have been made in other threads: > > check_nrpe -> nrpe fails if SSL is enabled, and returns the message: >> # ./check_nrpe -H {host to monitor} -c check_load >> CHECK_NRPE: Error - Could not complete SSL handshake. > > If SSL is disabled (recompile with --disable-ssl), it works just fine. > > So far, we've had users report this error using Solaris 9 (me), AIX 5.1 > (Chris Stevens), and SUSE 9 (you). I am now inclined to believe that > this is a bug in NRPE 2.0, or in its implementation of OpenSSL; > specifically, the call to SSL_connect (), and the setup calls which > lead up to it: > > ----- begin code segment from check_nrpe.c ----- > /* do SSL handshake */ > if (result==STATE_OK && use_ssl==TRUE){ > if((ssl=SSL_new(ctx))!=NULL){ > SSL_CTX_set_cipher_list(ctx,"ADH"); > SSL_set_fd(ssl,sd); > if((rc=SSL_connect(ssl))!=1){ > printf("CHECK_NRPE: Error - Could not complete SSL handshake.\n"); > ----- end code segment from check_nrpe.c ----- > > Somewhere in here, something isn't working. I don't know enough about > the SSL library to deduce what might be wrong with this. Does someone > else have a clue? > > Michael > >> -----Urspr?ngliche Nachricht----- >> Von: Steve Feehan [mailto:sfeehan at sbb.uvm.edu] >> Gesendet: Mittwoch, 24. Dezember 2003 00:24 >> An: John Downs >> Cc: nagios-users at lists.sourceforge.net >> Betreff: Re: [Nagios-users] check_nrpe fails, SSL handshake error (NOT >> Solved) >> >> >> On Tue, Dec 23, 2003 at 03:30:14PM -0500, John Downs wrote: >>> I tried truss while running in daemon mode and got lots of output. >> However, >>> I don't >>> know how to interpret that output. I also got nothing returned when >>> I do >> a >>> "netstat -a | grep -i nrpe ",and different results when I changed the >>> ownership on nrpe.cfg from root to nagios. How would I run truss with >>> an >>> inetd process? Can I? >>> >>> -john >> >> Try running nrpe in daemon mode through truss again, this time >> pass the -f option (I think that's the one to trace children as >> well). >> >> As for tracing through inetd, it will be messy on a busy system. >> But it is possible... figure out the PID of inetd and then attach >> truss to that process (i think it's -p PID). Make sure you specify >> the -f (or whatever) to trace children. You'll get a lot of output >> to wade through, but maybe it'll help. >> >> In the trace below, the only think I see suspicious are the calls >> to fstat(-1, ...). Not really sure where that's coming from. But >> it would be nice to see the trace of the children after the fork. >> >> I'll be glad to look at the truss output, problem is I'm going >> out of town till Sunday. :) >> >> Steve >> >>> #nrpe stream tcp nowait nagios /usr/bin/nrpe -c /etc/nrpe.cfg >>> -i >>> # truss /usr/bin/nrpe -c /etc/nrpe.cfg -d >>> execve("/usr/bin/nrpe", 0xFFBEF3D4, 0xFFBEF3E8) argc = 4 >>> mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, >>> MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF3A0000 >>> resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16 >>> open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT >>> open("/usr/lib/libnsl.so.1", O_RDONLY) = 3 >>> fstat(3, 0xFFBEEAFC) = 0 >>> mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >> 0xFF390000 >>> mmap(0x00000000, 704512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >>> 0xFF280000 >>> mmap(0xFF31C000, 32740, PROT_READ|PROT_WRITE|PROT_EXEC, >>> MAP_PRIVATE|MAP_FIXED, 3, 573440) = 0xFF31C000 >>> mmap(0xFF324000, 30928, PROT_READ|PROT_WRITE|PROT_EXEC, >>> MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF324000 >>> munmap(0xFF30C000, 65536) = 0 >>> memcntl(0xFF280000, 82252, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >>> close(3) = 0 >>> open("/usr/lib/libsocket.so.1", O_RDONLY) = 3 >>> fstat(3, 0xFFBEEAFC) = 0 >>> mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, >>> 0) = >>> 0xFF390000 >>> mmap(0x00000000, 114688, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >>> 0xFF370000 >>> mmap(0xFF38A000, 4365, PROT_READ|PROT_WRITE|PROT_EXEC, >>> MAP_PRIVATE|MAP_FIXED, 3, 40960) = 0xFF38A000 >>> munmap(0xFF37A000, 65536) = 0 >>> memcntl(0xFF370000, 14496, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >>> close(3) = 0 >>> open("/usr/lib/libc.so.1", O_RDONLY) = 3 >>> fstat(3, 0xFFBEEAFC) = 0 >>> mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, >>> 0) = >>> 0xFF390000 >>> mmap(0x00000000, 794624, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >>> 0xFF180000 >>> mmap(0xFF23A000, 24652, PROT_READ|PROT_WRITE|PROT_EXEC, >>> MAP_PRIVATE|MAP_FIXED, 3, 696320) = 0xFF23A000 >>> munmap(0xFF22A000, 65536) = 0 >>> memcntl(0xFF180000, 113332, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >>> close(3) = 0 >>> open("/usr/lib/libdl.so.1", O_RDONLY) = 3 >>> fstat(3, 0xFFBEEAFC) = 0 >>> mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, >>> 0) = >>> 0xFF390000 >>> close(3) = 0 >>> open("/usr/lib/libmp.so.2", O_RDONLY) = 3 >>> fstat(3, 0xFFBEEAFC) = 0 >>> mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >> 0xFF360000 >>> mmap(0x00000000, 90112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >> 0xFF340000 >>> mmap(0xFF354000, 865, PROT_READ|PROT_WRITE|PROT_EXEC, >> MAP_PRIVATE|MAP_FIXED, >>> 3, 16384) = 0xFF354000 >>> munmap(0xFF344000, 65536) = 0 >>> memcntl(0xFF340000, 3124, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >>> close(3) = 0 >>> open("/usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1", O_RDONLY) = 3 >>> fstat(3, 0xFFBEE98C) = 0 >>> mmap(0xFF360000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, >>> 0) = >>> 0xFF360000 >>> mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >> 0xFF270000 >>> close(3) = 0 >>> munmap(0xFF360000, 8192) = 0 >>> brk(0x000267D0) = 0 >>> brk(0x000287D0) = 0 >>> fstat(-1, 0xFFBEEA78) Err#9 EBADF >>> open("/etc/nrpe.cfg", O_RDONLY) = 3 >>> fstat64(3, 0xFFBEE098) = 0 >>> brk(0x000287D0) = 0 >>> brk(0x0002A7D0) = 0 >>> ioctl(3, TCGETA, 0xFFBEE024) Err#25 ENOTTY >>> read(3, " # # # # # # # # # # # #".., 8192) = 5019 >>> fstat(-1, 0xFFBED468) Err#9 EBADF >>> open("/dev/conslog", O_WRONLY) = 4 >>> fcntl(4, F_SETFD, 0x00000001) = 0 >>> fstat(4, 0xFFBED468) = 0 >>> fstat(4, 0xFFBEDEC8) = 0 >>> time() = 1072211336 >>> open("/usr/share/lib/zoneinfo/US/Eastern", O_RDONLY) = 5 >>> read(5, " T Z i f\0\0\0\0\0\0\0\0".., 8192) = 1250 >>> close(5) = 0 >>> getpid() = 1768 [1767] >>> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >>> open("/var/run/syslog_door", O_RDONLY) = 5 >>> door_info(5, 0xFFBED4B8) = 0 >>> getpid() = 1768 [1767] >>> door_call(5, 0xFFBED4A0) = 0 >>> close(5) = 0 >>> fstat(4, 0xFFBEDEC8) = 0 >>> time() = 1072211336 >>> getpid() = 1768 [1767] >>> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >>> open("/var/run/syslog_door", O_RDONLY) = 5 >>> door_info(5, 0xFFBED4B8) = 0 >>> getpid() = 1768 [1767] >>> door_call(5, 0xFFBED4A0) = 0 >>> close(5) = 0 >>> fstat(4, 0xFFBEDEC8) = 0 >>> time() = 1072211336 >>> getpid() = 1768 [1767] >>> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >>> open("/var/run/syslog_door", O_RDONLY) = 5 >>> door_info(5, 0xFFBED4B8) = 0 >>> getpid() = 1768 [1767] >>> door_call(5, 0xFFBED4A0) = 0 >>> close(5) = 0 >>> brk(0x0002A7D0) = 0 >>> brk(0x0002C7D0) = 0 >>> fstat(4, 0xFFBEDEC8) = 0 >>> time() = 1072211336 >>> getpid() = 1768 [1767] >>> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >>> open("/var/run/syslog_door", O_RDONLY) = 5 >>> door_info(5, 0xFFBED4B8) = 0 >>> getpid() = 1768 [1767] >>> door_call(5, 0xFFBED4A0) = 0 >>> close(5) = 0 >>> fstat(4, 0xFFBEDEC8) = 0 >>> time() = 1072211336 >>> getpid() = 1768 [1767] >>> putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 >>> open("/var/run/syslog_door", O_RDONLY) = 5 >>> door_info(5, 0xFFBED4B8) = 0 >>> getpid() = 1768 [1767] >>> door_call(5, 0xFFBED4A0) = 0 >>> close(5) = 0 >>> read(3, 0x0002681C, 8192) = 0 >>> llseek(3, 0, SEEK_CUR) = 5019 >>> close(3) = 0 >>> fork() = 1769 >>> llseek(0, 0, SEEK_CUR) = 70514 >>> _exit(0) >>> # hostnam >>> hostnam: not found >>> # hostname >>> photon >>> # >>> >>> >>> ----- Original Message ----- >>> From: "Patrick Soltani" >>> To: "Michael Tucker" ; >>> >>> Sent: Tuesday, December 23, 2003 2:26 PM >>> Subject: RE: [Nagios-users] check_nrpe fails, SSL handshake error >>> (NOT >>> Solved) >>> >>> >>>> Hi, >>>> >>>> When there is no more info on the module, then I'll turn to "truss" >>>> on >>> Solaris and run the same command line but with truss to see what >>> exactly >> the >>> module is doing and what kind of internal roll-o-coaster it >>> traverses. >>>> >>>> That should shed more light on the issue. >>>> >>>> Regards, >>>> Patrick Soltani. >>>> >>>> >>>> >>>> >>>>> -----Original Message----- >>>>> From: nagios-users-admin at lists.sourceforge.net >>>>> [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of >>>>> Michael >>>>> Tucker >>>>> Sent: Monday, December 22, 2003 8:23 PM >>>>> To: nagios-users at lists.sourceforge.net >>>>> Subject: Re: [Nagios-users] check_nrpe fails, SSL handshake error >>>>> (NOT >>>>> Solved) >>>>> >>>>> >>>>> >>>>> On Monday, December 22, 2003, at 05:34 PM, John Downs wrote: >>>>> >>>>>> I wish my problem was so easy to fix. I recompiled with >>>>>> --disable-ssl >>>>>> option and it works >>>>>> a little better.(I tried the permissions issue it didn't >>>>> help) I am >>>>>> still >>>>>> getting the following error >>>>>> in /var/adm/messages: >>>>>> >>>>>> Network server bind failure (126: cannot assign requested >>>>>> addres) >>>>>> This happens when I start start nrpe in daemon mode with: >>>>>> /usr/bin/nrpe -c /etc/nrpe.cfg -d >>>>>> >>>>>> nrpe is owned by root and has suid bit set. nrpe.cfg is owned by >>>>>> nagios and >>>>>> is readable by everyone. >>>>>> >>>>>> any ideas on this? >>>>>> >>>>>> Thanks!! >>>>>> >>>>>> -john >>>>>> >>>>> >>>>> Yeah, I get exactly the same thing. (Well *almost* exactly the >>>>> same. >>>>> Mine says "(125: cannot assign requested address)", but >>>>> otherwise it's >>>>> the same if I try to launch nrpe as a stand-alone daemon. (In >>>>> my case, >>>>> both nrpe and nrpe.cfg are owned by nagios:nagios, no suid >>>>> bit set, and >>>>> are readable by everyone.) >>>>> >>>>> It works if I use inetd with tcp wrappers, though, as I >>>>> described in my >>>>> first message... >>>>> >>>>>> /etc/inetd.conf: >>>>>> nrpe stream tcp nowait nagios >>>>> /usr/sfw/sbin/tcpd /usr/local/nagios/ >>>>>> bin/nrpe -c /usr/local/nagios/bin/nrpe.cfg -i >>>>>> >>>>>> /etc/services: >>>>>> nrpe 5666/tcp # NRPE (Nagios remote plugin executor) >>>>> >>>>> ...but ONLY if I have SSL disabled (recompiled nrpe with >>>>> --disable-ssl). I plan to deploy this to some sites where the SSL >>>>> security will be critically important. I can continue with my >>>>> testing >>>>> without it, but sooner or later I've got to fix this link in >>>>> the chain. >>>>> >>>>> Surely there's someone out there running Solaris who's had a >>>>> similar >>>>> problem, and figured out how to solve it? >>>>> >>>>> *frustrated* >>>>> >>>>> Michael >> >> -- >> Steve Feehan > > ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Francois.JEANMOUGIN at 123multimedia.com Thu Jan 8 11:54:36 2004 From: Francois.JEANMOUGIN at 123multimedia.com (Francois JEANMOUGIN) Date: Thu, 8 Jan 2004 11:54:36 +0100 Subject: Monitoring MySQL and PostgreSQL Message-ID: <4B05B471CA57554C8E0361B442971086043D35@mail.tls.123multimedia.com> > I find check_oracle, cool, but where are the others? I think I have an out > of the box 1.1 installation. I will check my installation, but... > > Thanks for your help, as it should be standard, I think I could find it... 'found it, not installed, part timer fired :). Thank you. Fran?ois. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 8 11:53:02 2004 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Thu, 8 Jan 2004 11:53:02 +0100 Subject: Check_ifoperstatus or Check_snmp_disk --> Can't locate Net/SNMP.pm ?? Message-ID: Dear List, Have anybody seen this before? [root at localhost libexec]# perl ./check_ifoperstatus Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at ./check_ifoperstatus line 40. BEGIN failed--compilation aborted at ./check_ifoperstatus line 40. I have a SNMP.pm in /usr/local/nagios/libexec .... Any hints? Thanks for your time Thomas ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Francois.JEANMOUGIN at 123multimedia.com Thu Jan 8 12:36:58 2004 From: Francois.JEANMOUGIN at 123multimedia.com (Francois JEANMOUGIN) Date: Thu, 8 Jan 2004 12:36:58 +0100 Subject: Check_ifoperstatus or Check_snmp_disk --> Can't locate Net/SNMP.pm ?? Message-ID: <4B05B471CA57554C8E0361B442971086043D38@mail.tls.123multimedia.com> > -----Original Message----- > Have anybody seen this before? > > [root at localhost libexec]# perl ./check_ifoperstatus > Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec > /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 > /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 > /usr/lib/perl5/site_perl .) at ./check_ifoperstatus line 40. > BEGIN failed--compilation aborted at ./check_ifoperstatus line 40. > > I have a SNMP.pm in /usr/local/nagios/libexec .... > > > Any hints? cd libexec mkdir Net cp SNMP.pm Net/ 'should work/ Fran?ois. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard at splash.co.za Thu Jan 8 12:48:35 2004 From: richard at splash.co.za (Richard Mayhew) Date: Thu, 8 Jan 2004 13:48:35 +0200 Subject: Check_ifoperstatus or Check_snmp_disk --> Can't locate Net/SNMP.pm ?? References: <4B05B471CA57554C8E0361B442971086043D38@mail.tls.123multimedia.com> Message-ID: <011a01c3d5dd$591eb820$211302c4@mweb.com> Or you can perl -MCPAN -e shell and install Net::SNMP 'install Net::SNMP' after upgrading your CPAN bundle which it will prompt you to do.. :) ----- Original Message ----- From: "Francois JEANMOUGIN" To: Sent: Thursday, January 08, 2004 1:36 PM Subject: RE: [Nagios-users] Check_ifoperstatus or Check_snmp_disk --> Can't locate Net/SNMP.pm ?? > -----Original Message----- > Have anybody seen this before? > > [root at localhost libexec]# perl ./check_ifoperstatus > Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec > /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 > /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 > /usr/lib/perl5/site_perl .) at ./check_ifoperstatus line 40. > BEGIN failed--compilation aborted at ./check_ifoperstatus line 40. > > I have a SNMP.pm in /usr/local/nagios/libexec .... > > > Any hints? cd libexec mkdir Net cp SNMP.pm Net/ 'should work/ Fran?ois. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ragnar at skolelinux.no Thu Jan 8 13:02:16 2004 From: ragnar at skolelinux.no (=?ISO-8859-1?Q?Ragnar_Wisl=F8ff?=) Date: Thu, 08 Jan 2004 13:02:16 +0100 Subject: Status Map error 500 In-Reply-To: <200401072250.i07MoScZ001278@knockout.kirtland.af.mil> References: <200401072250.i07MoScZ001278@knockout.kirtland.af.mil> Message-ID: <3FFD46C8.8090201@skolelinux.no> Johnston Michael J Contr AFRL/DES skrev: >This is starting to get pretty frustrating. Thank you to those have sent me >suggestions, but I still can't get this to work. Everything in Nagios works >fine except the 'Status Map' and Trends.' I just see this error on the >webpage: > >========================================= >Server error! >The server encountered an internal error and was unable to complete your >request. >Error message: >Premature end of script headers: statusmap.cgi >If you think this is a server error, please contact the webmaster >Error 500 >========================================= > >I have two nagios systems. One is a test system and the other is the new >live system. The test system works just fine and everything comes up great. >I've copied all the CFG files into the /etc and I've also copied the >httpd.conf file over. Things that I have tried that have been suggested to >me are 'setenv LIBS /usr/lib' and setting "LD_LIBRARY_PATH" to see GD and >jpeg. I'm honestly not sure how to check what's in the LD_LIBRARY_PATH and >I can't find a file with that name. > >Can someone maybe give me some simple instructions on what to check that >easy enough for an monkey? Any help would be awesome... And also, thank >you to those who have sent me suggestions. > I have not followed the thread, so please bear with me if this has already been mentioned. The error is most likely caused by compiling and/or running with the "wrong" libgd version. AFAIR you need to use libgd v.2, v.3 fails. This was a aproblem when I made some Debian packages for Woody, it was solved building against libgd2. It only affected the generation of graphics like in trends and the status maps, everything else was working fine. Hope this helps. Ragnar Wisl?ff ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 8 13:36:03 2004 From: seppy at chartermi.net (Brian E. Seppanen) Date: Thu, 8 Jan 2004 07:36:03 -0500 (EST) Subject: Check_ifoperstatus or Check_snmp_disk --> Can't locate Net/SNMP.pm ?? In-Reply-To: References: Message-ID: On Thu, 8 Jan 2004, Thomas Jens Lauritsen wrote: > Dear List, > > > Have anybody seen this before? > > [root at localhost libexec]# perl ./check_ifoperstatus > Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec > /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 > /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 > /usr/lib/perl5/site_perl .) at ./check_ifoperstatus line 40. > BEGIN failed--compilation aborted at ./check_ifoperstatus line 40. > > I have a SNMP.pm in /usr/local/nagios/libexec .... Modify check_ifoperstatus as follows #!/usr/bin/perl -I/usr/local/nagios/libexec that will include /usr/local/nagios/libexec in perls include path Perhaps a better move would be to install SNMP.pm in Perl's standard search path, a lot of things could probably use Net::SNMP, but maybe that's just me. easy way to install it system wide (if your system includes cpan) perl -MCPAN -e shell cpan> install Net::SNMP > > > Any hints? > > Thanks for your time > > Thomas > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Brian Seppanen seppy at chartermi.net 906-475-0107 ext 1040 ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Francois.JEANMOUGIN at 123multimedia.com Thu Jan 8 14:30:37 2004 From: Francois.JEANMOUGIN at 123multimedia.com (Francois JEANMOUGIN) Date: Thu, 8 Jan 2004 14:30:37 +0100 Subject: Check_ifoperstatus or Check_snmp_disk --> Can't locate Net/SNMP.pm ?? Message-ID: <4B05B471CA57554C8E0361B442971086043D3A@mail.tls.123multimedia.com> > > Can't locate Net/SNMP.pm in @INC (@INC contains: > > /usr/local/nagios/libexec ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Modify check_ifoperstatus as follows > > #!/usr/bin/perl -I/usr/local/nagios/libexec > > that will include /usr/local/nagios/libexec in perls include path Tsk tsk tsk. It is already there. Also is the .pm file. It is just not in the good directory. Fran?ois. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 8 15:28:29 2004 From: Michael.Huettig at Medien-Systempartner.de (Michael Huettig) Date: Thu, 8 Jan 2004 15:28:29 +0100 Subject: nrpe Message-ID: <200401081528.29499.Michael.Huettig@Medien-Systempartner.de> Hi everyone, on sol8-box i get a lot of messages like the following: nrpe[7242]: [ID 421412 daemon.error] Could not read request from client, bailing out... nrpe runs under inetd and is compiled without ssl-support, the same happens on another sol8-box with nrpe2, restarting inetd doesn't helps. On SUSE9-Linux with nrpe2 i don't have any problems. Nagios itself doesn't shows any messages, if i start check_nrpe from libexec-dir everythings fine, the answer is correct. If anyone has an idea to get of this messages please let me know ... -- with best regards Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david at zdata.co.za Thu Jan 8 15:30:16 2004 From: david at zdata.co.za (David Ross) Date: Thu, 8 Jan 2004 16:30:16 +0200 Subject: Permission Problems? Message-ID: <01d501c3d5f3$efa65350$a801a8c0@davidro> Hi I have recently installed Nagios on a Debian woody machine but am having a few problems. I created the htpasswd.users file and added the nagiosadmin user and can log onto the web interface. The only problem I have is that when I click some of the links in the menu on the left it tells me : > It appears as though you do not have permission to view information for any of the services you requested... > If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI > and check the authorization options in your CGI configuration file. Is there something I am missing here? I am very new to this sort of thing so please bare with me! Thank you for your time. Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard at splash.co.za Thu Jan 8 15:40:27 2004 From: richard at splash.co.za (Richard Mayhew) Date: Thu, 8 Jan 2004 16:40:27 +0200 Subject: nrpe References: <200401081528.29499.Michael.Huettig@Medien-Systempartner.de> Message-ID: <01df01c3d5f5$5b67f7f0$211302c4@mweb.com> Are both your server and client compiled without SSL support... ----- Original Message ----- From: "Michael Huettig" To: Sent: Thursday, January 08, 2004 4:28 PM Subject: [Nagios-users] nrpe > Hi everyone, > on sol8-box i get a lot of messages like the following: > > nrpe[7242]: [ID 421412 daemon.error] Could not read request from client, > bailing out... > > nrpe runs under inetd and is compiled without ssl-support, the same happens on > another sol8-box with nrpe2, restarting inetd doesn't helps. > > On SUSE9-Linux with nrpe2 i don't have any problems. Nagios itself doesn't > shows any messages, if i start check_nrpe from libexec-dir everythings fine, > the answer is correct. > > If anyone has an idea to get of this messages please let me know ... > -- > with best regards > > Michael > > > > ********************************************************************** > Diese E-Mail wurde auf Viren ueberprueft. > www.mimesweeper.com > ********************************************************************** > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 8 15:50:35 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Thu, 08 Jan 2004 15:50:35 +0100 Subject: Permission Problems? In-Reply-To: <01d501c3d5f3$efa65350$a801a8c0@davidro> References: <01d501c3d5f3$efa65350$a801a8c0@davidro> Message-ID: <1073573435.21493.38.camel@dresden.eurodata.de> Hi Dave, check your permissions on the cgi.cfg file. you must allow there your cgi's. Andreas Am Do, den 08.01.2004 schrieb David Ross um 15:30: > Hi > > I have recently installed Nagios on a Debian woody machine but am > having a few problems. I created the htpasswd.users file and added the > nagiosadmin user and can log onto the web interface. The only problem > I have is that when I click some of the links in the menu on the left > it tells me : > > > It appears as though you do not have permission to view information > for any of the services you requested... > > > If you believe this is an error, check the HTTP server > authentication requirements for accessing this CGI > > and check the authorization options in your CGI configuration file. > > Is there something I am missing here? I am very new to this sort of > thing so please bare with me! > > Thank you for your time. > Dave -- ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 8 15:53:13 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Thu, 08 Jan 2004 15:53:13 +0100 Subject: nrpe In-Reply-To: <200401081528.29499.Michael.Huettig@Medien-Systempartner.de> References: <200401081528.29499.Michael.Huettig@Medien-Systempartner.de> Message-ID: <1073573593.21492.41.camel@dresden.eurodata.de> Hello Michael, have you allow that your nagios-server can connect to your client!? With the option "allowed_hosts=127.0.0.1" in the nrpe.cfg you can do this. Andreas Am Do, den 08.01.2004 schrieb Michael Huettig um 15:28: > Hi everyone, > on sol8-box i get a lot of messages like the following: > > nrpe[7242]: [ID 421412 daemon.error] Could not read request from client, > bailing out... > > nrpe runs under inetd and is compiled without ssl-support, the same happens on > another sol8-box with nrpe2, restarting inetd doesn't helps. > > On SUSE9-Linux with nrpe2 i don't have any problems. Nagios itself doesn't > shows any messages, if i start check_nrpe from libexec-dir everythings fine, > the answer is correct. > > If anyone has an idea to get of this messages please let me know ... -- ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 8 16:17:51 2004 From: Michael.Huettig at Medien-Systempartner.de (Michael Huettig) Date: Thu, 8 Jan 2004 16:17:51 +0100 Subject: nrpe In-Reply-To: <1073573593.21492.41.camel@dresden.eurodata.de> References: <200401081528.29499.Michael.Huettig@Medien-Systempartner.de> <1073573593.21492.41.camel@dresden.eurodata.de> Message-ID: <200401081617.51717.Michael.Huettig@Medien-Systempartner.de> Am Donnerstag, 8. Januar 2004 15:53 schrieb Andreas Koch: > Hello Michael, > > have you allow that your nagios-server can connect to your client!? > > With the option "allowed_hosts=127.0.0.1" in the nrpe.cfg you can do > this. > Yes, nrpe works fine under nagios, there is no connection problem, both nrpe-sides are compiled without ssl-support, nrpe works for more than 4 months without this error > Andreas > > Am Do, den 08.01.2004 schrieb Michael Huettig um 15:28: > > Hi everyone, > > on sol8-box i get a lot of messages like the following: > > > > nrpe[7242]: [ID 421412 daemon.error] Could not read request from client, > > bailing out... > > > > nrpe runs under inetd and is compiled without ssl-support, the same > > happens on another sol8-box with nrpe2, restarting inetd doesn't helps. > > > > On SUSE9-Linux with nrpe2 i don't have any problems. Nagios itself > > doesn't shows any messages, if i start check_nrpe from libexec-dir > > everythings fine, the answer is correct. > > > > If anyone has an idea to get of this messages please let me know ... -- With best regards Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mauog at interfree.it Thu Jan 8 16:39:13 2004 From: mauog at interfree.it (Mauro) Date: Thu, 8 Jan 2004 16:39:13 +0100 Subject: long hosts list in service.cfg Message-ID: <001601c3d5fd$91821750$5dc810ac@graitmgatt> Hi all, Is it possible to use in service.cfg file in host_name entry a group name defined in hostgroups.cfg rather than write a long hosts list? Thnak You -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.vier at tradingtechnologies.com Thu Jan 8 16:43:52 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 08 Jan 2004 09:43:52 -0600 Subject: long hosts list in service.cfg In-Reply-To: <001601c3d5fd$91821750$5dc810ac@graitmgatt> References: <001601c3d5fd$91821750$5dc810ac@graitmgatt> Message-ID: <1073576632.4507.100.camel@localhost> On Thu, 2004-01-08 at 09:39, Mauro wrote: > Hi all, > Is it possible to use in service.cfg file in host_name entry a group > name defined in hostgroups.cfg rather than write a long hosts list? yes, use hostgroup_name instead of host_name ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jean-Jacques.siquet at experian.fr Thu Jan 8 16:45:08 2004 From: Jean-Jacques.siquet at experian.fr (Jean-Jacques.siquet) Date: Thu, 8 Jan 2004 16:45:08 +0100 Subject: how to compile nagios source on HPux 11.00 Message-ID: hi, how to compile nagios source on HPux 11.00? thanks JJ ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grimm at nickellson.com Thu Jan 8 17:26:00 2004 From: grimm at nickellson.com (Nickolas Ray Ellson) Date: Thu, 8 Jan 2004 08:26:00 -0800 (PST) Subject: Permission Problems? In-Reply-To: <1073573435.21493.38.camel@dresden.eurodata.de> References: <01d501c3d5f3$efa65350$a801a8c0@davidro> <1073573435.21493.38.camel@dresden.eurodata.de> Message-ID: I am having a similar problem. I have tweaked teh CGI.CFG file, made sure that my CGI's are executeable (some do execute with out error, just most do not.. they draw part of the page but I get a permisions eror at the bottom where real data would be. I would be interested in what we may have both set up incorrectly? Nick On Thu, 8 Jan 2004, Andreas Koch wrote: > Hi Dave, > > check your permissions on the cgi.cfg file. > > you must allow there your cgi's. > > Andreas > > Am Do, den 08.01.2004 schrieb David Ross um 15:30: > > Hi > > > > I have recently installed Nagios on a Debian woody machine but am > > having a few problems. I created the htpasswd.users file and added the > > nagiosadmin user and can log onto the web interface. The only problem > > I have is that when I click some of the links in the menu on the left > > it tells me : > > > > > It appears as though you do not have permission to view information > > for any of the services you requested... > > > > > If you believe this is an error, check the HTTP server > > authentication requirements for accessing this CGI > > > and check the authorization options in your CGI configuration file. > > > > Is there something I am missing here? I am very new to this sort of > > thing so please bare with me! > > > > Thank you for your time. > > Dave > -- > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 8 17:51:19 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Thu, 08 Jan 2004 17:51:19 +0100 Subject: nrpe In-Reply-To: <200401081617.51717.Michael.Huettig@Medien-Systempartner.de> References: <200401081528.29499.Michael.Huettig@Medien-Systempartner.de> <1073573593.21492.41.camel@dresden.eurodata.de> <200401081617.51717.Michael.Huettig@Medien-Systempartner.de> Message-ID: <1073580679.21490.121.camel@dresden.eurodata.de> Have you start a Firewall, or nother program uses the port!? Am Do, den 08.01.2004 schrieb Michael Huettig um 16:17: > Am Donnerstag, 8. Januar 2004 15:53 schrieb Andreas Koch: > > Hello Michael, > > > > have you allow that your nagios-server can connect to your client!? > > > > With the option "allowed_hosts=127.0.0.1" in the nrpe.cfg you can do > > this. > > > > Yes, nrpe works fine under nagios, there is no connection problem, both > nrpe-sides are compiled without ssl-support, nrpe works for more than 4 > months without this error > > > Andreas > > > > Am Do, den 08.01.2004 schrieb Michael Huettig um 15:28: > > > Hi everyone, > > > on sol8-box i get a lot of messages like the following: > > > > > > nrpe[7242]: [ID 421412 daemon.error] Could not read request from client, > > > bailing out... > > > > > > nrpe runs under inetd and is compiled without ssl-support, the same > > > happens on another sol8-box with nrpe2, restarting inetd doesn't helps. > > > > > > On SUSE9-Linux with nrpe2 i don't have any problems. Nagios itself > > > doesn't shows any messages, if i start check_nrpe from libexec-dir > > > everythings fine, the answer is correct. > > > > > > If anyone has an idea to get of this messages please let me know ... -- ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Thu Jan 8 18:16:27 2004 From: mtucker at airmail.net (Michael Tucker) Date: Thu, 8 Jan 2004 11:16:27 -0600 Subject: Distributed monitoring, need help with config In-Reply-To: <001f01c3d4b1$c31acfc0$140a0a0a@headquarters.uui.com> References: <001f01c3d4b1$c31acfc0$140a0a0a@headquarters.uui.com> Message-ID: <64C69250-41FE-11D8-A7BF-0030657DF28A@airmail.net> On Tuesday, January 6, 2004, at 06:04 PM, MagAdmin wrote: > Hi, > > In ------nrpe.cfg------ of "monhost" you must have the line: (my > current setting sample) > > command[check_users]=/home/nagios/libexec/check_users -w 15 -c 20 > > then in ------service.cfg------ you must have the line like this: > > ----- services.cfg ----- > > define service{ > ????? use?? generic-service?? ; Name of service template to use > ????? host_name?????????????? monhost > ????? service_description?????????? Current Users > ????? is_volatile?????????????????? 0 > ????? check_period????????????????? 24x7 > ????? max_check_attempts????? 3 > ????? normal_check_interval?? 5 > ????? retry_check_interval????????? 2 > ????? contact_groups????????? admins > ????? notification_interval???????? 240 > ????? notification_period?????????? 24x7 > ????? notification_options????????? w,u,c,r > ????? check_command?????????? check_nrpe!check_users > ????? } > > In your ----- checkcommands.cfg ----- define: > > # 'check_nrpe' command definition > > define command{ > ????? command_name????? check_nrpe > ????? command_line????? $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ > ????? } > > to test this setting, from your "distserv" type: > > # ./check_nrpe -H monhost -c check_users > > Phu Nguyen. > Thanks, Phu! That helped a lot. My distributed server is now showing the correct status (that of the monitored host); before this fix, it was showing its *own* status. But my central server is still not showing the correct status. I changed its config files (checkcommands.cfg and services.cfg) to match those on the distributed server exactly (which is what the distributed monitoring documentation with PCGen tells you to do), and now I get "(No output!)" for each service monitored. For the benefit of anyone else who might want to help: This is the first time I've tried to set up Nagios, and it almost all works. Nrpe doesn't work with SSL enabled (this is being investigated in another thread), and I still don't have the distributed monitoring set up correctly (which is the point of this thread). But other than that, everything is working. I'm starting out simple: I have one central server, one distributed server, and one monitored host, which are all on the same LAN. The distributed server is collecting status information from the monitored host (using check_nrpe/nrpe), and is supposed to be forwarding that status information to the central server (using send_nsca/nsca). Both nsce and nrpa are running under inetd/tcpd. Both appear to run without generating any errors, but the status isn't showing up on the central server. Clearly, I've got something configured incorrectly (I'm guessing with either nsca or the Nagios config on the central server, but I can't see what). It's true that the central server can easily connect directly to the monitored host in this situation, but that isn't the point; I'm trying to figure out how to configure it for the real-world setup described above. This will be necessary when I begin to deploy this solution for my employer's customers, whose hosts we will be monitoring, and who are *very* concerned about the security of their local networks. Can someone help me out, here? Thanks, Michael ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CPickslay at classroom.com Thu Jan 8 20:27:28 2004 From: CPickslay at classroom.com (Pickslay, Christopher) Date: Thu, 8 Jan 2004 11:27:28 -0800 Subject: Enabling/disabling sets of services Message-ID: <61901B1E0226D4119AAD00D0B76FE7C3069231C8@DRAKE> I have a set of services, including some that test hosts in an isolated network. I don't have access to that network when I'm doing development, so I get lots of spurious error notifications. I can easily disable notifications on my development server, but that doesn't allow me to test notifications. I'd like to be able to group a set of services as production, and enable or disable them with some simple configuration. Has anyone dealt with this type of issue? _______________________________________________________________________ Christopher Pickslay Classroom Connect Lead Engineer, ConnectedEducator http://educator.classroom.com cpickslay at classroom.com tel: 650-351-5147 fax: 650-351-5300 ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sean.perry at intransa.com Thu Jan 8 20:52:51 2004 From: sean.perry at intransa.com (Sean Perry) Date: Thu, 08 Jan 2004 11:52:51 -0800 Subject: how to reset the service / host uptimes Message-ID: <3FFDB513.5000408@intransa.com> I would like to start the new year with a clean slate. However I am confused as to where to start. We use mysql tables to hold the uptime info. When I stop the daemon the tables get emptied. If I move the .out files in $NAGIOS/var and start the daemon back up the tables get repopulated with the old data. Where is it coming from? ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.d.werth at baesystems.com Thu Jan 8 21:46:07 2004 From: kurt.d.werth at baesystems.com (Kurt Werth) Date: Thu, 08 Jan 2004 15:46:07 -0500 Subject: nagmin mysql error Message-ID: <3FFDC18F.A29091F0@baesystems.com> I have a new install (nagios 1.1, nagmin 2.0.6 and mysql 3.23.53) and I'm having problems adding a host through webmin. After inserting the data and clicking on "add" I get the following: SQL insert into `Host` values (NULL , 'csproddb' , NULL , NULL , NULL , ' ' , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL) failed : I'm not seeing a log of this insert attempt anywhere, so I have no idea what the problem is. This isn't limited to the Host table, I get the same failure on any table. Anyone else run into something similar or have any ideas? TIA -- Kurt Werth BAE SYSTEMS Platform Solutions Tel : 607.770.3501 600 Main Street Email: Kurt.D.Werth at BAESYSTEMS.com Johnson City, New York 13790 ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff at unixisgod.com Thu Jan 8 22:37:45 2004 From: jeff at unixisgod.com (Jeff Rodriguez) Date: Thu, 08 Jan 2004 14:37:45 -0700 Subject: Enabling/disabling sets of services In-Reply-To: <61901B1E0226D4119AAD00D0B76FE7C3069231C8@DRAKE> References: <61901B1E0226D4119AAD00D0B76FE7C3069231C8@DRAKE> Message-ID: <3FFDCDA9.5090300@unixisgod.com> Pickslay, Christopher wrote: >I have a set of services, including some that test hosts in an isolated network. I don't have access to that network when I'm doing development, so I get lots of spurious error notifications. I can easily disable notifications on my development server, but that doesn't allow me to test notifications. I'd like to be able to group a set of services as production, and enable or disable them with some simple configuration. Has anyone dealt with this type of issue? > >_______________________________________________________________________ >Christopher Pickslay Classroom Connect >Lead Engineer, ConnectedEducator http://educator.classroom.com >cpickslay at classroom.com >tel: 650-351-5147 >fax: 650-351-5300 > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Perforce Software. >Perforce is the Fast Software Configuration Management System offering >advanced branching capabilities and atomic changes on 50+ platforms. >Free Eval! http://www.perforce.com/perforce/loadprog.html >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > Why not put the host into scheduled downtime? I know around our shop we pull the server from it's cluster before anything is deployed to it. I hope you do the same ;) I use the following URI to ignore anything that is planned/know about: /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=252&hostprops=42&serviceprops=42&sorttype=1&sortoption=6 Jeff ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 sightspeed.com Thu Jan 8 23:55:25 2004 From: chris at sightspeed.com (Chris) Date: Thu, 8 Jan 2004 14:55:25 -0800 Subject: Service Dependency Templates In-Reply-To: <20040108061849.GC11037@isite.net> References: <20040108061849.GC11037@isite.net> Message-ID: Are you saying that the host_check command automatically has all other services dependant on it no matter what? If not, then you are saying I need to put host_check commands in my host.conf? I'm trying to keep my setup so that all services are set in the services config, so I don't have the default host_check command in my host.conf. Also a sniffer won't tell me how nagios is coded, so running one will do me no good what so ever. Thanks, Chris S. RHCE,CCNA I.T.Engineer http://www.sightspeed.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Joe Rhett Sent: Wednesday, January 07, 2004 10:19 PM To: Chris Cc: Nagios-Users Subject: Re: [Nagios-users] Service Dependency Templates It sounds like you have everything set up properly. Nagios does this by default. It's already doing it. Really. Use a packet sniffer. Watch. Learn. On Wed, Jan 07, 2004 at 09:48:31PM -0800, Chris wrote: > Where is that setup? In the hosts file? > > Because I don't have any service checks specified in my hosts config. > All my services including ping are set in my services config and they are > set to the hostgroups. > > So I have Services set for Mail servers, Web Servers, and Network Devices. > > Thanks, > Chris S. > RHCE,CCNA > I.T.Engineer > http://www.sightspeed.com > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Joe Rhett > Sent: Wednesday, January 07, 2004 8:56 PM > To: Chris > Cc: Nagios-Users > Subject: Re: [Nagios-users] Service Dependency Templates > > > You're going the long way around a problem that Nagios has already solved. > If any service fails, Nagios schedules a host check. By default, this is > ping. If the host check fails, all other checks stop until the host check > succeeds again. In short, it does what you want already. > (as long as your host checks are ping...) > > On Wed, Jan 07, 2004 at 12:22:01PM -0800, Chris wrote: > > Hello All, > > > > I finally started getting my nagios monitoring dialed in nicely using the > > template system, having semi incomplete templates not registered and being > > used by my other templates. > > > > I'm wondering if I can use the same system with dependencies? > > I want to make a template like this... > > > > define servicedependency{ > > service_description Ping Check > > dependent_service_description * > > execution_failure_criteria w,u,c > > notification_failure_criteria w,u,c > > name SrvDep > > } > > > > Then have each one of my hosts use the template SrvDep like this... > > > > define servicedependency{ > > host_name MailSrvr > > dependent_host_name MailSrvr > > use SrvDep > > } > > > > Goal being to make all services on the MailSrvr dependent on Ping and if > > Ping fails it will stop checks on all other services. > > > > But from looking at the docs it seems like servicedependency does have the > > name/use feature for templating. > > > > Thanks, > > Chris S. > > RHCE,CCNA > > I.T.Engineer > > http://www.sightspeed.com > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Perforce Software. > > Perforce is the Fast Software Configuration Management System offering > > advanced branching capabilities and atomic changes on 50+ platforms. > > Free Eval! http://www.perforce.com/perforce/loadprog.html > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -- > Joe Rhett Chief Geek > JRhett at Isite.Net Isite Services, Inc. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tech at anshulgupta.com Fri Jan 9 00:10:23 2004 From: tech at anshulgupta.com (Anshul Gupta) Date: Fri, 9 Jan 2004 10:10:23 +1100 Subject: Fwd: NSCA: Unrecognized External Commands Message-ID: > Hi All, I am still struggling to get NSCA work. I have nagios 1.1, nagios-plugins 1.3.1 and nsca-2.4. I have configured passive check using nsca using the documentation supplied. Why it should say unrecognized external command? > On the central nsca server I am getting this message in the log file, > > Warning: Unrecognized external command -> PROCESS_HOST_CHECK_RESULT; > > The system executes other external commands like > > Jan 6 18:00:23 gonzo nagios: EXTERNAL COMMAND: > ENABLE_HOST_SVC_CHECKS;zeus > Jan 6 18:01:57 gonzo nagios: EXTERNAL COMMAND: ENABLE_HOST_CHECK;zeus > Jan 6 18:05:00 gonzo nagios: EXTERNAL COMMAND: > DISABLE_SVC_CHECK;zeus;HTTP > > What can be the problem? > > > Cheers, > Anshul > > Cheers, Anshul ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.johnston at kirtland.af.mil Fri Jan 9 01:03:34 2004 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Fri, 9 Jan 2004 00:03:34 -0000 Subject: Status Map error 500 Message-ID: <200401090004.i09043cX001692@knockout.kirtland.af.mil> I'm using gd 2.0.19, which is the newest stable version out. Should I try another version? > I have not followed the thread, so please bear with me if this has > already been mentioned. The error is most likely caused by compiling > and/or running with the "wrong" libgd version. AFAIR you need to use > libgd v.2, v.3 fails. This was a aproblem when I made some Debian > packages for Woody, it was solved building against libgd2. It only > affected the generation of graphics like in trends and the status maps, > everything else was working fine. > > Hope this helps. > > Ragnar Wisl?ff ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joel.Lopez at libraries.claremont.edu Fri Jan 9 01:25:58 2004 From: Joel.Lopez at libraries.claremont.edu (Joel Lopez) Date: Thu, 8 Jan 2004 16:25:58 -0800 Subject: newbie - almost got it working, I think Message-ID: <5B618E311CFE2B42A4B3A562CB31E6D904C673@grimalkin.cuc.claremont.edu> Hi, I have a fresh install of debian and have installed nagios. I am slowly working through all the config files to remove things that were provided as examples. Nagios has finally started without errors in the log file. Now I'm getting this message: 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'm a newbie and I'm not sure if this is an error on my cgi.cfg or on my httpd.conf file. If anyone has seen this before any suggestions would be greatly appreciated. thanks, Joel -------------- next part -------------- An HTML attachment was scrubbed... URL: From Joel.Lopez at libraries.claremont.edu Fri Jan 9 02:56:34 2004 From: Joel.Lopez at libraries.claremont.edu (Joel Lopez) Date: Thu, 8 Jan 2004 17:56:34 -0800 Subject: monitor network usage of a host? Message-ID: <5B618E311CFE2B42A4B3A562CB31E6D904C674@grimalkin.cuc.claremont.edu> is it possible to find out if a machine is uploading copies of DVD's to the net or if a machine is affected with the slammer virus and generating massive amouts of network traffic? Basically can I be alerted if a machine is using more than normal bandwith? thanks, Joel -------------- next part -------------- An HTML attachment was scrubbed... URL: From pikelner at rogers.com Fri Jan 9 05:40:03 2004 From: pikelner at rogers.com (Frank Pikelner) Date: Thu, 8 Jan 2004 23:40:03 -0500 Subject: Nagios demo site down Message-ID: <000601c3d66a$a7e66ec0$513a6618@netcraftinc.int> Not certain if anyone has noticed that the DEMO site is down. Frank Pikelner t (416) 736-7474 ext. 40 f (416) 736-7188 e frank.pikelner at blue-dot.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2220 bytes Desc: not available URL: From pikelner at rogers.com Fri Jan 9 05:42:20 2004 From: pikelner at rogers.com (Frank Pikelner) Date: Thu, 8 Jan 2004 23:42:20 -0500 Subject: Nagios process dependency Message-ID: <000c01c3d66a$f883f1e0$513a6618@netcraftinc.int> In the Nagios Status map I have the Nagios process pointing to the wrong server. How can I point the Nagios process to the correct server it is running on? Thank you, Frank Pikelner t (416) 736-7474 ext. 40 f (416) 736-7188 e frank.pikelner at blue-dot.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From pikelner at rogers.com Fri Jan 9 06:05:21 2004 From: pikelner at rogers.com (Frank Pikelner) Date: Fri, 9 Jan 2004 00:05:21 -0500 Subject: Anyone using temperature sensors? Message-ID: <003501c3d66e$2f3a1c70$513a6618@netcraftinc.int> I would like to purchase one of the temperature sensors featured on the Nagios website and monitor the temperature in our server rooms in Nagios. I live in Canada and would prefer if the device can provide the information in Celsius (vs. Fahrenheit) both companies do not mention anything about converting to Celsius. Anyone have any experience with any of the device and can make recommendations? Cheers. Frank Pikelner t (416) 736-7474 ext. 40 f (416) 736-7188 e frank.pikelner at blue-dot.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2220 bytes Desc: not available URL: From lilesb at ijet.com Fri Jan 9 08:04:25 2004 From: lilesb at ijet.com (lilesb at ijet.com) Date: Fri, 9 Jan 2004 02:04:25 -0500 Subject: Generating Nagios LDAP Schema Message-ID: I promise that the code that follows will not work on your system. If isn't safe, and there is no error checking (use at your own risk). That being said, it would be almost trivial to generate LDIFs out of nagios configuration files... #!/usr/bin/perl # (c) Bryan Liles # This code is GPL'd. For the full license check GNU :) # just include credit to me if you use it in any of your code # my $file = shift; open (F, $file) or die "Can't open $file: $!\n"; my $ir = 0; my $rt = ''; my @s = (); my $basedn = "dc=nagios, dc=my, dc=dot, dc=com"; while () { chomp; s/^\s+//; s/;.*$//; next if /^#/; next if /^$/; if (/^define\ +(\w+)/) { $rt = $1; $ir = 1; } elsif (/^\}/) { pS($rt, @s); $ir = 0; $rt = ''; @s = (); } elsif ($ir) { my @t = split(/[\ \t]+/,$_,2); push (@s, \@t); } } sub pS { my ($rt, @s) = @_; my $cnbase = ''; my $cn = ''; $cs{'command'} = 'command_name'; $cs{'contact'} = 'contact_name'; $cs{'contactgroup'} = 'contactgroup_name'; $cs{'host'} = 'host_name'; $cs{'hostextinfo'} = 'host_name'; $cs{'hostgroup'} = 'hostgroup_name'; $cs{'hostgroup'} = 'hostgroup_name'; if ($cs{$rt}) { $cnbase = $cs{$rt}; } else { $cnbase = "nonono"; } foreach my $i (@s) { if ($$i[0] =~ /$cnbase/) { $cn = $$i[1]; } } print "dn: cn=$cn, $basedn\n"; print "cn=$cn\n"; foreach my $i (@s) { print "nagios_"; print join (': ',@$i), "\n"; } print "objectclass: $rt\n"; print "\n\n" } then you could import that into your ldap server. i'm actually preparing to make this move with a couple of changes. I'm going to change the server to add an object of what server this record should live on for distributed monitoring. And probally some other things too. I also don't think we need a separate list for this. It could probally move to nagios-devel or just stay here for maximum viewing. -----Original Message----- From: Luke A. Kanies [mailto:luke at madstop.com] Sent: Sat 1/3/2004 12:23 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Generating Nagios LDAP Schema Hi all, This is probably more of interest to those who expressed interest in an LDAP-based config generator.... I've got an example LDAP schema built (you can see it at http://luke.madstop.com/nagios.schema), but I realized that my mechanism for generating it is silly. Basically, I manually went through and associated the options I knew of with object types. Obviously, if I'm going to generate a schema based on something else, I should generate it based on the Nagios code itself, so that if the code changes the schema also changes (and also so that I actually have all of the options; I noticed I missed a heckuva a lot). So, before I went into trying to figure out where the data is (it looks like it's all defined in xdata/xodtemplate.h), I figured I'd see if anyone else is already doing something like this. In fact, it looks like that xodtemplate.h file itself is possibly even generated (given the weird syntax and indentation in some cases). Has anyone used this file to generate anything else? Is this file itself generated? If so, from what, and how? Is this even the file I want? Basically, I want to write a script to convert Nagios's object/attribute relationships into LDAP objectclass/attribute relationships. I want to be able to just point this script at a Nagios src repository and have it build the schema file. Anyone have any ideas? I can do it all myself if necessary, but if someone else already knows of a good way to take advantage of the xodtemplate.h stuff, I'd appreciate being let in on the secret. BTW -- to those who expressed interest in LDAP configuration generation: Should we start a separate list? I expect there aren't a lot of us, but we might end up with a decent amount of traffic. We could just start with a simple mail alias (I'd be glad to maintain it), and then maybe create a "real" list later. Thanks, Luke -- I am not a vegetarian because I love animals; I am a vegetarian because I hate plants. -- A. Whitney Brown ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Jean-Jacques.siquet at experian.fr Fri Jan 9 09:27:35 2004 From: Jean-Jacques.siquet at experian.fr (Jean-Jacques.siquet) Date: Fri, 9 Jan 2004 09:27:35 +0100 Subject: how to compile nagios source on HPux 11.00 In-Reply-To: References: Message-ID: after do the ./configure i pass to the make and the folder plugins/ respond : Make: Must be a separator on rules line 995. Stop. -----Message d'origine----- De : nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]De la part de Jean-Jacques.siquet Envoy? : jeudi 8 janvier 2004 16:45 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] how to compile nagios source on HPux 11.00 Importance : Haute hi, how to compile nagios source on HPux 11.00? thanks JJ ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spyou at club-internet.fr Fri Jan 9 10:25:03 2004 From: spyou at club-internet.fr (Spyou) Date: Fri, 09 Jan 2004 10:25:03 +0100 Subject: monitor network usage of a host? In-Reply-To: <5B618E311CFE2B42A4B3A562CB31E6D904C674@grimalkin.cuc.clare mont.edu> References: <5B618E311CFE2B42A4B3A562CB31E6D904C674@grimalkin.cuc.claremont.edu> <5B618E311CFE2B42A4B3A562CB31E6D904C674@grimalkin.cuc.clare mont.edu> Message-ID: <6.0.1.1.0.20040109102234.047cf508@212.43.217.14> At 02:56 09/01/2004, Joel Lopez wrote: >is it possible to find out if a machine is uploading copies of DVD's to >the net or if a machine is affected with the slammer virus and generating >massive amouts of network traffic? > >Basically can I be alerted if a machine is using more than normal bandwith? You've got to define what is "normal" and what is "anormal" Then, a simple check_snmp will be enough to get the network trafic graphed (eg. with RRD) Finaly, you'll have to monitor this graph (eg "what is the last 10 minuts max network load on this graph") and send outs alerts if treshold matches ____________________________________ 'Spyou' - www.spyou.org - root at spyou.org #gtr / ircnet.kaptech.fr - UIN : 6871374 Please, tell me who i am ! - Supertramps ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jean-Jacques.siquet at experian.fr Fri Jan 9 10:37:50 2004 From: Jean-Jacques.siquet at experian.fr (Jean-Jacques.siquet) Date: Fri, 9 Jan 2004 10:37:50 +0100 Subject: how to compile nagios source on HPux 11.00 In-Reply-To: References: Message-ID: it's ok now the solution is gmake -----Message d'origine----- De : nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]De la part de Jean-Jacques.siquet Envoy? : vendredi 9 janvier 2004 09:28 ? : nagios-users at lists.sourceforge.net Objet : RE: [Nagios-users] how to compile nagios source on HPux 11.00 Importance : Haute after do the ./configure i pass to the make and the folder plugins/ respond : Make: Must be a separator on rules line 995. Stop. -----Message d'origine----- De : nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]De la part de Jean-Jacques.siquet Envoy? : jeudi 8 janvier 2004 16:45 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] how to compile nagios source on HPux 11.00 Importance : Haute hi, how to compile nagios source on HPux 11.00? thanks JJ ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 9 10:40:13 2004 From: Michael.Huettig at Medien-Systempartner.de (Michael Huettig) Date: Fri, 9 Jan 2004 10:40:13 +0100 Subject: nrpe In-Reply-To: <1073580679.21490.121.camel@dresden.eurodata.de> References: <200401081528.29499.Michael.Huettig@Medien-Systempartner.de> <200401081617.51717.Michael.Huettig@Medien-Systempartner.de> <1073580679.21490.121.camel@dresden.eurodata.de> Message-ID: <200401091040.13662.Michael.Huettig@Medien-Systempartner.de> Am Donnerstag, 8. Januar 2004 17:51 schrieb Andreas Koch: > Have you start a Firewall, or nother program uses the port!? > Hi Andreas, there is no other programm that uses port 5666, nagios and sol8-box are in different subnets with no firewall, so i take a trace from sol8-box, couldn't understand what's happing ... I also start nrpe on sol8 under inetd and as standalone daemon, with/without debug options makes no difference. Regards Michael > Am Do, den 08.01.2004 schrieb Michael Huettig um 16:17: > > Am Donnerstag, 8. Januar 2004 15:53 schrieb Andreas Koch: > > > Hello Michael, > > > > > > have you allow that your nagios-server can connect to your client!? > > > > > > With the option "allowed_hosts=127.0.0.1" in the nrpe.cfg you can do > > > this. > > > > Yes, nrpe works fine under nagios, there is no connection problem, both > > nrpe-sides are compiled without ssl-support, nrpe works for more than 4 > > months without this error > > > > > Andreas > > > > > > Am Do, den 08.01.2004 schrieb Michael Huettig um 15:28: > > > > Hi everyone, > > > > on sol8-box i get a lot of messages like the following: > > > > > > > > nrpe[7242]: [ID 421412 daemon.error] Could not read request from > > > > client, bailing out... > > > > > > > > nrpe runs under inetd and is compiled without ssl-support, the same > > > > happens on another sol8-box with nrpe2, restarting inetd doesn't > > > > helps. > > > > > > > > On SUSE9-Linux with nrpe2 i don't have any problems. Nagios itself > > > > doesn't shows any messages, if i start check_nrpe from libexec-dir > > > > everythings fine, the answer is correct. > > > > > > > > If anyone has an idea to get of this messages please let me know ... ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 acmecargo.com Fri Jan 9 14:45:23 2004 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Fri, 09 Jan 2004 08:45:23 -0500 Subject: Suppress alerts during downtime Message-ID: <6.0.0.22.2.20040109084115.0231f970@mail.acmecargo.com> I'm using the scheduled_host_downtime and the scheduled_service_downtime via cron to automatically place hosts/services in downtime during our maintenance window. Is it possible to suppress alerts as well as notifications? We have a monitoring group that watches Nagios and in conjunction with the ntray.exe application we have no need for notifications via Nagios. I would like to use the downtime to suppress alerts during the time the host/service is in a downtime state. Maybe a 2.0 feature if not available in 1.1? Dylan ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rplewe at hpce.nec.com Fri Jan 9 14:53:21 2004 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Fri, 9 Jan 2004 14:53:21 +0100 Subject: check_by_ssh returning UNKNOWN Message-ID: <20040109135321.GD3462@hpce.nec.com> Hello, I am experiencing a very strange problem: on one of the hosts we monitor, all checks performed via check_by_ssh show an UNKNWON state *although* everything seems fine. In addition, I have not been able to reproduce this behaviour when running the exact same check invocation from the commandline; the check allways returns OK when run (also via check_by_ssh) from the commandline. Additionally, the checks show this UNKNOWN state only sometimes (most of the time, but not every time). The return string is that of the successful test. The very same checks, with the very same remote binaries, shows no abnormality at all. For all I can see, this problematic host is virtually identical to other hosts which behave perfectly normal. Has anyone seen something like this before and can give me a clue? Thanks in advance. Rasmus ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 9 15:10:04 2004 From: seppy at chartermi.net (Brian E. Seppanen) Date: Fri, 9 Jan 2004 09:10:04 -0500 (EST) Subject: SSL support in check_http Message-ID: Is there a workaround or solution to the problem with SSL support in the nagios-plugins 1.3.1 I have a debian 3.0 testing host, openssl is installed and compiled into the plugins checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/x509.h usability... yes checking openssl/x509.h presence... yes checking for openssl/x509.h... yes checking openssl/rsa.h usability... yes checking openssl/rsa.h presence... yes checking for openssl/rsa.h... yes checking openssl/pem.h usability... yes checking openssl/pem.h presence... yes checking for openssl/pem.h... yes checking openssl/crypto.h usability... yes checking openssl/crypto.h presence... yes checking for openssl/crypto.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes When I run check_http /usr/local/nagios/libexec/check_http -S -a user:pass hostname I get the following output 3196:error:140820A7:SSL routines:SSL3_CHECK_CERT_AND_ALGORITHM:missing export tmp rsa key:s3_clnt.c:1952: Unable to open TCP socket I get this for every one one of the secure hosts I'm attempting this against. The only one this test works with is if I test this host itself. All hosts use self signed certificates if that matters. Thanks, Brian Seppanen seppy at chartermi.net 906-475-0107 ext 1040 ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 9 15:25:44 2004 From: pla at softflare.com (Paul L. Allen) Date: Fri, 09 Jan 2004 14:25:44 +0000 Subject: check_by_ssh returning UNKNOWN In-Reply-To: <20040109135321.GD3462@hpce.nec.com> References: <20040109135321.GD3462@hpce.nec.com> Message-ID: <20040109142544.29689.qmail@minnow.softflare.net> Rasmus Plewe writes: > Has anyone seen something like this before and can give me a clue? If the problematic host is multi-homed and you're referring to it by name rather than one of the IPs, this could happen if your ssh has strict host key checking set to ask (it is by default) and for certain other reasons. You can test that by: 1) Login to your monitoring host as user nagios (or whatever your nagios system is running as). Do not su to nagios from some other user account. 2) SSH onto each IP address of the box being monitored using the same -l and -i options as in your check command. 3) Fix whatever SSH complains about (usually the first manual login gets rid of the xauthority message that trips up check_by_ssh). If the box being monitory has only one IP address then the above tests might still shed some light on what may be going wrong. Now, if you know a way of using check_by_ssh to itself run check_by_ssh on another box, that would be something I'd find useful. :) -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 9 15:39:27 2004 From: luke at madstop.com (Luke A. Kanies) Date: Fri, 9 Jan 2004 08:39:27 -0600 (CST) Subject: Generating Nagios LDAP Schema In-Reply-To: References: Message-ID: On Fri, 9 Jan 2004 lilesb at ijet.com wrote: > I promise that the code that follows will not work on your system. If isn't > safe, and there is no error checking (use at your own risk). > > That being said, it would be almost trivial to generate LDIFs out of nagios > configuration files... I agree, it is nearly trivial to get the LDAP data. However, I'm interested in generating the LDAP schema itself, not just the data. For instance, the code you sent won't work because my LDAP server doesn't know anything about the objectclasses or attributes in question. The people storing their configs in SQL have a similar problem: How do we get a valid SQL schema for any data we might end up storing? Their current solution is that someone has written a script which just creates the schema, but if Nagios's configs ever change, this script will have to be changed. I'm in the process of writing a (rather stupid) script to just generate the LDAP schema (i.e., something that will be imported by the ldap server at startup) based on simple parsing of the code, but it will quite likely break if the code it's generating from changes at all. Luke -- SCSI is *not* magic. There are fundamental technical reasons why it is necessary to sacrifice a young goat to your SCSI chain now and then. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rplewe at hpce.nec.com Fri Jan 9 15:57:32 2004 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Fri, 9 Jan 2004 15:57:32 +0100 Subject: check_by_ssh returning UNKNOWN In-Reply-To: <20040109142544.29689.qmail@minnow.softflare.net> References: <20040109135321.GD3462@hpce.nec.com> <20040109142544.29689.qmail@minnow.softflare.net> Message-ID: <20040109145732.GF3462@hpce.nec.com> Hello, On Fri, Jan 09, 2004 at 02:25:44PM +0000, Paul L. Allen wrote: > Rasmus Plewe writes: > > >Has anyone seen something like this before and can give me a clue? > > If the problematic host is multi-homed and you're referring to it by > name rather than one of the IPs, this could happen if your ssh has > strict host key checking set to ask (it is by default) and for certain > other reasons. You can test that by: I refer to it by IP. > 1) Login to your monitoring host as user nagios (or whatever your > nagios system is running as). Do not su to nagios from some other > user account. That's what I always do (for no logical reason whatsoever, I don't like su). > 2) SSH onto each IP address of the box being monitored using the same > -l and -i options as in your check command. One IP, and I use the IP, not the name, from the command line. Same as in the check command. > 3) Fix whatever SSH complains about (usually the first manual login > gets rid of the xauthority message that trips up check_by_ssh). No complaints. And, as I said: Sometimes it returns OK, but mostly UNKNOWN. > If the box being monitory has only one IP address then the above tests > might still shed some light on what may be going wrong. Unfortunately not. > Now, if you know a way of using check_by_ssh to itself run check_by_ssh > on another box, that would be something I'd find useful. :) If I understood you correctly: for certain... sick values of $useful ;-) *sigh* Since I'm out of logically possible explanations, I will probably have to start with wild guesses and phenomenological trial and error. A complete mystery... Anyway, thanks for the answer! Rasmus ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbadrak at tco.census.gov Fri Jan 9 16:19:26 2004 From: dbadrak at tco.census.gov (Don Badrak) Date: Fri, 9 Jan 2004 10:19:26 -0500 Subject: check_by_ssh returning UNKNOWN In-Reply-To: <20040109142544.29689.qmail@minnow.softflare.net> References: <20040109135321.GD3462@hpce.nec.com> <20040109142544.29689.qmail@minnow.softflare.net> Message-ID: All, I just wrestled with this yesterday. As it turned out, the check worked just fine from the command line (even as the nagios user). But, I had missed a $ in my line ($USER1/check_by_ssh instead of $USER1$/check_by_ssh). Dang. I even tried making a check_by_ssh.sh, writing all the output to a log file, to see what was going on. That may help you figure out why it's getting "UNKNOWN". On Fri, 9 Jan 2004, Paul L. Allen wrote: > Rasmus Plewe writes: > > > Has anyone seen something like this before and can give me a clue? > > If the problematic host is multi-homed and you're referring to it by > name rather than one of the IPs, this could happen if your ssh has > strict host key checking set to ask (it is by default) and for certain > other reasons. You can test that by: > > 1) Login to your monitoring host as user nagios (or whatever your > nagios system is running as). Do not su to nagios from some other > user account. > > 2) SSH onto each IP address of the box being monitored using the same > -l and -i options as in your check command. > > 3) Fix whatever SSH complains about (usually the first manual login > gets rid of the xauthority message that trips up check_by_ssh). > > If the box being monitory has only one IP address then the above tests > might still shed some light on what may be going wrong. I've done the following to get it working. 1. Install nagios plugins on remote system (I put them in /usr/local/nagios/libexec) 2. Add nagios user and group on remote system (substitute NNN for your values). This is for a RedHat Linux system, so put in the proper stuff for your own OS. /usr/sbin/groupadd -g NNN nagios /usr/sbin/useradd -u NNN -g nagios -c "Nagios" -d /home/nagios -s /bin/bash nagios 3. Set up the .ssh directory and key on remote system (on remote host) mkdir /home/nagios/.ssh chown nagios.nagios /home/nagios/.ssh (copy key into /home/nagios/.ssh/authorized_keys) The key has these options (put in your own monitorhost name(s) and IP(s)), followed by your own key. from="monitorhost.domain,192.168.0.1",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ... 4. Create the file for the nagios user in $HOME/.ssh/config on the local system Host * ForwardX11 no This stops the generation of the xauthority Paul talks about in his step #3. 5. Establish the known_hosts entry on the local system from the nagios user. I do this with sudo. I didn't have any troubles with this, as the -H says to use the home directory of the user (so it picks up the right place to write the known_hosts file). sudo -u nagios -H ssh nagios@(remotesystem) 'uname -a' You should do this for (remotesystem) by DNS name and by all IP addresses by which it is known in the Nagios configuration (as Paul says in his step #2). I'd recommend trying the same line you'll use from your command.cfg file under the same nagios user. That might shed some light on the problem. Or just confuse you more. Don -- Don Badrak 301.763.5534 work Telecommunications Office 301.457.4438 fax U.S. Bureau of the Census Suitland MD, USA ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 9 16:29:16 2004 From: pla at softflare.com (Paul L. Allen) Date: Fri, 09 Jan 2004 15:29:16 +0000 Subject: check_by_ssh returning UNKNOWN In-Reply-To: <20040109145732.GF3462@hpce.nec.com> References: <20040109135321.GD3462@hpce.nec.com> <20040109142544.29689.qmail@minnow.softflare.net> <20040109145732.GF3462@hpce.nec.com> Message-ID: <20040109152916.2553.qmail@minnow.softflare.net> Rasmus Plewe writes: > I refer to it by IP. Oh. That's that theory dead, then. > That's what I always do (for no logical reason whatsoever, I don't like > su). There is good reason in this case. If you su to nagios from a different user and then ssh somewhere, the host key for the destination machine goes into the original user's list of host keys, not the nagios user's list. Which means that you think you've established that check_by_ssh will work because you accepted the host key but really you haven't. A bit of a gotcha if you don't know where SSH really puts the key. >> 3) Fix whatever SSH complains about (usually the first manual login >> gets rid of the xauthority message that trips up check_by_ssh). > > No complaints. And, as I said: Sometimes it returns OK, but mostly > UNKNOWN. Check the number of sshd processes running on the box being monitored. You could be hitting some sort of connection limit. Another possibility is that there are intermittent network problems between the two machines - especially if one of them is on ADSL (ADSL from some companies in the UK is very unreliable and often goes away for 5 or 10 minutes late at night). >> Now, if you know a way of using check_by_ssh to itself run check_by_ssh >> on another box, that would be something I'd find useful. :) > > If I understood you correctly: for certain... sick values of $useful ;-) For complex reasons, which involve decisions made by a PHB. We want to check a remote site with external firewall -> dmz/internal firewall -> internal machines. The internal machines can only be reached from the internal firewall. I could get around it with nrpe, and that's what I started out doing. But it's not very secure because IP spoofing would let somebody mount a DoS attack. More to the point, the machine doing the monitoring lives at the end of the PHB's 2M ADSL and sometimes the IP changes. Yes, I know, but bandwidth at our public servers (the logical place to put it) is charged to us by the amount we use while the PHB's ADSL is flat rate and is not fully utilized. Also, if nagios is on our public servers and the link to our public servers goes down, it's going to have a difficult job letting anybody know. Also, the servers are in a secure facility about 30 minutes away from any of our engineers whereas the PHB can get at his machine very quickly most of the time. So I'm stuck with a monitoring machine on an IP that can change and I don't want e-mail and SMS tormenting me because his IP changed and I then have to go around dozens of machines changing hosts.allow lines. The only fix, if I stick with NRPE, is to allow anyone to connect, and that's something I'm not happy with. I could get around it with NCSA, I think, but it looks a little messy and I'm not entirely sure it's feasible for what we want to do. Also, as with NRPE, it involves two sets of configurations to be maintained, which is a bit of a pain. I could get around it by opening a port on the external firewall and redirecting it to the ssh port on the internal firewall. Which is probably the way I'll end up doing it. check_by_ssh chaining was something I tried but kept getting a broken pipe. Maybe I was doing something wrong, maybe not. > *sigh* Since I'm out of logically possible explanations, I will > probably have to start with wild guesses and phenomenological > trial and error. Rebuild the machine being monitored. Windows users have to do that every few months... -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 9 16:31:40 2004 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [Non-Employee]) Date: Fri, 9 Jan 2004 09:31:40 -0600 Subject: Service Event Question Message-ID: <516DA7BE5D87C8469D89F150CA0B491103F4125D@PDAWB02C.ad.sprint.com> I'm monitoring some Crystal Enterprise services on one of my hosts and the Nagios Event Log has hundreds of events with the following: [01-09-2004 03:58:56] Warning: The results of service 'Crystal Page Server' on host 'server1' are stale by 45 seconds (threshold=315 seconds). I'm forcing an immediate check of the service. What does this mean? Stanley G. Martin System Administrator Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 9 16:41:41 2004 From: marc at ena.com (Marc Powell) Date: Fri, 9 Jan 2004 09:41:41 -0600 Subject: NSCA: Unrecognized External Commands Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A11E@mismail2.ena.com> > -----Original Message----- > From: Anshul Gupta [mailto:tech at anshulgupta.com] > Sent: Thursday, January 08, 2004 5:10 PM > To: Nagios Mailing List > Subject: Fwd: [Nagios-users] NSCA: Unrecognized External Commands > > > > > Hi All, > > I am still struggling to get NSCA work. I have nagios 1.1, > nagios-plugins 1.3.1 and nsca-2.4. I have configured passive check > using nsca using the documentation supplied. Why it should say > unrecognized external command? > > > On the central nsca server I am getting this message in the log file, > > > > Warning: Unrecognized external command -> PROCESS_HOST_CHECK_RESULT; > > > > The system executes other external commands like > > > > Jan 6 18:00:23 gonzo nagios: EXTERNAL COMMAND: > > ENABLE_HOST_SVC_CHECKS;zeus > > Jan 6 18:01:57 gonzo nagios: EXTERNAL COMMAND: ENABLE_HOST_CHECK;zeus > > Jan 6 18:05:00 gonzo nagios: EXTERNAL COMMAND: > > DISABLE_SVC_CHECK;zeus;HTTP > > > > What can be the problem? Passive host checks are new with 2.0(alpha) and are not supported by 1.x. Are you running a mixed environment of 2.0 and 1.x (with 1.x being your central server?). -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From krcalhoo at mtu.edu Fri Jan 9 17:14:21 2004 From: krcalhoo at mtu.edu (kevin) Date: Fri, 09 Jan 2004 11:14:21 -0500 Subject: monitor network usage of a host? In-Reply-To: <6.0.1.1.0.20040109102234.047cf508@212.43.217.14> References: <5B618E311CFE2B42A4B3A562CB31E6D904C674@grimalkin.cuc.claremont.edu> <6.0.1.1.0.20040109102234.047cf508@212.43.217.14> Message-ID: <3FFED35D.10502@mtu.edu> Spyou wrote: > At 02:56 09/01/2004, Joel Lopez wrote: > >> is it possible to find out if a machine is uploading copies of DVD's >> to the net or if a machine is affected with the slammer virus and >> generating massive amouts of network traffic? >> >> Basically can I be alerted if a machine is using more than normal >> bandwith? > > > You've got to define what is "normal" and what is "anormal" > > Then, a simple check_snmp will be enough to get the network trafic > graphed (eg. with RRD) > > Finaly, you'll have to monitor this graph (eg "what is the last 10 > minuts max network load on this graph") and send outs alerts if treshold > matches > > > ____________________________________ > 'Spyou' - www.spyou.org - root at spyou.org > #gtr / ircnet.kaptech.fr - UIN : 6871374 > > Please, tell me who i am ! > - Supertramps > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null You might want to take a look at this package. http://nagios.sourceforge.net/download/contrib/misc/check_traffic It is located in the downloads section of the Nagios web site. Go to "Get extra stuff" and it is the bottom of that. It works well if you are monitoring computers that have an SNMP package on them. Otherwise you could take the ideas in there and monitor each port on your switch if it has SNMP. Kevin ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Fri Jan 9 17:18:28 2004 From: mtucker at airmail.net (Michael Tucker) Date: Fri, 9 Jan 2004 10:18:28 -0600 Subject: NEED HELP setting up distributed monitoring Message-ID: <759788EE-42BF-11D8-827C-0030657DF28A@airmail.net> Howdy: I've written a couple of times before with this question, but I think my previous message(s) got lost in the noise. I'm setting up a Nagios configuration for the first time, so although I'm pretty smart when it comes to computers, I'm a complete newbie when it comes to Nagios. I'm setting up a distributed monitoring configuration. For simplicity, to start with, I've got one central server, one distributed server, and one monitored host: central server <-> distributed server <-> monitored host For now, they are on the same LAN, with no firewall or any other barriers between them. However, once things are working the distributed server and monitored host will be on a remote LAN, with at least one or two firewalls between the central server and distributed server. Also, there will be multiple hosts monitored by the distributed server; and eventually multiple such setups (i.e. multiple distributed servers, each monitoring multiple hosts local to it). The distributed server is monitoring several services on the monitored host, using check_nrpe (on the distributed server) and nrpe (on the monitored host). This is working fine (except that nrpe 2.0 doesn't seem to work with SSL 0.9.7c running on Solaris 9, or AIX 5.1, or SUSE 9, or Fedora 1). [I think this is a bug in nrpe 2.0, but that's a different thread.] The distributed server is supposed to be sending the status reports on to the central server, using send_nsca (on the distributed server) and nsca (on the central server). This is *not* working, and is the reason for this message. I've enabled Apache on both the distributed server and the central server, so that I can see what each one is "seeing". The distributed server reports, for example, that the "current users" status of the monitored host is "USERS WARNING - 6 users currently logged in". This is correct; I've set the warn threshold low (5 users) for testing. However, the central server shows "(No output!)" for the same service (and, in fact, for every service except PING, which it is testing itself). I would be happy to share my config files with whomever would be willing to help me. I've tried reading the documentation; I've tried reason and logic; and I've tried random hacking. I'm out. I have no idea why this isn't working. Please, if someone would help me with this, I'm sure it's something basic that I've overlooked, but I just can't find it. Yours, Michael ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 9 17:42:56 2004 From: marc at ena.com (Marc Powell) Date: Fri, 9 Jan 2004 10:42:56 -0600 Subject: NEED HELP setting up distributed monitoring Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A126@mismail2.ena.com> > -----Original Message----- > From: Michael Tucker [mailto:mtucker at airmail.net] > Sent: Friday, January 09, 2004 10:18 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NEED HELP setting up distributed monitoring > > I would be happy to share my config files with whomever would be > willing to help me. I've tried reading the documentation; I've tried > reason and logic; and I've tried random hacking. I'm out. I have no > idea why this isn't working. > > Please, if someone would help me with this, I'm sure it's something > basic that I've overlooked, but I just can't find it. > I'll give it a shot. I (and anyone else) will need to see the relevant configuration information: host and service definitions on both machines, nagios.cfg on both machines, command definitions related to your OCSP command, the submit-check-result script itself, both nsca configs, permissions and ownership on your external command file on your central host, whether you're running nsca in daemon or inetd mode on the central host and anything else you can think of that might be pertinent. Have you tried enabling debugging in nsca on your central host to see if your distributed server is even attempting to connect? Is there anything interesting in your nagios.log or messages log on your central server that would indicate that the connections or commands are being rejected? -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lilesb at ijet.com Fri Jan 9 17:45:08 2004 From: lilesb at ijet.com (lilesb at ijet.com) Date: Fri, 9 Jan 2004 11:45:08 -0500 Subject: Generating Nagios LDAP Schema Message-ID: I'm curious to what LDAP server you running. In your previous email, you included a URL to a Nagios schema that I then imported into my openldap setup. With a little more work on the script that I posted, I don't see how it would be difficult to actually store Nagios configuration data in LDAP. There would need to be minor changes to the schema to make it work all situations, but then again, that would trivial. The question is, do you create a process to generate Nagios configurations, or do you create a Nagios LDAP xdata backend? I would be inclined to wait on the latter seeing as how Nagios 2 is nearing completion. -----Original Message----- From: Luke A. Kanies [mailto:luke at madstop.com] Sent: Friday, January 09, 2004 9:39 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Generating Nagios LDAP Schema I agree, it is nearly trivial to get the LDAP data. However, I'm interested in generating the LDAP schema itself, not just the data. For instance, the code you sent won't work because my LDAP server doesn't know anything about the objectclasses or attributes in question. The people storing their configs in SQL have a similar problem: How do we get a valid SQL schema for any data we might end up storing? Their current solution is that someone has written a script which just creates the schema, but if Nagios's configs ever change, this script will have to be changed. I'm in the process of writing a (rather stupid) script to just generate the LDAP schema (i.e., something that will be imported by the ldap server at startup) based on simple parsing of the code, but it will quite likely break if the code it's generating from changes at all. Luke -- SCSI is *not* magic. There are fundamental technical reasons why it is necessary to sacrifice a young goat to your SCSI chain now and then. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 lilesb at ijet.com Fri Jan 9 17:55:10 2004 From: lilesb at ijet.com (lilesb at ijet.com) Date: Fri, 9 Jan 2004 11:55:10 -0500 Subject: Event Managers Message-ID: This might be a bit off topic, but is anyone using any type of event management or even correlation app with Nagios? Nagios is real good at what it does. I point it at a host; I can monitor memory, disk, ping times and the like. Monitoring more abstract items is a little flaky. How do I monitor a web application? A web application can have many parts ranging from web servers to databases to application servers and the physical hosts they run on. I have written some code that takes inputs from many types of sources to actually be able to see the "health" of a service, not just the "health" of its resources. Currently, my application can accept syslog, snmptraps, emails and Nagios alert messages. It will then look at the sub of the parts and try to determine what is really happening and alert on that. I guess I'm trying to take my monitoring to the next level. Is there any interest in this? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jerome.fenal at logicacmg.com Fri Jan 9 18:06:49 2004 From: jerome.fenal at logicacmg.com (=?ISO-8859-15?Q?J=E9r=F4me_Fenal?=) Date: Fri, 09 Jan 2004 18:06:49 +0100 Subject: Event Managers In-Reply-To: References: Message-ID: lilesb at ijet.com wrote: [snip] > > > Is there any interest in this? > Simply speaking : yes. Regards, J?r?me -- J?r?me Fenal - Consultant Unix/SAN/Logiciel Libre Groupe Expert & Managed Services - LogicaCMG France http://www.logicacmg.com/fr/ - ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Fri Jan 9 18:19:19 2004 From: mtucker at airmail.net (Michael Tucker) Date: Fri, 9 Jan 2004 11:19:19 -0600 Subject: NEED HELP setting up distributed monitoring In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A126@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A126@mismail2.ena.com> Message-ID: On Friday, January 9, 2004, at 10:42 AM, Marc Powell wrote: >> Please, if someone would help me with this, I'm sure it's something >> basic that I've overlooked, but I just can't find it. >> > > I'll give it a shot. ... > Marc > Thanks, Marc! I'm putting the information together now, and will send it to you offlist. Thanks again, Michael ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Fri Jan 9 18:54:27 2004 From: skip at pobox.com (Skip Montanaro) Date: Fri, 9 Jan 2004 11:54:27 -0600 Subject: check_http -S through ServerIron fails Message-ID: <16382.60115.42584.544747@montanaro.dyndns.org> I've encountered in "interesting" problem with the check_http plugin. We have some machines fronted by a Foundry Networks ServerIron switch for load balancing. The folks who run the server recently changed to backend server selection using SSL Session ID. This hoses check_http (v. 1.36) which now gets a connect timeout: $ /usr/local/nagios/libexec/check_http -S -H 129.105.213.249 CRITICAL - Socket timeout after 10 seconds Using check_http v. 1.24 from a different machine seems to work. It gets a 302 response: % ~nagios/libexec/check_http -S -H 129.105.213.249 HTTP ok: HTTP/1.1 302 Moved Temporarily - 0.384 second response time |time= 0.384 Dispensing with the -S flag also works because the ServerIron is still selecting a backend server for http based on the IP address: $ /usr/local/nagios/libexec/check_http -H 129.105.213.249 HTTP OK HTTP/1.1 200 OK - 0.006 second response time |time=0.006 How (if at all) can I generate the necessary session id in check_http and get it to the ServerIron? Thx, -- Skip Montanaro Got gigs? http://www.musi-cal.com/submit.html Got spam? http://spambayes.sf.net/ skip at pobox.com ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From romain.degez at smartjog.com Fri Jan 9 19:03:38 2004 From: romain.degez at smartjog.com (Romain DEGEZ) Date: Fri, 09 Jan 2004 19:03:38 +0100 Subject: Service group definition ? Message-ID: <3FFEECFA.9000907@smartjog.com> SInce the documentation is still not available, i was wondering what are the possible directive of the servicegroup definition : define servicegroup{ servicegroup_name Network_check alias Network checking tools } It seems ok for nagios but it's a nonsense because no services are declared as being members of this group. When i try define servicegroup{ servicegroup_name Network_check alias Network checking tools members PING } with a service definition of : define service{ ... service_description PING ... } I assume service_description is used as service name since the service_name directive doesn't seem to work. I got "Error: Missing service name in servicegroup definition (config file '/usr/local/share/nagios/etc/servicegroups.cfg', starting on line 22)" Any idea of how to use servicegroup ? -- Romain ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 9 19:45:35 2004 From: luke at madstop.com (Luke A. Kanies) Date: Fri, 9 Jan 2004 12:45:35 -0600 (CST) Subject: Generating Nagios LDAP Schema In-Reply-To: References: Message-ID: On Fri, 9 Jan 2004 lilesb at ijet.com wrote: > I'm curious to what LDAP server you running. In your previous email, you > included a URL to a Nagios schema that I then imported into my openldap > setup. With a little more work on the script that I posted, I don't see how > it would be difficult to actually store Nagios configuration data in LDAP. > There would need to be minor changes to the schema to make it work all > situations, but then again, that would trivial. > > The question is, do you create a process to generate Nagios configurations, > or do you create a Nagios LDAP xdata backend? I would be inclined to wait > on the latter seeing as how Nagios 2 is nearing completion. Well, this schema is for openldap. It's not that it's that difficult to store the data; I just wanted to have the storage schema be definitively based on the Nagios code. What is xdata? I know that's the directory in nagios's source that contains all the configuration options, but does it expose interfaces or something? Searching for it on google has yielded me nothing else. Will I be able to use it with nagios to get data directly from LDAP somehow? If so, then yeah, I'll skip the whole schema generation thing, once I've got a good one in place. I just don't want to find myself having to modify the ldap schema all the time, so if I were generating it from the code, I know it would always be right. As to getting the data out, that's basically already done. I've actually almost got it going both directions: I've written a parser for the Nagios configs, so that if someone wanted to they could parse their existing, manual configs and then write them to ldap (or SQL, but I don't have that written). Luke -- Neonle will continue to be rude, and will nretend that you had a small stroke which makes you unable to say or see the letter "n". Stunid nractical joke, if you ask me. Bunch of noon-heads, huh? -- Fred Barling, Humorscope ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lilesb at ijet.com Fri Jan 9 20:02:36 2004 From: lilesb at ijet.com (lilesb at ijet.com) Date: Fri, 9 Jan 2004 14:02:36 -0500 Subject: Generating Nagios LDAP Schema Message-ID: This schema doesn't quite work in 2.1. (you most likely will have to change the "_" to "-") I don't think the schema will have to change for major Nagios versions. It might have to change in 2, but some sort of upgrade path could be created. I plan on just having the configurations in LDAP and having them generated to text files when Nagios is started or restarted. I think this will make for a much simpler start. Later, maybe I'll investigate hacking an LDAP backend into Nagios. -----Original Message----- From: Luke A. Kanies [mailto:luke at madstop.com] Sent: Friday, January 09, 2004 1:46 PM To: lilesb at ijet.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Generating Nagios LDAP Schema Well, this schema is for openldap. It's not that it's that difficult to store the data; I just wanted to have the storage schema be definitively based on the Nagios code. What is xdata? I know that's the directory in nagios's source that contains all the configuration options, but does it expose interfaces or something? Searching for it on google has yielded me nothing else. Will I be able to use it with nagios to get data directly from LDAP somehow? If so, then yeah, I'll skip the whole schema generation thing, once I've got a good one in place. I just don't want to find myself having to modify the ldap schema all the time, so if I were generating it from the code, I know it would always be right. As to getting the data out, that's basically already done. I've actually almost got it going both directions: I've written a parser for the Nagios configs, so that if someone wanted to they could parse their existing, manual configs and then write them to ldap (or SQL, but I don't have that written). Luke -- Neonle will continue to be rude, and will nretend that you had a small stroke which makes you unable to say or see the letter "n". Stunid nractical joke, if you ask me. Bunch of noon-heads, huh? -- Fred Barling, Humorscope -------------- next part -------------- An HTML attachment was scrubbed... URL: From seppy at chartermi.net Fri Jan 9 20:12:58 2004 From: seppy at chartermi.net (Brian E. Seppanen) Date: Fri, 9 Jan 2004 14:12:58 -0500 (EST) Subject: SSL support in check_http In-Reply-To: References: Message-ID: On Fri, 9 Jan 2004, Brian E. Seppanen wrote: > > When I run check_http > > /usr/local/nagios/libexec/check_http -S -a user:pass hostname > > I get the following output > > 3196:error:140820A7:SSL routines:SSL3_CHECK_CERT_AND_ALGORITHM:missing > export tmp rsa key:s3_clnt.c:1952: > Unable to open TCP socket > I should have indicated that I'm running the latest openssl-0.9.7c. dpkg --get-selections | grep ssl libssl-dev install libssl0.9.6 install libssl0.9.7 install openssl install Any help appreciated... ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff at unixisgod.com Fri Jan 9 20:29:21 2004 From: jeff at unixisgod.com (Jeff Rodriguez) Date: Fri, 09 Jan 2004 12:29:21 -0700 Subject: check_http -S through ServerIron fails In-Reply-To: <16382.60115.42584.544747@montanaro.dyndns.org> References: <16382.60115.42584.544747@montanaro.dyndns.org> Message-ID: <3FFF0111.7040502@unixisgod.com> It shouldn't be timing out with those options. You don't follow server redirections, can you telnet to the virtual ip from the nagios box on 443? That's what the error below seems to indicate, that you can't. Just a thought, Jeff Skip Montanaro wrote: >I've encountered in "interesting" problem with the check_http plugin. We >have some machines fronted by a Foundry Networks ServerIron switch for load >balancing. The folks who run the server recently changed to backend server >selection using SSL Session ID. This hoses check_http (v. 1.36) which now >gets a connect timeout: > > $ /usr/local/nagios/libexec/check_http -S -H 129.105.213.249 > CRITICAL - Socket timeout after 10 seconds > >Using check_http v. 1.24 from a different machine seems to work. It gets a >302 response: > > % ~nagios/libexec/check_http -S -H 129.105.213.249 > HTTP ok: HTTP/1.1 302 Moved Temporarily - 0.384 second response time |time= 0.384 > >Dispensing with the -S flag also works because the ServerIron is still >selecting a backend server for http based on the IP address: > > $ /usr/local/nagios/libexec/check_http -H 129.105.213.249 > HTTP OK HTTP/1.1 200 OK - 0.006 second response time |time=0.006 > >How (if at all) can I generate the necessary session id in check_http and >get it to the ServerIron? > >Thx, > > > ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bwhaley at costrack.com Fri Jan 9 23:00:46 2004 From: bwhaley at costrack.com (Ben Whaley) Date: Fri, 09 Jan 2004 15:00:46 -0700 Subject: Logging all service checks Message-ID: Greetings, I currently have Nagios set up to log every logging option I could find: log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=1 log_external_commands=1 I like to be well informed :). What I would really like is Nagios to log EVERY service check and keep that data archived as well. This way I could look at a host and view, for example, how many processes it had during every service check for a day. I would see the number of processes climbing, I could see it reach the limit, then fall back down, etc. What's the best way to approach this? Regards, Ben ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spyou at club-internet.fr Fri Jan 9 23:09:20 2004 From: spyou at club-internet.fr (Spyou) Date: Fri, 09 Jan 2004 23:09:20 +0100 Subject: Logging all service checks In-Reply-To: References: Message-ID: <6.0.1.1.0.20040109230645.04de7ec0@212.43.217.14> At 23:00 09/01/2004, you wrote: >I like to be well informed :). What I would really like is Nagios to log >EVERY service check and keep that data archived as well. This way I could >look at a host and view, for example, how many processes it had during every >service check for a day. I would see the number of processes climbing, I >could see it reach the limit, then fall back down, etc. You can use the perfdata commands. ie (nagios.cfg): process_performance_data=1 service_perfdata_command=handler (misccommands.cfg): define command{ command_name handler command_line /some/script/that/logs/everything $HOSTNAME$ $SERVICEDESC$ '$OUTPUT$' } Then, you'll have to create the script that will log or whatever you wants (mine graphs values issued by a large number of services into rrd's databases) ____________________________________ 'Spyou' - www.spyou.org - root at spyou.org #gtr / ircnet.kaptech.fr - UIN : 6871374 Please, tell me who i am ! - Supertramps ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bwhaley at costrack.com Fri Jan 9 23:21:06 2004 From: bwhaley at costrack.com (Ben Whaley) Date: Fri, 09 Jan 2004 15:21:06 -0700 Subject: Logging all service checks In-Reply-To: <6.0.1.1.0.20040109230645.04de7ec0@212.43.217.14> References: <6.0.1.1.0.20040109230645.04de7ec0@212.43.217.14> Message-ID: Yes, that looks like exactly what I need. Sounds perfect. Thanks. Regards, Ben On 1/9/04 3:09 PM, "Spyou" wrote: > At 23:00 09/01/2004, you wrote: >> I like to be well informed :). What I would really like is Nagios to log >> EVERY service check and keep that data archived as well. This way I could >> look at a host and view, for example, how many processes it had during every >> service check for a day. I would see the number of processes climbing, I >> could see it reach the limit, then fall back down, etc. > > You can use the perfdata commands. > > ie > (nagios.cfg): > process_performance_data=1 > service_perfdata_command=handler > > (misccommands.cfg): > define command{ > command_name handler > command_line /some/script/that/logs/everything $HOSTNAME$ > $SERVICEDESC$ '$OUTPUT$' > } > > > Then, you'll have to create the script that will log or whatever you wants > (mine graphs values issued by a large number of services into rrd's databases) > ____________________________________ > 'Spyou' - www.spyou.org - root at spyou.org > #gtr / ircnet.kaptech.fr - UIN : 6871374 > > Please, tell me who i am ! > - Supertramps > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Fri Jan 9 23:38:53 2004 From: skip at pobox.com (Skip Montanaro) Date: Fri, 9 Jan 2004 16:38:53 -0600 Subject: check_http -S through ServerIron fails In-Reply-To: <3FFF0111.7040502@unixisgod.com> References: <16382.60115.42584.544747@montanaro.dyndns.org> <3FFF0111.7040502@unixisgod.com> Message-ID: <16383.11645.45131.889699@montanaro.dyndns.org> Jeff> It shouldn't be timing out with those options. You don't follow Jeff> server redirections, can you telnet to the virtual ip from the Jeff> nagios box on 443? It does appear to be a routing issue of some sort. I can telnet to port 443 from another subnet but not from the subnet on which the ServerIron resides. We've confirmed it from several other machines. Sorry for the false alarm. -- Skip Montanaro Got gigs? http://www.musi-cal.com/submit.html Got spam? http://spambayes.sf.net/ skip at pobox.com ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff at unixisgod.com Fri Jan 9 23:40:09 2004 From: jeff at unixisgod.com (Jeff Rodriguez) Date: Fri, 09 Jan 2004 15:40:09 -0700 Subject: Radius plugin Message-ID: <3FFF2DC9.8090405@unixisgod.com> Has anyone developed a radius plugin for nagios (preferrably C, not perl)? If so please send :) Jeff ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joel.Lopez at libraries.claremont.edu Fri Jan 9 23:51:48 2004 From: Joel.Lopez at libraries.claremont.edu (Joel Lopez) Date: Fri, 9 Jan 2004 14:51:48 -0800 Subject: newbie - almost got it working, I think Message-ID: <5B618E311CFE2B42A4B3A562CB31E6D904C675@grimalkin.cuc.claremont.edu> I was able to get it to work. sf I chaged : use_authentication=1 to use_authentication=0 I know the documentation says this isn't the safest way to have things but I'm just trying to see if nagios can do what I need before I try to learn the best way to secure a linux machine. thanks, Joel [Joel Lopez] -----Original Message----- From: Joel Lopez Sent: Thursday, January 08, 2004 4:26 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] newbie - almost got it working, I think Hi, I have a fresh install of debian and have installed nagios. I am slowly working through all the config files to remove things that were provided as examples. Nagios has finally started without errors in the log file. Now I'm getting this message: 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'm a newbie and I'm not sure if this is an error on my cgi.cfg or on my httpd.conf file. If anyone has seen this before any suggestions would be greatly appreciated. thanks, Joel -------------- next part -------------- An HTML attachment was scrubbed... URL: From tech at anshulgupta.com Sat Jan 10 02:44:39 2004 From: tech at anshulgupta.com (Anshul Gupta) Date: Sat, 10 Jan 2004 12:44:39 +1100 Subject: NSCA: Unrecognized External Commands In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A11E@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A11E@mismail2.ena.com> Message-ID: <8DC37E08-430E-11D8-8B31-000A95B96BB0@anshulgupta.com> > Passive host checks are new with 2.0(alpha) and are not supported by > 1.x. Are you running a mixed environment of 2.0 and 1.x (with 1.x being > your central server?). > As the distributed monitoring setup is explained in nagios 1.1 documentation, I thought it's possible to do it using 1.1. Do I need 2.0 at central server or distributed server? At present are there any issues with version 2.0 in production environment? Thanks, Anshul > -- > Marc > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > Cheers, Anshul ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Sat Jan 10 04:10:43 2004 From: jrhett at isite.net (Joe Rhett) Date: Fri, 9 Jan 2004 19:10:43 -0800 Subject: CLEAN YOUR QUOTES! In-Reply-To: <3FFED35D.10502@mtu.edu> References: <5B618E311CFE2B42A4B3A562CB31E6D904C674@grimalkin.cuc.claremont.edu> <6.0.1.1.0.20040109102234.047cf508@212.43.217.14> <3FFED35D.10502@mtu.edu> Message-ID: <20040110031043.GB16831@isite.net> Alright, people on this list tend to quote far far too much text. But this is ridiculous: On Fri, Jan 09, 2004 at 11:14:21AM -0500, kevin wrote: > Spyou wrote: > >------------------------------------------------------- > >This SF.net email is sponsored by: Perforce Software. > >Perforce is the Fast Software Configuration Management System offering > >advanced branching capabilities and atomic changes on 50+ platforms. > >Free Eval! http://www.perforce.com/perforce/loadprog.html > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS when > >reporting any issue. ::: Messages without supporting info will risk > >being sent to /dev/null People, pay attention! It's bad enough that none of you clean up the text to just the relevant bits, but now you've leaving in all the advertising above what you have to say? -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 10 07:28:35 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Sat, 10 Jan 2004 01:28:35 -0500 Subject: Radius plugin In-Reply-To: <3FFF2DC9.8090405@unixisgod.com> References: <3FFF2DC9.8090405@unixisgod.com> Message-ID: <1073716113.3549.0.camel@localhost.localdomain> On Fri, 2004-01-09 at 17:40, Jeff Rodriguez wrote: > Has anyone developed a radius plugin for nagios (preferrably C, not perl)? Check_radius is a core plugin. Read the docs to find the library requirements to build. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sat Jan 10 17:57:05 2004 From: marc at ena.com (Marc Powell) Date: Sat, 10 Jan 2004 10:57:05 -0600 Subject: NSCA: Unrecognized External Commands Message-ID: <370ACCFA5BB3B346A31222E5559BF91F014DAD@mismail2.ena.com> It is certainly possible to do a distributed setup using all 1.1 servers exclusively and probably with 2.0 being your central server but not a 2.0 box being your distributed server unless you disable the sending of passive host checks somehow. You'll just have to remember that passive host checks would not be supported. You didn't really answer the question, are you using 2.0 in your current environment? AFAIK, that's the only way, besides a non-distribution script, that would inject the PROCESS_PASSIVE_HOST_CHECK command. As far as using 2.0 in a production environment, I personally would proceed with extreme caution. The code is still considered by Ethan to be alpha quality and the documentation is incomplete so YMMV. -----Original Message----- From: Anshul Gupta [mailto:tech at anshulgupta.com] Sent: Fri 1/9/2004 7:44 PM To: Marc Powell Cc: Nagios Mailing List Subject: Re: [Nagios-users] NSCA: Unrecognized External Commands > Passive host checks are new with 2.0(alpha) and are not supported by > 1.x. Are you running a mixed environment of 2.0 and 1.x (with 1.x being > your central server?). > As the distributed monitoring setup is explained in nagios 1.1 documentation, I thought it's possible to do it using 1.1. Do I need 2.0 at central server or distributed server? At present are there any issues with version 2.0 in production environment? -------------- next part -------------- An HTML attachment was scrubbed... URL: From neil-on-nagios at restricted.dyndns.org Sat Jan 10 19:26:33 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Sat, 10 Jan 2004 12:26:33 -0600 Subject: parent hosts Message-ID: <20040110182633.51162.qmail@restricted.dyndns.org> Hey guys, I'm new on this list. I have a question about parent hosts. Assuming we have a router with at least 5 different subnets. How are we suppose to configure each host's parent? Coz here is what I am thinking now. Router/switch has 5 interfaces w/ different subnets. Every hosts on each subnet points to the proper ip address of the router or switch as its gateway address. I will use each gateway ip address as parents. But what will happen here(just a guess), is that, I will have 5 different icons on the status 3d but in reality, it's just only 1 box. Let me know the proper way. And, how do I implement network topology learning? What are the things I need on the nagios server? What things do I need to enable on the workstations? Thanks in advance. neil ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjdock at excite.com Sun Jan 11 04:05:10 2004 From: cjdock at excite.com (ChuckDock) Date: Sat, 10 Jan 2004 22:05:10 -0500 (EST) Subject: mysql "make all" error Message-ID: <20040111030510.E515FB6E9@xprdmailfe17.nwk.excite.com> Hello all, I have been using Nagios for around 2 weeks. I monitor 451 routers. I have decided to install Nagios on a second box for pre-production release. I have mysql running, that was a struggle in itself. There is no password set at this time for it, I want to minimize permission problems until it's live time. I tried this 2 ways, one with Nagios installed and working, and as a fresh Nagios install , both yeild the same error. Nagios compiles fine, I use ./configure --with-mysql-xdata and then run make all. I get this: root at slacker:~/nagios-1.1# make all cd ./base && make make[1]: Entering directory `/root/nagios-1.1/base' gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -lmysqlclient nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c -lm -o nagios sretention.o(.text+0x28): In function `save_state_information': /root/nagios-1.1/base/sretention.c:86: undefined reference to `xrddefault_save_state_information' sretention.o(.text+0x98): In function `read_initial_state_information': /root/nagios-1.1/base/sretention.c:122: undefined reference to `xrddefault_read_state_information' collect2: ld returned 1 exit status make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/root/nagios-1.1/base' make: *** [all] Error 2 root at slacker:~/nagios-1.1# Any ideas? Thanks, Chuck _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jan 11 10:32:51 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sun, 11 Jan 2004 20:32:51 +1100 Subject: RFC/Call for testers for embedded Perl Nagios: 'usability' enhancements. Message-ID: <20040111203245.A231@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, I am writing to invite those with embedded Perl Nagios (ePN) installations to consider, and or comment, and or test patches to the Perl component (p1.pl) intended to increase the usability of ePN by 1 (minor correction) return UNKNOWN for plugins that do not conform to plugin guidlelines by failing to call exit (either abend or by design) - formerly Nag would report CRITICAL 2 Logging run-time errors in the Nagios Log. eg tsitc> grep -i epn nagios.log [1072960109] SERVICE ALERT: asterix;J2EE Scheduler;UNKNOWN;SOFT;1;**ePN plugin 'check_scheduler' has syntax errors. Check ePN log. [1073100771] SERVICE ALERT: external;AUB search;UNKNOWN;SOFT;1;**ePN 'check_aub' syntax errors. Check ePN log. [1073100851] SERVICE ALERT: asterix;J2EE Scheduler;UNKNOWN;SOFT;1;**ePN 'check_scheduler' runtime error: Illegal division by zero at (eval 52) line 35. [1073281491] SERVICE ALERT: external;ATMOSS search;UNKNOWN;SOFT;1;**ePN 'check_atmoss' syntax errors. Check ePN log. [1073732647] SERVICE ALERT: external;ATMOSS search;UNKNOWN;SOFT;1;**ePN 'check_atmoss' Bareword found where operator expected at (eval 49) line 66, near "'http://external/atmoss/falcon.application_start : tsitc> 3 Logging the text that ePN actually runs on detection of a plugin syntax error eg [1073730787] **ePN 'ap5' error 'Global symbol "$ppp" requires explicit package name at (eval 23) line 15. ' in text " 0 1 package main; 2 use subs 'CORE::GLOBAL::exit'; 3 sub CORE::GLOBAL::exit { die "ExitTrap: $_[0] (Embed::ap5)"; } 4 package Embed::ap5; sub hndlr { 5 shift(@_); 6 @ARGV=@_; 7 local $^W=1; 8 #!/usr/bin/perl -w 9 10 use strict ; 11 12 # use diagnostics ; 13 14 $ppp = 0 ; # var name that is _unlikely_ to be used by other plugins. 15 16 while ($_ = shift @ARGV) { 17 # print "\$ARGV\[$ppp\]: $_ ; # NB embedded Perl only reads __1__ (one) line of output ! 18 print "\$ARGV\[$ppp\]: $_ " ; # NB embedded Perl only reads __1__ (one) line of output ! 19 $ppp++ ; 20 } 21 22 exit 0; # Like all plugins should do (otherwise, unknown [3] return status). 23 } 24 " As you can see, the text run by ePN is turned into a subroutine. This has consequences for plugin authors since there are other subtleties to be concerned about (eg closure retention of values) Plugin syntax errors are logged to a new log file, tentatively named /usr/local/nagios/var/epn.log 4 Plugins that generate warnings are _not_ run. This is a good idea since the basic ePN function is retain namespaces (stashes) containing globals and packages (modules). If the plugin is allowed to live, it may fail the first time but succeed the next time its run (after another plugin loads a module the first one needs, or worse set a global value that the first plugin should have set). Obviously this is confusing if not infuriating and dangerous. Apart from these changes 1 The operation, intent and style of p1.pl is largely retained. In particular the API is unchanged. There are _no_ changes to the Nag C code (at this stage). 2 Sites that are vigilant about the plugin standards are unlikely to notice any difference in behaviour. Be aware however that ePN covers not only plugins but _also_ Perl event handlers. 3 There is some docco and maybe some test code. A Perl version of mini_epn is also planned - about time I can hear many say. The modified p1.pl has been tested informally by me with 1 my production ePN (200 hosts/420 services) with FreeBSD 4.9/Perl 5.005 2 the mini_epn ePN simulator (/contrib) 3 a test Nag (hacked plugins/few checks/no alerts) with FreeBSD 4.9/Perl 5.8.0 Please note that these changes are designed to prevent - wierd ePN error messages being logged - anti-social ePN behaviour (alerts from a new buggy plugin) and to provide sysadmins and Perl plugin developers feedback about plugin execution by ePN. The patches do _not_ address the performance of ePN. They do _not_ 1 Deal with ePN memory leaks - my _informal_ testing shows that leak rate seems unchanged. 2 Make ePN faster (or slower - probably) Future changes however may increase the scope to include returning plugin output via the calls to Perl (dispensing with the file system method. This should speed things up a little and save Nag some sys IO calls). If there is someone out there waiting to write mod_nagios, I will shut up real quick but in the meantime you are stuck with someone that is learning - real slowly. If you are interested in receiving the patches, please write me privately. Note that although the changes are likely to be applied to Nag 2.0, this is a strictly private iniative that has nothing to do with the Nag core or Mr Galstad. As usual, it is on your own head, and don't blame Ethan. 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jan 11 18:52:54 2004 From: marco at sd.com (Marco Supino) Date: Sun, 11 Jan 2004 19:52:54 +0200 Subject: Alert on Status change Message-ID: <40018D76.4060601@sd.com> Hi, How can i make a service alert me when the status changes from WARNING to CRITICAL, currently, i only get alerts when the status changes from normal to one of these, but not between them Marco. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmartin at gsi-kc.com Mon Jan 12 12:11:24 2004 From: jmartin at gsi-kc.com (Martin, Jeremy) Date: Mon, 12 Jan 2004 05:11:24 -0600 Subject: Notification blackout ignored Message-ID: Hi, Some of our older servers restart their web server software every day early in the morning. I am trying to set up an exclude in the timeperiod so we don't get pages/emails every day when the servers reset. For example one of our servers "web03" resets around 4:10 am, so I'm trying to disable notifications just from 4:00 - 4:30 AM. 30 minutes is a bit overkill so I might narrow it down later on, but I'm just trying to get it to work first. Here's the timeperiod I have set up: define timeperiod { timeperiod_name web03 alias WEB03 sunday 00:00-04:00,04:30-24:00 monday 00:00-04:00,04:30-24:00 tuesday 00:00-04:00,04:30-24:00 wednesday 00:00-04:00,04:30-24:00 thursday 00:00-04:00,04:30-24:00 friday 00:00-04:00,04:30-24:00 saturday 00:00-04:00,04:30-24:00 } For each service for web03 in my services.cfg file, first I am inheriting a generic-tcp definition which is using the 24x7 notification_period by default. Then I try to override the default notification_period with my custom one: define service { use generic-tcp host_name web03 service_description HTTP-QA check_command check_site!/!whatever notification_period web03 } Also in my hosts.cfg file I have a similar set up - inheriting a generic host template and then trying to override the notification_period to be web03 instead of 24x7. Unfortunately I'm still getting warnings during the 4:00 - 4:30 AM "blackout" zone... a "Host DOWN" and "Host UP" warning. At first I had the notification_period set up in the services.cfg only so I figured surely once I added it to hosts.cfg it would work, but it doesn't seem to be working. So far it has only been host up / host down messages that have got through, not actual service up/down messages. I'm halfway tempted to use "notification_options n" for the host and only be notified about services, but that's probably not the best way to do things. Nagios is giving me 0 warnings/errors when I test my config files so I'm not sure why it seems to be ignoring my notification_period in my hosts file. I also thought about maybe setting the check_period to my custom timeperiod as well but I'd prefer to have Nagios checking it 24/7, to keep accurate availability logs, and just disable the warnings, not the checks. Though if this won't work any other way I could change the check_period too if I had to. Hopefully someone can spot what I'm doing wrong! Thanks, and best wishes, Jeremy ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 techfreak.org Mon Jan 12 14:07:36 2004 From: luke at techfreak.org (Luke) Date: Mon, 12 Jan 2004 08:07:36 -0500 (EST) Subject: qstat plugin commands - please help! Message-ID: <1322.66.168.114.162.1073912856.squirrel@srv01.fatpipeservers.com> Hey all, Im new to the list. I have the check_game plugin installed and working well. Qstat is installed and I am able to get statistics on game servers which are used in the demo config files located on demo.squarebox.com. Problem is that I dont know how to adjust the check_command line to look for new games - such as games that use the gamespy protocol. For instance, to check on a counter strike game, you use: "check_command check_counter_strike!27015!2!3!4" and it works well. But, if I want to check on a battlefield 1942 server do I change this command to : "check_command check_battleifield_1942!10200!2!3!4" ? Can anybody offer some insight to how to use this plugin more effectively? Thanks a ton! I really need some help! Luke ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 12 13:59:40 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Mon, 12 Jan 2004 13:59:40 +0100 Subject: Notification blackout ignored In-Reply-To: References: Message-ID: <1073912380.5160.21.camel@dresden.eurodata.de> Hello jeremy, which you do, are a little too exaggerated. The better option are: max_check_attempts 5 retry_check_interval 1 this causes when the nagios server notice that the Service is down he check the Service 5 (max_check_attempts) times all 1 minute. thus, if the service 5 minutes long down is, only one informs. When the Service with the 3 check again ok is, is not informed. Andreas Am Mo, den 12.01.2004 schrieb Martin, Jeremy um 12:11: > Hi, > > Some of our older servers restart their web server software every day > early in the morning. I am trying to set up an exclude in the timeperiod > so we don't get pages/emails every day when the servers reset. > > For example one of our servers "web03" resets around 4:10 am, so I'm > trying to disable notifications just from 4:00 - 4:30 AM. 30 minutes is > a bit overkill so I might narrow it down later on, but I'm just trying > to get it to work first. > > Here's the timeperiod I have set up: > > define timeperiod { > timeperiod_name web03 > alias WEB03 > sunday 00:00-04:00,04:30-24:00 > monday 00:00-04:00,04:30-24:00 > tuesday 00:00-04:00,04:30-24:00 > wednesday 00:00-04:00,04:30-24:00 > thursday 00:00-04:00,04:30-24:00 > friday 00:00-04:00,04:30-24:00 > saturday 00:00-04:00,04:30-24:00 > } > > For each service for web03 in my services.cfg file, first I am > inheriting a generic-tcp definition which is using the 24x7 > notification_period by default. Then I try to override the default > notification_period with my custom one: > > define service { > use generic-tcp > host_name web03 > service_description HTTP-QA > check_command check_site!/!whatever > notification_period web03 > } > > Also in my hosts.cfg file I have a similar set up - inheriting a generic > host template and then trying to override the notification_period to be > web03 instead of 24x7. > > Unfortunately I'm still getting warnings during the 4:00 - 4:30 AM > "blackout" zone... a "Host DOWN" and "Host UP" warning. At first I had > the notification_period set up in the services.cfg only so I figured > surely once I added it to hosts.cfg it would work, but it doesn't seem > to be working. > > So far it has only been host up / host down messages that have got > through, not actual service up/down messages. I'm halfway tempted to use > "notification_options n" for the host and only be notified about > services, but that's probably not the best way to do things. > > Nagios is giving me 0 warnings/errors when I test my config files so I'm > not sure why it seems to be ignoring my notification_period in my hosts > file. > > I also thought about maybe setting the check_period to my custom > timeperiod as well but I'd prefer to have Nagios checking it 24/7, to > keep accurate availability logs, and just disable the warnings, not the > checks. Though if this won't work any other way I could change the > check_period too if I had to. > > Hopefully someone can spot what I'm doing wrong! > > Thanks, and best wishes, > Jeremy > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gillian.bennett at celentia.com Mon Jan 12 14:35:39 2004 From: gillian.bennett at celentia.com (gillian bennett) Date: 12 Jan 2004 23:35:39 +1000 Subject: dependency checking confusion Message-ID: <1073914539.1576.59.camel@rh-possum> Hi, I am having some problems with the dependency checking for my nagios setup. I guess I am a little confused as to the meaning of some of the options. What I am trying to achieve is that if the host is unpingable, then none of the other services (diskcheck, dhcp etc) will not be checked and will not be reported on. So no notifications will be sent out for any other services for that host if it is unpingable. one of my dependency.cfg stanzas looks like this: define servicedependency{ host_name HOST1 service_description PING dependent_host_name HOST1 dependent_service_description dhcp execution_failure_criteria w,u,c ; These are the criteria for which check execution will be supressed notification_failure_criteria w,u,c ; These are the criteria for which notifications will be supressed } I am confused as to what the execution_failure_criteria actually refers to. the comment seems to say it is the suppression of the check of the dependant service, not the service depended upon. But the doco seems to imply the other way around. Either way, when this host is unpingable, I still get notifications regarding all other services for this host, which I dont' want. Thanks, Gillian ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at intercable.net.ve Mon Jan 12 14:55:17 2004 From: jbautista at intercable.net.ve (Jeyri bautista) Date: Mon, 12 Jan 2004 09:55:17 -0400 Subject: Fw: SNMP Traps Message-ID: <016f01c3d913$b5dd96b0$2605020a@enlacesbqt> Hi, can I receive with the nagios snmp traps from my routers cisco device? Thanks, Jeyri Bautista -------------- next part -------------- An HTML attachment was scrubbed... URL: From mauog at interfree.it Mon Jan 12 15:05:12 2004 From: mauog at interfree.it (Mauro) Date: Mon, 12 Jan 2004 15:05:12 +0100 Subject: Problem with NRPE Message-ID: <001001c3d915$190a1e60$5dc810ac@graitmgatt> Hi all, I compiled and installed nrpe on HP-UX server. I configurated it to use inetd modality. When I check from my nagios machine HP-UX server for nrpe I get this error: [root at maurox libexec]# ./check_nrpe -H 172.16.200.15 CHECK_NRPE: Error - Could not complete SSL handshake. On HP-UX system syslog i get this entry: Jan 12 14:57:59 virgo inetd[10472]: nrpe/tcp: Connection from 172.16.200.200 at Mon Jan 12 14:57:59 2004 Could You help me to understand problem? Thank You Mauro -------------- next part -------------- An HTML attachment was scrubbed... URL: From toddm at go-des.net Mon Jan 12 15:13:19 2004 From: toddm at go-des.net (todd) Date: 12 Jan 2004 09:13:19 -0500 Subject: just installed nagios can't start. Message-ID: <1073916798.19073.10.camel@manager> I just install nagios for the first time. I have read all the documentation, but can not find the answer. When i go to start the program i get this: Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Nagios 1.1 starting... (PID=19240) Warning: Cannot open log file '/usr/local/nagios/var/nagios.log' for writing Error: Could not create external command file '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (13) -> Permission denied. If this file already exists and you are sure that another copy of Nagios is not running, you should delete this file. Warning: Cannot open log file '/usr/local/nagios/var/nagios.log' for writing Bailing out due to errors encountered while trying to open the external command file for reading... (PID=19240) # does anyone knows what i should do? as far as i know there is not another nagios running and the file they talk about is not there. I am running under root. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdiehl at rogueind.com Mon Jan 12 15:19:02 2004 From: tdiehl at rogueind.com (Tom Diehl) Date: Mon, 12 Jan 2004 09:19:02 -0500 (EST) Subject: just installed nagios can't start. In-Reply-To: <1073916798.19073.10.camel@manager> References: <1073916798.19073.10.camel@manager> Message-ID: On Mon, 12 Jan 2004, todd wrote: > I just install nagios for the first time. I have read all the > documentation, but can not find the answer. > > When i go to start the program i get this: > > Nagios 1.1 > Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) > Last Modified: 06-02-2003 > License: GPL > > Nagios 1.1 starting... (PID=19240) > Warning: Cannot open log file '/usr/local/nagios/var/nagios.log' for > writing > Error: Could not create external command file > '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (13) -> Permission > denied. If this file already exists and you are sure that another copy ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > of Nagios is not running, you should delete this file. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Follow the directions above!! > Warning: Cannot open log file '/usr/local/nagios/var/nagios.log' for > writing > Bailing out due to errors encountered while trying to open the external > command > file for reading... (PID=19240) > > > > # does anyone knows what i should do? See above. The answer is there. > as far as i know there is not another nagios running and the file they > talk about is not there. I am running under root. Do a ps auwx | grep nagios to be sure then follow the instructions in the error message. :-) HTH, Tom ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Yost at mptotalcare.com Mon Jan 12 15:37:31 2004 From: Karl.Yost at mptotalcare.com (Yost, Karl) Date: Mon, 12 Jan 2004 09:37:31 -0500 Subject: Problem with NRPE Message-ID: <7190FBD21CA2D111B7EA00805F9F4C0307AEF7B1@em_exchange.express-med.com> By default nrpe will compile with SSL enabled. Are you using SSL? If you don't want to use SSL, then re-configure it with the option --disable-ssl (check the doc as I am not 100% that is the right) _____ From: Mauro [mailto:mauog at interfree.it] Sent: Monday, January 12, 2004 9:05 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem with NRPE Hi all, I compiled and installed nrpe on HP-UX server. I configurated it to use inetd modality. When I check from my nagios machine HP-UX server for nrpe I get this error: [root at maurox libexec]# ./check_nrpe -H 172.16.200.15 CHECK_NRPE: Error - Could not complete SSL handshake. On HP-UX system syslog i get this entry: Jan 12 14:57:59 virgo inetd[10472]: nrpe/tcp: Connection from 172.16.200.200 at Mon Jan 12 14:57:59 2004 Could You help me to understand problem? Thank You Mauro ***** The information in this email may contain confidential health information that is legally privileged. This information is intended for the use of the individual or entity named above. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this email is strictly prohibited. If you have received this information in error, please notify the sender immediately and arrange for the return or destruction of this information. ***** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Basile.Mathieu at siris.sorbonne.fr Mon Jan 12 15:45:42 2004 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Mon, 12 Jan 2004 15:45:42 +0100 Subject: redundancy and nsca Message-ID: <5.0.2.1.2.20040112153632.02378220@195.220.107.3> i have a nagios server and i want to do redundancy i have send_nsca on the first server and nsca on the second i define the command submit_check_result_via_nsca in checkcommand.cfg i seem to work because i have the good status and line like this in the log external command : process_service_check_result : PING OK but for the services which are not OK i have the good result in the log but in the web interface service or hosts appears UP ( even if the status information is : CRITICAL plugins timed out ) i just want that the hosts and services which are down appears down on the web interface of the redundant server thanks basile ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Yost at mptotalcare.com Mon Jan 12 15:56:24 2004 From: Karl.Yost at mptotalcare.com (Yost, Karl) Date: Mon, 12 Jan 2004 09:56:24 -0500 Subject: Anyone using temperature sensors? Message-ID: <7190FBD21CA2D111B7EA00805F9F4C0307AEF7B3@em_exchange.express-med.com> I use the TempTrax Model E and it is able to report in both Celsius and Fahrenheit. The plug-in for Nagios has options ( --celsius = Temp thresholds are specified in degrees Celsius --fahrenheit = Temp thresholds are specified in degrees Farenheit (default)) to format the output as need. It has been a great device, I am going to be adding the new Esensors EM01 HVAC Monitor in the very near future. Regards, Karl _____ From: Frank Pikelner [mailto:pikelner at rogers.com] Sent: Friday, January 09, 2004 12:05 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Anyone using temperature sensors? I would like to purchase one of the temperature sensors featured on the Nagios website and monitor the temperature in our server rooms in Nagios. I live in Canada and would prefer if the device can provide the information in Celsius (vs. Fahrenheit) both companies do not mention anything about converting to Celsius. Anyone have any experience with any of the device and can make recommendations? Cheers. Frank Pikelner t (416) 736-7474 ext. 40 f (416) 736-7188 e frank.pikelner at blue-dot.ca ***** The information in this email may contain confidential health information that is legally privileged. This information is intended for the use of the individual or entity named above. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this email is strictly prohibited. If you have received this information in error, please notify the sender immediately and arrange for the return or destruction of this information. ***** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2220 bytes Desc: not available URL: From cjdock at excite.com Mon Jan 12 15:58:45 2004 From: cjdock at excite.com (ChuckDock) Date: Mon, 12 Jan 2004 09:58:45 -0500 (EST) Subject: mysql Message-ID: <20040112145845.9527DB71F@xprdmailfe15.nwk.excite.com> Never mind on this, I'm not going to use mysql for the DB. I installed nagmin, its mostly working except for a Ecsape.pm problem. I'll open a new posting for that. --- On Sat 01/10, ChuckDock < cjdock at excite.com > wrote: From: ChuckDock [mailto: cjdock at excite.com] To: nagios-users at lists.sourceforge.net Date: Sat, 10 Jan 2004 22:05:10 -0500 (EST) Subject: [Nagios-users] mysql "make all" error
Hello all,

I have been using Nagios for around 2 weeks. I monitor 451 routers. I have decided to install Nagios on a second box for pre-production release.

I have mysql running, that was a struggle in itself. There is no password set at this time for it, I want to minimize permission problems until it's live time. I tried this 2 ways, one with Nagios installed and working, and as a fresh Nagios install , both yeild the same error. Nagios compiles fine, I use ./configure --with-mysql-xdata and then run make all. I get this:



root at slacker:~/nagios-1.1# make all

cd ./base && make

make[1]: Entering directory `/root/nagios-1.1/base'

gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -lmysqlclient nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcd db.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c -lm -o nagios

sretention.o(.text+0x28): In function `save_state_information':

/root/nagios-1.1/base/sretention.c:86: undefined reference to `xrddefault_save_state_information'

sretention.o(.text+0x98): In function `read_initial_state_information':

/root/nagios-1.1/base/sretention.c:122: undefined reference to `xrddefault_read_state_information'

collect2: ld returned 1 exit status

make[1]: *** [nagios] Error 1

make[1]: Leaving directory `/root/nagios-1.1/base'

make: *** [all] Error 2

root at slacker:~/nagios-1.1#



Any ideas?

Thanks, Chuck









_______________________________________________
Join Excite! - http:/ /www.excite.com
The most personalized portal on the Web!


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mahe at webde-ag.de Mon Jan 12 16:01:16 2004 From: mahe at webde-ag.de (Martin Heinemann) Date: 12 Jan 2004 16:01:16 +0100 Subject: More Information from Plug-ins ? Message-ID: <1073919676.11752.108.camel@lxmahe> Hi I need a tool which can run commands on a remote computer, checking services, analyse logfiles and so on. I found nagios.Ok, fine. But i seems to me that a servicecheck could only have this 4 states (Ok, warning, critical, unkown). I need a tool which retrn a littlebit more information, i.e. logfiles, ... . And there must be a possibility to send command requests from the webinterface to the service_check. Is this possible with Nagios? Martin ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From extern.Lars.Oeschey at audi.de Mon Jan 12 16:02:59 2004 From: extern.Lars.Oeschey at audi.de (extern.Lars.Oeschey at audi.de) Date: Mon, 12 Jan 2004 16:02:59 +0100 Subject: mysql Message-ID: <3A51ADC7DE201748AE224D58A8CA83B502256F79@deaudiis1127.audi.de> > Never mind on this, I'm not going to use mysql for the DB. I > installed nagmin, its mostly working except for a Ecsape.pm > problem. I'll open a new posting for that. A question on Nagmin: How did you get it running? Here it always fails in generating the correct tables or filling them. Lars ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Mon Jan 12 16:05:38 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 12 Jan 2004 08:05:38 -0700 Subject: parent hosts Message-ID: <41FD7929498A174DAB86C45F28E0EC0D09F1F5@golden-m.mactec.com> If you're not using a loopback address on the router, I would highly recommend that you do so. Then, you monitor the host using the loopback IP, and monitor the individual interfaces using one of the service check plugins designed for this (check_ifoperstatus; check_ifstatus). Then your host becomes a single parent again. 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 Neil > Sent: Saturday, January 10, 2004 11:27 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] parent hosts > > > Hey guys, > > I'm new on this list. I have a question about parent hosts. > Assuming we have > a router with at least 5 different subnets. How are we > suppose to configure > each host's parent? Coz here is what I am thinking now. > > Router/switch has 5 interfaces w/ different subnets. Every > hosts on each > subnet points to the proper ip address of the router or switch as its > gateway address. I will use each gateway ip address as > parents. But what > will happen here(just a guess), is that, I will have 5 > different icons on > the status 3d but in reality, it's just only 1 box. > > Let me know the proper way. > > And, how do I implement network topology learning? What are > the things I > need on the nagios server? What things do I need to enable on the > workstations? > > Thanks in advance. > > neil > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjdock at excite.com Mon Jan 12 16:07:33 2004 From: cjdock at excite.com (ChuckDock) Date: Mon, 12 Jan 2004 10:07:33 -0500 (EST) Subject: Nagmin Escape.pm error Message-ID: <20040112150733.2906DB6CB@xprdmailfe15.nwk.excite.com> Hello all, I installed rrdtools, nagmin, net::snmp, webmin and mysql yesterday. For the most it went ok. I can use webmin to use nagmin. I can do all the snmp stuff and the rrdtool stuff. I can't run "verify" in nagmin to check my setting without getting an Escape.pm error. I looked in the path it specified and the perl module is not there, nor is it anywhere on my system. I looked on the net via google and the webmin perl module loaded and no luck either way. I guess my question would be; where can I find this module and is there a work around so the code doesn't call for it? _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mauog at interfree.it Mon Jan 12 16:15:00 2004 From: mauog at interfree.it (Mauro) Date: Mon, 12 Jan 2004 16:15:00 +0100 Subject: Problem with NRPE References: <7190FBD21CA2D111B7EA00805F9F4C0307AEF7B1@em_exchange.express-med.com> Message-ID: <002401c3d91e$d8bdf5c0$5dc810ac@graitmgatt> I installed SSL on both server: NAGISO SERVER> rpm -q -a|grep -i ssl openssl-0.9.7a-23 HP-UX server> swlist |grep -i ssl openssl 0.9.7c openssl ----- Original Message ----- From: Yost, Karl To: 'Mauro' ; nagios-users at lists.sourceforge.net Sent: Monday, January 12, 2004 3:37 PM Subject: RE: [Nagios-users] Problem with NRPE By default nrpe will compile with SSL enabled. Are you using SSL? If you don't want to use SSL, then re-configure it with the option --disable-ssl (check the doc as I am not 100% that is the right) ------------------------------------------------------------------------------ From: Mauro [mailto:mauog at interfree.it] Sent: Monday, January 12, 2004 9:05 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem with NRPE Hi all, I compiled and installed nrpe on HP-UX server. I configurated it to use inetd modality. When I check from my nagios machine HP-UX server for nrpe I get this error: [root at maurox libexec]# ./check_nrpe -H 172.16.200.15 CHECK_NRPE: Error - Could not complete SSL handshake. On HP-UX system syslog i get this entry: Jan 12 14:57:59 virgo inetd[10472]: nrpe/tcp: Connection from 172.16.200.200 at Mon Jan 12 14:57:59 2004 Could You help me to understand problem? Thank You Mauro ***** The information in this email may contain confidential health information that is legally privileged. This information is intended for the use of the individual or entity named above. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this email is strictly prohibited. If you have received this information in error, please notify the sender immediately and arrange for the return or destruction of this information. ***** -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Jan 12 16:22:36 2004 From: marc at ena.com (Marc Powell) Date: Mon, 12 Jan 2004 09:22:36 -0600 Subject: Fw: SNMP Traps Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A12F@mismail2.ena.com> There is an entire chapter in the documentation on how to integrate with snmptrapd: http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html -- Marc ________________________________________ From: Jeyri bautista [mailto:jbautista at intercable.net.ve] Sent: Monday, January 12, 2004 7:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Fw: SNMP Traps Hi, can I receive with the nagios snmp traps from my routers cisco device? ? Thanks, ? Jeyri Bautista ? ? ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From listbot at gmx.de Mon Jan 12 16:26:33 2004 From: listbot at gmx.de (Peter) Date: Mon, 12 Jan 2004 16:26:33 +0100 Subject: woody package of nagios and plugins Message-ID: Hi, where can i find nagios and plugin packages for woody? Thanks! ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From NLehouillier at comptonpetroleum.com Mon Jan 12 16:35:11 2004 From: NLehouillier at comptonpetroleum.com (Neil Lehouillier) Date: Mon, 12 Jan 2004 08:35:11 -0700 Subject: Possible to monitor Spanning Tree and individual units in a stack? Message-ID: Hi all, I have a couple little question here. Is it possible to monitor the bridge's of spanning tree with nagios or nsclient? I want to be notified if the link from a stack to the core goes down and the Rapid Spanning Tree Protocol re-routes traffic through a different link. One other question.... Is it possible to monitor individual units within the switch stack? I want to know if there is a communication problem with individual units within a switch stack. Thanks in advance Neil -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbautista at intercable.net.ve Mon Jan 12 16:47:12 2004 From: jbautista at intercable.net.ve (Jeyri bautista) Date: Mon, 12 Jan 2004 11:47:12 -0400 Subject: Fw: SNMP Traps References: <370ACCFA5BB3B346A31222E5559BF91F03A12F@mismail2.ena.com> Message-ID: <006d01c3d923$58a4bd60$2605020a@enlacesbqt> Yes, I read this, but I understood that only works from a pc to nagios, not with routers. Is it true? Thanks ----- Original Message ----- From: "Marc Powell" To: "Jeyri bautista" ; Sent: Monday, January 12, 2004 11:22 AM Subject: RE: [Nagios-users] Fw: SNMP Traps There is an entire chapter in the documentation on how to integrate with snmptrapd: http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html -- Marc ________________________________________ From: Jeyri bautista [mailto:jbautista at intercable.net.ve] Sent: Monday, January 12, 2004 7:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Fw: SNMP Traps Hi, can I receive with the nagios snmp traps from my routers cisco device? Thanks, Jeyri Bautista ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 12 16:49:09 2004 From: marc at ena.com (Marc Powell) Date: Mon, 12 Jan 2004 09:49:09 -0600 Subject: Alert on Status change Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A139@mismail2.ena.com> > -----Original Message----- > From: Marco Supino [mailto:marco at sd.com] > Sent: Sunday, January 11, 2004 11:53 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Alert on Status change > > Hi, > > How can i make a service alert me when the status changes from WARNING > to CRITICAL, currently, i only get alerts when the status changes from > normal to one of these, but not between them It should just do it, presuming: a) your notification_options include w,c and b) your service is reaching a HARD CRITICAL state (i.e. 5/5 checks failed or whatever you have max_check_attempts set to). -- marc ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mauog at interfree.it Mon Jan 12 16:56:47 2004 From: mauog at interfree.it (Mauro) Date: Mon, 12 Jan 2004 16:56:47 +0100 Subject: Problem with NRPE --making on HP-UX References: <7190FBD21CA2D111B7EA00805F9F4C0307AEF7B1@em_exchange.express-med.com> <002401c3d91e$d8bdf5c0$5dc810ac@graitmgatt> Message-ID: <002b01c3d924$af1f9b00$5dc810ac@graitmgatt> I tried to recompile nrpe without ssl on HP-UX but I get some warnings when make. Could You help me? Thank You Mauro virgo# ./configure --disable-ssl checking for a BSD compatible install... ./install-sh -c checking for gcc... no checking for cc... cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... no checking whether we are using GNU C... no checking whether cc accepts -g... yes checking whether make sets ${MAKE}... yes checking how to run the C preprocessor... cc -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for ctype.h... yes checking for dirent.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for getopt.h... no checking for grp.h... yes checking for inttypes.h... yes checking for netdb.h... yes checking for pwd.h... yes checking for signal.h... yes checking for stdint.h... no checking for strings.h... yes checking for string.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for arpa/inet.h... yes checking for netinet/in.h... yes checking for sys/types.h... yes checking for sys/time.h... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking for sys/socket.h... yes checking for sys/stat.h... yes checking for working const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking size of int... 4 checking size of short... 2 checking size of long... 4 checking for uint32_t... yes checking for u_int32_t... no checking for int32_t... yes checking for main in -lnsl... yes checking for socket in -lsocket... no checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for type of socket size... size_t checking for perl... /usr/contrib/bin/perl creating ./config.status creating Makefile creating src/Makefile creating subst creating common/config.h *** Configuration summary for nrpe 2.0 09-08-2003 ***: General Options: ------------------------- NRPE port: 5666 NRPE user: nagios NRPE group: nagios Review the options above for accuracy. If they look okay, type 'make all' to compile the NRPE daemon and client. virgo# make all cd ./src/; make ; cd .. cc -g -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -lnsl nrpe.c: cc: "nrpe.c", line 620: warning 604: Pointers are not assignment-compatible. cc: "nrpe.c", line 620: warning 563: Argument #3 is not the correct type. utils.c: cc -g -DHAVE_CONFIG_H -o check_nrpe check_nrpe.c utils.c -lnsl check_nrpe.c: utils.c: -------------- next part -------------- An HTML attachment was scrubbed... URL: From marco at sd.com Mon Jan 12 16:56:36 2004 From: marco at sd.com (Marco Supino) Date: Mon, 12 Jan 2004 17:56:36 +0200 Subject: Alert on Status change References: <370ACCFA5BB3B346A31222E5559BF91F03A139@mismail2.ena.com> Message-ID: <4002C3B4.9090206@sd.com> Hi, I have rechecked my setup, and the options you gave below, and it doesnt , only when changing from normal to w,c or from w,c to normal it sends an alert, Can you check on your system ? i have checked with active and passive service checks. Marco. Marc Powell wrote: > >>-----Original Message----- >>From: Marco Supino [mailto:marco at sd.com] >>Sent: Sunday, January 11, 2004 11:53 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Alert on Status change >> >>Hi, >> >>How can i make a service alert me when the status changes from WARNING >>to CRITICAL, currently, i only get alerts when the status changes from >>normal to one of these, but not between them > > > It should just do it, presuming: > > a) your notification_options include w,c and > b) your service is reaching a HARD CRITICAL state (i.e. 5/5 checks > failed or whatever you have max_check_attempts set to). > > -- > marc > > > > ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 12 17:02:14 2004 From: marc at ena.com (Marc Powell) Date: Mon, 12 Jan 2004 10:02:14 -0600 Subject: Fw: SNMP Traps Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A14F@mismail2.ena.com> I don't use it but reading over the documentation it looks very extensible and should work with anything as long as you know the trap ids that you're interested in. Bear in mind that that's just one example application and that the scripts provided can and should be modified (or re-written entirely) to suit your particular needs. -- Marc > -----Original Message----- > From: Jeyri bautista [mailto:jbautista at intercable.net.ve] > Sent: Monday, January 12, 2004 9:47 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Fw: SNMP Traps > > Yes, I read this, but I understood that only works from a pc to nagios, > not > with routers. > > Is it true? > > Thanks > > ----- Original Message ----- > From: "Marc Powell" > To: "Jeyri bautista" ; > > Sent: Monday, January 12, 2004 11:22 AM > Subject: RE: [Nagios-users] Fw: SNMP Traps > > > There is an entire chapter in the documentation on how to integrate with > snmptrapd: > > http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html > > -- > Marc > > ________________________________________ > From: Jeyri bautista [mailto:jbautista at intercable.net.ve] > Sent: Monday, January 12, 2004 7:55 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Fw: SNMP Traps > > Hi, can I receive with the nagios snmp traps from my routers cisco device? > > Thanks, > > Jeyri Bautista > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From info at OliverBaltz.de Mon Jan 12 17:04:48 2004 From: info at OliverBaltz.de (Oliver Baltz) Date: Mon, 12 Jan 2004 17:04:48 +0100 Subject: Too much Service-Errors Message-ID: <019101c3d925$d952de90$0301a8c0@workstation> Hello list, I'm new to you. I use NAGIOS for a part of our university. We have 131 service-checks with 26 hosts. My problem: If a host goues down, NAGIOS alerts me with plenty service-errors instead of just telling me HOST DOWN. Any ideas? Thanks for help. Oliver ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Mon Jan 12 17:11:36 2004 From: mtucker at airmail.net (Michael Tucker) Date: Mon, 12 Jan 2004 10:11:36 -0600 Subject: Problem with NRPE In-Reply-To: <002401c3d91e$d8bdf5c0$5dc810ac@graitmgatt> References: <002401c3d91e$d8bdf5c0$5dc810ac@graitmgatt> Message-ID: TIP #1 TO POSTERS: A: Because it makes it hard to follow the discussion. Q: What's wrong with posting your reply at the top of the message? TIP #2 TO POSTERS: Please trim your messages! AND NOW, BACK TO THE DISCUSSION IN PROGRESS... [Mauro wrote:] > Hi all, > ? > I compiled and installed nrpe on HP-UX server. > I configurated it?to?use inetd modality. > ? > When I check from my nagios machine HP-UX server for nrpe I get this > error: > ? > [root at maurox libexec]# ./check_nrpe -H 172.16.200.15 > CHECK_NRPE: Error - Could not complete SSL handshake. > ? > On HP-UX system syslog i get this entry: > ? > Jan 12 14:57:59 virgo inetd[10472]: nrpe/tcp: Connection from > 172.16.200.200 at Mon Jan 12 14:57:59 2004 > ? > Could You help me to understand problem? > ? > ? > Thank You > ? > Mauro > [Karl Yost replied:] > By default nrpe will compile with SSL enabled. Are you?using SSL? If > you don't want to use SSL, then re-configure it with the option > --disable-ssl (check the doc as I am not 100% that is the right) [Mauro replied:] > I installed SSL on both server: > NAGISO SERVER> rpm -q -a|grep -i ssl > openssl-0.9.7a-23 > HP-UX server>?swlist |grep -i ssl > ? openssl?????????????????????? 0.9.7c???????? openssl > Mauro, there is a problem with SSL in NRPE 2.0 (and OpenSSL 0.9.7). So far, we've heard from several users running different operating systems (Solaris 9, AIX 5.1, SUSE 9, Fedora 1, and now HP-UX) who are all having the same problem. If you're curious, look through the messages on this board since about December 19; search for "NRPE", "nrpe", "SSL" or "handshake" in the subject to find the right messages. Given this body of evidence, it is almost certainly a bug in NRPE 2.0, but we haven't heard back from the author of NRPE yet. In the mean time, go to your NRPE source directory and do this: # make distclean # ./configure --disable-ssl # make all Then copy the new (non-SSL) versions of nrpe and check_nrpe to their proper locations. Yours, Michael -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2917 bytes Desc: not available URL: From daryl at introspect.net Mon Jan 12 17:20:00 2004 From: daryl at introspect.net (daryl at introspect.net) Date: Mon, 12 Jan 2004 11:20:00 -0500 Subject: Fw: SNMP Traps Message-ID: <9C7A3E5A42361642983F68FF090D11F8022149@noc0.bmpc.int> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Jeyri bautista > Sent: Monday, January 12, 2004 10:47 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Fw: SNMP Traps > > > Yes, I read this, but I understood that only works from a pc > to nagios, not with routers. > > Is it true? Nope. A trap is a trap. The snmptrapd that the method is using will accept traps from any trap source. I'm working on implementing it myself right now....unfortunately, addind the daemon my my Debian box seems to have destroyed the perl snmp stuff.......as soon as I fix that I'll be back to work on the rest. Daryl G. Jurbala BMPC Network Operations Tel: +1 215 825 8401 x235 Fax: +1 508 526 8500 INOC-DBA: 26412*DGJ PGP Key: http://www.introspect.net/pgp ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sean.perry at intransa.com Mon Jan 12 17:23:15 2004 From: sean.perry at intransa.com (Sean Perry) Date: Mon, 12 Jan 2004 08:23:15 -0800 Subject: how to reset uptime values Message-ID: <4002C9F3.4000803@intransa.com> I have been trying to reset my uptime values to zero for the new year. However nothing I try seems to work. My setup is a standard nagios set to store all data in SQL (mysql to be exact). When I stop nagios the host and service status table is empty. Ok, so maybe it reads the data from $NAGIOS/var/*.out. So I stopped nagios and moved the files. When nagios started back up the old data was still there. What am I missing? ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 12 18:15:55 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 12 Jan 2004 11:15:55 -0600 Subject: how to reset uptime values In-Reply-To: <4002C9F3.4000803@intransa.com> References: <4002C9F3.4000803@intransa.com> Message-ID: <1073927755.23349.59.camel@localhost> On Mon, 2004-01-12 at 10:23, Sean Perry wrote: > I have been trying to reset my uptime values to zero for the new year. > However nothing I try seems to work. My setup is a standard nagios set > to store all data in SQL (mysql to be exact). I'm not sure I follow...you're trying to force your uptime values to be wrong? Why would your system uptime revert to zero for the new year? ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 12 18:10:26 2004 From: marc at ena.com (Marc Powell) Date: Mon, 12 Jan 2004 11:10:26 -0600 Subject: how to reset uptime values Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A154@mismail2.ena.com> > -----Original Message----- > From: Sean Perry [mailto:sean.perry at intransa.com] > Sent: Monday, January 12, 2004 10:23 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] how to reset uptime values > > I have been trying to reset my uptime values to zero for the new year. > However nothing I try seems to work. My setup is a standard nagios set > to store all data in SQL (mysql to be exact). > > When I stop nagios the host and service status table is empty. Ok, so > maybe it reads the data from $NAGIOS/var/*.out. So I stopped nagios and > moved the files. When nagios started back up the old data was still > there. > > What am I missing? The availability CGI's use the archived log files so you would need to delete all those. As far as the numbers stored in the database, you should be able to stop nagios, delete your state_retention_file and restart. It's typically named status.sav but you may have changed it. I'm not sure exactly what the .out files you mention are unless you've changed the default file names in nagios.cfg. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 12 18:18:01 2004 From: marco at sd.com (Marco Supino) Date: Mon, 12 Jan 2004 19:18:01 +0200 Subject: Notification blackout ignored References: Message-ID: <4002D6C9.1060109@sd.com> Hi, Did you find a solution ? it looks like the cfg files only process the first option they find, and the second is ignored. Marco. Martin, Jeremy wrote: > Hi, > > Some of our older servers restart their web server software every day > early in the morning. I am trying to set up an exclude in the timeperiod > so we don't get pages/emails every day when the servers reset. > > For example one of our servers "web03" resets around 4:10 am, so I'm > trying to disable notifications just from 4:00 - 4:30 AM. 30 minutes is > a bit overkill so I might narrow it down later on, but I'm just trying > to get it to work first. > > Here's the timeperiod I have set up: > > define timeperiod { > timeperiod_name web03 > alias WEB03 > sunday 00:00-04:00,04:30-24:00 > monday 00:00-04:00,04:30-24:00 > tuesday 00:00-04:00,04:30-24:00 > wednesday 00:00-04:00,04:30-24:00 > thursday 00:00-04:00,04:30-24:00 > friday 00:00-04:00,04:30-24:00 > saturday 00:00-04:00,04:30-24:00 > } > > For each service for web03 in my services.cfg file, first I am > inheriting a generic-tcp definition which is using the 24x7 > notification_period by default. Then I try to override the default > notification_period with my custom one: > > define service { > use generic-tcp > host_name web03 > service_description HTTP-QA > check_command check_site!/!whatever > notification_period web03 > } > > Also in my hosts.cfg file I have a similar set up - inheriting a generic > host template and then trying to override the notification_period to be > web03 instead of 24x7. > > Unfortunately I'm still getting warnings during the 4:00 - 4:30 AM > "blackout" zone... a "Host DOWN" and "Host UP" warning. At first I had > the notification_period set up in the services.cfg only so I figured > surely once I added it to hosts.cfg it would work, but it doesn't seem > to be working. > > So far it has only been host up / host down messages that have got > through, not actual service up/down messages. I'm halfway tempted to use > "notification_options n" for the host and only be notified about > services, but that's probably not the best way to do things. > > Nagios is giving me 0 warnings/errors when I test my config files so I'm > not sure why it seems to be ignoring my notification_period in my hosts > file. > > I also thought about maybe setting the check_period to my custom > timeperiod as well but I'd prefer to have Nagios checking it 24/7, to > keep accurate availability logs, and just disable the warnings, not the > checks. Though if this won't work any other way I could change the > check_period too if I had to. > > Hopefully someone can spot what I'm doing wrong! > > Thanks, and best wishes, > Jeremy > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sean.perry at intransa.com Mon Jan 12 18:22:15 2004 From: sean.perry at intransa.com (Sean Perry) Date: Mon, 12 Jan 2004 09:22:15 -0800 Subject: how to reset uptime values In-Reply-To: <1073927755.23349.59.camel@localhost> References: <4002C9F3.4000803@intransa.com> <1073927755.23349.59.camel@localhost> Message-ID: <4002D7C7.8050707@intransa.com> jeff vier wrote: > On Mon, 2004-01-12 at 10:23, Sean Perry wrote: > >>I have been trying to reset my uptime values to zero for the new year. >>However nothing I try seems to work. My setup is a standard nagios set >>to store all data in SQL (mysql to be exact). > > > I'm not sure I follow...you're trying to force your uptime values to be > wrong? Why would your system uptime revert to zero for the new year? > I want to archive last years values and start over with a clean slate. So at Jan 1 2004 00:00:01 we had 100% uptime and it will move from there as the year progresses. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Piers.Cherryl at wetseal.com Mon Jan 12 18:32:13 2004 From: Piers.Cherryl at wetseal.com (Piers Cherryl) Date: Mon, 12 Jan 2004 09:32:13 -0800 Subject: It appears as though you do not have permission to view information for any of the hosts you requested... Message-ID: I have installed Nagios 1.1 on my Fedora Core 1 system. I have configured everything properly according to the Nagios documentation. But I am getting the following error when trying to run some of the cgi scripts from the web interface: 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 checked everything numerous times that I thought could be the cause of the problem: my httpd.conf contains the following: 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 I have an .htaccess file in /usr/local/nagios/sbin and /usr/local/nagios/share that contains the following: AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user My /usr/local/nagios/etc/htpasswd.users file contains an account for user 'greg' and a password. The user greg is also defined in the contacts.cfg file. In cgi.cfg, user greg has access to run all cgi scripts. Also, I have use_authentication=1 set. [root at myserver /usr/local/nagios/etc]# grep greg * cgi.cfg:authorized_for_system_information=greg cgi.cfg:authorized_for_configuration_information=greg cgi.cfg:authorized_for_system_commands=greg cgi.cfg:authorized_for_all_services=greg cgi.cfg:authorized_for_all_hosts=greg cgi.cfg:authorized_for_all_service_commands=greg cgi.cfg:authorized_for_all_host_commands=greg contactgroups.cfg: members greg,nagios contacts.cfg: contact_name greg contacts.cfg: alias greg cazian contacts.cfg: email greg at myserver.mydomain.com htpasswd.users:greg:CtKf0yGwVGl.g I am being prompted to login to the Nagios web client, and am able to login as greg without problems. The problems arise when I try to run Host Detail, Status Overview, etc. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From listbot at gmx.de Mon Jan 12 18:48:08 2004 From: listbot at gmx.de (Peter) Date: Mon, 12 Jan 2004 18:48:08 +0100 Subject: woody package of nagios and plugins In-Reply-To: References: Message-ID: On Mon, 12 Jan 2004 16:26:33 +0100, you wrote: >where can i find nagios and plugin packages for woody? I found nagios packages at backports.org ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Neal.Starr at cox.com Mon Jan 12 18:43:42 2004 From: Neal.Starr at cox.com (Neal.Starr at cox.com) Date: Mon, 12 Jan 2004 11:43:42 -0600 Subject: Fw: SNMP Traps Message-ID: <4E09216370093E45A09C86686F29843601C5E9EB@ckan0ms01.corp.cox.com> You may also want to take a look at http://snmptt.sourceforge.net There are steps on that website on how to integrate vendor SNMP MIB files with snmptrapd, Nagios, and then get SNMP-TT to translate them to human-readable form. It has the ability to allow you to have SNMP-TT execute commands and programs in response to traps received if you so wish. Using this is the right way, you can set what notification levels a particular trap with set off when it is received and processed into Nagios. Alex has done a very nice job with this piece of software. I use it currently in conjunction with Nagios to collect traps from 200+ or so devices in our network and it works very nicely. Used with Nagios' check_ifstatus, and check_snmp plugins, it makes for a very nice poor-man's OpenView. Neal Starr Data Engineer, BSCS, CCNA Cox Communications - Kansas 316-260-7311 AIM: nealstarr1 -----Original Message----- From: daryl at introspect.net [mailto:daryl at introspect.net] Sent: Monday, January 12, 2004 10:20 AM To: nagios-users at lists.sourceforge.net; jbautista at intercable.net.ve Subject: RE: [Nagios-users] Fw: SNMP Traps > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Jeyri bautista > Sent: Monday, January 12, 2004 10:47 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Fw: SNMP Traps > > > Yes, I read this, but I understood that only works from a pc > to nagios, not with routers. > > Is it true? Nope. A trap is a trap. The snmptrapd that the method is using will accept traps from any trap source. I'm working on implementing it myself right now....unfortunately, addind the daemon my my Debian box seems to have destroyed the perl snmp stuff.......as soon as I fix that I'll be back to work on the rest. Daryl G. Jurbala BMPC Network Operations Tel: +1 215 825 8401 x235 Fax: +1 508 526 8500 INOC-DBA: 26412*DGJ PGP Key: http://www.introspect.net/pgp ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 acmecargo.com Mon Jan 12 19:02:45 2004 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Mon, 12 Jan 2004 13:02:45 -0500 Subject: NRPE and firewalls Message-ID: <6.0.0.22.2.20040112130057.0269ebf8@mail.acmecargo.com> I can't seem to find any past postings on this topic however I'm sure they exist. I am using the default port 5666 and I've allowed any source port to destination 5666 on both TCP and UDP (however I believe TCP is what is used). I am able to telnet from the Nagios box to the destination NRPE client on port 5666 and get a response, however my nrpe plugins are giving me: NRPE: Unable to read output Any suggestions? Dylan ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Jan 12 19:11:26 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 12 Jan 2004 10:11:26 -0800 (PST) Subject: NRPE and firewalls In-Reply-To: <6.0.0.22.2.20040112130057.0269ebf8@mail.acmecargo.com> References: <6.0.0.22.2.20040112130057.0269ebf8@mail.acmecargo.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I believe that error means that NRPE was not able to run the plugin or that the plugin did not execute properly. - -Jason Martin On Mon, 12 Jan 2004 nagios at acmecargo.com wrote: > I can't seem to find any past postings on this topic however I'm sure they > exist. I am using the default port 5666 and I've allowed any source port to > destination 5666 on both TCP and UDP (however I believe TCP is what is > used). I am able to telnet from the Nagios box to the destination NRPE > client on port 5666 and get a response, however my nrpe plugins are giving me: > NRPE: Unable to read output > > Any suggestions? > > Dylan > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAAuNWl2ODWuqVSBMRApJmAKCL9QZ5ERScockrMHufyg4PR/BjTQCeMje2 ZqpSgLBFXEsdO0g1UtGRZhQ= =6SUX -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 acmecargo.com Mon Jan 12 19:13:56 2004 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Mon, 12 Jan 2004 13:13:56 -0500 Subject: Fwd: NRPE and firewalls Message-ID: <6.0.0.22.2.20040112131009.02648db8@mail.acmecargo.com> I am now allowing all traffic from zone1 to zone2 on any port and I get the same error message, "NRPE: Unable to read output". I get this when trying to run manually from command line or if run through Nagios. I have this same setup duplicated in a different zone (allowing all traffic) and it works. I am getting nothing from the nrpe log output to the messages file unfortunately. With that in mind I'm guessing there is a problem with the client but I can't tell for sure. Any help? Dylan >I can't seem to find any past postings on this topic however I'm sure they >exist. I am using the default port 5666 and I've allowed any source port >to destination 5666 on both TCP and UDP (however I believe TCP is what is >used). I am able to telnet from the Nagios box to the destination NRPE >client on port 5666 and get a response, however my nrpe plugins are giving me: >NRPE: Unable to read output > >Any suggestions? > >Dylan > > > >------------------------------------------------------- >This SF.net email is sponsored by: Perforce Software. >Perforce is the Fast Software Configuration Management System offering >advanced branching capabilities and atomic changes on 50+ platforms. >Free Eval! http://www.perforce.com/perforce/loadprog.html >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sean.perry at intransa.com Mon Jan 12 19:31:38 2004 From: sean.perry at intransa.com (Sean Perry) Date: Mon, 12 Jan 2004 10:31:38 -0800 Subject: how to reset uptime values In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A154@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A154@mismail2.ena.com> Message-ID: <4002E80A.1080800@intransa.com> Marc Powell wrote: > >>-----Original Message----- >>From: Sean Perry [mailto:sean.perry at intransa.com] >>Sent: Monday, January 12, 2004 10:23 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] how to reset uptime values >> >>I have been trying to reset my uptime values to zero for the new year. >>However nothing I try seems to work. My setup is a standard nagios > > set > >>to store all data in SQL (mysql to be exact). >> >>When I stop nagios the host and service status table is empty. Ok, so >>maybe it reads the data from $NAGIOS/var/*.out. So I stopped nagios > > and > >>moved the files. When nagios started back up the old data was still >>there. >> >>What am I missing? > > > The availability CGI's use the archived log files so you would need to > delete all those. As far as the numbers stored in the database, you > should be able to stop nagios, delete your state_retention_file and > restart. It's typically named status.sav but you may have changed it. > I'm not sure exactly what the .out files you mention are unless you've > changed the default file names in nagios.cfg. > That's what I thought too. But that doesn't work. With nagios stopped and the SQL table empty I have emptied my $NAGIOS/var directory. Start nagios back up and voila, the data has risen from the grave. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 acmecargo.com Mon Jan 12 19:34:24 2004 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Mon, 12 Jan 2004 13:34:24 -0500 Subject: Fwd: NRPE and firewalls Message-ID: <6.0.0.22.2.20040112133335.025f4a28@mail.acmecargo.com> Silly me. I missed a step in getting my NRPE agent running. I never compiled the nagios plugins on the remote box. Compiled and all is working. Thanks for allowing me to fill up your mailboxes. :) Dylan >X-Sender: (Unverified) >X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 >To: nagios-users at lists.sourceforge.net >From: nagios at acmecargo.com >Subject: Fwd: [Nagios-users] NRPE and firewalls >X-Spam-Score: 0.3 (/) >X-Spam-Report: Spam Filtering performed by sourceforge.net. > See http://spamassassin.org/tag/ for more details. > Report problems to > http://sf.net/tracker/?func=add&group_id=1&atid=200001 > 0.3 NO_REAL_NAME From: does not include a real name >Sender: nagios-users-admin at lists.sourceforge.net >X-BeenThere: nagios-users at lists.sourceforge.net >X-Mailman-Version: 2.0.9-sf.net >List-Unsubscribe: , > > >List-Id: Nagios Users List >List-Post: >List-Help: >List-Subscribe: , > >List-Archive: > >X-Original-Date: Mon, 12 Jan 2004 13:13:56 -0500 >Date: Mon, 12 Jan 2004 13:13:56 -0500 >X-Spam-Score: 0.3 (/) >X-Spam-Report: Spam Filtering performed by sourceforge.net. > See http://spamassassin.org/tag/ for more details. > Report problems to > http://sf.net/tracker/?func=add&group_id=1&atid=200001 > 0.3 NO_REAL_NAME From: does not include a real name >X-RCPT-TO: > >I am now allowing all traffic from zone1 to zone2 on any port and I get >the same error message, "NRPE: Unable to read output". I get this when >trying to run manually from command line or if run through Nagios. I have >this same setup duplicated in a different zone (allowing all traffic) and >it works. I am getting nothing from the nrpe log output to the messages >file unfortunately. With that in mind I'm guessing there is a problem with >the client but I can't tell for sure. Any help? > >Dylan > > >>I can't seem to find any past postings on this topic however I'm sure >>they exist. I am using the default port 5666 and I've allowed any source >>port to destination 5666 on both TCP and UDP (however I believe TCP is >>what is used). I am able to telnet from the Nagios box to the destination >>NRPE client on port 5666 and get a response, however my nrpe plugins are >>giving me: >>NRPE: Unable to read output >> >>Any suggestions? >> >>Dylan >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: Perforce Software. >>Perforce is the Fast Software Configuration Management System offering >>advanced branching capabilities and atomic changes on 50+ platforms. >>Free Eval! http://www.perforce.com/perforce/loadprog.html >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: 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: Perforce Software. >Perforce is the Fast Software Configuration Management System offering >advanced branching capabilities and atomic changes on 50+ platforms. >Free Eval! http://www.perforce.com/perforce/loadprog.html >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pikelner at rogers.com Mon Jan 12 20:17:05 2004 From: pikelner at rogers.com (Frank Pikelner) Date: Mon, 12 Jan 2004 14:17:05 -0500 Subject: Nagios Status Map - Nagios process connection Message-ID: <000301c3d940$ab2c08f0$513a6618@netcraftinc.int> Hello, How does the connection for the Nagios process get established on the STATUS MAP in Nagios? I've been told it is based on the device with the most connections coming to it gets the Nagios process - is this true? My Nagios process is pointing at a router (router has the most connections to it). Does the process not know the IP address or hostname it is running on and not able to determine the correct relationship? Thank you, Frank Pikelner t (416) 736-7474 ext. 40 f (416) 736-7188 e frank.pikelner at blue-dot.ca ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 12 20:22:09 2004 From: marco at sd.com (Marco Supino) Date: Mon, 12 Jan 2004 21:22:09 +0200 Subject: Alert on Status change References: <370ACCFA5BB3B346A31222E5559BF91F03A139@mismail2.ena.com> Message-ID: <4002F3E1.1050006@sd.com> Hi, After some digging, i found this in the notification.c file : /* dont notify contacts about this service problem again if the notification interval is set to 0 */ if(svc->current_state!=STATE_OK && svc->no_more_notifications==TRUE){ #ifdef DEBUG4 printf("\tWe shouldn't re-notify contacts about this service problem!\n"); #endif return ERROR; } Now, my notification interval is set to 0 , but why does nagios compare only to OK ? warning and critical are "problems", but not the same kind of problems. Marco. Marc Powell wrote: > >>-----Original Message----- >>From: Marco Supino [mailto:marco at sd.com] >>Sent: Sunday, January 11, 2004 11:53 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Alert on Status change >> >>Hi, >> >>How can i make a service alert me when the status changes from WARNING >>to CRITICAL, currently, i only get alerts when the status changes from >>normal to one of these, but not between them > > > It should just do it, presuming: > > a) your notification_options include w,c and > b) your service is reaching a HARD CRITICAL state (i.e. 5/5 checks > failed or whatever you have max_check_attempts set to). > > -- > marc > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 12 16:05:45 2004 From: dave-nagios at homer.cymry.org (dave-nagios at homer.cymry.org) Date: Mon, 12 Jan 2004 09:05:45 -0600 Subject: Fwd: NRPE and firewall In-Reply-To: <6.0.0.22.2.20040112131009.02648db8@mail.acmecargo.com> References: <6.0.0.22.2.20040112131009.02648db8@mail.acmecargo.com> Message-ID: <20040112150545.GA18658@homer.cymry.org> On Mon, Jan 12, 2004 at 01:13:56PM -0500, nagios at acmecargo.com wrote: > works. I am getting nothing from the nrpe log output to the messages file > unfortunately. With that in mind I'm guessing there is a problem with the > client but I can't tell for sure. Any help? > > Dylan Turn on verbose debugging. login to the box being monitored and set debug=1 in the /etc/nrpe.cfg file. then tail -f /var/log/syslog as the server attempts to connect. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 12 16:23:47 2004 From: dave-nagios at homer.cymry.org (dave-nagios at homer.cymry.org) Date: Mon, 12 Jan 2004 09:23:47 -0600 Subject: Status Map Size In-Reply-To: <20040112150545.GA18658@homer.cymry.org> References: <6.0.0.22.2.20040112131009.02648db8@mail.acmecargo.com> <20040112150545.GA18658@homer.cymry.org> Message-ID: <20040112152347.GA18673@homer.cymry.org> I'm wondering if anyone can share a quick kludge to make the status map graphic generate an order of magnitude larger than default in the circular marked up view. I have over 190 hosts in there, and it's so crowded it's pretty much impossible to see what's there. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From olinskyn at sunnyside.wednet.edu Mon Jan 12 21:33:32 2004 From: olinskyn at sunnyside.wednet.edu (Nic Olinsky) Date: Mon, 12 Jan 2004 12:33:32 -0800 Subject: Nagios Status Map - Nagios process connection In-Reply-To: <000301c3d940$ab2c08f0$513a6618@netcraftinc.int> References: <000301c3d940$ab2c08f0$513a6618@netcraftinc.int> Message-ID: The Nagios process is the machine running Nagios. It will always be the center of the Status Map universe. Where other devices are in relationship to the Nagios Process is determined by the parent configuration. -- Nicholas M Olinsky Sunnyside School District Manager of Information Systems 1110 S 6th St Phone: 509.836.8412 Sunnyside, WA, 98944 FAX: 509.836.8423 Main Phone: 509.837.5851 > From: "Frank Pikelner" > Date: Mon, 12 Jan 2004 14:17:05 -0500 > To: > Subject: [Nagios-users] Nagios Status Map - Nagios process connection > > Hello, > > How does the connection for the Nagios process get established on the STATUS > MAP in Nagios? I've been told it is based on the device with the most > connections coming to it gets the Nagios process - is this true? > > My Nagios process is pointing at a router (router has the most connections > to it). Does the process not know the IP address or hostname it is running > on and not able to determine the correct relationship? > > Thank you, > > > Frank Pikelner > t (416) 736-7474 ext. 40 > f (416) 736-7188 > e frank.pikelner at blue-dot.ca > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Mon Jan 12 21:46:56 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Mon, 12 Jan 2004 12:46:56 -0800 Subject: Nagios Status Map - Center of the universe Message-ID: <607464768.1073911616@cadabra.stanford.edu> --On Monday, January 12, 2004 12:33 PM -0800 Nic Olinsky wrote: > The Nagios process is the machine running Nagios. It will always be the > center of the Status Map universe. Where other devices are in relationship > to the Nagios Process is determined by the parent configuration. I still maintain this is wrong. If you are trying to set up redundant Nagios servers for failover purposes, the statusmap is completely in correct for the second server, especially if it is located in a completely different area. I think it would be much better to be able to tell the nagios servers what its parents are as well as the parents of all the other systems, and then draw a universe-centric view based upon that information, so *any* nagios server would be correct. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pikelner at rogers.com Mon Jan 12 22:04:04 2004 From: pikelner at rogers.com (Frank Pikelner) Date: Mon, 12 Jan 2004 16:04:04 -0500 Subject: Nagios Status Map - Center of the universe In-Reply-To: <607464768.1073911616@cadabra.stanford.edu> References: <607464768.1073911616@cadabra.stanford.edu> Message-ID: <002f01c3d94f$9cec9520$513a6618@netcraftinc.int> >> The Nagios process is the machine running Nagios. It will always be the >> center of the Status Map universe. Where other devices are in relationship >> to the Nagios Process is determined by the parent configuration. >I still maintain this is wrong. If you are trying to set up redundant >Nagios servers for failover purposes, the statusmap is completely in >correct for the second server, especially if it is located in a completely >different area. I think it would be much better to be able to tell the >nagios servers what its parents are as well as the parents of all the other >systems, and then draw a universe-centric view based upon that information, >so *any* nagios server would be correct. How do I specify that the parent for a particular device is NAGIOS (Nagios process? I would also second that it would be helpful to be able to specify which server owns the Nagios process as we will shortly be setting up a redundant Nagios environment. Frank ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Mon Jan 12 22:09:35 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Mon, 12 Jan 2004 13:09:35 -0800 Subject: Nagios Status Map - Center of the universe In-Reply-To: <002f01c3d94f$9cec9520$513a6618@netcraftinc.int> References: <002f01c3d94f$9cec9520$513a6618@netcraftinc.int> Message-ID: <608823642.1073912975@cadabra.stanford.edu> --On Monday, January 12, 2004 4:04 PM -0500 Frank Pikelner wrote: > >>> The Nagios process is the machine running Nagios. It will always be the >>> center of the Status Map universe. Where other devices are in > relationship >>> to the Nagios Process is determined by the parent configuration. > >> I still maintain this is wrong. If you are trying to set up redundant >> Nagios servers for failover purposes, the statusmap is completely in >> correct for the second server, especially if it is located in a >> completely different area. I think it would be much better to be able >> to tell the nagios servers what its parents are as well as the parents >> of all the other > >> systems, and then draw a universe-centric view based upon that >> information, > >> so *any* nagios server would be correct. > > How do I specify that the parent for a particular device is NAGIOS (Nagios > process? > > I would also second that it would be helpful to be able to specify which > server owns the Nagios process as we will shortly be setting up a > redundant Nagios environment. You can't, that is the problem. ;) --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Jan 12 22:09:35 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 12 Jan 2004 13:09:35 -0800 (PST) Subject: Nagios Status Map - Center of the universe In-Reply-To: <002f01c3d94f$9cec9520$513a6618@netcraftinc.int> References: <002f01c3d94f$9cec9520$513a6618@netcraftinc.int> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I believe any host that does not have a parent specified is implicitly a child of Nagios. - -Jason Martin On Mon, 12 Jan 2004, Frank Pikelner wrote: > > >> The Nagios process is the machine running Nagios. It will always be the > >> center of the Status Map universe. Where other devices are in > relationship > >> to the Nagios Process is determined by the parent configuration. > > >I still maintain this is wrong. If you are trying to set up redundant > >Nagios servers for failover purposes, the statusmap is completely in > >correct for the second server, especially if it is located in a completely > >different area. I think it would be much better to be able to tell the > >nagios servers what its parents are as well as the parents of all the other > > >systems, and then draw a universe-centric view based upon that information, > > >so *any* nagios server would be correct. > > How do I specify that the parent for a particular device is NAGIOS (Nagios > process? > > I would also second that it would be helpful to be able to specify which > server owns the Nagios process as we will shortly be setting up a redundant > Nagios environment. > > Frank > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAAw0Yl2ODWuqVSBMRAt4BAJ49JfhTTeE9bNfTCxFS/kqYzJfpZQCePOmU 81F3pcqK2gud50ufAP4Az/A= =9JcB -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Mon Jan 12 22:20:44 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Mon, 12 Jan 2004 13:20:44 -0800 Subject: Nagios Status Map - Center of the universe In-Reply-To: References: <002f01c3d94f$9cec9520$513a6618@netcraftinc.int> Message-ID: <609493014.1073913644@cadabra.stanford.edu> --On Monday, January 12, 2004 1:09 PM -0800 Jason Martin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I believe any host that does not have a parent specified is implicitly a > child of Nagios. This doesn't solve anything, because almost none of my hosts are children of Nagios -- They are children of the switch to which they are connected, many of which live far away from the Nagios service. Specifying no parent just means that Nagios thinks they are all on the same switch. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sdsheeks at thebbgn.net Mon Jan 12 22:35:02 2004 From: sdsheeks at thebbgn.net (S. David Sheeks) Date: Mon, 12 Jan 2004 16:35:02 -0500 Subject: Issues with the ping service Message-ID: PING UNKNOWN 01-12-2004 16:32:09 0d 0h 0m 41s 1/3 /bin/ping -n -U -c 5 207.44.202.103 I am currently running nagios just fine on a RH 9 Apache box. I am trying to get it installed and running correctly on a RHE 3.0/WHM/Cpanel machine. All the services appear to work except for the ping. I get the above line on each host I have the ping service enabled. Anyone have an idea? What logs would help? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdoyle at lewisgaleclinic.com Mon Jan 12 22:39:01 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Mon, 12 Jan 2004 16:39:01 -0500 Subject: Nagios Status Map - Center of the universe Message-ID: I believe that any device without a parent specified is going to have the nagios process as the parent. -----Original Message----- From: Frank Pikelner [mailto:pikelner at rogers.com] Sent: Monday, January 12, 2004 4:04 PM To: 'Quanah Gibson-Mount'; 'Nic Olinsky'; nagios-users at lists.sourceforge.net Subject: [Nagios-users] RE: Nagios Status Map - Center of the universe >> The Nagios process is the machine running Nagios. It will always be >> the center of the Status Map universe. Where other devices are in relationship >> to the Nagios Process is determined by the parent configuration. >I still maintain this is wrong. If you are trying to set up redundant >Nagios servers for failover purposes, the statusmap is completely in >correct for the second server, especially if it is located in a completely >different area. I think it would be much better to be able to tell the >nagios servers what its parents are as well as the parents of all the other >systems, and then draw a universe-centric view based upon that >information, >so *any* nagios server would be correct. How do I specify that the parent for a particular device is NAGIOS (Nagios process? I would also second that it would be helpful to be able to specify which server owns the Nagios process as we will shortly be setting up a redundant Nagios environment. Frank ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 12 22:41:28 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Mon, 12 Jan 2004 16:41:28 -0500 Subject: Nagios Status Map - Center of the universe Message-ID: Then you need to have the main switch that nagios is plugged into as the child of the nagios process (no parent specified). Everything else should be in relation to that. i.e. our nagios box is plugged into our core switch. The core switch has no parent specified, therefore it is the child of the nagios process. Other switches are children of that switch, and devices, servers, printers, etc, are children of their respective switch. If I look at our status map, I think it clearly and trufully represents our network layout. -----Original Message----- From: Quanah Gibson-Mount [mailto:quanah at stanford.edu] Sent: Monday, January 12, 2004 4:21 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] RE: Nagios Status Map - Center of the universe --On Monday, January 12, 2004 1:09 PM -0800 Jason Martin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I believe any host that does not have a parent specified is implicitly > a child of Nagios. This doesn't solve anything, because almost none of my hosts are children of Nagios -- They are children of the switch to which they are connected, many of which live far away from the Nagios service. Specifying no parent just means that Nagios thinks they are all on the same switch. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 12 22:42:07 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Mon, 12 Jan 2004 16:42:07 -0500 Subject: Issues with the ping service Message-ID: does that command work from the command line? -----Original Message----- From: S. David Sheeks [mailto:sdsheeks at thebbgn.net] Sent: Monday, January 12, 2004 4:35 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Issues with the ping service PING UNKNOWN 01-12-2004 16:32:09 0d 0h 0m 41s 1/3 /bin/ping -n -U -c 5 207.44.202.103 I am currently running nagios just fine on a RH 9 Apache box. I am trying to get it installed and running correctly on a RHE 3.0/WHM/Cpanel machine. All the services appear to work except for the ping. I get the above line on each host I have the ping service enabled. Anyone have an idea? What logs would help? -------------- next part -------------- An HTML attachment was scrubbed... URL: From quanah at stanford.edu Mon Jan 12 22:45:00 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Mon, 12 Jan 2004 13:45:00 -0800 Subject: Nagios Status Map - Center of the universe In-Reply-To: References: Message-ID: <610948126.1073915100@cadabra.stanford.edu> --On Monday, January 12, 2004 4:41 PM -0500 Jack Doyle wrote: > Then you need to have the main switch that nagios is plugged into as the > child of the nagios process (no parent specified). > > Everything else should be in relation to that. > > i.e. our nagios box is plugged into our core switch. The core switch > has no parent specified, therefore it is the child of the nagios > process. Other switches are children of that switch, and devices, > servers, printers, etc, are children of their respective switch. > > If I look at our status map, I think it clearly and trufully represents > our network layout. Which is how I have ours, but that only works with *1* nagios server, not *2*, where they are on different switches, in completely different locations. You are entirely missing the point I am making here, in that it is NOT possible currently to build correct status maps for 2 nagios servers in a failover environment. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sdsheeks at thebbgn.net Mon Jan 12 22:47:01 2004 From: sdsheeks at thebbgn.net (S. David Sheeks) Date: Mon, 12 Jan 2004 16:47:01 -0500 Subject: Issues with the ping service In-Reply-To: References: Message-ID: Yes sir. /bin/ping -n -U -c 5 207.44.202.103 PING 207.44.202.103 (207.44.202.103) 56(84) bytes of data. 64 bytes from 207.44.202.103: icmp_seq=1 ttl=55 time=7.38 ms 64 bytes from 207.44.202.103: icmp_seq=2 ttl=55 time=7.06 ms 64 bytes from 207.44.202.103: icmp_seq=3 ttl=55 time=7.83 ms 64 bytes from 207.44.202.103: icmp_seq=4 ttl=55 time=6.78 ms 64 bytes from 207.44.202.103: icmp_seq=5 ttl=55 time=6.58 ms --- 207.44.202.103 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4051ms rtt min/avg/max/mdev = 6.582/7.129/7.833/0.452 ms _____ From: Jack Doyle [mailto:jdoyle at lewisgaleclinic.com] Sent: Monday, January 12, 2004 4:42 PM To: S. David Sheeks; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Issues with the ping service does that command work from the command line? -----Original Message----- From: S. David Sheeks [mailto:sdsheeks at thebbgn.net] Sent: Monday, January 12, 2004 4:35 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Issues with the ping service PING UNKNOWN 01-12-2004 16:32:09 0d 0h 0m 41s 1/3 /bin/ping -n -U -c 5 207.44.202.103 I am currently running nagios just fine on a RH 9 Apache box. I am trying to get it installed and running correctly on a RHE 3.0/WHM/Cpanel machine. All the services appear to work except for the ping. I get the above line on each host I have the ping service enabled. Anyone have an idea? What logs would help? -------------- next part -------------- An HTML attachment was scrubbed... URL: From GWCOOK at mactec.com Mon Jan 12 22:47:59 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 12 Jan 2004 14:47:59 -0700 Subject: Nagios Status Map - Center of the universe Message-ID: <41FD7929498A174DAB86C45F28E0EC0D09F200@golden-m.mactec.com> > --On Monday, January 12, 2004 1:09 PM -0800 Jason Martin > wrote: > > > > > I believe any host that does not have a parent specified is > implicitly a > > child of Nagios. > > This doesn't solve anything, because almost none of my hosts > are children > of Nagios -- They are children of the switch to which they > are connected, > many of which live far away from the Nagios service. > Specifying no parent > just means that Nagios thinks they are all on the same switch. > > --Quanah Quanah, If your hosts are all children of the same switch, then make them children of the switch. Then make the box that Nagios runs on the parent of said switch. I'm not sure I see the problem? Any host without a parent will indeed have the Nagios process as a parent. Although if you are using User Supplied Coordinates to layout the statusmap, it may not appear that way. To give you an example, I've attached two files, that show partial statusmap images of two different networks that I montior, both using user-supplied coordinates. As you can see, there is no Nagios Process in this layout. In the nagios1.jpg, monitor2, the box which hosts Nagios, has no parent and therefore appears in the green target. Nagios1.jpg is a box on a switch, and the switch is monitored, so it's parent is listed as 'monitor2'. As for the rest of the devices, if Device A is separated from the Nagios process/monitor2 by Device B, then Device B is therefore the parent of Device A. In the nagios2.jpg, netmon1 is the box which hosts Nagios. It also has no parent and therefore appears in the green target. Since I'm not monitoring the switch that it connects to, I've left the parent directive empty for the other two monitored boxes in that subnet. Therefore, they also appear in green targets. I read somewhere in the docs that this was the preferred method for hosts on the same subnet (no parents), although now I can no longer locate this in the docs. Perhaps someone out there knows what I'm talking about and can point us in the right direction. HTH. 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: nagios2.jpg Type: image/jpeg Size: 28815 bytes Desc: nagios2.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios1.jpg Type: image/jpeg Size: 34368 bytes Desc: nagios1.jpg URL: From quanah at stanford.edu Mon Jan 12 22:53:22 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Mon, 12 Jan 2004 13:53:22 -0800 Subject: Nagios Status Map - Center of the universe In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D09F200@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D09F200@golden-m.mactec.com> Message-ID: <611449768.1073915602@cadabra.stanford.edu> --On Monday, January 12, 2004 2:47 PM -0700 "Cook, Garry" wrote: Again, you are missing my point -- I was not asking any questions about not giving hosts a parent. I was specifically talking about problems with Nagios and its idea of being the center of the universe when you have multiple nagios servers. I know quite well how to configure the status map, parents, etc etc etc etc etc etc etc etc etc. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From acm at fonetglobal.com Mon Jan 12 22:54:20 2004 From: acm at fonetglobal.com (Ing. Alexandro Conde Mtz) Date: Mon, 12 Jan 2004 15:54:20 -0600 Subject: Nagios Status Map - Center of the universe In-Reply-To: <610948126.1073915100@cadabra.stanford.edu> References: <610948126.1073915100@cadabra.stanford.edu> Message-ID: <6.0.1.1.0.20040112155022.01d00ad0@fonetglobal.com> At 03:45 p.m. 12/01/2004, Quanah Gibson-Mount wrote: >Which is how I have ours, but that only works with *1* nagios server, not >*2*, where they are on different switches, in completely different >locations. You are entirely missing the point I am making here, in that >it is NOT possible currently to build correct status maps for 2 nagios >servers in a failover environment. All is relative, if you create your configuration files correctly, the status maps are correct in both nagios servers, but not equals. That's what I see in your point. Eng. Alexandro Conde Martinez ----> Alcon Director, Engineering. Fonet Global Inc. Phone: +52.442.242.0422 Voip: 523663800 to 03 mailto:acm at fonetglobal.com Stop Spam: http://www.cauce.org ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 12 22:56:00 2004 From: dchemko at smgtec.com (Daniel Chemko) Date: Mon, 12 Jan 2004 13:56:00 -0800 Subject: Issues with the ping service Message-ID: <7C9884991ADAE0479C14F10C858BCDF56790CB@alderaan.smgtec.com> Could it be the default firewall configuration on the box? Try running: /bin/ping -n -U -c 5 207.44.202.103 from the command line. It should hopefully work, or return some error. If there is an error, at least you know it isn't nagios that has it. If there is an error, try looking into the firewall, routing, etc.. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Mon Jan 12 22:59:16 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Mon, 12 Jan 2004 13:59:16 -0800 Subject: Nagios Status Map - Center of the universe In-Reply-To: <6.0.1.1.0.20040112155022.01d00ad0@fonetglobal.com> References: <610948126.1073915100@cadabra.stanford.edu> <6.0.1.1.0.20040112155022.01d00ad0@fonetglobal.com> Message-ID: <611804217.1073915956@cadabra.stanford.edu> --On Monday, January 12, 2004 3:54 PM -0600 "Ing. Alexandro Conde Mtz" wrote: > At 03:45 p.m. 12/01/2004, Quanah Gibson-Mount wrote: > > > >> Which is how I have ours, but that only works with *1* nagios server, >> not *2*, where they are on different switches, in completely different >> locations. You are entirely missing the point I am making here, in that >> it is NOT possible currently to build correct status maps for 2 nagios >> servers in a failover environment. > > All is relative, if you create your configuration files correctly, the > status maps are correct in both nagios servers, but not equals. > > That's what I see in your point. Not really -- They should be able to use the same configuration files for hosts/services. However, I cannot do that, because then all the parent relationships are wrong. It would be a major pain to create 2 sets of configuration files for the hosts/services just to have the mappings right for 2 nagios servers. And then, if I happen to need to *move* either of them, I'm going to have to change a number of parents yet again. I rather see nagios be *smart* and build the universe based of knowing its parent, and the parents of all the other systems. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 12 23:11:00 2004 From: marc at ena.com (Marc Powell) Date: Mon, 12 Jan 2004 16:11:00 -0600 Subject: Issues with the ping service Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A15E@mismail2.ena.com> The question actually should have been "does that command work from the command line as the nagios user?" I'll bet not. ls -al /bin/ping chmod 755 /bin/ping chmod u+s /bin/ping ls -al /bin/ping -- Marc _____ From: S. David Sheeks [mailto:sdsheeks at thebbgn.net] Sent: Monday, January 12, 2004 3:47 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Issues with the ping service Yes sir... /bin/ping -n -U -c 5 207.44.202.103 PING 207.44.202.103 (207.44.202.103) 56(84) bytes of data. 64 bytes from 207.44.202.103: icmp_seq=1 ttl=55 time=7.38 ms 64 bytes from 207.44.202.103: icmp_seq=2 ttl=55 time=7.06 ms 64 bytes from 207.44.202.103: icmp_seq=3 ttl=55 time=7.83 ms 64 bytes from 207.44.202.103: icmp_seq=4 ttl=55 time=6.78 ms 64 bytes from 207.44.202.103: icmp_seq=5 ttl=55 time=6.58 ms --- 207.44.202.103 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4051ms rtt min/avg/max/mdev = 6.582/7.129/7.833/0.452 ms _____ From: Jack Doyle [mailto:jdoyle at lewisgaleclinic.com] Sent: Monday, January 12, 2004 4:42 PM To: S. David Sheeks; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Issues with the ping service does that command work from the command line? -----Original Message----- From: S. David Sheeks [mailto:sdsheeks at thebbgn.net] Sent: Monday, January 12, 2004 4:35 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Issues with the ping service PING UNKNOWN 01-12-2004 16:32:09 0d 0h 0m 41s 1/3 /bin/ping -n -U -c 5 207.44.202.103 I am currently running nagios just fine on a RH 9 Apache box. I am trying to get it installed and running correctly on a RHE 3.0/WHM/Cpanel machine. All the services appear to work except for the ping. I get the above line on each host I have the ping service enabled. Anyone have an idea? What logs would help? -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdsheeks at thebbgn.net Mon Jan 12 23:11:39 2004 From: sdsheeks at thebbgn.net (S. David Sheeks) Date: Mon, 12 Jan 2004 17:11:39 -0500 Subject: Issues with the ping service In-Reply-To: <7C9884991ADAE0479C14F10C858BCDF56790CB@alderaan.smgtec.com> References: <7C9884991ADAE0479C14F10C858BCDF56790CB@alderaan.smgtec.com> Message-ID: I fixed the issue. I had to setuid on /bin/ping in order for nagios to run it. Things are a bit different in RHE than RH9. Thanks! Dave -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel Chemko Sent: Monday, January 12, 2004 4:56 PM To: S. David Sheeks; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Issues with the ping service Could it be the default firewall configuration on the box? Try running: /bin/ping -n -U -c 5 207.44.202.103 from the command line. It should hopefully work, or return some error. If there is an error, at least you know it isn't nagios that has it. If there is an error, try looking into the firewall, routing, etc.. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sdsheeks at thebbgn.net Mon Jan 12 23:13:19 2004 From: sdsheeks at thebbgn.net (S. David Sheeks) Date: Mon, 12 Jan 2004 17:13:19 -0500 Subject: Issues with the ping service In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A15E@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A15E@mismail2.ena.com> Message-ID: Yea I was working towards that direction. I just posted the fix. You were right just about 15 seconds to slow! :-) Thanks again guys/girls! Dave _____ From: Marc Powell [mailto:marc at ena.com] Sent: Monday, January 12, 2004 5:11 PM To: S. David Sheeks; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Issues with the ping service The question actually should have been "does that command work from the command line as the nagios user?" I'll bet not. ls -al /bin/ping chmod 755 /bin/ping chmod u+s /bin/ping ls -al /bin/ping -- Marc _____ From: S. David Sheeks [mailto:sdsheeks at thebbgn.net] Sent: Monday, January 12, 2004 3:47 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Issues with the ping service Yes sir. /bin/ping -n -U -c 5 207.44.202.103 PING 207.44.202.103 (207.44.202.103) 56(84) bytes of data. 64 bytes from 207.44.202.103: icmp_seq=1 ttl=55 time=7.38 ms 64 bytes from 207.44.202.103: icmp_seq=2 ttl=55 time=7.06 ms 64 bytes from 207.44.202.103: icmp_seq=3 ttl=55 time=7.83 ms 64 bytes from 207.44.202.103: icmp_seq=4 ttl=55 time=6.78 ms 64 bytes from 207.44.202.103: icmp_seq=5 ttl=55 time=6.58 ms --- 207.44.202.103 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4051ms rtt min/avg/max/mdev = 6.582/7.129/7.833/0.452 ms _____ From: Jack Doyle [mailto:jdoyle at lewisgaleclinic.com] Sent: Monday, January 12, 2004 4:42 PM To: S. David Sheeks; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Issues with the ping service does that command work from the command line? -----Original Message----- From: S. David Sheeks [mailto:sdsheeks at thebbgn.net] Sent: Monday, January 12, 2004 4:35 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Issues with the ping service PING UNKNOWN 01-12-2004 16:32:09 0d 0h 0m 41s 1/3 /bin/ping -n -U -c 5 207.44.202.103 I am currently running nagios just fine on a RH 9 Apache box. I am trying to get it installed and running correctly on a RHE 3.0/WHM/Cpanel machine. All the services appear to work except for the ping. I get the above line on each host I have the ping service enabled. Anyone have an idea? What logs would help? -------------- next part -------------- An HTML attachment was scrubbed... URL: From mtucker at airmail.net Mon Jan 12 23:33:32 2004 From: mtucker at airmail.net (Michael Tucker) Date: Mon, 12 Jan 2004 16:33:32 -0600 Subject: NEED HELP configuring NSCA with INETD Message-ID: <5A334E20-454F-11D8-B53F-0030657DF28A@airmail.net> Howdy: I have finally succeeded in my initial installation and configuration of Nagios, with help from Marc Powell (thanks, Marc!). I have a distributed nagios server, performing checks on a monitored host (using check_nrpe + nrpe), and forwarding the results to a central nagios server (using send_nsca + nsca). I am able to monitor the state of everything on either server via its web interface and Apache. The central server sends me notifications via email. Life is good. :-) All is well, except for two things: 1) NRPE 2.0 doesn't work with SSL enabled. (This is being discussed in other threads.) 2) I haven't been able to get NSCA to work within inetd (using tcp wrappers). That is the point of this message. NSCA works fine as a standalone daemon, i.e. if I launch it using the command: # /usr/local/nagios/bin/nsca -c /usr/local/nagios/bin/nsca.cfg --single then it works great. The status messages being collected by the distributed server are successfully passed to the central server, which then displays them correctly via its web interface. But it does *not* work if I try to run it under inetd. In that case, I get this message on the distributed server (the one running send_nsca): > Error: Server closed connection before init packet was received > Error: Could not read init packet from server No data is passed to the central server, and it displays "(No output!)" for each of the monitored host's services. Here are the relevant files: /etc/hosts.allow: > nsca: {IP of allowed host} /etc/hosts.deny: > ALL: ALL /etc/inetd.conf: > nsca stream tcp nowait nagios /usr/sfw/sbin/tcpd /usr/local/nagios/ > bin/nsca -c /usr/local/nagios/bin/nsca.cfg --inetd /etc/services: > nsca 5667/tcp # Nagios service check acceptor # ls -l /usr/sfw/sbin/tcpd > -r-xr-xr-x 1 root bin 5452 Apr 6 2002 > /usr/sfw/sbin/tcpd # ls -l /usr/local/nagios/bin > -rwxrwxr-- 1 nagios nagios 251472 Dec 12 12:02 nagios > -rwxr-xr-x 1 nagios nagios 167896 Dec 23 12:20 nsca > -rw-r--r-- 1 nagios nagios 4997 Jan 12 09:42 nsca.cfg /usr/local/nagios/bin/nsca.cfg (omitting comments): > server_port=5667 > allowed_hosts={IP of allowed host, same as in /etc/hosts.allow} > nsca_user=nagios > nsca_group=nagios > debug=0 > command_file=/usr/local/nagios/var/rw/nagios.cmd > alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump > aggregate_writes=0 > append_to_file=0 > max_packet_age=30 > password={password, same as in send_nsca.cfg on distributed server} > decryption_method=1 {same as in send_nsca.cfg on distributed server} Just to stress the point: this *works* if I run NSCA as a standalone daemon. It just doesn't work if I try to run NSCA through inetd. I'm stumped. Any ideas, anyone? FYI, I'm running nagios 1.1, nsca 2.4, nrpe 2.0 (i.e. all the latest versions) under Solaris 9 (with all patches up to date). Yours, Michael ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ronw at paradise.net.nz Tue Jan 13 01:33:58 2004 From: ronw at paradise.net.nz (Ron Wilson) Date: Tue, 13 Jan 2004 13:33:58 +1300 Subject: SNMP Problems Message-ID: <4003F3C6.27848.5F3F8C7@localhost> I get the following error message from Nagios that has me puzzled. [12-Jan-2004 18:47:04 ] Retrieved data for disk_4 (): 61 [12-Jan-2004 18:47:04*] Received SNMP response with error code noSuchName. OID: 1.3.6.1.2.1.2.2.1.10.16777219 I do not understand what it is telling me. I can retrieve the data manually using snmpget and get the results with no error message. But every time Nagios retrieves I get the error message even though as you can see from above it actually retrieves the data (61) Can anyone please throw some light on this error? Thanks -- Ron Wilson City of Sails Auckland Let thy speech be short, comprehending much in a few words. Aprocrypha ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 13 03:01:28 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Tue, 13 Jan 2004 15:01:28 +1300 Subject: SNMP Problems Message-ID: <200401130201.i0D21SR09805@spectre.freeparking.co.nz> Hi Ron, As discussed, this problem is solved. jamie > I get the following error message from Nagios that has me puzzled. > > [12-Jan-2004 18:47:04 ] Retrieved data for disk_4 (): 61 > [12-Jan-2004 18:47:04*] Received SNMP response with error code noSuchName. > OID: 1.3.6.1.2.1.2.2.1.10.16777219 > > I do not understand what it is telling me. I can retrieve the data > manually using snmpget and get the results with no error message. But > every time Nagios retrieves I get the error message even though as you can > see from above it actually retrieves the data (61) Can anyone please throw > some light on this error? > > Thanks > -- > > Ron Wilson > City of Sails > Auckland > > Let thy speech be short, comprehending much in a few words. > Aprocrypha > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 13 08:14:52 2004 From: h.baecker at ecofis.de (h.baecker at ecofis.de) Date: Tue, 13 Jan 2004 08:14:52 +0100 Subject: Antwort: NEED HELP configuring NSCA with INETD In-Reply-To: <5A334E20-454F-11D8-B53F-0030657DF28A@airmail.net> References: <5A334E20-454F-11D8-B53F-0030657DF28A@airmail.net> Message-ID: Hi there, Your config looks OK, same as I have configured on my side. Perhaps the tcpd spends some LOG? Yours Hendrik Michael Tucker Gesendet von: nagios-users-admin at lists.sourceforge.net 12.01.2004 23:33 An nagios-users at lists.sourceforge.net Kopie Thema [Nagios-users] NEED HELP configuring NSCA with INETD Howdy: I have finally succeeded in my initial installation and configuration of Nagios, with help from Marc Powell (thanks, Marc!). I have a distributed nagios server, performing checks on a monitored host (using check_nrpe + nrpe), and forwarding the results to a central nagios server (using send_nsca + nsca). I am able to monitor the state of everything on either server via its web interface and Apache. The central server sends me notifications via email. Life is good. :-) All is well, except for two things: 1) NRPE 2.0 doesn't work with SSL enabled. (This is being discussed in other threads.) 2) I haven't been able to get NSCA to work within inetd (using tcp wrappers). That is the point of this message. NSCA works fine as a standalone daemon, i.e. if I launch it using the command: # /usr/local/nagios/bin/nsca -c /usr/local/nagios/bin/nsca.cfg --single then it works great. The status messages being collected by the distributed server are successfully passed to the central server, which then displays them correctly via its web interface. But it does *not* work if I try to run it under inetd. In that case, I get this message on the distributed server (the one running send_nsca): > Error: Server closed connection before init packet was received > Error: Could not read init packet from server No data is passed to the central server, and it displays "(No output!)" for each of the monitored host's services. Here are the relevant files: /etc/hosts.allow: > nsca: {IP of allowed host} /etc/hosts.deny: > ALL: ALL /etc/inetd.conf: > nsca stream tcp nowait nagios /usr/sfw/sbin/tcpd /usr/local/nagios/ > bin/nsca -c /usr/local/nagios/bin/nsca.cfg --inetd /etc/services: > nsca 5667/tcp # Nagios service check acceptor # ls -l /usr/sfw/sbin/tcpd > -r-xr-xr-x 1 root bin 5452 Apr 6 2002 > /usr/sfw/sbin/tcpd # ls -l /usr/local/nagios/bin > -rwxrwxr-- 1 nagios nagios 251472 Dec 12 12:02 nagios > -rwxr-xr-x 1 nagios nagios 167896 Dec 23 12:20 nsca > -rw-r--r-- 1 nagios nagios 4997 Jan 12 09:42 nsca.cfg /usr/local/nagios/bin/nsca.cfg (omitting comments): > server_port=5667 > allowed_hosts={IP of allowed host, same as in /etc/hosts.allow} > nsca_user=nagios > nsca_group=nagios > debug=0 > command_file=/usr/local/nagios/var/rw/nagios.cmd > alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump > aggregate_writes=0 > append_to_file=0 > max_packet_age=30 > password={password, same as in send_nsca.cfg on distributed server} > decryption_method=1 {same as in send_nsca.cfg on distributed server} Just to stress the point: this *works* if I run NSCA as a standalone daemon. It just doesn't work if I try to run NSCA through inetd. I'm stumped. Any ideas, anyone? FYI, I'm running nagios 1.1, nsca 2.4, nrpe 2.0 (i.e. all the latest versions) under Solaris 9 (with all patches up to date). Yours, Michael ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 a.koch at eurodata.de Tue Jan 13 08:36:36 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Tue, 13 Jan 2004 08:36:36 +0100 Subject: NRPE.deb Message-ID: <1073979396.5162.27.camel@dresden.eurodata.de> hello all, from where do I get nrpe as debian package? Andreas ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mauog at interfree.it Tue Jan 13 09:43:52 2004 From: mauog at interfree.it (Mauro) Date: Tue, 13 Jan 2004 09:43:52 +0100 Subject: nrpe inetd vs daemon Message-ID: <001501c3d9b1$5f741df0$5dc810ac@graitmgatt> Hi all, I compiled nrpe (cvs version) on HP-UX 11.11 If I run nrpe as stand alone daemon I have no problem but if I try to configure it in inetd mode i get this message: CHECK_NRPE: Response packet had invalid CRC32. Do you have any idea? Thank You Mauro -------------- next part -------------- An HTML attachment was scrubbed... URL: From mlist.nagios at inlan.inmics.fi Tue Jan 13 10:53:31 2004 From: mlist.nagios at inlan.inmics.fi (MiikaT) Date: Tue, 13 Jan 2004 11:53:31 +0200 Subject: Possible to monitor Spanning Tree and individual units in a stack? In-Reply-To: References: Message-ID: <1073987611.4003c01b23711@imp.inmics.fi> I was about to implement this, but haven't done it yet. Atleast with 3Com switches you can find the necessary info using snmp, thus check_snmp is the answer. -MiikaT Lainaus Neil Lehouillier : > Hi all, > > I have a couple little question here. Is it possible to monitor the > bridge's of spanning tree with nagios or nsclient? I want to be > notified if the link from a stack to the core goes down and the Rapid > Spanning Tree Protocol re-routes traffic through a different link. > > One other question.... > Is it possible to monitor individual units within the switch stack? I > want to know if there is a communication problem with individual units > within a switch stack. > > Thanks in advance > > > Neil > > ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jean-Jacques.siquet at experian.fr Tue Jan 13 10:55:54 2004 From: Jean-Jacques.siquet at experian.fr (Jean-Jacques.siquet) Date: Tue, 13 Jan 2004 10:55:54 +0100 Subject: NRPE 2.0 on HPUX In-Reply-To: <001501c3d9b1$5f741df0$5dc810ac@graitmgatt> References: <001501c3d9b1$5f741df0$5dc810ac@graitmgatt> Message-ID: hello, i try to compile: bash-2.05a# ./configure --disable-ssl --enable-command-args bash-2.05a# gmake all cd ./src/; gmake ; cd .. gmake[1]: Entering directory `/tmp/nagios/nrpe-2.0/src' gcc -g -O2 -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -lnsl nrpe.c: In function `wait_for_connections': nrpe.c:620: warning: passing arg 3 of `getpeername' from incompatible pointer type gcc -g -O2 -DHAVE_CONFIG_H -o check_nrpe check_nrpe.c utils.c -lnsl gmake[1]: Leaving directory `/tmp/nagios/nrpe-2.0/src' *** Compile finished *** when i use this bash-2.05a# /usr/local/nagios/libexec/check_nrpe -H 172.22.51.48 CHECK_NRPE: Response packet had invalid CRC32. thanks for your help Jean-jacques -------------- next part -------------- An HTML attachment was scrubbed... URL: From alessio at ifc.cnr.it Tue Jan 13 11:40:05 2004 From: alessio at ifc.cnr.it (Alessio Ciregia) Date: Tue, 13 Jan 2004 11:40:05 +0100 Subject: multiple IP Message-ID: In the FAQ i have read that I can assign more than one IP to an host. So, I have a multi homed gateway so I want to monitor the two NIC's IP address. Well, if in the host definition of this machine I put the two addresses (ie 192.168.1.1,192.168.2.1) I receive an error that the host is not respondig. So? Thanks ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 13 11:46:43 2004 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Tue, 13 Jan 2004 10:46:43 +0000 Subject: dependency checking confusion In-Reply-To: <1073914539.1576.59.camel@rh-possum> References: <1073914539.1576.59.camel@rh-possum> Message-ID: <4003CC93.1050100@exponential-e.com> gillian bennett wrote: > Hi, > > I am having some problems with the dependency checking for my nagios > setup. I guess I am a little confused as to the meaning of some of the > options. What I am trying to achieve is that if the host is unpingable, > then none of the other services (diskcheck, dhcp etc) will not be > checked and will not be reported on. So no notifications will be sent > out for any other services for that host if it is unpingable. As I understand things this should be the default behaviour. It is not necessary to configure dependencies for this, perhaps it is this that is causing the problem? Jim ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 13 11:53:32 2004 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Tue, 13 Jan 2004 10:53:32 +0000 Subject: More Information from Plug-ins ? In-Reply-To: <1073919676.11752.108.camel@lxmahe> References: <1073919676.11752.108.camel@lxmahe> Message-ID: <4003CE2C.7060009@exponential-e.com> Martin Heinemann wrote: > I need a tool which retrn a littlebit more information, i.e. logfiles, > ... . Have a look at syslog-ng to help create a centralised logging host, perhaps on the Nagios server. There is a syslog monitoring plugin, or one can submit matched error messages as passive checks. Jim ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmartin at gsi-kc.com Tue Jan 13 12:08:53 2004 From: jmartin at gsi-kc.com (Martin, Jeremy) Date: Tue, 13 Jan 2004 05:08:53 -0600 Subject: Notification blackout ignored Message-ID: From: Andreas Koch [mailto:a.koch at eurodata.de] > which you do, are a little too exaggerated. > The better option are: > max_check_attempts 5 > retry_check_interval 1 > this causes when the nagios server notice that the Service is down he > check the Service 5 (max_check_attempts) times all 1 minute. > thus, if the service 5 minutes long down is, only one informs. > When the Service with the 3 check again ok is, is not informed. Hi, I am already trying to use max_check_attempts 5 and retry_check_interval 1 for these checks. Unfortunately it is still sending us warnings/pages every night despite these settings. In fact on some I am even trying max_check_attempts 10 but it's still not working. It seems when it gets a "connection refused by host" Nagios ignores retry_check_interval and keeps retrying 5 or 10 times in the same second. Is there any way to change this behavior? Here is an example from the event log: [01-13-2004 04:46:07] HOST NOTIFICATION: Admin;www.whatever.com;DOWN;host-notify-by-email;Connection refused by host [01-13-2004 04:46:06] HOST NOTIFICATION: Admin;www.whatever.com;DOWN;host-notify-by-epager;Connection refused by host [01-13-2004 04:46:06] HOST ALERT: www.whatever.com;DOWN;HARD;10;Connection refused by host [01-13-2004 04:46:06] HOST ALERT: www.whatever.com;DOWN;SOFT;9;Connection refused by host [01-13-2004 04:46:06] HOST ALERT: www.whatever.com;DOWN;SOFT;8;Connection refused by host [01-13-2004 04:46:06] HOST ALERT: www.whatever.com;DOWN;SOFT;7;Connection refused by host [01-13-2004 04:46:06] HOST ALERT: www.whatever.com;DOWN;SOFT;6;Connection refused by host [01-13-2004 04:46:06] HOST ALERT: www.whatever.com;DOWN;SOFT;5;Connection refused by host [01-13-2004 04:46:06] HOST ALERT: www.whatever.com;DOWN;SOFT;4;Connection refused by host [01-13-2004 04:46:06] HOST ALERT: www.whatever.com;DOWN;SOFT;3;Connection refused by host [01-13-2004 04:46:06] HOST ALERT: www.whatever.com;DOWN;SOFT;2;Connection refused by host [01-13-2004 04:46:06] HOST ALERT: www.whatever.com;DOWN;SOFT;1;Connection refused by host Thanks, and best wishes, Jeremy ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 acmecargo.com Tue Jan 13 13:37:05 2004 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Tue, 13 Jan 2004 07:37:05 -0500 Subject: NRPE on Tru64 Alpha Message-ID: <6.0.0.22.2.20040113073605.02b01720@mail.acmecargo.com> I have 4 Compaq Alpha servers running Tru64. Does anybody know where source for the NRPE agent might exists for these platforms? Dylan ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mauog at interfree.it Tue Jan 13 13:55:54 2004 From: mauog at interfree.it (Mauro) Date: Tue, 13 Jan 2004 13:55:54 +0100 Subject: NRPE 2.0 on HPUX References: Message-ID: <000b01c3d9d4$95f52130$5dc810ac@graitmgatt> ----- Original Message ----- From: Jean-Jacques.siquet To: nagios-users at lists.sourceforge.net Sent: Tuesday, January 13, 2004 10:55 AM Subject: [Nagios-users] NRPE 2.0 on HPUX hello, i try to compile: bash-2.05a# ./configure --disable-ssl --enable-command-args bash-2.05a# gmake all cd ./src/; gmake ; cd .. gmake[1]: Entering directory `/tmp/nagios/nrpe-2.0/src' gcc -g -O2 -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -lnsl nrpe.c: In function `wait_for_connections': nrpe.c:620: warning: passing arg 3 of `getpeername' from incompatible pointer type gcc -g -O2 -DHAVE_CONFIG_H -o check_nrpe check_nrpe.c utils.c -lnsl gmake[1]: Leaving directory `/tmp/nagios/nrpe-2.0/src' *** Compile finished *** when i use this bash-2.05a# /usr/local/nagios/libexec/check_nrpe -H 172.22.51.48 CHECK_NRPE: Response packet had invalid CRC32. thanks for your help Jean-jacques Jean-jacques, I get the same error!!! I solved this issue using nrpe-cvs version that seems to work fine. Bye Mauro ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tskyers at foxroach.com Tue Jan 13 14:37:48 2004 From: tskyers at foxroach.com (Tory M. Skyers) Date: Tue, 13 Jan 2004 08:37:48 -0500 Subject: log file keeps deleting upon rotation Message-ID: I had log rotation set to daily, recently Nagios has been deleting all the contents of my logs on rotation. When I look in the archives directory my logs are all 33bytes. What gives, is this a bug? A bad setting on my part? Has anyone else experienced this? I tested it w/ weekly rotation, and sure enough at the end of the week it wiped out the entire weeks log. In addition, I have notifications set to 60 minutes, I have ping checks every 5 minutes, but Nagios sends out notifications every 10 minutes, why I don't know. Nowhere in my conf files do I have notifications set to 10 minutes, nor in my groups or actually anywhere. Is there something I'm missing? One other issue, on the host or service status page the count for the number of hosts and services fluctuates. It goes down a couple hosts a couple services, but it never goes above the number I have defined. Tory Skyers Network Administrator Prudential Fox & Roach tskyers at foxroach.com 610-993-1327 ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tskyers at foxroach.com Tue Jan 13 14:40:23 2004 From: tskyers at foxroach.com (Tory M. Skyers) Date: Tue, 13 Jan 2004 08:40:23 -0500 Subject: 3. Anyone using temperature sensors? (Frank Pikelner) Message-ID: Yes! I am using the temptrax temp sensor listed on nagios's home page. We have the 2 port version and it works great, the module works great. It was easy to setup and it's been working reliably for about 4 months now! It's been a life saver because sometimes the a/c unit in the server room would act up on the weekends and no one would know :). Tory Skyers Network Administrator Prudential Fox & Roach tskyers at foxroach.com 610-993-1327 ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From l.arnts at pinkroccade.com Tue Jan 13 14:51:23 2004 From: l.arnts at pinkroccade.com (L Arnts) Date: Tue, 13 Jan 2004 14:51:23 +0100 Subject: rrdtool/mrtg Message-ID: Hi, I'am looking for a solution to read rrdtool databases created with mrtg so that i can let nagios check the use of a WAN connection. The APAN util can't be used because that the rrdtool databases are on an other machine due to high performace load of our nagios machine. I can read the rrdtool database. Has any one have an idea Regards, ---------------------------------------------------------------------------- Leo Arnts Technisch Consultant PinkRoccade Healthcare Postbus 4109 6803 EC ARNHEM tel: +31-26-3228041 fax: +31-26-3228055 l.arnts at pinkroccade.com ---------------------------------------------------------------------------- Dit e-mail bericht is uitsluitend bestemd voor geadresseerde(n) en kan vertrouwelijke informatie bevatten. Indien dit e-mail bericht niet voor u is bestemd, verzoeken wij u vriendelijk doch dringend, het e-mail bericht per omgaande aan ons te retourneren en alle informatie hierover uit uw computer(s) te verwijderen. Openbaring, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is, behoudens schriftelijke goedkeuring van PinkRoccade, niet toegestaan. PinkRoccade bewaakt dagelijks de veiligheid en integriteit van haar elektronische berichtenverkeer. Desondanks kan PinkRoccade niet garanderen dat het e-mail bericht juist, tijdig, volledig en virusvrij wordt overgebracht. PinkRoccade kan hiervoor niet aansprakelijk worden gesteld. Uitzondering hierop zijn e-mail berichten die voorzien zijn van een geautoriseerd certificaat. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Francois.JEANMOUGIN at 123multimedia.com Tue Jan 13 14:49:46 2004 From: Francois.JEANMOUGIN at 123multimedia.com (Francois JEANMOUGIN) Date: Tue, 13 Jan 2004 14:49:46 +0100 Subject: rrdtool/mrtg Message-ID: <4B05B471CA57554C8E0361B442971086043E16@mail.tls.123multimedia.com> > -----Original Message----- > Hi, > > I'am looking for a solution to read rrdtool databases created with mrtg so > that i can let nagios check the use of a WAN connection. > The APAN util can't be used because that the rrdtool databases are on an > other machine due to high performace load of our nagios machine. > I can read the rrdtool database. This is exactly what check-traffic is doing. You just have to use a cgi, declared in serviceextinfo.cfg, where you generate the graphs using existing rrds. Just have a look at how the graph part of check-traffic is working. Fran?ois. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From w.pfeiffer at enbw.com Tue Jan 13 14:52:46 2004 From: w.pfeiffer at enbw.com (w.pfeiffer at enbw.com) Date: Tue, 13 Jan 2004 14:52:46 +0100 Subject: log file keeps deleting upon rotation Message-ID: <949B03E209CCCE43A00F0BBEA2FB4034018C8C@s2h3148r> Tory M. Skyers wrote: > I had log rotation set to daily, recently Nagios has been > deleting all the contents of my logs on rotation. When I > look in the archives directory my logs are all 33bytes. > What gives, is this a bug? A bad setting on my part? > Has anyone else experienced this? > > I tested it w/ weekly rotation, and sure enough at the end of > the week it wiped out the entire weeks log. > > In addition, I have notifications set to 60 minutes, I have > ping checks every 5 minutes, but Nagios sends out notifications > every 10 minutes, why I don't know. Nowhere in my conf files > do I have notifications set to 10 minutes, nor in my groups or > actually anywhere. Is there something I'm missing? > > One other issue, on the host or service status page the count > for the number of hosts and services fluctuates. It goes down > a couple hosts a couple services, but it never goes above the > number I have defined. Strange stuff like this could happen because you have multiple Nagios main processes running. Shutdown Nagios, verify that no other Nagios processes are running, then start Nagios again. See also: http://www.nagios.org/faqs/viewfaq.php?faq_id=21 Wolfram ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sfeehan at sbb.uvm.edu Tue Jan 13 15:01:39 2004 From: sfeehan at sbb.uvm.edu (Steve Feehan) Date: Tue, 13 Jan 2004 09:01:39 -0500 Subject: NRPE on Tru64 Alpha In-Reply-To: <6.0.0.22.2.20040113073605.02b01720@mail.acmecargo.com> References: <6.0.0.22.2.20040113073605.02b01720@mail.acmecargo.com> Message-ID: <20040113140139.GA1834@ingress.sbb.uvm.edu> On Tue, Jan 13, 2004 at 07:37:05AM -0500, nagios at acmecargo.com wrote: > I have 4 Compaq Alpha servers running Tru64. Does anybody know where source > for the NRPE agent might exists for these platforms? > > Dylan The source is the same for all platforms. I have successfully built nrpe for tru64 (5.1a). I recall that it required small changes to the source code. I think it was all related to tru64 not having getopt_long. Steve > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null -- Steve Feehan ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mauog at interfree.it Tue Jan 13 15:40:21 2004 From: mauog at interfree.it (Mauro) Date: Tue, 13 Jan 2004 15:40:21 +0100 Subject: How to limit access to an user Message-ID: <000e01c3d9e3$2c376fa0$5dc810ac@graitmgatt> Hi All, I've read documentaton but I don't understand if and how it is possible to limit access to an user. I'd like some users see only some server and services. It is possibile? How do I do? Thank You Mauro -------------- next part -------------- An HTML attachment was scrubbed... URL: From Karl.Yost at mptotalcare.com Tue Jan 13 15:40:43 2004 From: Karl.Yost at mptotalcare.com (Yost, Karl) Date: Tue, 13 Jan 2004 09:40:43 -0500 Subject: NRPE on Tru64 Alpha Message-ID: <7190FBD21CA2D111B7EA00805F9F4C0307AEF7BB@em_exchange.express-med.com> I had problems getting NRPE to compile on my Tru64 Alpha (V5.1a) boxes, I solved this by using version 1.8 of NRPE and everything works great. -Karl -----Original Message----- From: nagios at acmecargo.com [mailto:nagios at acmecargo.com] Sent: Tuesday, January 13, 2004 7:37 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE on Tru64 Alpha I have 4 Compaq Alpha servers running Tru64. Does anybody know where source for the NRPE agent might exists for these platforms? Dylan ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ***** The information in this email may contain confidential health information that is legally privileged. This information is intended for the use of the individual or entity named above. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this email is strictly prohibited. If you have received this information in error, please notify the sender immediately and arrange for the return or destruction of this information. ***** -------------- next part -------------- An HTML attachment was scrubbed... URL: From nixon at nsc.liu.se Tue Jan 13 16:06:51 2004 From: nixon at nsc.liu.se (nixon at nsc.liu.se) Date: Tue, 13 Jan 2004 16:06:51 +0100 Subject: Anyone using temperature sensors? In-Reply-To: <003501c3d66e$2f3a1c70$513a6618@netcraftinc.int> (Frank Pikelner's message of "Fri, 9 Jan 2004 00:05:21 -0500") References: <003501c3d66e$2f3a1c70$513a6618@netcraftinc.int> Message-ID: "Frank Pikelner" writes: > I would like to purchase one of the temperature sensors featured on the > Nagios website and monitor the temperature in our server rooms in Nagios. I > live in Canada and would prefer if the device can provide the information in > Celsius (vs. Fahrenheit) both companies do not mention anything about > converting to Celsius. Anyone have any experience with any of the device and > can make recommendations? I use sensor devices from Pico, specifically: http://www.picotech.com/thermistor.html Good stuff. The sensors are connected to the device by RJ11 connectors, making it easy to extend them (for example by patching them through a server room's TP cabling). The device is connected to a serial port on the monitoring computer. Linux drivers are supplied, and the serial protocol is documented if you prefer to roll your own driver. -- Leif Nixon Systems expert ------------------------------------------------------------ National Supercomputer Centre Linkoping University ------------------------------------------------------------ ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cl72705 at po.wr.com Tue Jan 13 16:17:05 2004 From: cl72705 at po.wr.com (Chris Hubbell) Date: 13 Jan 2004 09:17:05 -0600 Subject: Scheduled downtime and availability reports Message-ID: <1074007024.20382.16.camel@23g2706.Corp.Top.WR.Com> I scheduled downtime on a server for a reboot and saw expected results. But, when I look at the availability report for that server, it shows the downtime during that reboot as "unscheduled" when I would have expected to see "scheduled." Has anybody else seen this? Thanks, Chris ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sfeehan at sbb.uvm.edu Tue Jan 13 16:17:39 2004 From: sfeehan at sbb.uvm.edu (Steve Feehan) Date: Tue, 13 Jan 2004 10:17:39 -0500 Subject: NRPE on Tru64 Alpha In-Reply-To: <20040113140139.GA1834@ingress.sbb.uvm.edu> References: <6.0.0.22.2.20040113073605.02b01720@mail.acmecargo.com> <20040113140139.GA1834@ingress.sbb.uvm.edu> Message-ID: <20040113151739.GA2261@ingress.sbb.uvm.edu> On Tue, Jan 13, 2004 at 09:01:39AM -0500, Steve Feehan wrote: > On Tue, Jan 13, 2004 at 07:37:05AM -0500, nagios at acmecargo.com wrote: > > I have 4 Compaq Alpha servers running Tru64. Does anybody know where source > > for the NRPE agent might exists for these platforms? > > > > Dylan > > The source is the same for all platforms. I have successfully > built nrpe for tru64 (5.1a). I recall that it required small > changes to the source code. I think it was all related to > tru64 not having getopt_long. > > Steve Here's a patch that works for me: diff -ur nrpe-2.0/src/check_nrpe.c nrpe-2.0-mod/src/check_nrpe.c --- nrpe-2.0/src/check_nrpe.c 2003-09-08 22:52:37.000000000 -0400 +++ nrpe-2.0-mod/src/check_nrpe.c 2003-12-01 18:00:48.000000000 -0500 @@ -308,7 +308,7 @@ int c=1; int i=1; -#ifdef HAVE_GETOPT_H +/* #ifdef HAVE_GETOPT_H int option_index=0; static struct option long_options[]={ {"host", required_argument, 0, 'H'}, @@ -321,7 +321,7 @@ {"license", no_argument, 0, 'l'}, {0, 0, 0, 0} }; -#endif +#endif */ /* no options were supplied */ if(argc<2) @@ -330,11 +330,11 @@ snprintf(optchars,MAX_INPUT_BUFFER,"H:c:a:t:p:nhl"); while(1){ -#ifdef HAVE_GETOPT_H +/* #ifdef HAVE_GETOPT_H c=getopt_long(argc,argv,optchars,long_options,&option_index); -#else +#else */ c=getopt(argc,argv,optchars); -#endif +/*#endif*/ if(c==-1 || c==EOF) break; diff -ur nrpe-2.0/src/nrpe.c nrpe-2.0-mod/src/nrpe.c --- nrpe-2.0/src/nrpe.c 2003-09-08 22:52:37.000000000 -0400 +++ nrpe-2.0-mod/src/nrpe.c 2003-12-01 18:01:25.000000000 -0500 @@ -1437,7 +1437,7 @@ int c=1; int have_mode=FALSE; -#ifdef HAVE_GETOPT_H +/*#ifdef HAVE_GETOPT_H int option_index=0; static struct option long_options[]={ {"config", required_argument, 0, 'c'}, @@ -1448,7 +1448,7 @@ {"license", no_argument, 0, 'l'}, {0, 0, 0, 0} }; -#endif +#endif */ /* no options were supplied */ if(argc<2) @@ -1457,11 +1457,11 @@ snprintf(optchars,MAX_INPUT_BUFFER,"c:nidhl"); while(1){ -#ifdef HAVE_GETOPT_H +/*#ifdef HAVE_GETOPT_H c=getopt_long(argc,argv,optchars,long_options,&option_index); -#else +#else */ c=getopt(argc,argv,optchars); -#endif +/* #endif */ if(c==-1 || c==EOF) break; ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcioqueiroz at vicom.com.br Tue Jan 13 16:21:09 2004 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Tue, 13 Jan 2004 13:21:09 -0200 Subject: RES: rrdtool/mrtg Message-ID: Hi, i use check_rrd_data.pl. I think it?s in the contrib directory. In my case i use it to generate an alarm when the traffic get?s over 70% and 90% utilisation. In your case, since it?s in a different machine, you have to use nrpe to make the check, or use nsca to receive the traps from the machine running the mrg. hope it help?s Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com > ----- Mensagem original ----- > De: Francois JEANMOUGIN > [SMTP:Francois.JEANMOUGIN at 123multimedia.com] > Enviada em: ter?a-feira, 13 de janeiro de 2004 11:50 > Para: nagios-users at lists.sourceforge.net > Assunto: RE: [Nagios-users] rrdtool/mrtg > > > > > -----Original Message----- > > Hi, > > > > I'am looking for a solution to read rrdtool databases created with mrtg > so > > that i can let nagios check the use of a WAN connection. > > The APAN util can't be used because that the rrdtool databases are on an > > other machine due to high performace load of our nagios machine. > > I can read the rrdtool database. > > > This is exactly what check-traffic is doing. You just have to use a cgi, > declared in serviceextinfo.cfg, where you generate the graphs using > existing rrds. Just have a look at how the graph part of check-traffic is > working. > > Fran?ois. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 13 16:27:17 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Tue, 13 Jan 2004 16:27:17 +0100 Subject: NRPE.deb In-Reply-To: <1073979396.5162.27.camel@dresden.eurodata.de> References: <1073979396.5162.27.camel@dresden.eurodata.de> Message-ID: <1074007637.5162.362.camel@dresden.eurodata.de> Okay, i find the package in the non-US debian Path. Am Di, den 13.01.2004 schrieb Andreas Koch um 08:36: > hello all, > > from where do I get nrpe as debian package? > > Andreas > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 13 16:28:38 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Tue, 13 Jan 2004 16:28:38 +0100 Subject: Supervise a dial UP host Message-ID: <1074007718.5160.365.camel@dresden.eurodata.de> Hello nagios User, who can help me? I would supervise a dial-up host with nagios. Did this already someone solve? Thanks for your support Andreas ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 13 16:36:15 2004 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Tue, 13 Jan 2004 16:36:15 +0100 Subject: problem on openbsd 3.3 on sparc64 Message-ID: <5.0.2.1.2.20040113162122.0317f3a0@195.220.107.3> i have nagios 1.1 with plugins 1.3 on an ultra 5 with openbsd 3.3 compilation goes fine but when i launch nagios i have this error /usr/local/nagios/libexec/check_ping WARNING symbol (pl) size mismatch relink your program and in the web interface i have this error Premature end of script headers /html/nagios/cgi-bin/status.cgi i use a httpd.conf wich works fine on linux redhat ( with appropriate modifications like docroot ) here is my nagios config ScriptAlias /nagios/cgi-bin/ /var/www/html/nagios/cgi-bin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /var/www/html/nagios/ Options None AllowOverride AuthConfig Order allow,deny Allow from all thanks for help me ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 13 16:39:51 2004 From: marc at ena.com (Marc Powell) Date: Tue, 13 Jan 2004 09:39:51 -0600 Subject: How to limit access to an user Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A167@mismail2.ena.com> ________________________________________ From: Mauro [mailto:mauog at interfree.it] Sent: Tuesday, January 13, 2004 8:40 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How to limit access to an user Hi All, I've read documentaton but I don't understand if and how it is possible to limit access to an user. I'd like some users see only some server and services. It is possibile? How do I do? ? ---- Assuming you have the web authentication part set up correctly (http://nagios.sourceforge.net/docs/1_0/cgiauth.html), Nagios will only display hosts and services that the logged in user is configured as a contact for. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 13 16:47:42 2004 From: benny at bennyvision.com (C. Bensend) Date: Tue, 13 Jan 2004 09:47:42 -0600 (CST) Subject: NRPE v2.0 for HP-UX 11.00, RISC 1.1 Message-ID: <4219.134.244.169.17.1074008884.squirrel@webmail.stinkweasel.net> Hey folks, At the request of some list members, I have built an HP-UX depot for NRPE v2.0. This depot is for RISC 1.1 machines, and may or may not work properly on RISC 2.0 machines. As always, it can be found at: http://www.bennyvision.com/projects/nagios/ Feedback appreciated, please email me privately. Benny ps: Ethan, I sent this from a different address the first time - you may discard that one. -- "Have you ever tried simply turning off the TV, sitting down with your children, and hitting them?" -- Bender, "Futurama" ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Tue Jan 13 17:03:48 2004 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 13 Jan 2004 11:03:48 -0500 (EST) Subject: multiple IP In-Reply-To: References: Message-ID: On Tue, 13 Jan 2004, Alessio Ciregia wrote: > In the FAQ i have read that I can assign more than one IP to an host. > So, I have a multi homed gateway so I want to monitor the two NIC's IP > address. > > Well, if in the host definition of this machine I put the two addresses > (ie 192.168.1.1,192.168.2.1) I receive an error that the host is not > respondig. The thing that the docs imply, but don't really seem to go into much detail about, is the fact that your plugins must support whatever you stick in the host address field. If this is a list of addresses, then the plugins used for that host must support receiving a list of addresses. I'm not aware of any, but it's possible some of the plugins distributed in the Plugins v1.3.1 distribution support this; the check_ping plugin, which it sounds like you are using, does not. The plugin would have to make intelligent decisions about which IP to check (or some, or possibly all of them) and when to report error conditions based on how many of them are unreachable, if any. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 13 17:32:41 2004 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Tue, 13 Jan 2004 17:32:41 +0100 Subject: problem on openbsd 3.3 on sparc64 Message-ID: <5.0.2.1.2.20040113172614.03176c00@195.220.107.3> the http problem is solve with lauching httpd -u i had changed this option in rc.conf but with no result :( for the other problem " symbol (pl) size mismatch relink your program" it is strange because all seems to work fine but i have many error message in the term i had lauched nagios but nagios is doing the checks if someone has a explanation thanks ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 13 18:30:47 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 13 Jan 2004 11:30:47 -0600 Subject: mail notifications Message-ID: <20040113173048.92864.qmail@restricted.dyndns.org> Hi guys, I am wondering why I am getting emails in 2 hours interval for this specific service. Here is what I have in services: define service{ use generic-service host_name cluster1 service_description Microsoft Cluster Service is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups microsoft-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_nrpe!check_service_ClusterService } How and what should I modify so that nagios will email me in the interval of 5 or 10 minutes? And can also give me some insights about how "notification_options" can be useful in notification. I mean such as, when can "c", "r", "d", or "u" be useful in mail notifications. I couldn't find some help from the manual. Thanks in advance. neil ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 13 18:46:22 2004 From: marc at ena.com (Marc Powell) Date: Tue, 13 Jan 2004 11:46:22 -0600 Subject: mail notifications Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A16B@mismail2.ena.com> > -----Original Message----- > From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] > Sent: Tuesday, January 13, 2004 11:31 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] mail notifications > > Hi guys, > > I am wondering why I am getting emails in 2 hours interval for this > specific > service. Here is what I have in services: > > define service{ > use generic-service > > host_name cluster1 > service_description Microsoft Cluster Service > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups microsoft-admins > notification_interval 240 > notification_period 24x7 > notification_options c,r > check_command > check_nrpe!check_service_ClusterService > } > > How and what should I modify so that nagios will email me in the interval > of > 5 or 10 minutes? Your notification interval is currently set to 240 minutes (4 hours) so I'm not sure why you're getting them every two hours for this service. Changing it to 5 or 10 should do what you want. http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service notification_interval: This directive is used to define the number of "time units" to wait before re-notifying a contact that this service is still in a non-OK state. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. If you set this value to 0, Nagios will not re-notify contacts about problems for this service - only one problem notification will be sent out. > And can also give me some insights about how "notification_options" can be > useful in notification. I mean such as, when can "c", "r", "d", or "u" be > useful in mail notifications. I couldn't find some help from the manual. They're useful (and designed) for specifying what state changes you get notified for. If you only want to be notified when something goes critical and then recovers, your notification_options would be 'c,r'. If you only care to be notified when something is unreachable but not when it's critical, down or recovering, then your notification_options would be only 'u'. See the host and service definition documentation on http://nagios.sourceforge.net/docs/1_0/xodtemplate.html if it's still not clear. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 13 18:57:10 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 13 Jan 2004 11:57:10 -0600 Subject: mail notifications In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A16B@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A16B@mismail2.ena.com> Message-ID: <20040113175710.95676.qmail@restricted.dyndns.org> Hi Marc, I thought 240 means 240 seconds. What about these lines: normal_check_interval 5 retry_check_interval 1 Does it mean 5 minutes for normal_check_interval and 1 minute for retry_check_interval? Thanks for the link. Marc Powell writes: > > >> -----Original Message----- >> From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] >> Sent: Tuesday, January 13, 2004 11:31 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] mail notifications >> >> Hi guys, >> >> I am wondering why I am getting emails in 2 hours interval for this >> specific >> service. Here is what I have in services: >> >> define service{ >> use generic-service >> >> host_name cluster1 >> service_description Microsoft Cluster Service >> is_volatile 0 >> check_period 24x7 >> max_check_attempts 3 >> normal_check_interval 5 >> retry_check_interval 1 >> contact_groups microsoft-admins >> notification_interval 240 >> notification_period 24x7 >> notification_options c,r >> check_command >> check_nrpe!check_service_ClusterService >> } >> >> How and what should I modify so that nagios will email me in the > interval >> of >> 5 or 10 minutes? > > Your notification interval is currently set to 240 minutes (4 hours) so > I'm not sure why you're getting them every two hours for this service. > Changing it to 5 or 10 should do what you want. > > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service > > notification_interval: This directive is used to define the number of > "time units" to wait before re-notifying a contact that this service is > still in a non-OK state. Unless you've changed the interval_length > directive from the default value of 60, this number will mean minutes. > If you set this value to 0, Nagios will not re-notify contacts about > problems for this service - only one problem notification will be sent > out. > > >> And can also give me some insights about how "notification_options" > can be >> useful in notification. I mean such as, when can "c", "r", "d", or "u" > be >> useful in mail notifications. I couldn't find some help from the > manual. > > They're useful (and designed) for specifying what state changes you get > notified for. If you only want to be notified when something goes > critical and then recovers, your notification_options would be 'c,r'. If > you only care to be notified when something is unreachable but not when > it's critical, down or recovering, then your notification_options would > be only 'u'. > > See the host and service definition documentation on > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html if it's still > not clear. > > -- > Marc > ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 13 19:00:25 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 13 Jan 2004 12:00:25 -0600 Subject: mail notifications In-Reply-To: <20040113173048.92864.qmail@restricted.dyndns.org> References: <20040113173048.92864.qmail@restricted.dyndns.org> Message-ID: <1074016825.2616.94.camel@localhost> On Tue, 2004-01-13 at 11:30, Neil wrote: > I am wondering why I am getting emails in 2 hours interval for this specific > service. Here is what I have in services: > notification_interval 240 that. > How and what should I modify so that nagios will email me in the interval of > 5 or 10 minutes? notification_interval 5 or notification_interval 10 ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 13 19:06:28 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 13 Jan 2004 12:06:28 -0600 Subject: mail notifications In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A16B@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A16B@mismail2.ena.com> Message-ID: <20040113180628.96667.qmail@restricted.dyndns.org> Sorry guys, all the information are on the link. Marc Powell writes: > > >> -----Original Message----- >> From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] >> Sent: Tuesday, January 13, 2004 11:31 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] mail notifications >> >> Hi guys, >> >> I am wondering why I am getting emails in 2 hours interval for this >> specific >> service. Here is what I have in services: >> >> define service{ >> use generic-service >> >> host_name cluster1 >> service_description Microsoft Cluster Service >> is_volatile 0 >> check_period 24x7 >> max_check_attempts 3 >> normal_check_interval 5 >> retry_check_interval 1 >> contact_groups microsoft-admins >> notification_interval 240 >> notification_period 24x7 >> notification_options c,r >> check_command >> check_nrpe!check_service_ClusterService >> } >> >> How and what should I modify so that nagios will email me in the > interval >> of >> 5 or 10 minutes? > > Your notification interval is currently set to 240 minutes (4 hours) so > I'm not sure why you're getting them every two hours for this service. > Changing it to 5 or 10 should do what you want. > > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service > > notification_interval: This directive is used to define the number of > "time units" to wait before re-notifying a contact that this service is > still in a non-OK state. Unless you've changed the interval_length > directive from the default value of 60, this number will mean minutes. > If you set this value to 0, Nagios will not re-notify contacts about > problems for this service - only one problem notification will be sent > out. > > >> And can also give me some insights about how "notification_options" > can be >> useful in notification. I mean such as, when can "c", "r", "d", or "u" > be >> useful in mail notifications. I couldn't find some help from the > manual. > > They're useful (and designed) for specifying what state changes you get > notified for. If you only want to be notified when something goes > critical and then recovers, your notification_options would be 'c,r'. If > you only care to be notified when something is unreachable but not when > it's critical, down or recovering, then your notification_options would > be only 'u'. > > See the host and service definition documentation on > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html if it's still > not clear. > > -- > Marc > ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 13 19:22:16 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 13 Jan 2004 12:22:16 -0600 Subject: mail notifications In-Reply-To: <20040113180628.96667.qmail@restricted.dyndns.org> References: <370ACCFA5BB3B346A31222E5559BF91F03A16B@mismail2.ena.com> <20040113180628.96667.qmail@restricted.dyndns.org> Message-ID: <20040113182216.98364.qmail@restricted.dyndns.org> Regarding notification_options, specifically to w which is warning. Can someone give me a service that will give a warning status? Am I correct that with the service written below, the parameters specifies the warning and critical values? check_ping!100.0,20%!500.0,60% Then if I put w,c in notification options, I will get email too? If I correctly understood it, how would I simulate this service to fail on the host I am monitoring without shutting down the host? Thanks. Neil ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anders.holm at criticalpath.net Tue Jan 13 19:35:02 2004 From: anders.holm at criticalpath.net (Anders Holm) Date: Tue, 13 Jan 2004 18:35:02 +0000 Subject: mail notifications In-Reply-To: <20040113182216.98364.qmail@restricted.dyndns.org> References: <370ACCFA5BB3B346A31222E5559BF91F03A16B@mismail2.ena.com> <20040113180628.96667.qmail@restricted.dyndns.org> <20040113182216.98364.qmail@restricted.dyndns.org> Message-ID: <40043A56.10001@criticalpath.net> Hi Neil. Use a non-existent host for testing purposes perhaps? Should definitely give you at least a warning message. ;) //Anders// Neil wrote: > Regarding notification_options, specifically to w which is warning. Can > someone give me a service that will give a warning status? Am I correct > that with the service written below, the parameters specifies the > warning and critical values? > check_ping!100.0,20%!500.0,60% > Then if I put w,c in notification options, I will get email too? > If I correctly understood it, how would I simulate this service to fail > on the host I am monitoring without shutting down the host? > Thanks. > Neil > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null -- Anders Holm Sustaining QA Engineer CriticalPath - Dublin - Ireland Support Site: http://support.criticalpath.net/ Corporate Site: http://www.criticalpath.net/ ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 13 19:38:36 2004 From: marc at ena.com (Marc Powell) Date: Tue, 13 Jan 2004 12:38:36 -0600 Subject: mail notifications Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A16C@mismail2.ena.com> > -----Original Message----- > From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] > Sent: Tuesday, January 13, 2004 12:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: mail notifications > > Regarding notification_options, specifically to w which is warning. Can > someone give me a service that will give a warning status? Am I correct > that > with the service written below, the parameters specifies the warning and > critical values? > > check_ping!100.0,20%!500.0,60% > > Then if I put w,c in notification options, I will get email too? Yes, you'll get a WARNING notification when the RTA is >= 100ms or the packet loss is >= 20% and a CRITICAL when the RTA is >= 500ms or the packet loss is greater that 60%. > > If I correctly understood it, how would I simulate this service to fail on > the host I am monitoring without shutting down the host? Either generate enough traffic to the host to cause one or more of the conditions above or significantly lower your thresholds for testing purposes or use a testing host that you can specifically degrade or disable. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 13 19:49:30 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 13 Jan 2004 12:49:30 -0600 Subject: mail notifications In-Reply-To: <40043A56.10001@criticalpath.net> References: <370ACCFA5BB3B346A31222E5559BF91F03A16B@mismail2.ena.com> <20040113180628.96667.qmail@restricted.dyndns.org> <20040113182216.98364.qmail@restricted.dyndns.org> <40043A56.10001@criticalpath.net> Message-ID: <20040113184930.1460.qmail@restricted.dyndns.org> Here is how I wrote it: in hosts.cfg: define host{ use generic-host ; Name of host template to use host_name nonexistent alias Nonexistent machine address 10.43.1.1 check_command check-host-alive max_check_attempts 10 notification_interval 5 notification_period 24x7 notification_options d,u,r } in services.cfg: define service{ use generic-service ; Name of service template to use host_name nonexistent service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options c,w check_command check_ping!100.0,20%!500.0,60% } But I didn't get any warning emails. Although I got an email with the subject of Host DOWN alert for nonexistent! Then on the body of that email, on the Info line, it says, CRITICAL - plugin timeout after 10 seconds. What I was expecting to get is an email with a WARNING message. Please clarify. Thanks again. Anders Holm writes: > Hi Neil. > > Use a non-existent host for testing purposes perhaps? Should definitely > give you at least a warning message. ;) > > //Anders// > > Neil wrote: > >> Regarding notification_options, specifically to w which is warning. Can >> someone give me a service that will give a warning status? Am I correct >> that with the service written below, the parameters specifies the warning >> and critical values? >> check_ping!100.0,20%!500.0,60% >> Then if I put w,c in notification options, I will get email too? >> If I correctly understood it, how would I simulate this service to fail >> on the host I am monitoring without shutting down the host? >> Thanks. >> Neil >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Perforce Software. >> Perforce is the Fast Software Configuration Management System offering >> advanced branching capabilities and atomic changes on 50+ platforms. >> Free Eval! http://www.perforce.com/perforce/loadprog.html >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk being >> sent to /dev/null > > -- > Anders Holm > > Sustaining QA Engineer > CriticalPath - Dublin - Ireland > > Support Site: http://support.criticalpath.net/ > Corporate Site: http://www.criticalpath.net/ > ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 13 19:52:54 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 13 Jan 2004 12:52:54 -0600 Subject: mail notifications In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A16C@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A16C@mismail2.ena.com> Message-ID: <20040113185254.1798.qmail@restricted.dyndns.org> Hi Marc, > > Either generate enough traffic to the host to cause one or more of the > conditions above or significantly lower your thresholds for testing > purposes or use a testing host that you can specifically degrade or > disable. This is what I thought too. Coz pointing it to a non-existing ip address, you will get a request timed out all the way. I got your idea. Just how I did it when I was checking the CPU of my XP using NRPE. I set warning to 1% then critical to 3% just to check if the check_cpu nrpe plugin was really working. :) Thanks again. Neil ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david.nichols at dotech.com Tue Jan 13 20:14:06 2004 From: david.nichols at dotech.com (David Nichols) Date: Tue, 13 Jan 2004 14:14:06 -0500 Subject: Any way to notify of an existing failure when time period becomes active? Message-ID: <4004437E.5010903@dotech.com> Hello, Is there any way to be notified of any/all current failures when a notification time period becomes active? Scenario: I have 24x7 services checks on multiple hosts. I have only one contact person established and the notification period for that contact is "waking hours". What I want is to be notified, when I wake up, of any current failures that were first noted during the night. I don't want to have to log in to check on the status of things. I have the notification_interval set to 0 since I don't want multiple pages for the same problem. Any thoughts? --David ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tskyers at foxroach.com Tue Jan 13 20:19:58 2004 From: tskyers at foxroach.com (Tory M. Skyers) Date: Tue, 13 Jan 2004 14:19:58 -0500 Subject: Log rotation deleting logs Message-ID: >Strange stuff like this could happen because you have multiple >Nagios main processes running. Shutdown Nagios, verify that=20 >no other Nagios processes are running, then start Nagios again. >See also: http://www.nagios.org/faqs/viewfaq.php?faq_id=3D21 >Wolfram Wofram you are a genius! I had some orphaned Nagios process still running from mid December (about when my logs started disappearing!). I hope that's it but I believe you are right, and that may be at the center of the misreporting of the services too! Thanks ! Tory Skyers Network Administrator Prudential Fox & Roach tskyers at foxroach.com 610-993-1327 ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cgill at newworldapps.com Tue Jan 13 20:38:05 2004 From: cgill at newworldapps.com (Chris Gill) Date: Tue, 13 Jan 2004 14:38:05 -0500 Subject: Alerting and graphing load Message-ID: <211FA8F7D88B7A43AA24C138502259780608C6@nwa-dcsrv-01.newworldapps.com> Hi all, I'm using the apan expansion to graph load averages coming off of some of our UNIX systems. Unfortunately, it seems that APAN always, always returns a good code, so there's no way for Nagios to know if it's in a warning or critical state. Is there some way to change this behavior? ----------------------------------------------------------------- Christopher P. Gill, Systems Engineer, New World Apps cgill at newworldapps.com 703-856-7268 (Cell/Business) ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Tue Jan 13 20:52:40 2004 From: mtucker at airmail.net (Michael Tucker) Date: Tue, 13 Jan 2004 13:52:40 -0600 Subject: NEED HELP configuring NSCA with INETD In-Reply-To: <4E71CFD68DCB4E49B04AD93E84827EE922620E@netfinity-1.foundation-it.local> References: <4E71CFD68DCB4E49B04AD93E84827EE922620E@netfinity-1.foundation-it.local> Message-ID: <0B8896B4-4602-11D8-9C25-0030657DF28A@airmail.net> On Tuesday, January 13, 2004, at 08:13 AM, Phil Costelloe wrote: > Hi Michael, > > I've had a look over the config you sent and can't see anything > obviously wrong. I run nsca using xinetd rather than inetd+tcpwrappers. > The common parts of our setups seem functionally the same - that plus > the message you're getting suggests a problem with inetd/tcpwrappers. > The inetd.conf line looks fine but have you restarted inetd since you > made the changes? Obvious I know but I have to ask. :) Which leaves > tcpwrappers looking suspect. You could try temporarily broadening the > line in /etc/hosts.allow to make sure the service name and IP > address(es) are what's really being used. > > Phil > Hi, Phil (and the others who wrote with suggestions): I've tried running nsca under inetd, both with and without tcp wrappers. I've tried opening up /etc/hosts.allow, on both the central server (running nsca) and the distributed server (running send_nsca). Nothing seems to work. Although nsca runs fine as a standalone daemon, it stubbornly refuses to run under inetd, yielding the following message on the distributed server if I attempt to run send_nsca manually: # ./send_nsca {arguments} Error: Server closed connection before init packet was received Error: Could not read init packet from server I'm stumped. Any other thoughts? As a side thought... what are the costs and benefits of running nsca under inetd as opposed to as a standalone daemon? My efforts to run nsca under inetd may be moot, depending on the answer to that question. Yours, Michael ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 planetsphinx.com Tue Jan 13 21:07:21 2004 From: nagios at planetsphinx.com (Mike Cannon) Date: Tue, 13 Jan 2004 14:07:21 -0600 (CST) Subject: How To use User-defined coordinates Message-ID: <22645.204.96.220.49.1074024441.squirrel@www.planetsphinx.com> Greetings! I'm wondering if somebody has written a tutorial, or a more detailed 'How-To' on the subject of User-defined Coordinates. I'm currently not using them, and my map, has become a MESS! (See here, https://netmonitor.moment.net/statusmap.gif 1456x1992 165k) I've read the docs, on the 2d_coords: command.. but do figure that out, it looks like I need to purchase some graph paper, and draw me a map like I used to do for my TRS-80 way back in the day! Is there an easier way to 'un scramble' my mess? Nagios isn't drawing each layer evenly.. and if it would space out the icons a bit more (there is PLENTY of room to do that, because it has jammed everything together!) it might look ok.. any way to specify the minimal spacing? Thanks for any and all help! ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 13 21:10:54 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 13 Jan 2004 14:10:54 -0600 Subject: check_ping Message-ID: <20040113201054.9991.qmail@restricted.dyndns.org> Hey guys, Me again. Question about check_ping!100.0,20%!500.0,60% 1. What would be the ideal or best practice way of finding the parameters for the warning and critical values for check_ping? Btw, just got those parameters from the sample files. 2. I also would like to know how we were able to come up with 20% and 60% on the command above. From the help of check_ping, it tells us that RTA and PL are 2 separate values. So, I can say here that 100.0 is not dependent on the 20%. Am I correct? Thanks again. Neil ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 13 21:25:15 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 13 Jan 2004 14:25:15 -0600 Subject: check_ping In-Reply-To: <20040113201054.9991.qmail@restricted.dyndns.org> References: <20040113201054.9991.qmail@restricted.dyndns.org> Message-ID: <1074025515.25032.101.camel@localhost> On Tue, 2004-01-13 at 14:10, Neil wrote: > Me again. Question about check_ping!100.0,20%!500.0,60% > 1. What would be the ideal or best practice way of finding the parameters > for the warning and critical values for check_ping? Btw, just got those > parameters from the sample files. Depends. My environment has a few different settings. For instance - from where my local DC is (Chicago) to my DC in New Jersey, I'm a little easier on the RTT. Local machines I tolerate less slowness. > 2. I also would like to know how we were able to come up with 20% and 60% on > the command above. From the help of check_ping, it tells us that RTA and PL > are 2 separate values. So, I can say here that 100.0 is not dependent on the > 20%. Am I correct? Correct. Boolean OR. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschelin at hq.nasa.gov Tue Jan 13 21:29:30 2004 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 13 Jan 2004 15:29:30 -0500 Subject: How To use User-defined coordinates In-Reply-To: <22645.204.96.220.49.1074024441.squirrel@www.planetsphinx.com> References: <22645.204.96.220.49.1074024441.squirrel@www.planetsphinx.com> Message-ID: <1074025770.11343.1090.camel@unixgod.hq.nasa.gov> I don't think you're looking at the user definable settings. Check http://www.schelin.org/network.html (geocities site). The first image is a tiny messed up since I've been concentrating on the 3d layout. I've created a hand-drawn network map on a continuous roll of graph paper but once it's in reasonable shape, I'll put it in the 2d part. Carl On Tue, 2004-01-13 at 15:07, Mike Cannon wrote: > Greetings! > > I'm wondering if somebody has written a tutorial, or a more detailed > 'How-To' on the subject of User-defined Coordinates. > > I'm currently not using them, and my map, has become a MESS! > (See here, https://netmonitor.moment.net/statusmap.gif 1456x1992 165k) > > I've read the docs, on the 2d_coords: command.. but do figure that out, > it looks like I need to purchase some graph paper, and draw me a map like > I used to do for my TRS-80 way back in the day! > Is there an easier way to 'un scramble' my mess? Nagios isn't drawing > each layer evenly.. and if it would space out the icons a bit more (there > is PLENTY of room to do that, because it has jammed everything together!) > it might look ok.. any way to specify the minimal spacing? > > Thanks for any and all help! > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Tue Jan 13 21:47:37 2004 From: jrhett at isite.net (Joe Rhett) Date: Tue, 13 Jan 2004 12:47:37 -0800 Subject: Problem with NRPE In-Reply-To: References: <002401c3d91e$d8bdf5c0$5dc810ac@graitmgatt> Message-ID: <20040113204737.GA24999@isite.net> Frankly, I used to feel that way and now I'm starting to lean the other way. After having to scroll down 5 or 6 pages past not only the original content by also the various tag-on advertising that someone does only to find a single line update .... it's stupid. Besides, I have a threaded mail viewer. So I can claim that yours is even worse. Which one is easier to read? Q: What's wrong with posting? Q: What's wrong with posting? A: posting what? Q: What's wrong with posting? A: posting what? Q2: Posting your reply. Q: What's wrong with posting? A: posting what? Q2: Posting your reply. A2: What about posting your reply? Q: What's wrong with posting? A: posting what? Q2: Posting your reply. A2: What about posting your reply? Q3: What's wrong with posting your reply at the top of the message? Q: What's wrong with posting? A: posting what? Q2: Posting your reply. A2: What about posting your reply? Q3: What's wrong with posting your reply at the top of the message? A3: Because it makes it hard to follow the discussion. BLEAH! Compare. Q: What's wrong with posting? A: posting what? Q2: Posting your reply. A2: What about posting your reply? Q3: What's wrong with posting your reply at the top of the message? A3: Nothing. It's a lot easier to read! The end result is the same amount of text, but you are not forced to re-read everything you already read. However, if you wish to review previous notes, they are available for you. Top-posting is the only sensible way to conduct one-sentence responses. On Mon, Jan 12, 2004 at 10:11:36AM -0600, Michael Tucker wrote: > TIP #1 TO POSTERS: > > A: Because it makes it hard to follow the discussion. > Q: What's wrong with posting your reply at the top of the message? > > TIP #2 TO POSTERS: > > Please trim your messages! > > AND NOW, BACK TO THE DISCUSSION IN PROGRESS... > > [Mauro wrote:] > > > > Hi all, > > ? > > I compiled and installed nrpe on HP-UX server. > > I configurated it?to?use inetd modality. > > ? > > When I check from my nagios machine HP-UX server for nrpe I get > > this error: > > ? > > [root at maurox libexec]# ./check_nrpe -H 172.16.200.15 > > CHECK_NRPE: Error - Could not complete SSL handshake. > > ? > > On HP-UX system syslog i get this entry: > > ? > > Jan 12 14:57:59 virgo inetd[10472]: nrpe/tcp: Connection from > > 172.16.200.200 at Mon Jan 12 14:57:59 2004 > > ? > > Could You help me to understand problem? > > ? > > ? > > Thank You > > ? > > Mauro > > > > > > > [Karl Yost replied:] > > > > By default nrpe will compile with SSL enabled. Are you?using SSL? > > If you don't want to use SSL, then re-configure it with the option > > --disable-ssl (check the doc as I am not 100% that is the right) > > > > [Mauro replied:] > > > > I installed SSL on both server: > > NAGISO SERVER> rpm -q -a|grep -i ssl > > openssl-0.9.7a-23 > > HP-UX server>?swlist |grep -i ssl > > ? openssl?????????????????????? 0.9.7c???????? openssl > > > > > > Mauro, there is a problem with SSL in NRPE 2.0 (and OpenSSL 0.9.7). So > far, we've heard from several users running different operating systems > (Solaris 9, AIX 5.1, SUSE 9, Fedora 1, and now HP-UX) who are all > having the same problem. If you're curious, look through the messages > on this board since about December 19; search for "NRPE", "nrpe", "SSL" > or "handshake" in the subject to find the right messages. > > Given this body of evidence, it is almost certainly a bug in NRPE 2.0, > but we haven't heard back from the author of NRPE yet. > > In the mean time, go to your NRPE source directory and do this: > # make distclean > # ./configure --disable-ssl > # make all > > Then copy the new (non-SSL) versions of nrpe and check_nrpe to their > proper locations. > > Yours, > Michael > -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at capband.net Tue Jan 13 22:01:31 2004 From: rob at capband.net (Rob Nelson) Date: Tue, 13 Jan 2004 16:01:31 -0500 Subject: Problem with NRPE In-Reply-To: <20040113204737.GA24999@isite.net> References: <002401c3d91e$d8bdf5c0$5dc810ac@graitmgatt> <20040113204737.GA24999@isite.net> Message-ID: <6.0.1.1.0.20040113155939.01ba9ef0@mail.capband.net> >Frankly, I used to feel that way and now I'm starting to lean the other >way. After having to scroll down 5 or 6 pages past not only the original >content by also the various tag-on advertising that someone does only to >find a single line update .... it's stupid. Most of that can be fixed by people learning to cut and snip intelligently...no need to include everyone's signature, or the Ob paragraph about how Bob's vacation in Ireland went :) If messages were kept short and to the point, having enuf relevant information and no extraneous information, it would be worth it to scroll down a page or two to see a one-line response. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at yahoo.com Tue Jan 13 23:21:38 2004 From: td3201 at yahoo.com (Terry) Date: Tue, 13 Jan 2004 14:21:38 -0800 (PST) Subject: failover/redundant situation - 1 host needs to be monitored Message-ID: <20040113222138.41634.qmail@web60307.mail.yahoo.com> Hello, I have 3 redundant monitoring hosts. I have notifications diabled on two servers while the primary is active. Due to various reasons, one of my disabled/redundant nagios servers needs to monitor 1 host and cannot be monitored by the primary nagios server. How can I still leave notifications disabled at a global level but still monitor and notify this 1 host? Thanks! ===== Terry __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 13 23:24:05 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 13 Jan 2004 22:24:05 +0000 Subject: Problem with NRPE In-Reply-To: <20040113204737.GA24999@isite.net> References: <002401c3d91e$d8bdf5c0$5dc810ac@graitmgatt> <20040113204737.GA24999@isite.net> Message-ID: <20040113222406.6463.qmail@minnow.softflare.net> Joe Rhett writes: > Besides, I have a threaded mail viewer. Gosh, that's handy. If somebody responds to a post that's a couple of days old without quoting anything at all you can spend extra time threading back to read the original question so you know what he's talking about. If you haven't already trashed the original. In those cases where some idiot doesn't quote, it's useful - but I'd prefer not to have to resort to threading back and forth to decipher a post. British Standards on engineering drawings fell for a variant of this fallacy a couple of decades ago. They reasoned that if they substituted meaningful constructs that took time to draw with meaningless constructs that took time to comprehend, they could save a few minutes of a draughtman's time. What they ignored is that most engineering drawings are drawn once and read many, many times (in a large shop, work would be assigned to whoever was free so you might never see one particular drawing often enough to memorize it). Overall, productivity went down because of it. Is that faint line the outline of a screw thread or is the drawing warn? Is that anonymous box a capacitor or a resistor or a transistor or a logic gate or an inductor or a diode? I mention this merely because others try to justify top-posting because it's quicker for them to do it that way, even if it's harder for others to follow. Of course, if everyone saves time by top-posting, because everyone reads more posts than they make, then everyone will end up spending far more time trying to make sense of what they read than the time they save by top-posting. To those who say they don't have the time to do anything other than top-post, I respond that I don't have the time to give them answers to their questions (except I say it in my head and simply delete their post). [...] > Top-posting is the only sensible way to conduct one-sentence responses. Nonsense. Intelligent snipping is the only sensible way to make a response of ANY length. If you top-post an answer that looks like it might be of interest to me then I MIGHT just scroll down to find out what the question was and if your answer really is of interest to me. If you top-post a question asking for clarification to somebody else's answer I WILL ignore it. As will many other people. [Vast quantity of text from a much earlier post in the thread before it digressed into a discussion of top-posting SNIPPED WITH EXTREME PREJUDICE] You, sir, are an idiot. Unfortunately, you are too much of an idiot to even realize that you are an idiot. Not only does top-posting waste brainwidth, all that needlessly-quoted material wastes bandwidth. Allow me to insert a clue suppository. Top-posting is arrogant because it assumes that people are so enamoured of your pearls of wisdom that they will put in extra effort to comprehend your post by scrolling up and down repeatedly to tie up your points with bits in the original post. Top-posting without trimming unnecessary material is arrogant because it assumes that everyone reading the list always reads it at work over a high-bandwidth connection and never, ever reads it in a hotel room over a 56K dial-up over a phone line constructed from damp string held together with chewing gum. Top-posting without trimming unecessary material is arrogant because it says your time is far too important to spend doing something that would benefit others. Top-posting essentially says "my time is more important than yours, all 10 (or 100, or 1,000, or 10,000) of you put together." You are certainly entitled to hold that opinion, but please do not be surprised if the rest of us disagree. And do not be surprised if few people show any inclination to give you help or advice. You might get away with top-posting if you're one of the implementors, because then your time really is more important than that of most others on the list, but if you're looking for advice then you're asking people to spend time they don't have to helping you out for free, so you should make it as easy for them as possible. I mention all this not because I think it will do you the slightest bit of good but that there may be a few people slightly less clueless than yourself who were slightly distracted when they read your post and were persuaded by your arguments. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Tue Jan 13 23:25:07 2004 From: jrhett at isite.net (Joe Rhett) Date: Tue, 13 Jan 2004 14:25:07 -0800 Subject: Problem with NRPE In-Reply-To: <6.0.1.1.0.20040113155939.01ba9ef0@mail.capband.net> References: <002401c3d91e$d8bdf5c0$5dc810ac@graitmgatt> <20040113204737.GA24999@isite.net> <6.0.1.1.0.20040113155939.01ba9ef0@mail.capband.net> Message-ID: <20040113222507.GC255@isite.net> > >Frankly, I used to feel that way and now I'm starting to lean the other > >way. After having to scroll down 5 or 6 pages past not only the original > >content by also the various tag-on advertising that someone does only to > >find a single line update .... it's stupid. > > Most of that can be fixed by people learning to cut and snip > intelligently...no need to include everyone's signature, or the Ob > paragraph about how Bob's vacation in Ireland went :) If messages were > kept short and to the point, having enuf relevant information and no > extraneous information, it would be worth it to scroll down a page or two > to see a one-line response. As compared to seeing the text right at the top? I agree that for detailed responses it makes sense to integrate the reply. But for one line of text, I just saw what they were replying to as the previous message. Don't make me page down past it all just to read one line. -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Tue Jan 13 23:30:08 2004 From: jrhett at isite.net (Joe Rhett) Date: Tue, 13 Jan 2004 14:30:08 -0800 Subject: [OT] Posting etiquette (was Problems with NRPE) In-Reply-To: <40410F0C-460F-11D8-9C25-0030657DF28A@airmail.net> References: <20040113204737.GA24999@isite.net> <40410F0C-460F-11D8-9C25-0030657DF28A@airmail.net> Message-ID: <20040113223008.GD255@isite.net> > However, this is a technical forum, filled with lengthy messages > containing lots of data, the understanding of which depends upon a > grasp of the context of the discussion - i.e., the relevant portions of > the previous messages in the thread - preferably without having to go > back and read all the old messages one by one. Top-posting does not require this, as the previous messages are included in the original reply. > Sometimes it makes sense to say "Here's the summary of my problem. I've > appended config files, etc., to the end of this message." (A variant of > top-posting.) But more often than not, I personally find it easier to > follow a discussion if things are quoted in chronological order, first > to last, with new comments at the end. In detailed discussions, yes. But I am sick and tired of paging down paging down paging down past stuff I have already read a dozen times. > Your post was neither a one-sentence reply, nor did you trim the > irrelevant parts of the message(s) you were quoting. Thus, your lengthy > reply made no sense (to me) until scrolling down to see what you were > replying to; and your overall post was 3 times as long as it needed to > be, due to the inclusion of irrelevant stuff. I'll pay attention to your content-nazi approach when less than half of the messages posted to this list stop including the signatures and advertising of the previous writer. -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 13 23:34:22 2004 From: marc at ena.com (Marc Powell) Date: Tue, 13 Jan 2004 16:34:22 -0600 Subject: failover/redundant situation - 1 host needs to be monitored Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A171@mismail2.ena.com> > -----Original Message----- > From: Terry [mailto:td3201 at yahoo.com] > Sent: Tuesday, January 13, 2004 4:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] failover/redundant situation - 1 host needs to be > monitored > > Hello, > > I have 3 redundant monitoring hosts. I have > notifications diabled on two servers while the primary > is active. Due to various reasons, one of my > disabled/redundant nagios servers needs to monitor 1 > host and cannot be monitored by the primary nagios > server. How can I still leave notifications disabled > at a global level but still monitor and notify this 1 > host? If you're using templates (and you are using templates, aren't you? ;) ), this should be fairly straightforward. Enable notifications globally but in your template applied to all hosts and services, specify the notification_period as 'none' (or notifications_enabled=0 if you don't mind the icon on the web interface). Then, for the host you _do_ want to get notifications for, set the notification_period to 24x7 or whatever you fancy. I'm sure there are other options but that one works well for me. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Tue Jan 13 23:35:20 2004 From: jrhett at isite.net (Joe Rhett) Date: Tue, 13 Jan 2004 14:35:20 -0800 Subject: Problem with NRPE In-Reply-To: <20040113222406.6463.qmail@minnow.softflare.net> References: <002401c3d91e$d8bdf5c0$5dc810ac@graitmgatt> <20040113204737.GA24999@isite.net> <20040113222406.6463.qmail@minnow.softflare.net> Message-ID: <20040113223520.GE255@isite.net> > >Besides, I have a threaded mail viewer. > > Gosh, that's handy. If somebody responds to a post that's a couple > of days old without quoting anything at all you can spend extra time Hm... Good. Let's argue points that weren't raised at all. *plonk* > I mention this merely because others try to justify top-posting because > it's quicker for them to do it that way, even if it's harder for others > to follow. Of course, if everyone saves time by top-posting, because > everyone reads more posts than they make, then everyone will end up > spending far more time trying to make sense of what they read than the > time they save by top-posting. To those who say they don't have the > time to do anything other than top-post, I respond that I don't have the > time to give them answers to their questions (except I say it in my head > and simply delete their post). Again, you are arguing a point I didn't raise. I read a thousand messages for every one I write. I'm not talking about saving time in my posts, I'm talking about saving time when reading. > You, sir, are an idiot. Unfortunately, you are too much of an idiot > to even realize that you are an idiot. No, I'm a sensible person who actually responds to the real issue -- not running off on some random tangent invented inside my head. On the other hand, you seem to think that insulting someone will solve a technical problem. Take your childish attitude problem elsewhere. -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Tue Jan 13 23:39:23 2004 From: jrhett at isite.net (Joe Rhett) Date: Tue, 13 Jan 2004 14:39:23 -0800 Subject: MODERATION REQUEST -- namecalling, sniping and other childish behavior In-Reply-To: <20040113222406.6463.qmail@minnow.softflare.net> References: <002401c3d91e$d8bdf5c0$5dc810ac@graitmgatt> <20040113204737.GA24999@isite.net> <20040113222406.6463.qmail@minnow.softflare.net> Message-ID: <20040113223923.GF255@isite.net> This person evidently feels that their (misguided) opinion is so perfect and true that they are justified in calling people names and talking down to them like a child. Given that this individual appears to have missed the point of the original post entirely, he's just spewing smoke. I am officially requesting that this person be asked to take their condescending and insulting behavior elsewhere. On Tue, Jan 13, 2004 at 10:24:05PM +0000, Paul L. Allen wrote: > Joe Rhett writes: > > >Besides, I have a threaded mail viewer. > > Gosh, that's handy. If somebody responds to a post that's a couple > of days old without quoting anything at all you can spend extra time > threading back to read the original question so you know what he's > talking about. If you haven't already trashed the original. In those > cases where some idiot doesn't quote, it's useful - but I'd prefer not > to have to resort to threading back and forth to decipher a post. > > British Standards on engineering drawings fell for a variant of this > fallacy a couple of decades ago. They reasoned that if they substituted > meaningful constructs that took time to draw with meaningless constructs > that took time to comprehend, they could save a few minutes of a > draughtman's time. What they ignored is that most engineering drawings > are drawn once and read many, many times (in a large shop, work would > be assigned to whoever was free so you might never see one particular > drawing often enough to memorize it). Overall, productivity went down > because of it. Is that faint line the outline of a screw thread or is > the drawing warn? Is that anonymous box a capacitor or a resistor or > a transistor or a logic gate or an inductor or a diode? > > I mention this merely because others try to justify top-posting because > it's quicker for them to do it that way, even if it's harder for others > to follow. Of course, if everyone saves time by top-posting, because > everyone reads more posts than they make, then everyone will end up > spending far more time trying to make sense of what they read than the > time they save by top-posting. To those who say they don't have the > time to do anything other than top-post, I respond that I don't have the > time to give them answers to their questions (except I say it in my head > and simply delete their post). > > [...] > >Top-posting is the only sensible way to conduct one-sentence responses. > > Nonsense. Intelligent snipping is the only sensible way to make a > response of ANY length. If you top-post an answer that looks like it > might be of interest to me then I MIGHT just scroll down to find out what > the question was and if your answer really is of interest to me. If > you top-post a question asking for clarification to somebody else's > answer I WILL ignore it. As will many other people. > > [Vast quantity of text from a much earlier post in the thread before > it digressed into a discussion of top-posting SNIPPED WITH EXTREME > PREJUDICE] > > You, sir, are an idiot. Unfortunately, you are too much of an idiot > to even realize that you are an idiot. Not only does top-posting > waste brainwidth, all that needlessly-quoted material wastes bandwidth. > > Allow me to insert a clue suppository. Top-posting is arrogant because > it assumes that people are so enamoured of your pearls of wisdom that > they will put in extra effort to comprehend your post by scrolling up > and down repeatedly to tie up your points with bits in the original > post. Top-posting without trimming unnecessary material is arrogant > because it assumes that everyone reading the list always reads it at work > over a high-bandwidth connection and never, ever reads it in a hotel room > over a 56K dial-up over a phone line constructed from damp string held > together with chewing gum. Top-posting without trimming unecessary > material is arrogant because it says your time is far too important to > spend doing something that would benefit others. > > Top-posting essentially says "my time is more important than yours, all 10 > (or 100, or 1,000, or 10,000) of you put together." You are certainly > entitled to hold that opinion, but please do not be surprised if the rest > of us disagree. And do not be surprised if few people show any inclination > to give you help or advice. You might get away with top-posting if you're > one of the implementors, because then your time really is more important > than that of most others on the list, but if you're looking for advice > then you're asking people to spend time they don't have to helping you > out for free, so you should make it as easy for them as possible. > > I mention all this not because I think it will do you the slightest bit > of good but that there may be a few people slightly less clueless than > yourself who were slightly distracted when they read your post and were > persuaded by your arguments. > > -- > Paul Allen > Softflare Support > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Tue Jan 13 23:54:45 2004 From: mtucker at airmail.net (Michael Tucker) Date: Tue, 13 Jan 2004 16:54:45 -0600 Subject: [OT] Posting etiquette [DEAD THREAD] In-Reply-To: <20040113223008.GD255@isite.net> References: <20040113223008.GD255@isite.net> Message-ID: <7B5D110B-461B-11D8-9A5E-0030657DF28A@airmail.net> On Tuesday, January 13, 2004, at 04:30 PM, Joe Rhett wrote: > I'll pay attention to your content-nazi approach when less than half of > the messages posted to this list stop including the signatures and > advertising of the previous writer. > > -- > Joe Rhett Chief > Geek > JRhett at Isite.Net Isite Services, > Inc. > *Ding!* We have a winner, by Godwin's Law[1]. You were the first to mention Nazis. Ergo, you have forfeited the discussion, and the thread is dead. By the way, if you can't stand courteous advice without being offended (especially when couched with "this is my opinion, yours might vary"), you might stay away from public forums. To quote you: > This person evidently feels that their (misguided) opinion is so > perfect > and true that they are justified in calling people names and talking > down > to them like a child. Given that this individual appears to have > missed > the point of the original post entirely, he's just spewing smoke. > > I am officially requesting that this person be asked to take their > condescending and insulting behavior elsewhere. Pot == kettle? And what, by the way, did your first reply in this thread (let alone your last one) have to do with "the point of the original post"... which was "Problem with NRPE"? Michael [1] ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 13 23:57:33 2004 From: marc at ena.com (Marc Powell) Date: Tue, 13 Jan 2004 16:57:33 -0600 Subject: [OT] Posting etiquette (was Problems with NRPE) Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A172@mismail2.ena.com> Guys, What is the point of this entire discussion? The Internet is not the same as it was 10 years ago when we all used mutt/pine/elm. Some people are going to top post either because they find it convenient, their mail client doesn't properly prefix the quoted content or that's the only way they know how to respond (thanks Microsoft). On the other hand, some people will reply in context, at relevant locations within the quoted text. Likewise, some people are going to snip content down to the minimum necessary and others are not. No matter how much discussion ensues on this matter, unless you intend to force every list member to read and abide by a posting rules document and moderate this list to approve or reject every post based on those rules, I personally find this entire discussion irrelevant. New users to this list (and there are always new users) are not going to troll the archives looking for this thread. If anything comes of this, I think the best we could hope for would be a posting guidelines document linked off of http://www.nagios.org/mailinglist.php and perhaps a monthly mailing of that same document to the list but that's it. It's not a foolproof solution and no matter what, the things you're complaining about will still happen. The same points apply to HTML v.s. plaintext email as far as I am concerned. While I prefer to send in plaintext, when I respond from some mobile devices I just don't have an option to choose. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 acmecargo.com Tue Jan 13 23:59:45 2004 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Tue, 13 Jan 2004 17:59:45 -0500 Subject: check_NTP Message-ID: <6.0.0.22.2.20040113175825.025e7160@mail.acmecargo.com> I am using check_ntp on several linux hosts and it's working fine. Is there a way to do NTP checks on other various types of equipment? The obvious next choice would be Windows, followed by Cisco. Any thoughts? Dylan ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Wed Jan 14 00:05:31 2004 From: jrhett at isite.net (Joe Rhett) Date: Tue, 13 Jan 2004 15:05:31 -0800 Subject: [OT] Posting etiquette [DEAD THREAD] In-Reply-To: <7B5D110B-461B-11D8-9A5E-0030657DF28A@airmail.net> References: <20040113223008.GD255@isite.net> <7B5D110B-461B-11D8-9A5E-0030657DF28A@airmail.net> Message-ID: <20040113230531.GA5560@isite.net> It was used as an adjective to describe the approach, not an insult to you. Sorry I hit a button for you, but it wasn't meant that way. Calling someone an idiot (as a direct object noun) is a far cry from using '-nazi' to attribute a dictorial style of management on the noun in question (which is NOT a person nor the direct object) On Tue, Jan 13, 2004 at 04:54:45PM -0600, Michael Tucker wrote: > > On Tuesday, January 13, 2004, at 04:30 PM, Joe Rhett wrote: > > >I'll pay attention to your content-nazi approach when less than half of > >the messages posted to this list stop including the signatures and > >advertising of the previous writer. > > > >-- > >Joe Rhett Chief > >Geek > >JRhett at Isite.Net Isite Services, > >Inc. > > > > *Ding!* We have a winner, by Godwin's Law[1]. You were the first to > mention Nazis. Ergo, you have forfeited the discussion, and the thread > is dead. > > By the way, if you can't stand courteous advice without being offended > (especially when couched with "this is my opinion, yours might vary"), > you might stay away from public forums. > > To quote you: > >This person evidently feels that their (misguided) opinion is so > >perfect > >and true that they are justified in calling people names and talking > >down > >to them like a child. Given that this individual appears to have > >missed > >the point of the original post entirely, he's just spewing smoke. > > > >I am officially requesting that this person be asked to take their > >condescending and insulting behavior elsewhere. > > Pot == kettle? > > And what, by the way, did your first reply in this thread (let alone > your last one) have to do with "the point of the original post"... > which was "Problem with NRPE"? > > Michael > > [1] -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Wed Jan 14 00:07:48 2004 From: jrhett at isite.net (Joe Rhett) Date: Tue, 13 Jan 2004 15:07:48 -0800 Subject: [OT] Posting etiquette In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A172@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A172@mismail2.ena.com> Message-ID: <20040113230748.GB5560@isite.net> You are pretty much exactly in the same line of thinking I am. There are times for each style. Trying to dictate a certain style (and calling someone an idiot for not agreeing with your opinions on the topic) are neither very effective. On Tue, Jan 13, 2004 at 04:57:33PM -0600, Marc Powell wrote: > Guys, > > What is the point of this entire discussion? The Internet is not the > same as it was 10 years ago when we all used mutt/pine/elm. Some people > are going to top post either because they find it convenient, their mail > client doesn't properly prefix the quoted content or that's the only way > they know how to respond (thanks Microsoft). On the other hand, some > people will reply in context, at relevant locations within the quoted > text. Likewise, some people are going to snip content down to the > minimum necessary and others are not. No matter how much discussion > ensues on this matter, unless you intend to force every list member to > read and abide by a posting rules document and moderate this list to > approve or reject every post based on those rules, I personally find > this entire discussion irrelevant. New users to this list (and there are > always new users) are not going to troll the archives looking for this > thread. If anything comes of this, I think the best we could hope for > would be a posting guidelines document linked off of > http://www.nagios.org/mailinglist.php and perhaps a monthly mailing of > that same document to the list but that's it. It's not a foolproof > solution and no matter what, the things you're complaining about will > still happen. > > The same points apply to HTML v.s. plaintext email as far as I am > concerned. While I prefer to send in plaintext, when I respond from some > mobile devices I just don't have an option to choose. > > -- > Marc > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Wed Jan 14 00:21:43 2004 From: mtucker at airmail.net (Michael Tucker) Date: Tue, 13 Jan 2004 17:21:43 -0600 Subject: [OT] Posting etiquette [DEAD THREAD] In-Reply-To: <20040113230531.GA5560@isite.net> References: <20040113230531.GA5560@isite.net> Message-ID: <3FC2B219-461F-11D8-9A5E-0030657DF28A@airmail.net> On Tuesday, January 13, 2004, at 05:05 PM, Joe Rhett wrote: > It was used as an adjective to describe the approach, not an insult to > you. Sorry I hit a button for you, but it wasn't meant that way. > > Calling someone an idiot (as a direct object noun) is a far cry from > using '-nazi' to attribute a dictorial style of management on the noun > in question (which is NOT a person nor the direct object) > Sorry, Joe, but you understand English grammar about as much as you tolerate polite criticism of your policies (policies which *are*, by the way, an inconvenience to other readers even if you can't see that, or simply don't care). "Your content-nazi approach" deconstructs to "Your approach, which is that of a content-nazi", which further deconstructs to "You are a content-nazi." Whether that's a "hot button" for me or not, that statement ends the discussion. If you were familiar with Godwin's Law, you would know that it applies to the first person to *even mention* Nazis. If you weren't familiar with it, reading the link I supplied would have made you so. In any case, Godwin's Law isn't a "letter of the law" sort of thing for "rules lawyers" to weasel their way around. It's a "spirit of the law" sort of thing. It's designed to provide a "brick wall" stop to exactly this sort of thread: a run-away pointless discussion which no longer serves the needs of the forum, and which has degenerated to hyperbole and name-calling. I trust that we can drop this, now, and return to helpful Q&A related to Nagios. Good day to you, sir. Michael ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Wed Jan 14 00:26:37 2004 From: jrhett at isite.net (Joe Rhett) Date: Tue, 13 Jan 2004 15:26:37 -0800 Subject: [OT] Posting etiquette [DEAD THREAD] In-Reply-To: <3FC2B219-461F-11D8-9A5E-0030657DF28A@airmail.net> References: <20040113230531.GA5560@isite.net> <3FC2B219-461F-11D8-9A5E-0030657DF28A@airmail.net> Message-ID: <20040113232637.GB6838@isite.net> > Sorry, Joe, but you understand English grammar about as much as you > tolerate polite criticism of your policies (policies which *are*, by > the way, an inconvenience to other readers even if you can't see that, > or simply don't care). What policies? I offered an opinion. I don't have any policies here. > "Your content-nazi approach" deconstructs to "Your approach, which is > that of a content-nazi", which further deconstructs to "You are a > content-nazi." Whether that's a "hot button" for me or not, that > statement ends the discussion. Which wasn't what I meant. I was trying to be humorous, actually .. given the following comment. That attempt apparently fell flat. Again, sorry for the misunderstanding. -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Tue Jan 13 22:27:12 2004 From: mtucker at airmail.net (Michael Tucker) Date: Tue, 13 Jan 2004 15:27:12 -0600 Subject: [OT] Posting etiquette (was Problems with NRPE) In-Reply-To: <20040113204737.GA24999@isite.net> References: <20040113204737.GA24999@isite.net> Message-ID: <40410F0C-460F-11D8-9C25-0030657DF28A@airmail.net> On Mon, Jan 12, 2004 at 10:11:36AM -0600, Michael Tucker wrote: > TIP #1 TO POSTERS: > > A: Because it makes it hard to follow the discussion. > Q: What's wrong with posting your reply at the top of the message? > > TIP #2 TO POSTERS: > > Please trim your messages! > > AND NOW, BACK TO THE DISCUSSION IN PROGRESS... > > [much snippage] To which Joe Rhett replied: > Frankly, I used to feel that way and now I'm starting to lean the other > way. After having to scroll down 5 or 6 pages past not only the > original > content by also the various tag-on advertising that someone does only > to > find a single line update .... it's stupid. > > [much more snippage] > > The end result is the same amount of text, but you are not forced to > re-read everything you already read. However, if you wish to review > previous notes, they are available for you. > > Top-posting is the only sensible way to conduct one-sentence responses. > I agree that for simple "Hi, how are you?" "Fine, thank you. How are you?" type chatty emails, top-posting is convenient. However, this is a technical forum, filled with lengthy messages containing lots of data, the understanding of which depends upon a grasp of the context of the discussion - i.e., the relevant portions of the previous messages in the thread - preferably without having to go back and read all the old messages one by one. Sometimes it makes sense to say "Here's the summary of my problem. I've appended config files, etc., to the end of this message." (A variant of top-posting.) But more often than not, I personally find it easier to follow a discussion if things are quoted in chronological order, first to last, with new comments at the end. I can read it the other way, but this way makes more sense to me. It's only *truly* maddening when a long post has been top- and bottom-posted seemingly at random, thus: >> A3 (top-posted to A2) >>> A2 (top-posted to A1) >>>>> Q1, the original question >>> A1 (bottom-posted to Q1) > A4 (bottom-posted to A3) A5 (bottom-posted to A4), the latest reply This is made worse when people fail to clip long sig's, advertisements, and other garbage frequently attached to each message. And worse still when discussions stray from the original topic without changing the subject line. (Note that I have done so with this message, since this conversation no longer has anything whatsoever to do with NRPE.) Your post was neither a one-sentence reply, nor did you trim the irrelevant parts of the message(s) you were quoting. Thus, your lengthy reply made no sense (to me) until scrolling down to see what you were replying to; and your overall post was 3 times as long as it needed to be, due to the inclusion of irrelevant stuff. To each his (or her) own, your mileage may vary, etc. But I strongly agree with Rob Nelson, who said: > Most of that can be fixed by people learning to cut and snip > intelligently... [and keeping] messages ... short and to the point ... Yours, Michael ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 00:36:35 2004 From: jnichols at pbp.net (Jonathan Nichols) Date: Tue, 13 Jan 2004 15:36:35 -0800 Subject: *Really* OT now.. ;) Re: [OT] Posting etiquette (was Problems with NRPE) In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A172@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A172@mismail2.ena.com> Message-ID: <40048103.8060803@pbp.net> Marc Powell wrote: > Guys, > > What is the point of this entire discussion? The Internet is not the > same as it was 10 years ago when we all used mutt/pine/elm. Some people Oh, I miss those days. > are going to top post either because they find it convenient, their mail > client doesn't properly prefix the quoted content or that's the only way > they know how to respond (thanks Microsoft). On the other hand, some > people will reply in context, at relevant locations within the quoted On a totally unrelated note... How do you tell Outlook to go ahead and act like a normal mail client should? If I try to bottom-post, it justifies everything incorrectly and makes it look like it's part of the stuff I'm trying to quote. I'm lucky enough to be new to Outlook *and* Exchange.. it's a learning project. ;) ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DOlbersen at stbernard.com Wed Jan 14 00:45:07 2004 From: DOlbersen at stbernard.com (David Olbersen) Date: Tue, 13 Jan 2004 15:45:07 -0800 Subject: *Really* OT now.. ;) Re: [OT] Posting etiquette (was Problems with NRPE) Message-ID: Jonathan Nichols wrote: > Marc Powell wrote: > On a totally unrelated note... How do you tell Outlook to go ahead and > act like a normal mail client should? If I try to bottom-post, it > justifies everything incorrectly and makes it look like it's part of the > stuff I'm trying to quote. > > I'm lucky enough to be new to Outlook *and* Exchange.. it's a learning > project. ;) Search for a program called "outlook quote fix" -- it's a wonder :) -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at lovedthanlost.net Wed Jan 14 00:48:21 2004 From: james at lovedthanlost.net (James Turnbull) Date: Wed, 14 Jan 2004 10:48:21 +1100 Subject: *Really* OT now.. ;) Re: [OT] Posting etiquette (was Problems with NRPE) References: <370ACCFA5BB3B346A31222E5559BF91F03A172@mismail2.ena.com> <40048103.8060803@pbp.net> Message-ID: <000f01c3da2f$ba4c3360$3800a8c0@iih.usyd.edu.au> Jonathan Nichols wrote: > On a totally unrelated note... How do you tell Outlook to go ahead and > act like a normal mail client should? If I try to bottom-post, it > justifies everything incorrectly and makes it look like it's part of > the stuff I'm trying to quote. This site contains two tools that integrate with Outlook and OE that force them to quote in a more suitable manner for Usenet and mailing lists. They are both free and work very well if you are forced, as I am, to utililise Mickeysoft products for mail and news. http://home.in.tum.de/~jain/ Regards James Turnbull ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 00:50:38 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 13 Jan 2004 23:50:38 +0000 Subject: Posting etiquette [DEAD THREAD] In-Reply-To: <20040113230531.GA5560@isite.net> References: <20040113223008.GD255@isite.net> <7B5D110B-461B-11D8-9A5E-0030657DF28A@airmail.net> <20040113230531.GA5560@isite.net> Message-ID: <20040113235039.28547.qmail@minnow.softflare.net> Joe Rhett writes: > Calling someone an idiot (as a direct object noun) is a far cry from > using '-nazi' to attribute a dictorial style of management on the noun > in question (which is NOT a person nor the direct object) Let's see. I stated that you were an idiot AND gave reasons showing why this was an objective fact rather than a subjective opinion. You, however, called me a content-nazi without reasons (one might infer that anyone who disagrees with you and gives logical arguments for their disagreement is, in your opinion, a content-nazi). Some people find the term "nazi" to be far more offensive than the term "idiot", particularly when used without any justification, whether one is used as a noun, adjective, adverb, gerund, intensifier or any other part of speech. Perhaps you would have been quite happy if I had labelled your behaviour as idiotic rather than labelling you as an idiot - that is what your specious argument implies. The Nazis were responsible for the home-grown Reichstag fire which they blamed on foreign subversives and used that as an excuse to suspend Germany's constitution and invade Poland as well as censoring anything they disagreed with. From there they progressed to declaring war on much of Europe and Asia and committing horrific atrocities. Idiots, while somewhat annoying, are rarely so destructive. Most people understand that labelling somebody as an nazi WITHOUT justification is far worse than labelling somebody as an idiot WITH justification. BTW, a real nazi would censor your posts by blocking you from the list. I am in no position to do that and would not do so if I could. What I can do is respond to your posts in a way which informs you of the error of your ways. What you do in response is attempt to stifle me by labelling me a nazi (hint: it isn't going to work). BTW2, since I read the most recent posts first, but succumbed to the temptation to scroll past your top-posting, I see you accusing me of talking down to you. I am responding in a way which is appropriate to your manner of posting. The way you respond to my posts, not my posts themselves, is evidence of your childishness. Competent adults recognize valid criticism and attempt to rectify their failings; incompetent adults and children resent valid criticism. Oh, and in case you didn't get it the first time, most of the clueful people here (the ones who can give you answers and are willing to put time and effort into helping you for free) do not like top-posting. By all means continue to top post if that is your desire - I neither can nor would prevent you if that is your wish. Just don't expect answers... -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 00:55:17 2004 From: marc at ena.com (Marc Powell) Date: Tue, 13 Jan 2004 17:55:17 -0600 Subject: *Really* OT now.. ;) Re: [OT] Posting etiquette (was Problems with NRPE) Message-ID: <370ACCFA5BB3B346A31222E5559BF91F014DAF@mismail2.ena.com> -----Original Message----- From: Jonathan Nichols [mailto:jnichols at pbp.net] Sent: Tue 1/13/2004 5:36 PM To: Marc Powell Cc: nagios-users at lists.sourceforge.net Subject: *Really* OT now.. ;) Re: [Nagios-users] [OT] Posting etiquette (was Problems with NRPE) On a totally unrelated note... How do you tell Outlook to go ahead and act like a normal mail client should? If I try to bottom-post, it justifies everything incorrectly and makes it look like it's part of the stuff I'm trying to quote. Tools | Options | Email Options. Be aware that Outlook won't always do it, no matter what you specify here. I have the same problem with OWA, as you can see here, but no option to change it. -- Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Jan 14 00:57:48 2004 From: marc at ena.com (Marc Powell) Date: Tue, 13 Jan 2004 17:57:48 -0600 Subject: *Really* OT now.. ;) Re: [OT] Posting etiquette (was Problems with NRPE) Message-ID: <370ACCFA5BB3B346A31222E5559BF91F014DB0@mismail2.ena.com> -----Original Message----- From: James Turnbull [mailto:james at lovedthanlost.net] Sent: Tue 1/13/2004 5:48 PM To: jnichols at pbp.net; Marc Powell Cc: nagios-users at lists.sourceforge.net Subject: Re: *Really* OT now.. ;) Re: [Nagios-users] [OT] Posting etiquette (was Problems with NRPE) This site contains two tools that integrate with Outlook and OE that force them to quote in a more suitable manner for Usenet and mailing lists. They are both free and work very well if you are forced, as I am, to utililise Mickeysoft products for mail and news. http://home.in.tum.de/~jain/ ------------------------------------ Finally, something useful comes from this thread ;) Thanks! -- Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: From pla at softflare.com Wed Jan 14 00:59:29 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 13 Jan 2004 23:59:29 +0000 Subject: check_NTP In-Reply-To: <6.0.0.22.2.20040113175825.025e7160@mail.acmecargo.com> References: <6.0.0.22.2.20040113175825.025e7160@mail.acmecargo.com> Message-ID: <20040113235929.30445.qmail@minnow.softflare.net> nagios at acmecargo.com writes: > I am using check_ntp on several linux hosts and it's working fine. Is > there a way to do NTP checks on other various types of equipment? The > obvious next choice would be Windows, followed by Cisco. Any thoughts? If it's running an NTP server (even if only exposed on some interfaces) and you can reach an interface that accesses the NTP server from your monitoring machine then it should be possible whatever the platform, as far as I can see. If it's not acting as a server at all, then you can use NRPE or check_by_ssh to run check_ntp against 127.0.0.1 IF it's a *nix box (maybe including OS X) but not on any other platform. The check_ntp plugin is basically written around having either ntpq or ntpdate on a *nix platform. So if you run it on a *nix box to test some remote NTP server of whatever archicture, it should be OK (assuming a reasonable implementation of NTP protocols). If you try to run it against localhost on a non-*nix platform it is unlikely to work. The plugin is in perl, so may well run, but unless it can find ntpq or ntpdate along the *nix paths where they usually live, it will barf. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sdsheeks at thebbgn.net Wed Jan 14 01:05:25 2004 From: sdsheeks at thebbgn.net (S. David Sheeks) Date: Tue, 13 Jan 2004 19:05:25 -0500 Subject: Multiple Users Message-ID: Is there a way to setup nagios to provide logins/passwords for certain people and only have them see their hosts/services that are being monitored? Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From g.vickers at qut.edu.au Wed Jan 14 01:10:18 2004 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 14 Jan 2004 10:10:18 +1000 Subject: [OT] Posting etiquette [DEAD THREAD] In-Reply-To: <20040113232637.GB6838@isite.net> References: <3FC2B219-461F-11D8-9A5E-0030657DF28A@airmail.net> <20040113230531.GA5560@isite.net> <3FC2B219-461F-11D8-9A5E-0030657DF28A@airmail.net> <20040113232637.GB6838@isite.net> Message-ID: <5.2.0.9.2.20040114100931.01f52c08@imap.qut.edu.au> Hello, Please take nagios-users out of the to: or cc: fields please. ================================= 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 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Wed Jan 14 01:34:10 2004 From: jrhett at isite.net (Joe Rhett) Date: Tue, 13 Jan 2004 16:34:10 -0800 Subject: Posting etiquette [DEAD THREAD] In-Reply-To: <20040113235039.28547.qmail@minnow.softflare.net> References: <20040113223008.GD255@isite.net> <7B5D110B-461B-11D8-9A5E-0030657DF28A@airmail.net> <20040113230531.GA5560@isite.net> <20040113235039.28547.qmail@minnow.softflare.net> Message-ID: <20040114003410.GA11425@isite.net> You didn't criticize, you attacked. Defining that someone is an idiot based on your own criteria does not make it an objective fact. Given that more than 90% of the "facts" you stated were not advanced or even mentioned by me, you were actually talking about something or someone other than me in the first place. And now you're trying to justify it by claiming statements that (a) I never originally made to you in the first place, but instead to someone else and (b) again going on on "facts" that aren't part of the situation you are describing. And mostly, just employing barely-hidden insults and yet more direct attacks. Michael, either put these extended personal diatribes to an end, or I'll cease participating in this list and/or offering patches to Nagios. I don't care if they are here, or what they say ... so long as it stops being personal attacks and insults. I have a job to do, and wasting time with people who are unable to read certainly isn't part of it. On Tue, Jan 13, 2004 at 11:50:38PM +0000, Paul L. Allen wrote: > Joe Rhett writes: > > >Calling someone an idiot (as a direct object noun) is a far cry from > >using '-nazi' to attribute a dictorial style of management on the noun > >in question (which is NOT a person nor the direct object) > > Let's see. I stated that you were an idiot AND gave reasons showing > why this was an objective fact rather than a subjective opinion. You, > however, called me a content-nazi without reasons (one might infer > that anyone who disagrees with you and gives logical arguments for > their disagreement is, in your opinion, a content-nazi). Some people > find the term "nazi" to be far more offensive than the term "idiot", > particularly when used without any justification, whether one is used > as a noun, adjective, adverb, gerund, intensifier or any other part of > speech. Perhaps you would have been quite happy if I had labelled your > behaviour as idiotic rather than labelling you as an idiot - that is > what your specious argument implies. > > The Nazis were responsible for the home-grown Reichstag fire which > they blamed on foreign subversives and used that as an excuse to > suspend Germany's constitution and invade Poland as well as censoring > anything they disagreed with. From there they progressed to declaring war > on much of Europe and Asia and committing horrific atrocities. Idiots, > while somewhat annoying, are rarely so destructive. Most people > understand > that labelling somebody as an nazi WITHOUT justification is far worse > than labelling somebody as an idiot WITH justification. > > BTW, a real nazi would censor your posts by blocking you from the list. > I am in no position to do that and would not do so if I could. What I > can do is respond to your posts in a way which informs you of the error > of your ways. What you do in response is attempt to stifle me by > labelling > me a nazi (hint: it isn't going to work). > > BTW2, since I read the most recent posts first, but succumbed to the > temptation to scroll past your top-posting, I see you accusing me of > talking down to you. I am responding in a way which is appropriate to > your manner of posting. The way you respond to my posts, not my posts > themselves, is evidence of your childishness. Competent adults recognize > valid criticism and attempt to rectify their failings; incompetent adults > and children resent valid criticism. > > Oh, and in case you didn't get it the first time, most of the clueful > people here (the ones who can give you answers and are willing to put > time and effort into helping you for free) do not like top-posting. By > all means continue to top post if that is your desire - I neither can > nor would prevent you if that is your wish. Just don't expect answers... > > -- > Paul Allen > Softflare Support > -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 01:33:44 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 14 Jan 2004 00:33:44 +0000 Subject: MODERATION REQUEST -- namecalling, sniping and other childish behavior In-Reply-To: <20040113223923.GF255@isite.net> References: <002401c3d91e$d8bdf5c0$5dc810ac@graitmgatt> <20040113204737.GA24999@isite.net> <20040113222406.6463.qmail@minnow.softflare.net> <20040113223923.GF255@isite.net> Message-ID: <20040114003344.8104.qmail@minnow.softflare.net> Joe Rhett writes: > This person evidently feels that their (misguided) opinion is so perfect > and true that they are justified in calling people names and talking down > to them like a child. Given that this individual appears to have missed > the point of the original post entirely, he's just spewing smoke. > > I am officially requesting that this person be asked to take their > condescending and insulting behavior elsewhere. In another post you called me a "content-nazi". The Nazis were involved in book burning to censor criticism. The Nazis beat up people who criticised them (do a google search on "brown shirts"). You label me in another post as a content-nazi because I DISAGREE with you and dare to criticise your style, yet here you are demanding that the moderators (at the very least) tell me to stop criticising you or (at worst) kick me off the list and exhibiting the sort of censorship you wish to label me with. I will repeat that I would not censor you if I could. But now I will reveal the reason. If I had the power to censor you (I don't) and the will to exercise it (I don't) then doing so would prevent me from enjoying the very real pleasure of responding to your posts. Whereas if you had the power to censor me (you don't) and the will to exercise it (you wish) then you would rush to do so to stop me highlighting your idiocy. One of us definitely exhibits tendencies shown by totalitarian regimes throughout history, but it isn't me. Another clue suppository for you: self-censorship would benefit you more than expressing a wish to censor me. [All the needless stuff that YOU should have snipped when you responded has been snipped by me. DON'T YOU EVER LEARN?] -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Wed Jan 14 01:35:43 2004 From: jrhett at isite.net (Joe Rhett) Date: Tue, 13 Jan 2004 16:35:43 -0800 Subject: Multiple Users In-Reply-To: References: Message-ID: <20040114003543.GB11425@isite.net> Read the section on authentication. It works that way by default. Allowing everyone to see everything is much harder ;-) On Tue, Jan 13, 2004 at 07:05:25PM -0500, S. David Sheeks wrote: > Is there a way to setup nagios to provide logins/passwords for certain > people and only have them see their hosts/services that are being monitored? > > > > Dave > > > -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Wed Jan 14 01:42:27 2004 From: jrhett at isite.net (Joe Rhett) Date: Tue, 13 Jan 2004 16:42:27 -0800 Subject: MODERATION REQUEST -- namecalling, sniping and other childish behavior In-Reply-To: <20040114003344.8104.qmail@minnow.softflare.net> References: <002401c3d91e$d8bdf5c0$5dc810ac@graitmgatt> <20040113204737.GA24999@isite.net> <20040113222406.6463.qmail@minnow.softflare.net> <20040113223923.GF255@isite.net> <20040114003344.8104.qmail@minnow.softflare.net> Message-ID: <20040114004227.GC11425@isite.net> > In another post you called me a "content-nazi". Are you Paul Allen, or Michael Tucker? Or are they both aliases? I made an attempt at humor in a post to Michael Tucker, which was clearly meant to be read as funny if you read the entire sentence. Obviously it fell flat. But that attempt at humor has nothing at all to do with you calling me an idiot, personal direct object. > One of us definitely exhibits tendencies shown by totalitarian > regimes throughout history, but it isn't me. One of us has a sense of humor, and can read. That isn't you either. > Another clue suppository for you: self-censorship would benefit you more > than expressing a wish to censor me. You keep talking about clues, yet you continue to talk about things which were never said, and attacking opinions that were never expressed to you. Perhaps in your universe you do have all the clues ... but your universe doesn't bear much resemblence to reality. I didn't insult you, and I did respond to what you said. You're wasted hundreds of words attacking me for things THAT I DID NOT SAY. I'm not asking for you to be censored. Look the word up in a dictionary. I'm asking for you to moderate your responses, or for them to be moderated by the list owner if you prove yourself unable. -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 01:55:13 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 14 Jan 2004 00:55:13 +0000 Subject: Problem with NRPE In-Reply-To: <20040113223520.GE255@isite.net> References: <002401c3d91e$d8bdf5c0$5dc810ac@graitmgatt> <20040113204737.GA24999@isite.net> <20040113222406.6463.qmail@minnow.softflare.net> <20040113223520.GE255@isite.net> Message-ID: <20040114005513.12820.qmail@minnow.softflare.net> I know I'm beating a dead horse here, but even if the dead horse is incapable of learning, perhaps some of the bystanders are. Joe Rhett writes: >> >Besides, I have a threaded mail viewer. >> >> Gosh, that's handy. If somebody responds to a post that's a couple >> of days old without quoting anything at all you can spend extra time > > Hm... Good. Let's argue points that weren't raised at all. Woohoo! You see the benefit of PROPER quoting? Everyone can see that YOU mentioned having a threaded mail viewer. I was the one that explained the deficiencies of a threaded mail viewer in certain situations. You were the one who then claimed I was arguing a point that had never been raised after you raised it. Threaded mail viewers are not the solution to a human problem. Here's a Kalashnikov - set it on full auto and shoot yourself in the foot - see if you can do yourself as much damage with that. > *plonk* I will hold you to that promise. I have responded to two of your later posts as well as this one, all made after promising that I am in your killfile. >> I mention this merely because others try to justify top-posting because >> it's quicker for them to do it that way, even if it's harder for others >> to follow. Of course, if everyone saves time by top-posting, because >> everyone reads more posts than they make, then everyone will end up >> spending far more time trying to make sense of what they read than the >> time they save by top-posting. To those who say they don't have the >> time to do anything other than top-post, I respond that I don't have the >> time to give them answers to their questions (except I say it in my head >> and simply delete their post). > > Again, you are arguing a point I didn't raise. I read a thousand > messages for every one I write. I'm not talking about saving time in my > posts, I'm talking about saving time when reading. Just how short of comprehension are you???????? I make the point that we all read more posts than we write, therefore if we all optimize for read time we all benefit and if we all optimize for write time we all lose out and you tell me you disagree with me because you feel the same way? Oh and then you compound that stupidity by insisting on optimizing for write time (and maybe your own personal read time even though most other people disagree with you that how you do things is easier to read). I called you arrogant before and I call you arrogant again. Mailing lists are mutual aid groups. Even if your brain is so screwed up that you find top-posting easier to read, most people do not. If you were posting in an attempt to get answers then your approach pretty much guarantees the only answers you will get will be from people who are equally as clueless as yourself. As before, I strongly encourage you to continue posting in a way that pisses people off if that is what you think will optimize your chances of success - I am NOT going to force my opinion upon you no matter how idiotic you are. Oh, and you quoted a load of unnecessary material yet again. >> You, sir, are an idiot. Unfortunately, you are too much of an idiot >> to even realize that you are an idiot. > > No, I'm a sensible person who actually responds to the real issue -- not > running off on some random tangent invented inside my head. So, let's see. Which one of us said that he thought top-posting was a good idea? Ummm, it was you. Which one of us said tha he thought top-posting was a bad idea? Well, quite a few of us, but only AFTER you said it was a good idea. Damn, this is like shooting fish in a barrel. I've dealt with incursions from the idiots in alt.flame before, and even the stupidest of those was smarter than you. Let me give you some sort of advantage, like two rooks, two knights, two bishops, a queen and eight pawns to see if you might be able to win... Anyone with a threading mailer (as you claim to have) can investigate the issue of which of the two of us mentioned top-posting first. And all of those people will say it was you. Yet you blame me as going off on a tangential issue. That Kalashnikov isn't good enough for your meagre talents. Try this Uzi. > On the other hand, you seem to think that insulting someone will solve a > technical problem. What technical problem? Top-posting is a PEBKAC problem, and you are one of the biggest problems existing between keyboard and chair that I have encountered on any technical mailing list in the past few months. Insulting idiots sometimes shocks them into becoming somewhat more clueful. I see little chance of this strategy working in your case, but no other strategy has a higher success rate. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sdsheeks at thebbgn.net Wed Jan 14 02:09:30 2004 From: sdsheeks at thebbgn.net (S. David Sheeks) Date: Tue, 13 Jan 2004 20:09:30 -0500 Subject: Multiple Users In-Reply-To: <20040114003543.GB11425@isite.net> References: <20040114003543.GB11425@isite.net> Message-ID: Okay I have added a user named miller... I login as that user but can't see any services. This is what I get. /// It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. /// Auth is indeed enabled and if I login as nagiosadmin I can see all services. I want this person to only see a single host that I am monitoring. Is this possible? What am I missing :) >Read the section on authentication. It works that way by default. >Allowing everyone to see everything is much harder ;-) >On Tue, Jan 13, 2004 at 07:05:25PM -0500, S. David Sheeks wrote: > Is there a way to setup nagios to provide logins/passwords for certain > people and only have them see their hosts/services that are being monitored? ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sdsheeks at thebbgn.net Wed Jan 14 02:26:00 2004 From: sdsheeks at thebbgn.net (S. David Sheeks) Date: Tue, 13 Jan 2004 20:26:00 -0500 Subject: Multiple Users In-Reply-To: References: Message-ID: I have figured it out... I was not using the same login name as the contact group name. Dave ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 02:38:36 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 14 Jan 2004 01:38:36 +0000 Subject: MODERATION REQUEST -- namecalling, sniping and other childish behavior In-Reply-To: <20040114004227.GC11425@isite.net> References: <002401c3d91e$d8bdf5c0$5dc810ac@graitmgatt> <20040113204737.GA24999@isite.net> <20040113222406.6463.qmail@minnow.softflare.net> <20040113223923.GF255@isite.net> <20040114003344.8104.qmail@minnow.softflare.net> <20040114004227.GC11425@isite.net> Message-ID: <20040114013837.24382.qmail@minnow.softflare.net> Joe Rhett writes: >> In another post you called me a "content-nazi". > > Are you Paul Allen, or Michael Tucker? Or are they both aliases? I am Paul Allen. I made the mistake of scrolling down one of your top-postings and mistaking the attributions. That's easy to do when people top-post and refuse to trim unnecessary material. My apologies. You did not CALL me a content-nazi. > I made an attempt at humor in a post to Michael Tucker, which was clearly > meant to be read as funny if you read the entire sentence. I have yet to see any response from anyone who saw any humour in it, but I have read responses from people who did not find it funny, > But that attempt at humor has nothing at all to do with you > calling me an idiot, personal direct object. You thought calling somebody a content-nazi was funny (although most people would be shocked by an unjustified labelling of somebody as a nazi). I thought calling you an idiot (justifiably so) was absolutely hilarious (I try to write even my flames in an entertaining way) and what is sauce for the goose is obviously sauce for the gander. If humour is sufficient justification for you inaccurately labelling somebody a nazi then humour is clearly sufficient justification for me accurately labelling you an idiot. > You keep talking about clues, yet you continue to talk about things which > were never said, Let's see. Which one of us posted first about top-posting? All those with threading mailers (which you claim to have) will say it was you. Who posted about top-posting being a bad idea? Well, several people, but only AFTER you said it was a good idea. Looks to me like I was talking about something that WAS said, after YOU said it. > and attacking opinions that were never expressed to you. You posted to the list. I read the list. If you don't want me to respond to your opinion, don't post to the list. That's the only way you can guarantee that anyone on the list will not respond to it. > I didn't insult you, and I did respond to what you said. You're wasted > hundreds of words attacking me for things THAT I DID NOT SAY. Nope, I have posted about things you said and the implications of things you said. If you don't want me to respond to your posts then the only way you can do this is not to post at all. Well, there's another way which is beyond your capabilities: post something sensible. More clue suppositories... I get to control what I read, whether or not I respond to it, and what I write in response. You get to control what you read, whether or not you respond to it, and what you write in response. You are perfectly free to put me in your killfile, should you so wish, and thereby never again read what I write. Actually, some posts ago, you claimed that you HAD put me in your killfile yet responded to later posts by me. I'd call you a liar, but that would only upset you. Hey, wait a minute! Because you plonked me, you're not reading this and I can call you a liar and your are unable to respond because you don't see anything I post, LIAR. > I'm not asking for you to be censored. Bwahahahaha. > I'm asking for you to moderate your responses, or for them to be > moderated by the list owner if you prove yourself unable. Even the idiots on alt.flame aren't so stupid as to contradict themselves within the space of a single paragraph. You're not asking for me to be censored, you're asking for the moderator to censor me if I post stuff you don't like. First rule of holes: when you're in one over your head, stop !"%$ing digging. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 02:55:56 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 14 Jan 2004 01:55:56 +0000 Subject: Posting etiquette [DEAD THREAD] In-Reply-To: <20040114003410.GA11425@isite.net> References: <20040113223008.GD255@isite.net> <7B5D110B-461B-11D8-9A5E-0030657DF28A@airmail.net> <20040113230531.GA5560@isite.net> <20040113235039.28547.qmail@minnow.softflare.net> <20040114003410.GA11425@isite.net> Message-ID: <20040114015557.27660.qmail@minnow.softflare.net> Joe Rhett writes: > You didn't criticize, you attacked. And the salient difference, according to your dictionary is? > Defining that someone is an idiot based on your own criteria does not > make it an objective fact. And where, exactly, did I claim it to be an objective fact? Please use your threading mailer to find that post of mine and quote it back to me. Here's a hint. Unless I state that something is a fact, it is my opinion. That's the way normal human beings work. Because I presented evidence supporting my opinion, that does not make my opinion objective fact either. The evidence may be objective fact (or you may dispute it, which you did not). The logic of my arguments may be false (but you did not dispute that either). It is my opinion, based upon objective evidence (that you have not disputed) and upon logical inferrences (that you have not disputed) made from that evidence that you are an idiot. Only those who hold my evidence to be factual and my logic to be correct would agree with my opinion. > Given that more than 90% of the "facts" you stated were not advanced or > even mentioned by me, you were actually talking about something or > someone other than me in the first place. Right. You say X and I point out that X implies Y when Y cannot be true and you counter by saying you never mentioned Y. Some of us have threading newsreaders (you, for one, claims to have such) and can check which of us said what. Some people (mentioning no names) claim to have plonked me several posts ago yet are still responding to me. [...] > And mostly, just employing barely-hidden insults I resent that remark. If I insult somebody, I don't hide it. You have PROVEN yourself to be an idiot and a liar in this thread (hint, you plonked me several posts ago). > and yet more direct attacks. I don't suffer fools gladly. > Michael, either put these extended personal diatribes to an end, or I'll > cease participating in this list and/or offering patches to Nagios. I > don't care if they are here, or what they say ... so long as it stops > being personal attacks and insults. It is entirely impersonal. The only thing I know about you is how you have responded here and I have given my opinions on your comments here. No matter what my connection with the list moderator, I would NEVER try to exert influence upon unfavourable comments. If I am wrong, then people can post pointing out my errors and laugh at me; if I am right then people will laugh at those who attack me. Hey, you quoted yet another load of unnecessary material without stripping it. Anyone with a threading newsreader can tell that I am telling the truth about this. IN MY OPINION, anyone who quotes unnecessary material is an arrogant idiot. This is only my opinion, but objective facts and logic support my opinion... -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 03:01:29 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 14 Jan 2004 02:01:29 +0000 Subject: Multiple Users In-Reply-To: References: Message-ID: <20040114020129.28912.qmail@minnow.softflare.net> S. David Sheeks writes: > Is there a way to setup nagios to provide logins/passwords for certain > people and only have them see their hosts/services that are being > monitored? Yes. It's all in the docs. If the user validates by htaccess and is a user defined in a contact group then the user can see all hosts/ services that notify that contact group. Certain users get global "see everything" rights. Again, it IS in the documentation, although you have to hunt around a little because there's no single "who gets to see what" page (or maybe there is and I missed it). -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 03:48:10 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Tue, 13 Jan 2004 21:48:10 -0500 Subject: multiple IP In-Reply-To: References: Message-ID: <1074048490.1311.1.camel@localhost.localdomain> On Tue, 2004-01-13 at 11:03, Matt Pounsett wrote: > On Tue, 13 Jan 2004, Alessio Ciregia wrote: > > > In the FAQ i have read that I can assign more than one IP to an host. > > So, I have a multi homed gateway so I want to monitor the two NIC's IP > > address. > > > > Well, if in the host definition of this machine I put the two addresses > > (ie 192.168.1.1,192.168.2.1) I receive an error that the host is not > > respondig. > > The thing that the docs imply, but don't really seem to go into much detail > about, is the fact that your plugins must support whatever you stick in the > host address field. If this is a list of addresses, then the plugins used for > that host must support receiving a list of addresses. I'm not aware of any, > but it's possible some of the plugins distributed in the Plugins v1.3.1 > distribution support this; the check_ping plugin, which it sounds like you are > using, does not. 1.4 series (in alpha right now) does. > The plugin would have to make intelligent decisions about which IP to check > (or some, or possibly all of them) and when to report error conditions based > on how many of them are unreachable, if any. Succeeds if any listed interface is up. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 14 03:52:41 2004 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 13 Jan 2004 21:52:41 -0500 (EST) Subject: Event Managers In-Reply-To: References: Message-ID: On Fri, 9 Jan 2004 lilesb at ijet.com wrote: > This might be a bit off topic, but is anyone using any type of event > management or even correlation app with Nagios? Nagios is real good at what > it does. I point it at a host; I can monitor memory, disk, ping times and > the like. > > > > Monitoring more abstract items is a little flaky. How do I monitor a web > application? A web application can have many parts ranging from web servers > to databases to application servers and the physical hosts they run on. > > > > I have written some code that takes inputs from many types of sources to > actually be able to see the "health" of a service, not just the "health" of > its resources. Currently, my application can accept syslog, snmptraps, > emails and Nagios alert messages. It will then look at the sub of the parts > and try to determine what is really happening and alert on that. I guess > I'm trying to take my monitoring to the next level. > > > > Is there any interest in this? > > Did you look at SEC for a comparison ? http://www.estpak.ee/~risto/sec/ -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 14 04:01:38 2004 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 13 Jan 2004 22:01:38 -0500 (EST) Subject: rrdtool/mrtg In-Reply-To: References: Message-ID: On Tue, 13 Jan 2004, L Arnts wrote: > Hi, > > I'am looking for a solution to read rrdtool databases created with mrtg so that i can let nagios check the use of a WAN connection. > The APAN util can't be used because that the rrdtool databases are on an other machine due to high performace load of our nagios machine. > I can read the rrdtool database. > using nrpe and check_rrd_data (any rrd data files) -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Wed Jan 14 07:07:25 2004 From: jrhett at isite.net (Joe Rhett) Date: Tue, 13 Jan 2004 22:07:25 -0800 Subject: MODERATION REQUEST -- namecalling, sniping and other childish behavior In-Reply-To: <20040114013837.24382.qmail@minnow.softflare.net> References: <002401c3d91e$d8bdf5c0$5dc810ac@graitmgatt> <20040113204737.GA24999@isite.net> <20040113222406.6463.qmail@minnow.softflare.net> <20040113223923.GF255@isite.net> <20040114003344.8104.qmail@minnow.softflare.net> <20040114004227.GC11425@isite.net> <20040114013837.24382.qmail@minnow.softflare.net> Message-ID: <20040114060725.GB4119@isite.net> My only statement regarding your writing is that insults are not technical contributions, and detract from the list. Nothing else that you are fantasing here is part of what I said. You are a serious piece of work. Get some help. On Wed, Jan 14, 2004 at 01:38:36AM +0000, Paul L. Allen wrote: > Joe Rhett writes: > > >>In another post you called me a "content-nazi". > > > >Are you Paul Allen, or Michael Tucker? Or are they both aliases? > > I am Paul Allen. I made the mistake of scrolling down one of your > top-postings and mistaking the attributions. That's easy to do when > people top-post and refuse to trim unnecessary material. > > My apologies. You did not CALL me a content-nazi. > > >I made an attempt at humor in a post to Michael Tucker, which was clearly > >meant to be read as funny if you read the entire sentence. > > I have yet to see any response from anyone who saw any humour in it, > but I have read responses from people who did not find it funny, > > >But that attempt at humor has nothing at all to do with you > >calling me an idiot, personal direct object. > > You thought calling somebody a content-nazi was funny (although most > people would be shocked by an unjustified labelling of somebody as a > nazi). I thought calling you an idiot (justifiably so) was absolutely > hilarious (I try to write even my flames in an entertaining way) and > what is sauce for the goose is obviously sauce for the gander. If > humour is sufficient justification for you inaccurately labelling somebody > a nazi then humour is clearly sufficient justification for me accurately > labelling you an idiot. > > >You keep talking about clues, yet you continue to talk about things which > >were never said, > > Let's see. Which one of us posted first about top-posting? All those > with threading mailers (which you claim to have) will say it was you. > Who posted about top-posting being a bad idea? Well, several people, > but only AFTER you said it was a good idea. Looks to me like I was > talking about something that WAS said, after YOU said it. > > >and attacking opinions that were never expressed to you. > > You posted to the list. I read the list. If you don't want me to respond > to your opinion, don't post to the list. That's the only way you can > guarantee that anyone on the list will not respond to it. > > >I didn't insult you, and I did respond to what you said. You're wasted > >hundreds of words attacking me for things THAT I DID NOT SAY. > > Nope, I have posted about things you said and the implications of things > you said. If you don't want me to respond to your posts then the only way > you can do this is not to post at all. Well, there's another way which > is beyond your capabilities: post something sensible. > > More clue suppositories... I get to control what I read, whether or not > I respond to it, and what I write in response. You get to control what > you read, whether or not you respond to it, and what you write in > response. > You are perfectly free to put me in your killfile, should you so wish, > and thereby never again read what I write. Actually, some posts ago, you > claimed that you HAD put me in your killfile yet responded to later posts > by me. > > I'd call you a liar, but that would only upset you. Hey, wait a minute! > Because you plonked me, you're not reading this and I can call you a > liar and your are unable to respond because you don't see anything I > post, LIAR. > > >I'm not asking for you to be censored. > > Bwahahahaha. > > >I'm asking for you to moderate your responses, or for them to be > >moderated by the list owner if you prove yourself unable. > > Even the idiots on alt.flame aren't so stupid as to contradict themselves > within the space of a single paragraph. You're not asking for me to be > censored, you're asking for the moderator to censor me if I post stuff > you don't like. > > First rule of holes: when you're in one over your head, stop !"%$ing > digging. > > -- > Paul Allen > Softflare Support > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Wed Jan 14 07:11:55 2004 From: jrhett at isite.net (Joe Rhett) Date: Tue, 13 Jan 2004 22:11:55 -0800 Subject: Posting etiquette [DEAD THREAD] In-Reply-To: <20040114015557.27660.qmail@minnow.softflare.net> References: <20040113223008.GD255@isite.net> <7B5D110B-461B-11D8-9A5E-0030657DF28A@airmail.net> <20040113230531.GA5560@isite.net> <20040113235039.28547.qmail@minnow.softflare.net> <20040114003410.GA11425@isite.net> <20040114015557.27660.qmail@minnow.softflare.net> Message-ID: <20040114061155.GC4119@isite.net> > Joe Rhett writes: > >Defining that someone is an idiot based on your own criteria does not > >make it an objective fact. On Wed, Jan 14, 2004 at 01:55:56AM +0000, Paul L. Allen wrote: > And where, exactly, did I claim it to be an objective fact? Please > use your threading mailer to find that post of mine and quote it > back to me. On Tue, Jan 13, 2004 at 11:50:38PM +0000, Paul L. Allen wrote: Let's see. I stated that you were an idiot AND gave reasons showing why this was an objective fact rather than a subjective opinion. You really are living in a fantasy life unrelated to reality. Please go away. -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmartin at gsi-kc.com Wed Jan 14 07:28:04 2004 From: jmartin at gsi-kc.com (Martin, Jeremy) Date: Wed, 14 Jan 2004 00:28:04 -0600 Subject: 3. Anyone using temperature sensors? (Frank Pikelner) Message-ID: > Yes! I am using the temptrax temp sensor listed on nagios's home > page. We have the 2 port version and it works great, the module > works great. It was easy to setup and it's been working reliably > for about 4 months now! It's been a life saver because sometimes > the a/c unit in the server room would act up on the weekends and > no one would know :). We have an 8 port one which is working reliably. We're also graphing the temperatures in Cacti/rrdtool - its fun seeing how the temperature went up when people were out in the data center working on a server :-) My only wish for the Temptrax though - a humidity reading too. Our current workaround -- we have a few of the inputs running to our Liebert A/Cs so if they are having any alarms go off it trips the Temptrax wire and the value for that port goes from -99 to 255. The Nagios plugin normally gives a warning that the wire isn't connected to anything if the value is -99 but it was easy to modify the source code to disable that behavior. So our A/Cs are set to a decent high/low humidity warning so we get paged if it goes off. Jeremy ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmartin at gsi-kc.com Wed Jan 14 07:32:39 2004 From: jmartin at gsi-kc.com (Martin, Jeremy) Date: Wed, 14 Jan 2004 00:32:39 -0600 Subject: Notification blackout ignored (repost) Message-ID: (RedHat 9, Nagios 1.1, Nagios-plugins 1.3.1 -----Original Message----- From: Martin, Jeremy Sent: Tuesday, January 13, 2004 5:09 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Notification blackout ignored From: Andreas Koch [mailto:a.koch at eurodata.de] > which you do, are a little too exaggerated. > The better option are: > max_check_attempts 5 > retry_check_interval 1 > this causes when the nagios server notice that the Service is down he > check the Service 5 (max_check_attempts) times all 1 minute. > thus, if the service 5 minutes long down is, only one informs. > When the Service with the 3 check again ok is, is not informed. Hi, I am already trying to use max_check_attempts 5 and retry_check_interval 1 for these checks. Unfortunately it is still sending us warnings/pages every night despite these settings. In fact on some I am even trying max_check_attempts 10 but it's still not working. It seems when it gets a "connection refused by host" Nagios ignores retry_check_interval and keeps retrying 5 or 10 times in the same second. Is there any way to change this behavior? Here is an example from the event log: [01-13-2004 04:46:07] HOST NOTIFICATION: Admin;www.whatever.com;DOWN;host-notify-by-email;Connection refused by host [01-13-2004 04:46:06] HOST NOTIFICATION: Admin;www.whatever.com;DOWN;host-notify-by-epager;Connection refused by host [01-13-2004 04:46:06] HOST ALERT: www.whatever.com;DOWN;HARD;10;Connection refused by host [01-13-2004 04:46:06] HOST ALERT: www.whatever.com;DOWN;SOFT;9;Connection refused by host [01-13-2004 04:46:06] HOST ALERT: www.whatever.com;DOWN;SOFT;8;Connection refused by host [01-13-2004 04:46:06] HOST ALERT: www.whatever.com;DOWN;SOFT;7;Connection refused by host [01-13-2004 04:46:06] HOST ALERT: www.whatever.com;DOWN;SOFT;6;Connection refused by host [01-13-2004 04:46:06] HOST ALERT: www.whatever.com;DOWN;SOFT;5;Connection refused by host [01-13-2004 04:46:06] HOST ALERT: www.whatever.com;DOWN;SOFT;4;Connection refused by host [01-13-2004 04:46:06] HOST ALERT: www.whatever.com;DOWN;SOFT;3;Connection refused by host [01-13-2004 04:46:06] HOST ALERT: www.whatever.com;DOWN;SOFT;2;Connection refused by host [01-13-2004 04:46:06] HOST ALERT: www.whatever.com;DOWN;SOFT;1;Connection refused by host Thanks, and best wishes, Jeremy ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 14 08:04:03 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Wed, 14 Jan 2004 08:04:03 +0100 Subject: Supervise a dial UP host Message-ID: <1074063843.5160.448.camel@dresden.eurodata.de> Hello nagios User, who can help me? I would supervise a dial-up host with nagios. Did this already someone solve? Thanks for your support Andreas ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 08:46:22 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 14 Jan 2004 01:46:22 -0600 Subject: network topology learning Message-ID: <20040114074622.80715.qmail@restricted.dyndns.org> hi guys, is there any auto topology learning capability in nagios similar to hpopenview? If so, how do we implement it? Thanks. neil ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 10:49:14 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 14 Jan 2004 09:49:14 +0000 Subject: Posting etiquette [DEAD THREAD] In-Reply-To: <20040114061155.GC4119@isite.net> References: <20040113223008.GD255@isite.net> <7B5D110B-461B-11D8-9A5E-0030657DF28A@airmail.net> <20040113230531.GA5560@isite.net> <20040113235039.28547.qmail@minnow.softflare.net> <20040114003410.GA11425@isite.net> <20040114015557.27660.qmail@minnow.softflare.net> <20040114061155.GC4119@isite.net> Message-ID: <20040114094914.23558.qmail@minnow.softflare.net> Joe Rhett writes: >> Joe Rhett writes: >> >Defining that someone is an idiot based on your own criteria does not >> >make it an objective fact. > > On Wed, Jan 14, 2004 at 01:55:56AM +0000, Paul L. Allen wrote: >> And where, exactly, did I claim it to be an objective fact? Please >> use your threading mailer to find that post of mine and quote it >> back to me. > > On Tue, Jan 13, 2004 at 11:50:38PM +0000, Paul L. Allen wrote: > > Let's see. I stated that you were an idiot AND gave reasons showing > why this was an objective fact rather than a subjective opinion. Oh, so I did. My apologies for misremembering. But, then again, as I pointed out then, I DID give reasons - which you have not refuted. However, I do note that you appear to have managed to learn how to trim irrelevant quoted material, so things are improving. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 11:04:59 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 14 Jan 2004 10:04:59 +0000 Subject: MODERATION REQUEST -- namecalling, sniping and other childish behavior In-Reply-To: <20040114060725.GB4119@isite.net> References: <002401c3d91e$d8bdf5c0$5dc810ac@graitmgatt> <20040113204737.GA24999@isite.net> <20040113222406.6463.qmail@minnow.softflare.net> <20040113223923.GF255@isite.net> <20040114003344.8104.qmail@minnow.softflare.net> <20040114004227.GC11425@isite.net> <20040114013837.24382.qmail@minnow.softflare.net> <20040114060725.GB4119@isite.net> Message-ID: <20040114100459.31280.qmail@minnow.softflare.net> Joe Rhett writes: > My only statement regarding your writing is that insults are not > technical contributions, and detract from the list. That is a reasonable viewpoint to hold. I cannot fault you for believing that the list should contain only technical contributions and for believing that insults detract from the list. I may disagree with that viewpoint, but I cannot fault you for holding it. > You are a serious piece of work. Get some help. And then you insult me. Ummm, do you see any problem with that paragraph you wrote? Something to do with pots and kettles, perhaps? It would appear that you do not believe that you should follow the same standards you wish to impose upon others. [Another large quantity of unnecessarily-quoted material snipped] As you can see, I snipped all the stuff you quoted that was unnecessary. I believe unnecessarily-quoted material should be snipped by others and, unlike you, I try to behave in the same way that I wish others would: I say unnecessarily-quoted material should be snipped and behave consistently by snipping it myself. You believe insults detract from the list yet insult me on the list. I'd call you a hypocrite, but you would deem that an insult even though your own post shows that to be an objective fact. In one paragraph you inform us that insults detract from the list and in the very next paragraph you insult me. Let me guess: it was meant to be humour that fell flat, just like when you insulted somebody by calling him a content-nazi. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarnat at altran.net Wed Jan 14 12:04:03 2004 From: jcarnat at altran.net (Joel CARNAT) Date: Wed, 14 Jan 2004 12:04:03 +0100 Subject: headers and message-ID of email notifications Message-ID: <20040114120403.61e890de.jcarnat@altran.net> Hi, I would like to link email alerts dealing with a single event. Lets say I receive : -> PROBLEM alert - SomeHost/Load is WARNING -> PROBLEM alert - SomeHost/Load is WARNING -> PROBLEM alert - SomeHost/Load is WARNING -> PROBLEM alert - SomeHost/Load is CRITICAL -> RECOVERY alert - SomeHost/Load is OK In my current conf, I get those 5 mails in a "independent" way. That is, none of those are linked (from the mail-client point of view), but I know they are. Can nagios send the 4 last mails with a 'In-Reply-To:' or 'References:' or 'Re: subject', so that my email client can thread them ? Thanks for answers, Jo ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rplewe at hpce.nec.com Wed Jan 14 13:22:36 2004 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Wed, 14 Jan 2004 13:22:36 +0100 Subject: check_by_ssh returning UNKNOWN In-Reply-To: <20040109145732.GF3462@hpce.nec.com> References: <20040109135321.GD3462@hpce.nec.com> <20040109142544.29689.qmail@minnow.softflare.net> <20040109145732.GF3462@hpce.nec.com> Message-ID: <20040114122236.GI3784@hpce.nec.com> On Fri, Jan 09, 2004 at 03:57:32PM +0100, Rasmus Plewe wrote: > On Fri, Jan 09, 2004 at 02:25:44PM +0000, Paul L. Allen wrote: > > [...] > > 3) Fix whatever SSH complains about (usually the first manual login > > gets rid of the xauthority message that trips up check_by_ssh). > > No complaints. And, as I said: Sometimes it returns OK, but mostly > UNKNOWN. > > *sigh* Since I'm out of logically possible explanations, I will > probably have to start with wild guesses and phenomenological > trial and error. A complete mystery... Just for the records: even though there were no ssh complaints, upgrading the ssh version on the client fixed the problem. Or perhaps I should, more accurately, say: since the ssh version was updated, the problems are gone. I still have no explanation, but as long as everything works I don't neccessarily need one... Regards, Rasmus ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 13:31:24 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Wed, 14 Jan 2004 07:31:24 -0500 Subject: Posting etiquette [and MODERATION REQUEST] In-Reply-To: <20040114094914.23558.qmail@minnow.softflare.net> References: <20040113223008.GD255@isite.net> <7B5D110B-461B-11D8-9A5E-0030657DF28A@airmail.net> <20040113230531.GA5560@isite.net> <20040113235039.28547.qmail@minnow.softflare.net> <20040114003410.GA11425@isite.net> <20040114015557.27660.qmail@minnow.softflare.net> <20040114061155.GC4119@isite.net> <20040114094914.23558.qmail@minnow.softflare.net> Message-ID: <1074083483.1593.16.camel@localhost.localdomain> Consider this as a moderation response from a developer on the nagios/nagios plugins projects. Please stop. FWIW, these lists have informally operated on a few simple policies: 1) Treat other list members with respect 2) Advertising and social commentary is not wanted 3) Generally follow RFC 1855 In following RFC 1855, I personally am concerned about the usability of the archive, which means: - Please try and use text instead of HTML - Don't hijack threads Please note, however, that I placed RFC 1855 at the last on the list. If other developers on the various Nagios projects wish to establish a formal set of netiquette guidelines, I'm willing to do that off-list. Until such time, I'd like to suggest that people refer to the above statements. -- Karl DeBisschop Nagios Plugins Developer ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdiehl at rogueind.com Wed Jan 14 13:47:40 2004 From: tdiehl at rogueind.com (Tom Diehl) Date: Wed, 14 Jan 2004 07:47:40 -0500 (EST) Subject: Supervise a dial UP host In-Reply-To: <1074063843.5160.448.camel@dresden.eurodata.de> References: <1074063843.5160.448.camel@dresden.eurodata.de> Message-ID: On Wed, 14 Jan 2004, Andreas Koch wrote: > Hello nagios User, > > who can help me? I wish I knew. > I would supervise a dial-up host with nagios. > > Did this already someone solve? Not as far as I can tell. I have asked similar questions about this several times over the last several months and received zero replies. :-( If you do find a good solutiom I would be interested in it. I was previouly using Big Brother and it had dialup support built in. I wish I was good enough to modify the code to do this but alas I am not. Good luck, .....Tom ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ejl at man.fwltech.com Wed Jan 14 14:34:30 2004 From: ejl at man.fwltech.com (Ewan Leith) Date: Wed, 14 Jan 2004 13:34:30 -0000 Subject: Supervise a dial UP host Message-ID: <1012BD903945D411915500105A48FF5701C73D45@nt.man.fwltech.com> The way I would do it is using nagios running on the remote host, and setup a script using send_nsca to report passive retults if something other than a OK report was received. it wouldn't be difficult. http://nagios.sourceforge.net/docs/1_0/addons.html#nsca and http://nagios.sourceforge.net/docs/1_0/distributed.html has some documentation to get started. Ewan > -----Original Message----- > From: Tom Diehl [mailto:tdiehl at rogueind.com] > Sent: 14 January 2004 12:48 > To: Andreas Koch > Cc: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Supervise a dial UP host > > > On Wed, 14 Jan 2004, Andreas Koch wrote: > > > Hello nagios User, > > > > who can help me? > > I wish I knew. > > > I would supervise a dial-up host with nagios. > > > > Did this already someone solve? > > Not as far as I can tell. I have asked similar questions > about this several > times over the last several months and received zero replies. :-( > If you do find a good solutiom I would be interested in it. I > was previouly > using Big Brother and it had dialup support built in. > > I wish I was good enough to modify the code to do this but > alas I am not. > > Good luck, > > .....Tom > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at capband.net Wed Jan 14 14:38:30 2004 From: rob at capband.net (rob at capband.net) Date: Wed, 14 Jan 2004 08:38:30 -0500 Subject: Multiple Users Message-ID: > Auth is indeed enabled and if I login as nagiosadmin I can see all services. > I want this person to only see a single host that I am monitoring. Is this > possible? What am I missing :) I'm not sure if you've gotten a reply yet (my #@!% laptop is broke AGAIN and I'm stuck with webmail), but what you want to do is either look thru cgi.cfg for: # GLOBAL HOST/SERVICE VIEW ACCESS # These two options are comma-delimited lists of all usernames that # can view information for all hosts and services that are being # monitored. By default, users can only view information # for hosts or services that they are contacts for (unless you # you choose to not use authorization). You may use an asterisk (*) # to authorize any user who has authenticated to the web server. authorized_for_all_services=* authorized_for_all_hosts=* Change those last two lines, preferably to some sort of "global" account that you and your boss/coworker might have, not a login that's shared with any of the restricted departments. The above gives access to look at the services/hosts, the section below gives access to the commands (like downtime or comments) associated with them, so you'll want to change it to: # GLOBAL HOST/SERVICE COMMAND ACCESS # These two options are comma-delimited lists of all usernames that # can issue host or service related commands via the command # CGI (cmd.cgi) for all hosts and services that are being monitored. # By default, users can only issue commands for hosts or services # that they are contacts for (unless you you choose to not use # authorization). You may use an asterisk (*) to authorize any # user who has authenticated to the web server. authorized_for_all_service_commands=* authorized_for_all_host_commands=* Once you change those, you'll want to modify hostgroups.cfg - I won't paste my hostlists as most groups have 50+ devices, but you can figure out the last two lines from the sample cfg file: define hostgroup{ hostgroup_name shellbrook alias Shellbrook Equipment contact_groups radio-admins Only members of "radio-admins" will be able to view these services. Who are they? Yet another file, contactgroups.cfg: define contactgroup{ contactgroup_name radio-admins alias Radio/Site Administrators members rob, brad, boris, jeffw, awilliams, peter } Who are the members, you ask? Glad you did, there's one more file :) contacts.cfg: define contact{ contact_name rob alias Rob Nelson service_notification_period 24x7 host_notification_period 24x7 service_notification_options u,c,r host_notification_options d,u,r service_notification_commands notify-null # service_notification_commands notify-by-email host_notification_commands notify-null # host_notification_commands host-notify-by-email email rob at capband.net } As an aside, notify-by-email and host-notify-by-email are normal. Since our network, due to reasons beyond my control - finance - is perpetually broken and I don't like sorting thru 1600 messages on webmail, I created a notify-null option so that I can still be a contact. Since I rely on the notification options in my host and services definitions and don't use escalations.cfg, it's the easiest way to not get mail but still be on the contact list. So your path is to change cgi.cfg to not let just anyone see all the hosts. Then create groups in hostgroups.cfg who can view particular items - an item may be in multiple hostgroups, as well. The contact list used in hostgroups.cfg is defined contactgroups.cfg. These members are defined in contacts.cfg. Hope that helps! ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpratt at moinfo.com Wed Jan 14 15:03:22 2004 From: mpratt at moinfo.com (Michael Pratt) Date: Wed, 14 Jan 2004 08:03:22 -0600 Subject: [OT] Posting etiquette [DEAD THREAD] Message-ID: <4B63F5F5A4CB934FA82D5393A1D947E501FDCA1E@s3mail.s3systems.com> How about we forgive each other as Christ forgave us by dying for our sins. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Joe Rhett Sent: Tuesday, January 13, 2004 5:06 PM To: Michael Tucker Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] [OT] Posting etiquette [DEAD THREAD] It was used as an adjective to describe the approach, not an insult to you. Sorry I hit a button for you, but it wasn't meant that way. Calling someone an idiot (as a direct object noun) is a far cry from using '-nazi' to attribute a dictorial style of management on the noun in question (which is NOT a person nor the direct object) On Tue, Jan 13, 2004 at 04:54:45PM -0600, Michael Tucker wrote: > > On Tuesday, January 13, 2004, at 04:30 PM, Joe Rhett wrote: > > >I'll pay attention to your content-nazi approach when less than half of > >the messages posted to this list stop including the signatures and > >advertising of the previous writer. > > > >-- > >Joe Rhett Chief > >Geek > >JRhett at Isite.Net Isite Services, > >Inc. > > > > *Ding!* We have a winner, by Godwin's Law[1]. You were the first to > mention Nazis. Ergo, you have forfeited the discussion, and the thread > is dead. > > By the way, if you can't stand courteous advice without being offended > (especially when couched with "this is my opinion, yours might vary"), > you might stay away from public forums. > > To quote you: > >This person evidently feels that their (misguided) opinion is so > >perfect > >and true that they are justified in calling people names and talking > >down > >to them like a child. Given that this individual appears to have > >missed > >the point of the original post entirely, he's just spewing smoke. > > > >I am officially requesting that this person be asked to take their > >condescending and insulting behavior elsewhere. > > Pot == kettle? > > And what, by the way, did your first reply in this thread (let alone > your last one) have to do with "the point of the original post"... > which was "Problem with NRPE"? > > Michael > > [1] -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 15:18:09 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 14 Jan 2004 14:18:09 +0000 Subject: Supervise a dial UP host In-Reply-To: References: <1074063843.5160.448.camel@dresden.eurodata.de> Message-ID: <20040114141809.1602.qmail@minnow.softflare.net> Tom Diehl writes: > On Wed, 14 Jan 2004, Andreas Koch wrote: >> I would supervise a dial-up host with nagios. >> >> Did this already someone solve? > I wish I was good enough to modify the code to do this but alas I am not. I may be missing something here, because neither of you have been very clear about what you want to do, why you want to do it, whether the dial-up has static or dynamic IP and what you're having difficulty with. It depends what you want to do. If the dial-up has static IP (very rare these days) then all you have to do is juggle the various scheduling and timing parameters to match when it ought to be on-line. This might be very tricky to get right. Or you disable notification by e-mail/pager and just keep an eye on the web interface. If the dial-up has dynamic IP then life gets harder. You need some sort of dynamic DNS service at the very least. You can do this with nsupdate (you'd be advised to use the security features to stop malicious people making changes and in any case you want it to operate on a dedicated domain or sub-domain reserved for dynamic updates). You'd need to ensure that nsupdate is run when the dial-up interface comes up. If you don't have nsupdate or a compatible utility, you could do what people providing dynamic DNS services do and have your own communications protocol for informing the DNS server that your IP has changed and the daemon running on the DNS server then runs nsupdate locally. That still won't solve the problem of the dial-up machine dies, loses its connection, somebody else gets the IP address the machine was using - then some tests (importantly, the ping test to check if the host is up) will give you OK when in fact the machine you thought you were testing is dead and you're actually running those tests on a completely different machine. So you probably need to at least make the host test something that requires some sort of authentication, and do as many other tests as possible using authentication too - such as using check_by_ssh. Or have the dial-up machine run some sort of heartbeat protocol (which you'd have to write) so that if the heartbeat stops the DNS server deletes its A record. Or you install nagios on the dial-up machine itself and have it submit passive service checks to the main nagios monitor using ncsa, then you don't need dynamic DNS because the dial-up machine is submitting reports. If the dial-up machine is not running *nix then this could be difficult. I see there is a Windows version of send_ncsa available, so maybe it can be done - I have no idea if anyone has managed to compile nagios under Cygwin. I suspect that most people who have wanted to do this have looked at the problems and decided it was too much effort to bother with, so nobody has come up with a solution. Or it could just be that you're the only two who want to do it - most dial-ups have people who initiate the dial-up and would therefore know of the computer dies without you having to inform them. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andyjproctor at hotmail.com Wed Jan 14 15:27:14 2004 From: andyjproctor at hotmail.com (andy proctor) Date: Wed, 14 Jan 2004 14:27:14 +0000 Subject: host group escalations Message-ID: Have a few services for each of my NT hosts one of which is defined as follows (generic-workhours having it's contact_groups set to 'firstline'): define service{ use generic-workhours hostgroup_name internal-crit-win,internal-gen-win service_description NT_NSClient notification_interval 30 check_command check_nt_services!NSClient } Have done this: define hostgroupescalation{ hostgroup_name internal-crit-unix,internal-crit-win contact_groups secondline first_notification 3 last_notification 0 notification_interval 31 } All groups are valid, but the services don't get escalated which are running on the hosts in the above groups. Contacts seem fine as all contacts have the same notification periods, etc. regardless of which group they are in, and also the groups are set up the same, just with different names and members. What I was trying to achieve was escalation of services on particular hosts without the need to define everything seperately in terms of services and hosts. Am I doing this the wrong way i.e. is the hostgroupescalation aimed at just escalating the host's state? All I want to do is notify first line support and then if it's not fixed also start telling second line about it. I looked at the service escalations but it would appear that you can only specify single hosts (or comma seperated lists of hosts) looking at the docs. John Boocock Academy Payment Collection & Income Management Capita Software Services Tel: 0870 162 7800 / 07801 136 804 Email: john.boocock at capita.co.uk www.acadinfo.co.uk Regards, Andy Proctor andyjproctor at hotmail.com _________________________________________________________________ It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 15:26:17 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 14 Jan 2004 14:26:17 +0000 Subject: check_by_ssh returning UNKNOWN In-Reply-To: <20040114122236.GI3784@hpce.nec.com> References: <20040109135321.GD3462@hpce.nec.com> <20040109142544.29689.qmail@minnow.softflare.net> <20040109145732.GF3462@hpce.nec.com> <20040114122236.GI3784@hpce.nec.com> Message-ID: <20040114142617.5734.qmail@minnow.softflare.net> Rasmus Plewe writes: > Just for the records: even though there were no ssh complaints, > upgrading the ssh version on the client fixed the problem. > Or perhaps I should, more accurately, say: since the ssh version was > updated, the problems are gone. I still have no explanation, but as > long as everything works I don't neccessarily need one... Some possibilities: 1) SSH version mismatch between client and server with some sort of interopability problem that shows up occasionally (such as generating a bad session key occasionally or being unable to handle a session key that matches certain mathematical patterns). There might be something in the release notes about that. 2) Same version of SSH but again some subtle bug that shows up occasionally (such as the examples above). There probably will be something in the release notes about that. 3) A vulnerability. Most upgrades of SSH deal with security issues. Some exploits on older versions can cause sshd to get confused. There probably will be something in the release notes about that, but it's probably not the cause because you didn't mention anything about having to restart sshd. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 14 15:27:23 2004 From: seppy at chartermi.net (Brian E. Seppanen) Date: Wed, 14 Jan 2004 09:27:23 -0500 (EST) Subject: [OT] Posting etiquette [DEAD THREAD] In-Reply-To: <4B63F5F5A4CB934FA82D5393A1D947E501FDCA1E@s3mail.s3systems.com> References: <4B63F5F5A4CB934FA82D5393A1D947E501FDCA1E@s3mail.s3systems.com> Message-ID: On Wed, 14 Jan 2004, Michael Pratt wrote: > How about we forgive each other as Christ forgave us by dying for our > sins. > You're not suggesting we kill ourselves are you? I'm outta this cult... :p Brian Seppanen seppy at chartermi.net 906-475-0107 ext 1040 ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jean-Jacques.siquet at experian.fr Wed Jan 14 16:01:14 2004 From: Jean-Jacques.siquet at experian.fr (Jean-Jacques.siquet) Date: Wed, 14 Jan 2004 16:01:14 +0100 Subject: check_rrd_data.pl In-Reply-To: References: Message-ID: hi, i can't use this plugin : [root at treize libexec]# ./check_rrd_data.pl Can't locate RRD/File.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0) at ./check_rrd_data.pl line 45. BEGIN failed--compilation aborted at ./check_rrd_data.pl line 45. i have changed the line : require '/usr/local/nagios/libexec/utils.pm'; could you explain me the good procedure? thanks jean-jacques siquet ingenieur systeme experian sva ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 16:04:48 2004 From: marc at ena.com (Marc Powell) Date: Wed, 14 Jan 2004 09:04:48 -0600 Subject: check_rrd_data.pl Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A173@mismail2.ena.com> > -----Original Message----- > From: Jean-Jacques.siquet [mailto:Jean-Jacques.siquet at experian.fr] > Sent: Wednesday, January 14, 2004 9:01 AM > To: Marcio Queiroz; 'Francois JEANMOUGIN'; nagios- > users at lists.sourceforge.net > Cc: Subhendu Ghosh > Subject: [Nagios-users] check_rrd_data.pl > Importance: High > > hi, > > > i can't use this plugin : > > [root at treize libexec]# ./check_rrd_data.pl > Can't locate RRD/File.pm in @INC (@INC contains: > /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl > /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0) at > ./check_rrd_data.pl line 45. > BEGIN failed--compilation aborted at ./check_rrd_data.pl line 45. > > > i have changed the line : > require '/usr/local/nagios/libexec/utils.pm'; > > could you explain me the good procedure? You need to have rrdtool and the rrdtool perl modules installed -- http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/ -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ric at nkn.net Wed Jan 14 15:59:39 2004 From: ric at nkn.net (Ric Moseley) Date: Wed, 14 Jan 2004 08:59:39 -0600 Subject: parent host relatiionship In-Reply-To: References: Message-ID: <200401141502.JAA41121@mail1.theplanet.com> If I do want to get notifications for hosts that are behind another server/router that is down at the time is the 'parents' option in the host config the option to use? When I set that option up to the server/router that is in front of the host and then turn off the notifications option of 'u' (unreachable) will I not get emails if the router goes down about the server behind it going down? Thanks. Ric. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 16:09:04 2004 From: marc at ena.com (Marc Powell) Date: Wed, 14 Jan 2004 09:09:04 -0600 Subject: network topology learning Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A174@mismail2.ena.com> > -----Original Message----- > From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] > Sent: Wednesday, January 14, 2004 1:46 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] network topology learning > > hi guys, > > is there any auto topology learning capability in nagios similar to > hpopenview? If so, how do we implement it? I believe that the closest option you have is nmaptonagios, located on the Extra Downloads page -- http://www.nagios.org/download/extras.php. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-x2/1YX8R56M at public.gmane.org Wed Jan 14 16:17:01 2004 From: Ton.Voon-x2/1YX8R56M at public.gmane.org (Voon, Ton) Date: Wed, 14 Jan 2004 15:17:01 -0000 Subject: Email attachment Message-ID: Young, Anya wrote: > Hello, > I am writing a Perl plugin for nagios and need to send a log file > with the detailed message as an attachment to the email notification. > Is it possible to do and if yes could you please let me know what > should I do for that. Thank you. > Anya Serban. I've copied this to nagios-users which is the more appropriate mailing list. If you are replying, please remove nagiosplug-devel. You can use the macros in Nagios in your email (see misccommands.cfg and the Nagios documentation). Any extra information outside of these macros will require some clever scripting. Ton 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 carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ 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 marc at ena.com Wed Jan 14 16:32:31 2004 From: marc at ena.com (Marc Powell) Date: Wed, 14 Jan 2004 09:32:31 -0600 Subject: Notification blackout ignored (repost) Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A175@mismail2.ena.com> > -----Original Message----- > From: Martin, Jeremy [mailto:jmartin at gsi-kc.com] > Sent: Wednesday, January 14, 2004 12:33 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Notification blackout ignored (repost) > > (RedHat 9, Nagios 1.1, Nagios-plugins 1.3.1 > > -----Original Message----- > From: Martin, Jeremy > Sent: Tuesday, January 13, 2004 5:09 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Notification blackout ignored > > From: Andreas Koch [mailto:a.koch at eurodata.de] > > which you do, are a little too exaggerated. > > The better option are: > > max_check_attempts 5 > > retry_check_interval 1 > > this causes when the nagios server notice that the Service is down he > > check the Service 5 (max_check_attempts) times all 1 minute. > > thus, if the service 5 minutes long down is, only one informs. > > When the Service with the 3 check again ok is, is not informed. > > Hi, > > I am already trying to use max_check_attempts 5 and retry_check_interval > 1 for these checks. Unfortunately it is still sending us warnings/pages > every night despite these settings. In fact on some I am even trying > max_check_attempts 10 but it's still not working. These settings actually have no bearing on the time period during which you get notified, only how long a host must be down before a notification is attempted based on a number of factors (http://nagios.sourceforge.net/docs/1_0/notifications.html). Max 5 checks at 1 minute intervals = 5 minutes down before notification, 10 checks at 1 minute intervals = 10 minutes down before notification, 3 checks at 5 minute intervals = 15 minutes down, etc. > It seems when it gets a "connection refused by host" Nagios ignores > retry_check_interval and keeps retrying 5 or 10 times in the same > second. Is there any way to change this behavior? Here is an example > from the event log: This is an accurate statement for host checks. Host checks in Nagios are very aggressive. Notice that you can not specify a retry_check_interval in a host definition. This is because Nagios must definitively determine the status of the host if a service on that host fails (http://nagios.sourceforge.net/docs/1_0/networkreachability.html). Everything else stops while this process is happening (all other service checks, etc) so it's important that it finishes as quickly as possible. You can assist this by lowering the number of check attempts that must fail for a host before it's determined to be down. There are other modifications as well but I leave that as an exercise for you to search the docs/archives. Again, this really has no bearing on the time period a notification gets sent out. > [01-13-2004 04:46:07] HOST NOTIFICATION: > Admin;www.whatever.com;DOWN;host-notify-by-email;Connection refused by > host > [01-13-2004 04:46:06] HOST NOTIFICATION: > Admin;www.whatever.com;DOWN;host-notify-by-epager;Connection refused by > host These notifications appear to have come after your 4:00-4:30 blackout. Is that not correct? If it's still an issue, you might want to verify that you don't have an old Nagios process still running and notifying on the old schedule. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 16:41:52 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 14 Jan 2004 15:41:52 +0000 Subject: Multiple Users Message-ID: <20040114154152.11974.qmail@minnow.softflare.net> rob at capband.net writes: > So your path is to change cgi.cfg to not let just anyone see all the > hosts. Then create groups in hostgroups.cfg who can view particular > items - an item may be in multiple hostgroups, as well. The contact list > used in hostgroups.cfg is defined contactgroups.cfg. These members are > defined in contacts.cfg. That gets them notifications, but to use the web interface more is required. Go to the docs, click on "Setting up the web interface" and follow the link at the bottom of the page about configuring web authentication. If the username they log in with is the same one of the contact names they get to see all the servers that username is a contact for. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjdock at excite.com Wed Jan 14 16:41:22 2004 From: cjdock at excite.com (ChuckDock) Date: Wed, 14 Jan 2004 10:41:22 -0500 (EST) Subject: mysql Message-ID: <20040114154122.D85E4B728@xprdmailfe14.nwk.excite.com> Within webmin, go to Others from the top menu and then to Perl modules..in the cpan spot type in URI::Escape then click install at the bottom. That should install the escape.pm. I'm at that point now, it still has issues but I haven't had time to fix it. --- On Mon 01/12, < extern.Lars.Oeschey at audi.de > wrote: From: [mailto: extern.Lars.Oeschey at audi.de] To: nagios-users at lists.sourceforge.net Date: Mon, 12 Jan 2004 16:02:59 +0100 Subject: RE: [Nagios-users] mysql > Never mind on this, I'm not going to use mysql for the DB. I
> installed nagmin, its mostly working except for a Ecsape.pm
> problem. I'll open a new posting for that.

A question on Nagmin: How did you get it running? Here it always fails in
generating the correct tables or filling them.

Lars


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 14 16:50:27 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Wed, 14 Jan 2004 10:50:27 -0500 Subject: Downtime Question Message-ID: I'm sure this has been asked before... but... If I schedule downtime for a host, will it consider all of that host's services to be in downtime, too? i.e. I have a host with 15 services. If I'm taking that host down for a while, do I need to schedule downtime individually for the host and each service, or just the host? I don't want services to be sending notifications while the host is in downtime. -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.pounsett at cira.ca Wed Jan 14 16:51:34 2004 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 14 Jan 2004 10:51:34 -0500 (EST) Subject: check_ping In-Reply-To: <20040113201054.9991.qmail@restricted.dyndns.org> References: <20040113201054.9991.qmail@restricted.dyndns.org> Message-ID: On Tue, 13 Jan 2004, Neil wrote: > Hey guys, > > Me again. Question about check_ping!100.0,20%!500.0,60% > > 1. What would be the ideal or best practice way of finding the parameters > for the warning and critical values for check_ping? Btw, just got those > parameters from the sample files. That's really up to you, and what performance (or lack of performance) you will tolerate from your network. I have three different defaults I use for host checks -- one for hosts on the same LAN as the Nagios box, which permits only a small amount of latency and very little packet loss; and one for each of our two remote networks, which have slightly different average RTTs. > 2. I also would like to know how we were able to come up with 20% and 60% on > the command above. From the help of check_ping, it tells us that RTA and PL > are 2 separate values. So, I can say here that 100.0 is not dependent on the > 20%. Am I correct? Yes, you're correct. You'd get a warning if latency is above 100ms, OR if packet loss is above 20%.. same rules for critical, using the 500ms and 60% loss. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jean-Jacques.siquet at experian.fr Wed Jan 14 17:04:23 2004 From: Jean-Jacques.siquet at experian.fr (Jean-Jacques.siquet) Date: Wed, 14 Jan 2004 17:04:23 +0100 Subject: check_rrd_data.pl In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A173@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A173@mismail2.ena.com> Message-ID: i have : [root at treize libexec]# locate RRD /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/RRDs /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/RRDs/RRDs.bs /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/RRDs/RRDs.so /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/RRDp.pm /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/RRDs.pm /usr/share/doc/rrdtool-1.0.45/doc/RRDp.html /usr/share/doc/rrdtool-1.0.45/doc/RRDp.txt /usr/share/doc/rrdtool-1.0.45/doc/RRDs.html /usr/share/doc/rrdtool-1.0.45/doc/RRDs.txt /usr/share/man/man1/RRDp.1.gz /usr/share/man/man1/RRDs.1.gz i try : use lib '/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/RRDs/'; but i have already: Can't locate RRD/File.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/RRDs/ /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at ./check_rrd_data.pl line 46. BEGIN failed--compilation aborted at ./check_rrd_data.pl line 46. thanks -----Message d'origine----- De : nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]De la part de Marc Powell Envoye : mercredi 14 janvier 2004 16:05 A : Jean-Jacques.siquet; Marcio Queiroz; Francois JEANMOUGIN; nagios-users at lists.sourceforge.net Cc : Subhendu Ghosh Objet : RE: [Nagios-users] check_rrd_data.pl > -----Original Message----- > From: Jean-Jacques.siquet [mailto:Jean-Jacques.siquet at experian.fr] > Sent: Wednesday, January 14, 2004 9:01 AM > To: Marcio Queiroz; 'Francois JEANMOUGIN'; nagios- > users at lists.sourceforge.net > Cc: Subhendu Ghosh > Subject: [Nagios-users] check_rrd_data.pl > Importance: High > > hi, > > > i can't use this plugin : > > [root at treize libexec]# ./check_rrd_data.pl > Can't locate RRD/File.pm in @INC (@INC contains: > /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl > /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0) at > ./check_rrd_data.pl line 45. > BEGIN failed--compilation aborted at ./check_rrd_data.pl line 45. > > > i have changed the line : > require '/usr/local/nagios/libexec/utils.pm'; > > could you explain me the good procedure? You need to have rrdtool and the rrdtool perl modules installed -- http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/ -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjdock at excite.com Wed Jan 14 17:11:05 2004 From: cjdock at excite.com (ChuckDock) Date: Wed, 14 Jan 2004 11:11:05 -0500 (EST) Subject: nagmin verify error Message-ID: <20040114161105.DDFEC3E00@xprdmailfe12.nwk.excite.com> When I click verify I get Error: Could not add object property in file '/usr/local/nagmin/nagios/Command.cfg' on line 71. ***> 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' The thing is that nagmin generates the command line and it looks like this: /usr/local/nagios/bin/nagios -v -c /usr/local/nagmin/nagios/verify.cfg . _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 17:10:42 2004 From: marc at ena.com (Marc Powell) Date: Wed, 14 Jan 2004 10:10:42 -0600 Subject: Downtime Question Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A177@mismail2.ena.com> ________________________________________ > From: Jack Doyle [mailto:jdoyle at lewisgaleclinic.com] > Sent: Wednesday, January 14, 2004 9:50 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Downtime Question > > I'm sure this has been asked before... but... >? > If I schedule downtime for a host, will it consider all of that host's services to be in downtime, too?? > i.e. I have a host with 15 services.? If I'm taking that host down for a while, do I need to schedule downtime individually for the host and each service, or just the host? > ? > I don't want services to be sending notifications while the host is in downtime. ? http://nagios.sourceforge.net/docs/1_0/notifications.html Service and Host Filters: The first filter for host or service notifications is a check to see if the host or service is in a period of scheduled downtime. It (sic) it is in a scheduled downtime, no one gets notified. If it isn't in a period of downtime, it gets passed on to the next filter. As a side note, notifications for services are supressed (sic) if the host they're associated with is in a period of scheduled downtime. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chuck at sbbsnet.net Wed Jan 14 17:10:48 2004 From: chuck at sbbsnet.net (Chuck) Date: Wed, 14 Jan 2004 11:10:48 -0500 Subject: shared ip on the same host Message-ID: <200401141110.48782.chuck@sbbsnet.net> I have several hosts that I am monitoring multiple services on unique ip addresses, but only want the single host machine to show up in the status map. I have images defined for the host itself and that shows up fine, but the map shows question marks for the other services on that machine since i had to define hosts for each ip address. I want to eliminate those question marks. Since they are separate ip addresses for the services, and the services are bound to those ips only, i cannot monitor just the host primary ip for it all, so I set up separate host names for each ip address. Is there a way of consolidating this? I dont think a multiple address listing under one host would work even if it were allowed simply because there is no way to tell the individual tests which address to use for which test. or did i miss something important here? -- Chuck "...and the hordes of M$*ft users descended upon me in their anger, and asked 'Why do you not get the viruses or the BlueScreensOfDeath or insecure system troubles and slowness or pay through the nose for an OS as *we* do?!!', and I answered...'I use Linux'. " The Book of John, chapter 1, page 1, and end of book ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHeylin at WeberShandwick.com Wed Jan 14 17:25:06 2004 From: AHeylin at WeberShandwick.com (Heylin, Alex) Date: Wed, 14 Jan 2004 16:25:06 -0000 Subject: nagmin verify error Message-ID: Don't worry about "The name of the main configuration file looks suspicious" - this isn't your problem. This seems to be reported because when Nagmin checks the config it does so with a test file before overwriting the live config file. Nagios sees the test file name and warns you, but for Nagmin it's the way it works. The problem you have is the other problem reported "Error: Could not add object property in file '/usr/local/nagmin/nagios/Command.cfg' on line 71." - check what it's trying to do on line 71 of Command.cfg and work out why it can't do it. Hope that helps, Alex -----Original Message----- From: ChuckDock [mailto:cjdock at excite.com] Sent: 14 January 2004 16:11 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagmin verify error Error: Could not add object property in file '/usr/local/nagmin/nagios/Command.cfg' on line 71. ***> The name of the main configuration file looks suspicious... -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.pounsett at cira.ca Wed Jan 14 17:27:48 2004 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 14 Jan 2004 11:27:48 -0500 (EST) Subject: shared ip on the same host In-Reply-To: <200401141110.48782.chuck@sbbsnet.net> References: <200401141110.48782.chuck@sbbsnet.net> Message-ID: On Wed, 14 Jan 2004, Chuck wrote: > Is there a way of consolidating this? I dont think a multiple address listing > under one host would work even if it were allowed simply because there is no > way to tell the individual tests which address to use for which test. > > or did i miss something important here? No, you've got it right on the money. I have a few hosts that have multiple IPs on them, with services that only listen to individual IPs (probably much like your setup). For example, one of my hosts has three IPs on it -- the main interface, and two aliases: one which has a web server listening; and another with an SMTP server. My solution was to create three hosts, and list the primary host as the parents of the other two. You'll still have to create extended info for all three hosts in order to set the icons in the status map, but at least it will be clear from looking at the map that the other two hosts are virtual, not real hosts. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 17:28:42 2004 From: jnichols at pbp.net (Jonathan Nichols) Date: Wed, 14 Jan 2004 08:28:42 -0800 Subject: [OT] Posting etiquette [DEAD THREAD] In-Reply-To: <4B63F5F5A4CB934FA82D5393A1D947E501FDCA1E@s3mail.s3systems.com> References: <4B63F5F5A4CB934FA82D5393A1D947E501FDCA1E@s3mail.s3systems.com> Message-ID: <40056E3A.9020101@pbp.net> Michael Pratt wrote: > How about we forgive each other as Christ forgave us by dying for our > sins. > > What if we're Buddhist? :P Just kidding. Perhaps now would be a great time to head to Java City and get some chai? ;) Calm down, guys! :) ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pensol.net Wed Jan 14 17:31:52 2004 From: nagios at pensol.net (MT Morales) Date: Wed, 14 Jan 2004 09:31:52 -0700 Subject: How to ignore "Socket timeout" notifications, anyone? Message-ID: <200401141631.i0EGVqh9006132@pensol.net> Here is some info of my setup: nagios 1.1 kernel 2.4.20-20.8smp,rh8.0(recompiled from source) ~2000 active checks 500 hosts Every time I make configuration changes and reload nagios (i.e. using the reload option), active checks to hosts with 10-20 services collision (i.e. nagios scheduler stops doing smart checks) and multiple checks are executed at the exact same second to the same host (yap, many of our hosts can handled very limited number of simultaneous connections on the same tcp port, and it would be too much work to fix this issue on every one of them at this point. And yes, we have tweaked all the paramaters we could possibly tweak in nagios.cfg. We have even recompiled the kernel in rh8.0 to solve the pipe-wait issue by making the pipe size larger, and has helped a lot. This problem clears on the next round of checks but, in the meantime, our on duty operator gets a bunch of CRITICAL alarms notifications about "Socket timeout error.." on services. I was thinking of a couple of work arounds: -Modify the check plugin to return a different status code for socket timeouts -Modify the notify command(s) to filter out alerts with "Socket timeout" messages. So before I try to reinvent the wheel, could someone suggest a simpler/cleaner approach to the problem? TIA -tomas ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pensol.net Wed Jan 14 17:37:48 2004 From: nagios at pensol.net (MT Morales) Date: Wed, 14 Jan 2004 09:37:48 -0700 Subject: How to ignore "Socket timeout" notifications, anyone? Message-ID: <200401141637.i0EGbm9v008011@pensol.net> Here is some info of my setup: nagios 1.1 kernel 2.4.20-20.8smp,rh8.0(recompiled from source) ~2000 active checks 500 hosts Every time I make configuration changes and reload nagios (i.e. using the reload option), active checks to hosts with 10-20 services collision (i.e. nagios scheduler stops doing smart checks) and multiple checks are executed at the exact same second to the same host (yap, many of our hosts can handled very limited number of simultaneous connections on the same tcp port, and it would be too much work to fix this issue on every one of them at this point. And yes, we have tweaked all the paramaters we could possibly tweak in nagios.cfg. We have even recompiled the kernel in rh8.0 to solve the pipe-wait issue by making the pipe size larger, and has helped a lot. This problem clears on the next round of checks but, in the meantime, our on duty operator gets a bunch of CRITICAL alarms notifications about "Socket timeout error.." on services. I was thinking of a couple of work arounds: -Modify the check plugin to return a different status code for socket timeouts -Modify the notify command(s) to filter out alerts with "Socket timeout" messages. So before I try to reinvent the wheel, could someone suggest a simpler/cleaner approach to the problem? TIA -tomas ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pensol.net Wed Jan 14 17:37:21 2004 From: nagios at pensol.net (MT Morales) Date: Wed, 14 Jan 2004 09:37:21 -0700 Subject: How to ignore "Socket timeout" notifications, anyone? Message-ID: <200401141637.i0EGbL0I007838@pensol.net> Here is some info of my setup: nagios 1.1 kernel 2.4.20-20.8smp,rh8.0(recompiled from source) ~2000 active checks 500 hosts Every time I make configuration changes and reload nagios (i.e. using the reload option), active checks to hosts with 10-20 services collision (i.e. nagios scheduler stops doing smart checks) and multiple checks are executed at the exact same second to the same host (yap, many of our hosts can handled very limited number of simultaneous connections on the same tcp port, and it would be too much work to fix this issue on every one of them at this point. And yes, we have tweaked all the paramaters we could possibly tweak in nagios.cfg. We have even recompiled the kernel in rh8.0 to solve the pipe-wait issue by making the pipe size larger, and has helped a lot. This problem clears on the next round of checks but, in the meantime, our on duty operator gets a bunch of CRITICAL alarms notifications about "Socket timeout error.." on services. I was thinking of a couple of work arounds: -Modify the check plugin to return a different status code for socket timeouts -Modify the notify command(s) to filter out alerts with "Socket timeout" messages. So before I try to reinvent the wheel, could someone suggest a simpler/cleaner approach to the problem? TIA -tomas ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pensol.net Wed Jan 14 17:37:13 2004 From: nagios at pensol.net (MT Morales) Date: Wed, 14 Jan 2004 09:37:13 -0700 Subject: How to ignore "Socket timeout" notifications, anyone? Message-ID: <200401141637.i0EGbDCE007812@pensol.net> Here is some info of my setup: nagios 1.1 kernel 2.4.20-20.8smp,rh8.0(recompiled from source) ~2000 active checks 500 hosts Every time I make configuration changes and reload nagios (i.e. using the reload option), active checks to hosts with 10-20 services collision (i.e. nagios scheduler stops doing smart checks) and multiple checks are executed at the exact same second to the same host (yap, many of our hosts can handled very limited number of simultaneous connections on the same tcp port, and it would be too much work to fix this issue on every one of them at this point. And yes, we have tweaked all the paramaters we could possibly tweak in nagios.cfg. We have even recompiled the kernel in rh8.0 to solve the pipe-wait issue by making the pipe size larger, and has helped a lot. This problem clears on the next round of checks but, in the meantime, our on duty operator gets a bunch of CRITICAL alarms notifications about "Socket timeout error.." on services. I was thinking of a couple of work arounds: -Modify the check plugin to return a different status code for socket timeouts -Modify the notify command(s) to filter out alerts with "Socket timeout" messages. So before I try to reinvent the wheel, could someone suggest a simpler/cleaner approach to the problem? TIA -tomas ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pensol.net Wed Jan 14 17:36:57 2004 From: nagios at pensol.net (MT Morales) Date: Wed, 14 Jan 2004 09:36:57 -0700 Subject: How to ignore "Socket timeout" notifications, anyone? Message-ID: <200401141636.i0EGavOj007708@pensol.net> Here is some info of my setup: nagios 1.1 kernel 2.4.20-20.8smp,rh8.0(recompiled from source) ~2000 active checks 500 hosts Every time I make configuration changes and reload nagios (i.e. using the reload option), active checks to hosts with 10-20 services collision (i.e. nagios scheduler stops doing smart checks) and multiple checks are executed at the exact same second to the same host (yap, many of our hosts can handled very limited number of simultaneous connections on the same tcp port, and it would be too much work to fix this issue on every one of them at this point. And yes, we have tweaked all the paramaters we could possibly tweak in nagios.cfg. We have even recompiled the kernel in rh8.0 to solve the pipe-wait issue by making the pipe size larger, and has helped a lot. This problem clears on the next round of checks but, in the meantime, our on duty operator gets a bunch of CRITICAL alarms notifications about "Socket timeout error.." on services. I was thinking of a couple of work arounds: -Modify the check plugin to return a different status code for socket timeouts -Modify the notify command(s) to filter out alerts with "Socket timeout" messages. So before I try to reinvent the wheel, could someone suggest a simpler/cleaner approach to the problem? TIA -tomas ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pensol.net Wed Jan 14 17:37:54 2004 From: nagios at pensol.net (MT Morales) Date: Wed, 14 Jan 2004 09:37:54 -0700 Subject: How to ignore "Socket timeout" notifications, anyone? Message-ID: <200401141637.i0EGbsrY008031@pensol.net> Here is some info of my setup: nagios 1.1 kernel 2.4.20-20.8smp,rh8.0(recompiled from source) ~2000 active checks 500 hosts Every time I make configuration changes and reload nagios (i.e. using the reload option), active checks to hosts with 10-20 services collision (i.e. nagios scheduler stops doing smart checks) and multiple checks are executed at the exact same second to the same host (yap, many of our hosts can handled very limited number of simultaneous connections on the same tcp port, and it would be too much work to fix this issue on every one of them at this point. And yes, we have tweaked all the paramaters we could possibly tweak in nagios.cfg. We have even recompiled the kernel in rh8.0 to solve the pipe-wait issue by making the pipe size larger, and has helped a lot. This problem clears on the next round of checks but, in the meantime, our on duty operator gets a bunch of CRITICAL alarms notifications about "Socket timeout error.." on services. I was thinking of a couple of work arounds: -Modify the check plugin to return a different status code for socket timeouts -Modify the notify command(s) to filter out alerts with "Socket timeout" messages. So before I try to reinvent the wheel, could someone suggest a simpler/cleaner approach to the problem? TIA -tomas ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pensol.net Wed Jan 14 17:38:07 2004 From: nagios at pensol.net (MT Morales) Date: Wed, 14 Jan 2004 09:38:07 -0700 Subject: How to ignore "Socket timeout" notifications, anyone? Message-ID: <200401141638.i0EGc74j008118@pensol.net> Here is some info of my setup: nagios 1.1 kernel 2.4.20-20.8smp,rh8.0(recompiled from source) ~2000 active checks 500 hosts Every time I make configuration changes and reload nagios (i.e. using the reload option), active checks to hosts with 10-20 services collision (i.e. nagios scheduler stops doing smart checks) and multiple checks are executed at the exact same second to the same host (yap, many of our hosts can handled very limited number of simultaneous connections on the same tcp port, and it would be too much work to fix this issue on every one of them at this point. And yes, we have tweaked all the paramaters we could possibly tweak in nagios.cfg. We have even recompiled the kernel in rh8.0 to solve the pipe-wait issue by making the pipe size larger, and has helped a lot. This problem clears on the next round of checks but, in the meantime, our on duty operator gets a bunch of CRITICAL alarms notifications about "Socket timeout error.." on services. I was thinking of a couple of work arounds: -Modify the check plugin to return a different status code for socket timeouts -Modify the notify command(s) to filter out alerts with "Socket timeout" messages. So before I try to reinvent the wheel, could someone suggest a simpler/cleaner approach to the problem? TIA -tomas ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pensol.net Wed Jan 14 17:38:01 2004 From: nagios at pensol.net (MT Morales) Date: Wed, 14 Jan 2004 09:38:01 -0700 Subject: How to ignore "Socket timeout" notifications, anyone? Message-ID: <200401141638.i0EGc12w008056@pensol.net> Here is some info of my setup: nagios 1.1 kernel 2.4.20-20.8smp,rh8.0(recompiled from source) ~2000 active checks 500 hosts Every time I make configuration changes and reload nagios (i.e. using the reload option), active checks to hosts with 10-20 services collision (i.e. nagios scheduler stops doing smart checks) and multiple checks are executed at the exact same second to the same host (yap, many of our hosts can handled very limited number of simultaneous connections on the same tcp port, and it would be too much work to fix this issue on every one of them at this point. And yes, we have tweaked all the paramaters we could possibly tweak in nagios.cfg. We have even recompiled the kernel in rh8.0 to solve the pipe-wait issue by making the pipe size larger, and has helped a lot. This problem clears on the next round of checks but, in the meantime, our on duty operator gets a bunch of CRITICAL alarms notifications about "Socket timeout error.." on services. I was thinking of a couple of work arounds: -Modify the check plugin to return a different status code for socket timeouts -Modify the notify command(s) to filter out alerts with "Socket timeout" messages. So before I try to reinvent the wheel, could someone suggest a simpler/cleaner approach to the problem? TIA -tomas ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pensol.net Wed Jan 14 17:38:37 2004 From: nagios at pensol.net (MT Morales) Date: Wed, 14 Jan 2004 09:38:37 -0700 Subject: How to ignore "Socket timeout" notifications, anyone? Message-ID: <200401141638.i0EGcbEO008257@pensol.net> Here is some info of my setup: nagios 1.1 kernel 2.4.20-20.8smp,rh8.0(recompiled from source) ~2000 active checks 500 hosts Every time I make configuration changes and reload nagios (i.e. using the reload option), active checks to hosts with 10-20 services collision (i.e. nagios scheduler stops doing smart checks) and multiple checks are executed at the exact same second to the same host (yap, many of our hosts can handled very limited number of simultaneous connections on the same tcp port, and it would be too much work to fix this issue on every one of them at this point. And yes, we have tweaked all the paramaters we could possibly tweak in nagios.cfg. We have even recompiled the kernel in rh8.0 to solve the pipe-wait issue by making the pipe size larger, and has helped a lot. This problem clears on the next round of checks but, in the meantime, our on duty operator gets a bunch of CRITICAL alarms notifications about "Socket timeout error.." on services. I was thinking of a couple of work arounds: -Modify the check plugin to return a different status code for socket timeouts -Modify the notify command(s) to filter out alerts with "Socket timeout" messages. So before I try to reinvent the wheel, could someone suggest a simpler/cleaner approach to the problem? TIA -tomas ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 17:48:44 2004 From: marco at sd.com (Marco Supino) Date: Wed, 14 Jan 2004 18:48:44 +0200 Subject: Slow web interface update Message-ID: <400572EC.9040307@sd.com> Hi, I am tring to move my nagios 1.1 from one machine to another, i have started from a "scrath" nagios install, and created new config files, The nagios web interface on the new machine is being updated very slow, for example, in a passive service check, i get the alert immediatly, but the web interface is not updated for several minutes, this is not happening on the old nagios machine, i compated the cfg files, and found no difference, on the original machine, the web is updated very quickly. Any idea what could cause this ? Marco. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 14 17:52:55 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Wed, 14 Jan 2004 11:52:55 -0500 Subject: Downtime Question Message-ID: So then what I wanted is correct... If a host is scheduled for downtime, all services will supress notification? So you'd only want to schedule the service downtime if, for instance, you were just taking a web server offline, for example. -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Wednesday, January 14, 2004 11:11 AM To: Jack Doyle; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Downtime Question ________________________________________ > From: Jack Doyle [mailto:jdoyle at lewisgaleclinic.com] > Sent: Wednesday, January 14, 2004 9:50 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Downtime Question > > I'm sure this has been asked before... but... >? > If I schedule downtime for a host, will it consider all of that host's > services to be in downtime, too? > i.e. I have a host with 15 services.? If I'm taking that host down for a while, do I need to schedule downtime individually for the host and each service, or just the host? > ? > I don't want services to be sending notifications while the host is in > downtime. ? http://nagios.sourceforge.net/docs/1_0/notifications.html Service and Host Filters: The first filter for host or service notifications is a check to see if the host or service is in a period of scheduled downtime. It (sic) it is in a scheduled downtime, no one gets notified. If it isn't in a period of downtime, it gets passed on to the next filter. As a side note, notifications for services are supressed (sic) if the host they're associated with is in a period of scheduled downtime. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 14 13:07:02 2004 From: dave-nagios at homer.cymry.org (dave-nagios at homer.cymry.org) Date: Wed, 14 Jan 2004 06:07:02 -0600 Subject: Email attachment In-Reply-To: References: Message-ID: <20040114120702.GA19760@homer.cymry.org> On Wed, Jan 14, 2004 at 03:17:01PM -0000, Voon, Ton wrote: > Young, Anya wrote: > > Hello, > > I am writing a Perl plugin for nagios and need to send a log file > > with the detailed message as an attachment to the email notification. > > Is it possible to do and if yes could you please let me know what > > should I do for that. Thank you. > > Anya Serban. > > I've copied this to nagios-users which is the more appropriate mailing list. > If you are replying, please remove nagiosplug-devel. > > You can use the macros in Nagios in your email (see misccommands.cfg and the > Nagios documentation). Any extra information outside of these macros will > require some clever scripting. > > Ton misccommands.cfg uses /bin/mail by default to send mail. the easiest thing to do is use the mutt MUA (www.mutt.org) as a drop in replacement to /bin/mail. Simply install mutt, and replace /bin/mail with /usr/bin/mutt in misccommands, and you can add a '-a' switch to attach files. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 18:16:08 2004 From: marco at sd.com (Marco Supino) Date: Wed, 14 Jan 2004 19:16:08 +0200 Subject: HARD status check interval Message-ID: <40057958.8080401@sd.com> Hi, Can i tell nagios how often to check a service when its in HARD problem status ? currently, it will check the next time normally scheduled. Marco. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pensol.net Wed Jan 14 18:28:00 2004 From: nagios at pensol.net (MT Morales) Date: Wed, 14 Jan 2004 10:28:00 -0700 Subject: repeated message Apology References: Message-ID: <002901c3dac3$c87d7950$1beb500a@siley2004> I sincerely apologize for the multiple messages sent about the same subject by me. Although I only intended to send it once, my webmail program did not clear the message after sending it. I cleared the queue as soon as I found the problem. thanks, -tomas ----- Original Message ----- From: "S. David Sheeks" To: "'MT Morales'" Sent: Wednesday, January 14, 2004 10:13 AM Subject: RE: [Nagios-users] How to ignore "Socket timeout" notifications, anyone? > Dunno what happened but we all got about 10 of the same email. > > -----Original Message----- > From: MT Morales [mailto:nagios at pensol.net] > Sent: Wednesday, January 14, 2004 11:52 AM > To: S. David Sheeks > Subject: RE: [Nagios-users] How to ignore "Socket timeout" notifications, > anyone? > > I'm sorry I wasn't aware of that, would you explain a little more > about it?, perhaps my message was a little too long? > Let me know, and I'll be more careful next time. > thanks, > -Tomas > > > You are spamming the list...are you aware of that? > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of MT > Morales > > Sent: Wednesday, January 14, 2004 11:38 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] How to ignore "Socket timeout" notifications, > > anyone? > > > > Here is some info of my setup: > > nagios 1.1 > > kernel 2.4.20-20.8smp,rh8.0(recompiled from source) > > ~2000 active checks > > 500 hosts > > > > Every time I make configuration changes and reload nagios (i.e. using > > the reload option), active checks to hosts with 10-20 services > > collision (i.e. nagios scheduler stops doing smart checks) and > multiple > > checks are executed at the exact same second to the same host (yap, > > many of our hosts can handled very limited number of simultaneous > > connections on the same tcp port, and it would be too much work to > fix > > this issue on every one of them at this point. > > > > And yes, we have tweaked all the paramaters we could possibly tweak > in > > nagios.cfg. We have even recompiled the kernel in rh8.0 to solve the > > pipe-wait issue by making the pipe size larger, and has helped a lot. > > > > This problem clears on the next round of checks but, in the meantime, > > our on duty operator gets a bunch of CRITICAL alarms notifications > > about "Socket timeout error.." on services. > > > > I was thinking of a couple of work arounds: > > -Modify the check plugin to return a different status code for socket > > timeouts > > -Modify the notify command(s) to filter out alerts with "Socket > > timeout" messages. > > > > So before I try to reinvent the wheel, could someone suggest a > > simpler/cleaner approach to the problem? > > TIA > > -tomas > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Perforce Software. > > Perforce is the Fast Software Configuration Management System offering > > advanced branching capabilities and atomic changes on 50+ platforms. > > Free Eval! http://www.perforce.com/perforce/loadprog.html > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pikelner at rogers.com Wed Jan 14 18:46:18 2004 From: pikelner at rogers.com (Frank Pikelner) Date: Wed, 14 Jan 2004 12:46:18 -0500 Subject: Sun OS SNMP OID Message-ID: <000101c3dac6$50cfc7c0$513a6618@netcraftinc.int> Hello, Does anyone have SNMP OID strings for monitoring SUN servers for CPU, memory and disk utilization? Thank you, Frank Pikelner t (416) 736-7474 ext. 40 f (416) 736-7188 e frank.pikelner at blue-dot.ca ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From info at OliverBaltz.de Wed Jan 14 19:09:57 2004 From: info at OliverBaltz.de (Oliver Baltz) Date: Wed, 14 Jan 2004 19:09:57 +0100 Subject: Wanting if "Host Down" no "Service Errors" Message-ID: <400585F5.2030406@OliverBaltz.de> Hi list, when I get a mail from Nagios with "Host Down"-State I don't want to get all the following service errors... Any ideas? Greets. -- Oliver Baltz ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjdock at excite.com Wed Jan 14 19:20:23 2004 From: cjdock at excite.com (ChuckDock) Date: Wed, 14 Jan 2004 13:20:23 -0500 (EST) Subject: Sun OS SNMP OID Message-ID: <20040114182023.501373E1E@xprdmailfe12.nwk.excite.com> Using net-snmp, I do an snmpwalk on any device that I want to find out what IOD are available. _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 19:34:07 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 14 Jan 2004 18:34:07 +0000 Subject: shared ip on the same host In-Reply-To: <200401141110.48782.chuck@sbbsnet.net> References: <200401141110.48782.chuck@sbbsnet.net> Message-ID: <20040114183407.22852.qmail@minnow.softflare.net> Chuck writes: > Is there a way of consolidating this? I dont think a multiple address > listing under one host would work even if it were allowed simply > because there is no way to tell the individual tests which address to > use for which test. > > or did i miss something important here? I don't think you missed anything, but I could be wrong - there's a lot of documentation and it's possible I missed something. The way I dealt with it was do define a new check command which used -H $ARG1$ instead of -H $HOSTNAME$ Then my service check can be something like check_dns2!123.231.123.231. The downside is that a host alive check will ping whatever interface you defined as being the host address, not necessarily the one with a failing service, so you won't know if (say) the DNS server is down or the interface it answers on is dead. But at least you know something is wrong. Then you can show all your services on the same host even if some of them have different IP addresses on that host. However, using alternative check commands like that seems to expose a shortcoming in nagios templating (or my lack of understanding). It appears that the OOP templates do not have over-riding. So imagine you want to define a template service for checking CPU load with the description "CPU Load" and a suitable check command. It works fine for your remote servers but you also want to check the CPU load of the machine running nagios - the check command for the remote servers goes through NRPE or check_by_ssh whereas for the local machine it's just a straight check_load. I've found only two ways of doing this, each with disadvantages. 1) Define two service templates with different service descriptions such as "CPU Load" and "Local CPU Load" with the appropriate check commands in each. It appears that Nagios refuses to let you re-use the same description in a template, even if the service name is different. So you end up with cosmetic differences in the display even though what you're monitoring in each case is the same but by slightly different methods (one direct, the other through NRPE or check_by_ssh). I can understand some people wanting this difference visible to remind them that one check is direct and the other isn't, but I don't. 2) Define a single service template but don't put the check command in it. Instead you have to put the check command in each actual service definition so that one host can have a different check command. With over-riding, you could have the check command in the template and over-ride it for one or two hosts. This means there are no cosmetic differences but there is a lot of duplication of check commands (a pain if one day you decide you need to alter the parameters you pass them because instead of altering a check command in a template definition you have to alter many, many instances. On the subject of over-riding, if it is ever added, I'd like to be able to over-ride parameters without having to repeat the check command because I have some lengthy check commands involving check_by_ssh. I also have firewalls which are lightly loaded and public servers which are heavily loaded. I'd really like to be able to cater for the common case and over-ride the parameters sometimes without having to give the whole check command and parameters. And if anyone wants to flame me for missing something obvious in the docs that means I can already do this, go right ahead - as long as you point me to the place in the docs where it tells me how to do it... -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Wed Jan 14 20:09:48 2004 From: mtucker at airmail.net (Michael Tucker) Date: Wed, 14 Jan 2004 13:09:48 -0600 Subject: [OT] Posting etiquette [APOLOGY] In-Reply-To: <40056E3A.9020101@pbp.net> References: <40056E3A.9020101@pbp.net> Message-ID: <3927BED6-46C5-11D8-97F1-0030657DF28A@airmail.net> On Wednesday, January 14, 2004, at 10:28 AM, Jonathan Nichols wrote: > Michael Pratt wrote: > >> How about we forgive each other as Christ forgave us by dying for our >> sins. > > What if we're Buddhist? :P > > Just kidding. Perhaps now would be a great time to head to Java City > and get some chai? ;) > > Calm down, guys! :) > For my part, I wish to apologize to the community. I unintentionally started that thread with a simple, short suggestion (made as an aside to another post) that people a) trim their posts, and b) avoid top-posting when it makes a thread harder to follow. A troll responded, and I fed the troll (who subsequently engaged in a flame war with another poster). Mea culpa. Je regrette. Vergeben sie, bitte? Michael "Move along here, folks. There's nothing more to be seen here." ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Wed Jan 14 20:15:53 2004 From: mtucker at airmail.net (Michael Tucker) Date: Wed, 14 Jan 2004 13:15:53 -0600 Subject: NEED HELP configuring NSCA with INETD In-Reply-To: <0B8896B4-4602-11D8-9C25-0030657DF28A@airmail.net> References: <0B8896B4-4602-11D8-9C25-0030657DF28A@airmail.net> Message-ID: <1287833E-46C6-11D8-97F1-0030657DF28A@airmail.net> (repost, since this probably got lost in the noise-storm yesterday) On Tuesday, January 13, 2004, at 08:13 AM, Phil Costelloe wrote: > Hi Michael, > > I've had a look over the config you sent and can't see anything > obviously wrong. I run nsca using xinetd rather than inetd+tcpwrappers. > The common parts of our setups seem functionally the same - that plus > the message you're getting suggests a problem with inetd/tcpwrappers. > The inetd.conf line looks fine but have you restarted inetd since you > made the changes? Obvious I know but I have to ask. :) Which leaves > tcpwrappers looking suspect. You could try temporarily broadening the > line in /etc/hosts.allow to make sure the service name and IP > address(es) are what's really being used. > > Phil > Hi, Phil (and the others who wrote with suggestions): I've tried running nsca under inetd, both with and without tcp wrappers. I've tried opening up /etc/hosts.allow, on both the central server (running nsca) and the distributed server (running send_nsca). Nothing seems to work. Although nsca runs fine as a standalone daemon, it stubbornly refuses to run under inetd, yielding the following message on the distributed server if I attempt to run send_nsca manually while nsca is under inetd control: # /bin/echo "{monitored_hostname}\tCheck Users\t0\tUSERS OK - 6 users \ currently logged in\n" | /path/to/send_nsca -H {central_server_hostname} \ -c /path/to/send_nsca.cfg Error: Server closed connection before init packet was received Error: Could not read init packet from server I'm stumped. Any other thoughts? As a side thought... what are the costs and benefits of running nsca under inetd as opposed to as a standalone daemon? My efforts to run nsca under inetd may be moot, depending on the answer to that question. Yours, Michael ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grunky at rockriver.net Wed Jan 14 20:44:55 2004 From: grunky at rockriver.net (Roger) Date: Wed, 14 Jan 2004 13:44:55 -0600 Subject: 2.0? Message-ID: <40059C37.3020907@rockriver.net> I hope I'm not shooting myself in the foot when I ask is Nagios 2.0 going to be out anytime soon? I'm wanting to install Nagios 1.1 and gets things setup, but if Nagios 2.0 is just around the corner I'm content to wait.. Just curious. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at yahoo.com Wed Jan 14 21:02:36 2004 From: td3201 at yahoo.com (Terry) Date: Wed, 14 Jan 2004 12:02:36 -0800 (PST) Subject: notifications disabled - still getting notifications Message-ID: <20040114200236.87239.qmail@web60302.mail.yahoo.com> Hello, I have notifications disabled for both services and hosts. Why am I still getting notifications? Please see my examples below: define service{ name generic-service active_checks_enabled 1 max_check_attempts 3 normal_check_interval 3 retry_check_interval 3 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } define host{ name generic-host notifications_enabled 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } define host{ use generic-host host_name foofw01 alias Foo Pix #1 address 172.32.34.4 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } define service{ use generic-service ; Name of service template to use host_name cmsfw01 service_description PING is_volatile 0 check_period 24x7 contact_groups warning,critical notification_interval 5 notification_period 24x7 notification_options w,u,c,r check_command check-router-alive } Here is the log entry of the notification being sent out: [1074110191] SERVICE ALERT: foofw01;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 122.16 ms What's the scoop? Thanks! ===== Terry __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 21:20:22 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 14 Jan 2004 20:20:22 +0000 Subject: NEED HELP configuring NSCA with INETD In-Reply-To: <1287833E-46C6-11D8-97F1-0030657DF28A@airmail.net> References: <1287833E-46C6-11D8-97F1-0030657DF28A@airmail.net> Message-ID: <20040114202022.21569.qmail@minnow.softflare.net> Michael Tucker writes: > As a side thought... what are the costs and benefits of running nsca > under inetd as opposed to as a standalone daemon? Standalone daemon will read its config once at startup; under inetd it reads the config for each check. Standalone daemon has the overhead of loading itself into memory once at startup, and the overhead of a process fork for each check if it's a forking daemon, the overhead of being swapped back into memory if it was swapped out; under inetd it has the overhead of loading itself into memory for each check (and inetd might be swapped out if that's all you use it for). Standalone daemon should accept the connection and return the results slightly more quickly.all other things being equal. Standalone daemon consumes a certain minimum amount of memory/swap all the time, with intermittent spikes if it's a forking daemon when it receives results; under inetd there is no constant memory/swap use from ncsa (but there is the constant minimum of inetd) and there are the intermittent spikes when it receives results. Standalone daemon may have memory leaks and/or no mechanism for ensuring it is always present (I haven't run it or looked at the code to see if there is some sort of phoenix mechanism); inetd probably has had all memory leaks found by now and it designed to ensure it is always running. Which one is better? Try it and see, because it will depend on whether you're using inetd just for ncsa or for other things too; whether the machine is using swap space and all sorts of other things. There's probably not much in it in terms of resources consumed because the footprint isn't that big anyway. If you receive a lot of results then the (theoretically) slightly slower response under inetd might become an issue. If you find the standalone daemon turns out to have a memory leak or dies every so often (I've not seen anything to suggest that it has either of those problems but just about every daemon has had problems of those kinds at one time or another) and you have to manually start it again then inetd might be better from the viewpoint of reliability. BTW, most people seem to have abandoned inetd in favour of xinetd which is supposed to be an improvement on inetd. Oh, and the last time I played with NRPE (same author) I couldn't get it to run standalone so had to run it under xinetd whether I wanted to or not. I probably missed something obvious, but I was under pressure to get it working quickly so I went along the path of least resistance. Sometimes the question is not which way is better but which way can you get it working before the PHB blows his top over how long it's taking... -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xavier at rootshell.be Wed Jan 14 21:27:20 2004 From: xavier at rootshell.be (Xavier) Date: Wed, 14 Jan 2004 21:27:20 +0100 (CET) Subject: 'multi-platform' Nagios config Message-ID: Hi, Using Nagios for a long time, I've a project to start a free Nagios platform where users could register x hosts or x services to monitor. Problem: if a user logs on the Nagios web interface, is it possible to restrict the views to its hosts/services only? Xavier -- / is the root of all UNIX. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 21:36:35 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 15 Jan 2004 07:36:35 +1100 Subject: Supervise a dial UP host In-Reply-To: <200401141649.i0EGn7Cr024101@flora.securenet.com.au>; from nagios-users-request@lists.sourceforge.net on Wed, Jan 14, 2004 at 08:45:00AM -0800 References: <200401141649.i0EGn7Cr024101@flora.securenet.com.au> Message-ID: <20040115073629.A231@IPAustralia.Gov.AU> Dear Folks, On Wed, Jan 14, 2004 at 08:45:00AM -0800, nagios-users-request at lists.sourceforge.net wrote: > > Message: 12 > Date: Wed, 14 Jan 2004 07:47:40 -0500 (EST) > From: Tom Diehl > To: Andreas Koch > Cc: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Supervise a dial UP host > > On Wed, 14 Jan 2004, Andreas Koch wrote: > > > I would supervise a dial-up host with nagios. > > > > Did this already someone solve? > > Not as far as I can tell. I have asked similar questions about this several > times over the last several months and received zero replies. :-( Hmm. I thought I had replied but it's possible I misunderstood the question. Do you mean checking a dialup _server_ (RAS/NAS) - one that terminates PPP sessions with clients after authenticating them and setting up their IP/TCP parameters ? This is doable. Or a host that has a temporary network connection, but when it's connected you want to be able to check that it stays up and reachable, as well as checking the health of the services it provides ? An example of such a host might help me understand the situation. It is hard to imagine monitoring under such cercumstances since if it is an important enough server to monitor, either provide it with a permanent connection or reconfigure Nagios when the host is connected. You are not talking about a web service are you ? > If you do find a good solutiom I would be interested in it. I was previouly > using Big Brother and it had dialup support built in. Would you describe what BB does to offer dialup support. > I wish I was good enough to modify the code to do this but alas I am not. How big is the code ? What language ? > Good luck, > > .....Tom > > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Wed Jan 14 21:42:29 2004 From: mtucker at airmail.net (Michael Tucker) Date: Wed, 14 Jan 2004 14:42:29 -0600 Subject: NEED HELP configuring NSCA with INETD In-Reply-To: <20040114202022.21569.qmail@minnow.softflare.net> References: <20040114202022.21569.qmail@minnow.softflare.net> Message-ID: <2B54DDE2-46D2-11D8-97F1-0030657DF28A@airmail.net> On Wednesday, January 14, 2004, at 02:20 PM, Paul L. Allen wrote: > Oh, and the last time I played with NRPE (same author) I couldn't get > it to run standalone so had to run it under xinetd whether I wanted to > or not. I probably missed something obvious, but I was under pressure > to get it working quickly so I went along the path of least resistance. > Sometimes the question is not which way is better but which way can you > get it working before the PHB blows his top over how long it's > taking... > -- > Paul Allen > Softflare Support > Thanks! I already knew all the basic stuff you mentioned about memory footprints, swapping, load/unload cycles, etc. (I'm a Sun Certified Systems Engineer, Enterprise Certified... whoop-de-doo) but I was wondering what concerns specific to Nagios / nsca / nrpe there might be. You raised some good points, which I hadn't thought of, especially about memory leaks, crashing and restarting. I am mostly interested in running nsca under inetd so I can take advantage of tcp wrappers. (Yeah, I know; it's a "lightweight" security measure, but it's one more layer for the black hats to have to go around.) By the way, I've got nrpe working just fine under inetd (on Solaris 9, FWIW). But not nsca. Go figure. I guess I'll look into xinetd. My PHB is eager for me to deploy this, though; so I'll probably just go with what I've got for the time being, since it is (nominally) working (and nobody else seems to be able to figure out what's wrong, either). Nagios successfully talks to Nagios via nsca (just not under inetd), and Nagio successfully talks to the monitored host via nrpe (just not with SSL). Michael p.s. If it's any help to you, here's the tail of /etc/inetd.conf on the monitored host: nrpe stream tcp nowait nagios /usr/sfw/sbin/tcpd /usr/local/nagios/ bin/nrpe -c /usr/local/nagios/bin/nrpe.cfg -i And /etc/services: nrpe 5666/tcp # NRPE (Nagios remote plugin executor) And /etc/hosts.allow: nrpe: {hostname of distributed server} {IP address of distributed server} It turned out that having just the hostname was a "no go"; I had to provide the IP address, too. Once I did that, it took off and started working. The same "fix" has *not* yielded fruit for nsca, though. :-/ ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 21:49:12 2004 From: marc at ena.com (Marc Powell) Date: Wed, 14 Jan 2004 14:49:12 -0600 Subject: 'multi-platform' Nagios config Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A179@mismail2.ena.com> > -----Original Message----- > From: Xavier [mailto:xavier at rootshell.be] > Sent: Wednesday, January 14, 2004 2:27 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] 'multi-platform' Nagios config > > Hi, > > Using Nagios for a long time, I've a project to start a free Nagios > platform where users could register x hosts or x services to monitor. > > Problem: if a user logs on the Nagios web interface, is it possible to > restrict the views to its hosts/services only? Yes. This question has been asked, and answered at least 3 times in the past few days on this list. It is well documented and I believe is even recommended as part of a standard installation. http://nagios.sourceforge.net/docs/1_0/cgiauth.html -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From info at OliverBaltz.de Wed Jan 14 21:48:08 2004 From: info at OliverBaltz.de (Oliver Baltz) Date: Wed, 14 Jan 2004 21:48:08 +0100 Subject: 'multi-platform' Nagios config Message-ID: <4005AB08.7050207@OliverBaltz.de> Xavier schrieb: > Using Nagios for a long time, I've a project to start a free Nagios platform where users could register x hosts or x services to monitor. > Problem: if a user logs on the Nagios web interface, is it possible to restrict the views to its hosts/services only? Hi. Simply define a new "hostgroup". For this "hostgroup" a "contactgroup" can be responsible! It's quit easy. Just members of the contactgroup can see their "hostgroups"! Greets from Germany. Oliver ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Wed Jan 14 21:55:24 2004 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 14 Jan 2004 15:55:24 -0500 (EST) Subject: 'multi-platform' Nagios config In-Reply-To: References: Message-ID: On Wed, 14 Jan 2004, Xavier wrote: > Hi, > > Using Nagios for a long time, I've a project to start a free Nagios platform where users could register x hosts or x services to monitor. > > Problem: if a user logs on the Nagios web interface, is it possible to restrict the views to its hosts/services only? Yep, Nagios does that by default. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ecnetwork.co.nz Wed Jan 14 23:10:46 2004 From: simon at ecnetwork.co.nz (Simon Kitching) Date: Thu, 15 Jan 2004 11:10:46 +1300 Subject: nrpe inetd vs daemon In-Reply-To: <001501c3d9b1$5f741df0$5dc810ac@graitmgatt> References: <001501c3d9b1$5f741df0$5dc810ac@graitmgatt> Message-ID: <1074118246.3542.62.camel@pcsimon.ecnnz.ecnetwork.co.nz> On Tue, 2004-01-13 at 21:43, Mauro wrote: > Hi all, > I compiled nrpe (cvs version) on HP-UX 11.11 > If I run nrpe as stand alone daemon I have no problem but if I try to > configure it in inetd mode i get this message: > > CHECK_NRPE: Response packet had invalid CRC32. > > > Do you have any idea? This "invalid CRC32" message is caused when either (a) xinetd runs the wrong process (not nrpe), or (b) the command that nrpe executes outputs data to stderr. Maybe you could try changing the nrpe config file to make the executed command a shell script that "wraps" the real command, and redirects its stderr to /tmp/oops.txt or similar, then inspect that file to see what the problem is? [I haven't tried this myself, so not sure it will work]. It would be nice if the nrpe app handled situation (b) more gracefully. I have tried to contact the nrpe author, and offered to create a patch but have not had any response. Regards, Simon ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 14 23:33:59 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 14 Jan 2004 22:33:59 +0000 Subject: NEED HELP configuring NSCA with INETD In-Reply-To: <2B54DDE2-46D2-11D8-97F1-0030657DF28A@airmail.net> References: <2B54DDE2-46D2-11D8-97F1-0030657DF28A@airmail.net> Message-ID: <20040114223400.26088.qmail@minnow.softflare.net> Michael Tucker writes: > Thanks! I already knew all the basic stuff you mentioned about memory > footprints, swapping, load/unload cycles, etc. Sorry, I wasn't trying to be condescending there, but you asked the sort of question that left me unable to determine just how much you know and there are people who end up on lists like this because they get thrown in at the deep end of being *nix admins. > I was wondering what concerns specific to Nagios / nsca / nrpe there > might be. I don't know of any specific concerns, just the general concerns that affect all stand-alone daemons. However, I have to say that daemons like inetd have a longer history and undergo a lot more stress in practise so are more likely to be free of problems. That's not a slur on nrpe and ncsa - Ethan may well be a fantastic coder who avoided all the pitfalls that others have fallen into in the past, but if he is less than perfect (I sure am) then there is a chance that there are heisenbugs lurking around. My guess is that if there are bugs they're not too serious or we'd have seen a lot of complaints by now. > You raised some good points, which I hadn't thought of, especially about > memory leaks, crashing and restarting. We run qmail here, with DJB's demontools to supervise them, so I understand some of the concerns about crashing and never coming back. Then again, MySQL has similar, but more specialized, mechanisms which try to ensure that if the server process dies for some unknown reason then it gets restarted. Daemons I've written usually restart themselves once a day in case of memory leaks but don't do anything in the way of phoenixing. So if these are worries of yours - and I repeat that I have seen nothing which leads me to worry about ncsa and nrpe in this respect - then inetd would be a better option. > I am mostly interested in running nsca under inetd so I can take > advantage of tcp wrappers. (Yeah, I know; it's a "lightweight" security > measure, but it's one more layer for the black hats to have to go > around.) It was the limited security of nrpe that made me switch to check_by_ssh. Because of reasons far too complex to detail here (I've given them before on this list) our nagios machine is on the end of a cable modem and so the IP address can change (typically every couple of months). Since I have no wish to go around editing hosts.allow on dozens of machines (or get all the notification e-mails) every couple of months, I either had to live with no security or switch to check_by_ssh. And given that tcp wrappers is only of minimal use these days anyway because of more sophisticated attacks, I switched. > By the way, I've got nrpe working just fine under inetd (on Solaris 9, > FWIW). But not nsca. Go figure. I got nrpe working under xinetd quite happily. Never tried ncsa. > I guess I'll look into xinetd. Ummmm, Solaris. I have BAAAAAAD memories of Solaris when I had to look after a Solaris box. If Sun ever manage to learn about bash and similar things that make Linux a joy to use compared to Solaris then I might revise my opinion. If you can install xinetd on Solaris easily, and it comes with example configs (trying to figure out how to convert inetd configs to xinetd configs without examples is a major pain) then go for it. Otherwise, inetd is almost certainly good enough. > My PHB is eager for me to deploy this, Tell me about it. Mine loved Big Brother because the simple display status was easy for him and our pointy-haired clients to understand. Then I explained to him that with nagios our clients can use a web interface to schedule downtime or disable checks when machines go down whereas with BB a techy (usually me or my PHB on a good day) has to edit config files. And then I showed him the 2d status map (a real PHB feature if ever there was one). And then I showed him the 3d status map... Even without the ability for groups to do things to their own servers, like schedule downtime, the two status maps are a real selling point. > so I'll probably just go with what I've got for the time being, > since it is (nominally) working Been there, done that, worn the T-shirt into rags. My T-shirt full of holes nominally clothes me... > (and nobody else seems to be able to figure out what's wrong, either). I've had that experience too. Sometimes, my PHB points out that with Windows you can get a point-and-click monkey to install stuff and that with *nix you need a highly-paid techy to figure out how to do things and I'm tempted to agree with his thoughts of switching to Windoze. But then I remember that one of the reasons we exist is that we can offer solutions that Windows just cannot because if you want to do something MS doesn't think you ought to be able to do then that's just tough. But after a few hours fighting something like that, I am tempted... Really, really tempted. It shouldn't be that hard. And until it isn't that hard, there is little chance of *nix toppling Windoze in the desktop market. :( -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 14 23:51:03 2004 From: gregor.bruhin at netoxygen.ch (Gregor Bruhin) Date: Wed, 14 Jan 2004 23:51:03 +0100 Subject: passive service checks, check that data is sent as it should Message-ID: <21412F90-46E4-11D8-9478-000A95CD8036@netoxygen.ch> Hi, A host A is sending sending the info "I'm alive" every minute to host B running nagios. Is there a way to check with nagios that host A sent at least one time the keepalive infos during the last 5 minutes and if not generate an alert ? Thanks, Greg ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 15 00:13:39 2004 From: marc at ena.com (Marc Powell) Date: Wed, 14 Jan 2004 17:13:39 -0600 Subject: passive service checks, check that data is sent as it should Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A17F@mismail2.ena.com> Gregor Bruhin shared with us: > Hi, > > A host A is sending sending the info "I'm alive" every minute to host > B running nagios. > > Is there a way to check with nagios that host A sent at least one > time the keepalive infos during the last 5 minutes and if not > generate an alert ? Yes indeed. It's freshness checking: http://nagios.sourceforge.net/docs/1_0/freshness.html. You'll probably want to pay particular attention to the 'Working With Passive-Only Checks'. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alevitt at navis.com Thu Jan 15 00:42:34 2004 From: alevitt at navis.com (A